Commit graph

15305 commits

Author SHA1 Message Date
David Robillard
2c8babf41e Fix stuck note display while recording.
This doesn't make sense, but I'm okay with that.
2014-12-30 20:06:37 -05:00
Paul Davis
2c36e96c97 rename "Convert to Region In-Place" to "Separate" since it is known by that name elsehwere and in the code 2014-12-30 19:52:44 -05:00
David Robillard
e82ce75cb1 Fix display of MIDI while recording.
... almost.  There are some artifacts when you zoom out while recording that I
can't figure out, but whatever.

Also fix performance issues caused by last attempt at rec display while zoom.
2014-12-30 19:16:41 -05:00
Robin Gareus
057cf770f0 32/64bit compat 2014-12-31 01:15:39 +01:00
Robin Gareus
805d4dd731 add a MIDI loopback mode to the Dummy Backend 2014-12-30 22:55:14 +01:00
David Robillard
97d344f740 Fix MIDI CC record/playback crash. 2014-12-30 14:45:11 -05:00
David Robillard
c35e94a3c8 Fix some mangled whitespace (noop). 2014-12-30 14:41:22 -05:00
David Robillard
a85827da1c Revert "Fix occasional MIDI read crash."
This reverts commit ec947ff8fd.
2014-12-30 13:03:22 -05:00
David Robillard
486d47db0e Fix smart mode cursor on audio regions. 2014-12-30 12:50:15 -05:00
Robin Gareus
5d1df86343 windows: automatically log gdb output 2014-12-30 12:28:46 +01:00
David Robillard
54c085d931 Fix occasional crash when saving MIDI.
I can't figure out why a change has a NULL note; that shouldn't happen, but it
does.  Worse case scenario is some undo loss, so better to print something
informative and soldier on than crash.  Hopefully this will help track down the
real cause with more testing.
2014-12-29 22:01:41 -05:00
David Robillard
ee8dbdb009 Fix internal select all. 2014-12-29 21:04:23 -05:00
David Robillard
937cf046a4 Fix key bindings for note trim/extend. 2014-12-29 20:50:39 -05:00
David Robillard
f46d4de92c Fix fallout from sooomeone's busted emacs. 2014-12-29 20:21:32 -05:00
David Robillard
2e62ca9631 Fix off-by-one MIDI note names.
Much like everything else in midnam, it's not specified whether the numbers are
0 or 1 relative, but everything out there seems to be 0 relative and this
matches the canvas, so go with that.
2014-12-29 20:20:16 -05:00
Paul Davis
196e29ddef remove unused code 2014-12-29 19:56:04 -05:00
David Robillard
3d1f955a0c Fix MIDI recording display when zoom/etc changes. 2014-12-29 18:56:39 -05:00
Paul Davis
a42b9ff86e fix a few compiler warnings 2014-12-29 18:17:26 -05:00
Paul Davis
d00e035fe0 don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters() 2014-12-29 18:14:45 -05:00
David Robillard
9b8760cf69 Avoid another potential deadlock for good measure.
Firing these signals while locked is not a good idea, Sequence/ControlList need
a better design for this that accounts for recording and lockedness.
2014-12-29 17:56:53 -05:00
David Robillard
cf6e9d3412 Blind fix for MIDI iteration bug. 2014-12-29 15:12:10 -05:00
David Robillard
190ac88248 Fix deadlock while recording MIDI controllers. 2014-12-29 11:34:18 -05:00
Robin Gareus
47d083d02d update numbering of midi-test sequences 2014-12-29 14:36:39 +01:00
Robin Gareus
95fcf18245 add a midi-CC sustain-pedal test sequence 2014-12-29 14:32:03 +01:00
Robin Gareus
6e38d3777e add 'size' field to midi-sequences 2014-12-29 14:09:46 +01:00
Robin Gareus
c3c6f619c3 make it easier to add new midi sequences 2014-12-29 13:58:15 +01:00
Robin Gareus
2b955b33a3 update meters as soon as UI-settings change - amend 64fa63212f 2014-12-29 13:37:28 +01:00
John Emmas
ac4560cd09 Add some newly introduced source files to our MSVC project (gtk2_ardour) 2014-12-29 11:07:12 +00:00
John Emmas
f4e89d75fd Add some newly introduced source files to our MSVC project (libardour) 2014-12-29 11:06:41 +00:00
David Robillard
d283608fe9 Automation ghost notes for percussive hits. 2014-12-28 21:31:33 -05:00
David Robillard
606efb601c Show correct ghost hit for percussive tracks. 2014-12-28 20:23:52 -05:00
David Robillard
12b18da8f6 Fix rect select of hit events. 2014-12-28 20:03:38 -05:00
David Robillard
b54863c8c3 Set new note velocity based on surrounding notes. 2014-12-28 19:21:46 -05:00
David Robillard
541705e1ee Demote message about empty MIDI tracks to info. 2014-12-28 19:21:46 -05:00
Robin Gareus
815a8b09e4 follow 113bc3b38e, tentative clock-font size update.
This really needs a better solution.
2014-12-29 00:05:58 +01:00
Robin Gareus
957e72724c quick hack to lighten up font scale slider tick-marks 2014-12-29 00:05:58 +01:00
David Robillard
4973ddc478 Fix events for short notes at region start/end. 2014-12-28 17:45:24 -05:00
David Robillard
6a73fd337c Update note colors when model changes. 2014-12-28 16:06:44 -05:00
David Robillard
4c0cebf7f9 MIDI transform dialog. 2014-12-28 16:06:44 -05:00
David Robillard
ec947ff8fd Fix occasional MIDI read crash.
Locking should prevent this from being a problem, but taking a reference to the
cached iterator and mutating it directly causes occasional crashes for me for
reasons I can't quite figure out.

This fixes the issue and is arguably more sane anyway, so whatever.
2014-12-28 16:06:44 -05:00
David Robillard
dbc2f59453 Remove pointless register specifier and warning. 2014-12-28 16:06:44 -05:00
David Robillard
e735d4035f Clean up note delta command code.
Use Variant to store the value and the same code path for all properties.

Factor out getting the value of whatever property instead of special casing the
handling.

Towards using this stuff for some fancy things...
2014-12-28 16:06:44 -05:00
David Robillard
31641179f9 Fix potential pop of empty enter stack. 2014-12-28 16:06:44 -05:00
David Robillard
962be01ae8 Fix typo. 2014-12-28 16:06:44 -05:00
Robin Gareus
000ffe2c7e reduce clumsiness of font-scale slider:
* work-around update/snap on release
* remove textual display with decimals
* towards ending the 'font-scale percent' discussion
2014-12-28 19:29:39 +01:00
Robin Gareus
f3604814a4 use ldflags for wine linking
fixes issue with eg. wine-unstable:
--also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/
2014-12-28 15:18:39 +01:00
Robin Gareus
8bd53e2edb fix marker rendering and layout 2014-12-28 15:01:59 +01:00
Robin Gareus
c14f6c59db apply font-scale to overall layout (rulers, track-header) - fixes #6088 2014-12-28 15:01:49 +01:00
Robin Gareus
c2eea34fb0 add note that font-scale changes require a restart. 2014-12-28 14:09:33 +01:00
Robin Gareus
4e2673ca2c add explicit chmod for good measure 2014-12-28 10:20:46 +01:00