David Robillard [Fri, 16 May 2008 03:11:28 +0000 (03:11 +0000)]
Fix invalid error message during MIDI recording (or files with stuck notes).
Handle stuck notes more gracefully in the view (probably should show up as a diamond though?).
git-svn-id: svn://localhost/ardour2/branches/3.0@3359
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 16 May 2008 02:50:19 +0000 (02:50 +0000)]
Tidy up MIDI debugging output.
git-svn-id: svn://localhost/ardour2/branches/3.0@3358
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 16 May 2008 02:35:37 +0000 (02:35 +0000)]
Fix crash on out of range MIDI events (though this shouldn't be possible at all....).
git-svn-id: svn://localhost/ardour2/branches/3.0@3357
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 15 May 2008 06:00:22 +0000 (06:00 +0000)]
Re-comment-out MIDI iteration debug prints (oops).
git-svn-id: svn://localhost/ardour2/branches/3.0@3353
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 15 May 2008 05:53:25 +0000 (05:53 +0000)]
Fix silly bugs introduced in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@3352
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 15 May 2008 05:00:28 +0000 (05:00 +0000)]
Eliminate excessive allocation (for every event) during MidiModel iteration.
git-svn-id: svn://localhost/ardour2/branches/3.0@3351
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 13 May 2008 18:40:10 +0000 (18:40 +0000)]
* formatting
* fixed corruption bugs due to allocation hell of MidiModel::const_iterator::_event: Changed it into boost::shared_ptr
* fixed MidiModel::const_iterator bugs:
-First note on lost, if an automation event comes first
-corrupt MidiEvent compared to automation event if there are no notes in the region
* (hopefully) fixed possible race condition
* fixed range check in MidiDiskstream::set_state for channel mask
* treating notes with duration 0 more gently in MidiRegionView (warning instead of assertion)
git-svn-id: svn://localhost/ardour2/branches/3.0@3345
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 13 May 2008 00:15:26 +0000 (00:15 +0000)]
Fix event allocation issues with MidiModel iteration.
git-svn-id: svn://localhost/ardour2/branches/3.0@3342
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 12 May 2008 23:34:35 +0000 (23:34 +0000)]
Remove junk from MidiModel::write_to
git-svn-id: svn://localhost/ardour2/branches/3.0@3341
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 12 May 2008 11:49:03 +0000 (11:49 +0000)]
* added files in patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@3339
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 12 May 2008 11:46:53 +0000 (11:46 +0000)]
* applied patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@3338
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 12 May 2008 11:42:41 +0000 (11:42 +0000)]
* Quick Fix: assertion converted into warning in MidiModel::write_to
git-svn-id: svn://localhost/ardour2/branches/3.0@3337
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 12 May 2008 10:03:53 +0000 (10:03 +0000)]
* fixed various event size bugs
git-svn-id: svn://localhost/ardour2/branches/3.0@3336
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 12 May 2008 02:40:48 +0000 (02:40 +0000)]
Fix various MIDI corruption bugs.
Re-enable MIDI CC controller bars and other immediate output (hans commented out, tsk tsk).
Write channel mode as textual enumeration instead of magic number.
Better atomic (almost) channel mode switching on MIDI ring buffer (was a possible, if unlikely, source of corruption).
Handle some cases of broken MIDI, and oversized events, more gracefully.
git-svn-id: svn://localhost/ardour2/branches/3.0@3335
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sun, 11 May 2008 21:03:27 +0000 (21:03 +0000)]
* disabled some debugging output
* fixed (my) bugs in MidiRingBuffer: aborted reading on corrupted events and event does not match channel mask
git-svn-id: svn://localhost/ardour2/branches/3.0@3333
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sun, 11 May 2008 20:23:17 +0000 (20:23 +0000)]
* Added a couple of guards to prevent MIDI::Events with NULL buffers to enter into ring buffers
git-svn-id: svn://localhost/ardour2/branches/3.0@3332
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 10 May 2008 01:25:38 +0000 (01:25 +0000)]
* fixed bug: MIDI automations could not be restored from XML (NullAutomationType)
git-svn-id: svn://localhost/ardour2/branches/3.0@3331
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 9 May 2008 16:10:36 +0000 (16:10 +0000)]
* formatting/style guide
* bugfix: midi_util.h only considered channel events up to E0, but had to be EF
* bugfix: parameter.h operator == should also compare channel (drobilla, correct me if I am wrong)
* added some assert() guards
git-svn-id: svn://localhost/ardour2/branches/3.0@3330
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 9 May 2008 11:28:14 +0000 (11:28 +0000)]
* adjusted formatting a bit to style guide
* fixed: velocity value left on canvas
* fixed: end-of-track problem still showed up sometimes
* enabled heaps of debugging output in order to debug MidiModel corruption
git-svn-id: svn://localhost/ardour2/branches/3.0@3329
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 8 May 2008 09:53:19 +0000 (09:53 +0000)]
* fixed some valgrind issues (uninitialized instance vars)
* Added preliminary support for program changes flags from automation lists
git-svn-id: svn://localhost/ardour2/branches/3.0@3327
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 22:54:06 +0000 (22:54 +0000)]
* fixed crash bug in MidiModel::const_iterator::operator=: copied iterator from other which becomes invalid because
the container the iterator points into is destroyed
* fixed conditional jump from uninitialised value in CanvasNote
git-svn-id: svn://localhost/ardour2/branches/3.0@3326
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 21:31:49 +0000 (21:31 +0000)]
* fixed crash bug in MidiModel::const_iterator::operator++
git-svn-id: svn://localhost/ardour2/branches/3.0@3325
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 10:49:16 +0000 (10:49 +0000)]
* enabled some debugging output :|
git-svn-id: svn://localhost/ardour2/branches/3.0@3321
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 09:38:23 +0000 (09:38 +0000)]
* bugfix: SMFSource: track footer at beginning of track not overwritten
git-svn-id: svn://localhost/ardour2/branches/3.0@3320
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 09:15:45 +0000 (09:15 +0000)]
* bugfix: SMFSource: track footer overwrote the last MIDI event
git-svn-id: svn://localhost/ardour2/branches/3.0@3319
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 6 May 2008 05:17:51 +0000 (05:17 +0000)]
* fixed end of track at beginning-problem when writing MIDI files (also the EOT event was written multiple times)
git-svn-id: svn://localhost/ardour2/branches/3.0@3317
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 3 May 2008 21:55:43 +0000 (21:55 +0000)]
Comment out excessive terminal output.
Write all events (not just notes) to SMF file from MidiModel
(just use iterator instead of hand-hacked MidiModel::write_to).
Various MIDI bug fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@3312
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 3 May 2008 18:14:35 +0000 (18:14 +0000)]
Fix midi_model.cc formatting.
Clear controller data (not just note data) in MidiModel::clear.
git-svn-id: svn://localhost/ardour2/branches/3.0@3311
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 3 May 2008 07:26:16 +0000 (07:26 +0000)]
Typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@3310
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 3 May 2008 06:37:22 +0000 (06:37 +0000)]
* MidiModel::const_iterator::operator++: added AUTOMATION type
* automatable.cc/parameter.cc: Added friendly names for the new Midi parameter types
* fixed a failed assertion problem (note on channel != note off channel), but have no idea how :)
* changed lots of whitespace :|
git-svn-id: svn://localhost/ardour2/branches/3.0@3309
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 2 May 2008 21:34:00 +0000 (21:34 +0000)]
Fix range problems for pitch wheel controller.
git-svn-id: svn://localhost/ardour2/branches/3.0@3308
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 2 May 2008 20:57:27 +0000 (20:57 +0000)]
Fix several crashes on MIDI recording.
Fix MIDI CC iterator infinite looping.
Only allocate Text widget for MIDI events if necessary.
git-svn-id: svn://localhost/ardour2/branches/3.0@3307
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 2 May 2008 19:28:25 +0000 (19:28 +0000)]
Fix range marker bar separator (colour is still off though, for some reason...).
git-svn-id: svn://localhost/ardour2/branches/3.0@3305
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 2 May 2008 19:09:32 +0000 (19:09 +0000)]
* removed old implementation for Program Changes from MidiModel
* Added Automation based implementation for Program Changes, Pitch Bender and Channel Aftertouch
git-svn-id: svn://localhost/ardour2/branches/3.0@3304
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 2 May 2008 18:35:05 +0000 (18:35 +0000)]
Fixes for GCC 4.3.
git-svn-id: svn://localhost/ardour2/branches/3.0@3303
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 29 Apr 2008 21:58:05 +0000 (21:58 +0000)]
* renamed canvas-midi-event.* into canvas-note-event.*
* make MidiModel keep track of its CanvasProgramChange instances
git-svn-id: svn://localhost/ardour2/branches/3.0@3297
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 29 Apr 2008 12:51:10 +0000 (12:51 +0000)]
* added new defaults for program change ui gtk2_ardour/ardour3_ui_default.conf
* reverted involuntarily committed changes
git-svn-id: svn://localhost/ardour2/branches/3.0@3296
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 29 Apr 2008 12:38:46 +0000 (12:38 +0000)]
* added defaults for program change ui gtk2_ardour/ardour3_ui_default.conf
git-svn-id: svn://localhost/ardour2/branches/3.0@3295
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 29 Apr 2008 08:37:53 +0000 (08:37 +0000)]
* Renamed CanvasMidiEvent into CanvasNoteEvent
* changed MidiModel::write_to to include note off handling *and* time sorting
git-svn-id: svn://localhost/ardour2/branches/3.0@3294
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 29 Apr 2008 07:28:24 +0000 (07:28 +0000)]
* first prototype of program changes UI show up correctly (see flickr.com/photos/
24012642@N02/
2451596190/)
git-svn-id: svn://localhost/ardour2/branches/3.0@3293
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 26 Apr 2008 09:07:32 +0000 (09:07 +0000)]
* forgot to commit this last time
git-svn-id: svn://localhost/ardour2/branches/3.0@3291
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 26 Apr 2008 00:26:42 +0000 (00:26 +0000)]
fix crash when popping up redirect/processor menu
git-svn-id: svn://localhost/ardour2/branches/3.0@3289
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 26 Apr 2008 00:12:54 +0000 (00:12 +0000)]
* recording/playing/saving/loading program changes basically seems to work now
git-svn-id: svn://localhost/ardour2/branches/3.0@3288
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 24 Apr 2008 15:04:56 +0000 (15:04 +0000)]
* preliminary impl for PGM Change support in MidiModel
git-svn-id: svn://localhost/ardour2/branches/3.0@3283
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 23 Apr 2008 02:27:27 +0000 (02:27 +0000)]
* added methods for pich bender/pgm change/aftertouch to MidiEvent
git-svn-id: svn://localhost/ardour2/branches/3.0@3282
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 23 Apr 2008 02:15:57 +0000 (02:15 +0000)]
* refactored MidiControlIterator to improve readability of code
* commented out crashing section (control iterator stuff in MidiModel::const_iterator::operator++)
* added midi_panic() on no_roll in midi tracks so that all notes stop when pressing stop
* mark midi model edited on all changes so that recorded tracks get saved
git-svn-id: svn://localhost/ardour2/branches/3.0@3281
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 22 Apr 2008 22:39:45 +0000 (22:39 +0000)]
* disabled some debugging output
* make record buttons appear in MIDI mixer strips
git-svn-id: svn://localhost/ardour2/branches/3.0@3280
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 21 Apr 2008 16:42:55 +0000 (16:42 +0000)]
* fixed display bug: changing the height on tracks doesnt rescale CanvasHits
git-svn-id: svn://localhost/ardour2/branches/3.0@3278
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 21 Apr 2008 15:10:13 +0000 (15:10 +0000)]
* persisting/restoring track channel settings works now
git-svn-id: svn://localhost/ardour2/branches/3.0@3276
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 21 Apr 2008 10:21:10 +0000 (10:21 +0000)]
*fixed bug: channel mask not set in MidiRingBuffer
git-svn-id: svn://localhost/ardour2/branches/3.0@3274
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 21 Apr 2008 09:39:05 +0000 (09:39 +0000)]
* UI fixes for track channel selection
* implemented 'forcing midi events into a single channel'
* see http://www.flickr.com/photos/
24012642@N02/
2430165889/
git-svn-id: svn://localhost/ardour2/branches/3.0@3273
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sun, 20 Apr 2008 22:33:13 +0000 (22:33 +0000)]
* made notes whose channel is not selected in the track appear gray, see flickr.com/photos/
24012642@N02/
2429528120/
git-svn-id: svn://localhost/ardour2/branches/3.0@3272
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 19 Apr 2008 11:49:05 +0000 (11:49 +0000)]
* gave the MIDI panic button a new home....
git-svn-id: svn://localhost/ardour2/branches/3.0@3270
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 19 Apr 2008 10:41:12 +0000 (10:41 +0000)]
* fixed display bug in track channel selector
git-svn-id: svn://localhost/ardour2/branches/3.0@3269
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 19 Apr 2008 10:30:38 +0000 (10:30 +0000)]
* made channel selector look quite nice, see flickr.com/photos/
24012642@N02/
2425203856/ (still needs some work...)
git-svn-id: svn://localhost/ardour2/branches/3.0@3268
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 19 Apr 2008 02:11:11 +0000 (02:11 +0000)]
* first prototype for track based channel selection works
git-svn-id: svn://localhost/ardour2/branches/3.0@3267
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 17 Apr 2008 21:27:33 +0000 (21:27 +0000)]
* fixed missing get coordinate functions in CanvasHit
* Fixed crash bug when NoteMode = Percussive on MidiRegionView
* Fixed possible MemoryLeaks and added Signal in MidiMultipleChannelSelector
git-svn-id: svn://localhost/ardour2/branches/3.0@3263
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 17 Apr 2008 10:27:03 +0000 (10:27 +0000)]
* added All/None/Invert Buttons to MidiMultipleChannelSelector
* Added assertion at crash location introduced by latest merge in ProcessorBox::build_processor_menu:
git-svn-id: svn://localhost/ardour2/branches/3.0@3260
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 16 Apr 2008 02:30:37 +0000 (02:30 +0000)]
* bugfix in midi editing: adding notes impossible after delete
git-svn-id: svn://localhost/ardour2/branches/3.0@3255
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 15 Apr 2008 23:00:06 +0000 (23:00 +0000)]
* fixed bug: crash because of invalidated iterator while removing midi notes from model
git-svn-id: svn://localhost/ardour2/branches/3.0@3253
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 14 Apr 2008 06:23:11 +0000 (06:23 +0000)]
* first working version of editing MIDI channels of individual notes, see: flickr.com/photos/
24012642@N02/
2412142661/
git-svn-id: svn://localhost/ardour2/branches/3.0@3252
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 12 Apr 2008 14:02:00 +0000 (14:02 +0000)]
(3.0) fix compile error related to Controllable/shared_ptr confusion post-merge
git-svn-id: svn://localhost/ardour2/branches/3.0@3251
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 11 Apr 2008 15:49:52 +0000 (15:49 +0000)]
* persistent undo for MIDI edits works now
* fixed bug: dragging of notes beyond left region bounds made it disappear (unsigned int wrap around)
git-svn-id: svn://localhost/ardour2/branches/3.0@3249
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Fri, 11 Apr 2008 14:06:50 +0000 (14:06 +0000)]
merge 3.0 from 2.0-ongoing@3243
git-svn-id: svn://localhost/ardour2/branches/3.0@3248
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 10 Apr 2008 07:30:10 +0000 (07:30 +0000)]
* refactored (un)marshalling of DeltaCommand into cleaner code using sigc
git-svn-id: svn://localhost/ardour2/branches/3.0@3245
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 9 Apr 2008 15:33:01 +0000 (15:33 +0000)]
* implemented persistent undo for MidiModel::DeltaCommand. Deserializing works, but weirdly has no effect when undo/redo is applied in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@3240
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 8 Apr 2008 23:57:59 +0000 (23:57 +0000)]
* fixed bug: MIDI region did not sound if its position was less than its start offset
git-svn-id: svn://localhost/ardour2/branches/3.0@3239
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 8 Apr 2008 21:44:13 +0000 (21:44 +0000)]
* removed possible memory leak / cause of crashes for midi editing
* fixed bug: after adding new notes, notes above/below region bounds appear
git-svn-id: svn://localhost/ardour2/branches/3.0@3237
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 7 Apr 2008 16:32:14 +0000 (16:32 +0000)]
* bugfix from tracker.ardour.org/view.php?id=2155 thanks to kristian: fix glibmm include issues with newer glib
git-svn-id: svn://localhost/ardour2/branches/3.0@3222
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sun, 6 Apr 2008 20:03:41 +0000 (20:03 +0000)]
* bugfix: creating notes not sample accurate
* bugfix: resizing notes not sample accurate
* bugfix: resizing notes broken due to region resizing patch
git-svn-id: svn://localhost/ardour2/branches/3.0@3221
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 5 Apr 2008 13:56:20 +0000 (13:56 +0000)]
* fixed broken note resizing and creation since region starts can be adjusted, moving notes still broken
git-svn-id: svn://localhost/ardour2/branches/3.0@3220
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 5 Apr 2008 09:47:07 +0000 (09:47 +0000)]
* Bugfix: resizing beginnings of MIDI regions did not work correctly (it shifted the region content right)
* Bugfix: resizing ends of MIDI tracks did not hide noted beyond region boundaries (in the moment only all notes with note_on >= region end are hidden, their note offs still may exceed region boundaries, but so much for now.....)
git-svn-id: svn://localhost/ardour2/branches/3.0@3219
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 5 Apr 2008 03:49:31 +0000 (03:49 +0000)]
* bugfix: invisible midi ports in port matrix shown
git-svn-id: svn://localhost/ardour2/branches/3.0@3218
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 4 Apr 2008 16:36:30 +0000 (16:36 +0000)]
* bugfix: Connecting/disconnecting MIDI ports did not work: tracker.ardour.org/view.php?id=2141
git-svn-id: svn://localhost/ardour2/branches/3.0@3216
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 3 Apr 2008 22:12:25 +0000 (22:12 +0000)]
* fixed segfault on MIDI Panic button
git-svn-id: svn://localhost/ardour2/branches/3.0@3212
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 3 Apr 2008 21:47:47 +0000 (21:47 +0000)]
* implemented editing velocities (tracker.ardour.org/view.php?id=2148)
* added MIDI panic button (http://tracker.ardour.org/view.php?id=2118)
* bugfix: moving notes above midi 127 or below 0 does not wrap around anymore
* bugfix: deadlock on editing notes after playback (http://tracker.ardour.org/view.php?id=2140) due to unbalanced lock acquire/release
* bugfix: First note off lost in playback (http://tracker.ardour.org/view.php?id=2132)
* bugfix: Last note off lost in saving MIDI files (http://tracker.ardour.org/view.php?id=2132)
* bandaid fix for http://tracker.ardour.org/view.php?id=1985 (Cannot reopen session because jack ports are not unregistered on session close)
* bandaid fix: replaced conf.CheckPKGExists ('\"slv2 >= 0.6.0\"') by conf.CheckPKGExists ('slv2') in SConstruct, because the former would fail,
even if SLV 0.6.0 was installed
* added/enabled debugging output for debugging MIDI model (might be removed later)
git-svn-id: svn://localhost/ardour2/branches/3.0@3211
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 26 Mar 2008 11:11:47 +0000 (11:11 +0000)]
hans' patches for MIDI note resizing++
git-svn-id: svn://localhost/ardour2/branches/3.0@3184
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 19 Mar 2008 21:15:28 +0000 (21:15 +0000)]
fix up delivery of MTC & MMC; add zero=last_timestamp semantics to JACK midi port write call; setup parser execution for JACK MIDI ports
git-svn-id: svn://localhost/ardour2/branches/3.0@3159
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 19 Mar 2008 18:10:51 +0000 (18:10 +0000)]
fix up and re-enable MTC transmission
git-svn-id: svn://localhost/ardour2/branches/3.0@3158
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 19 Mar 2008 17:30:42 +0000 (17:30 +0000)]
reduce (from 5k to 512) the number of events that non-process() threads may write into a JACK_MidiPort per process cycle
git-svn-id: svn://localhost/ardour2/branches/3.0@3157
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 19 Mar 2008 17:25:37 +0000 (17:25 +0000)]
reinstate Ye Olde MIDI (input) thread; fix up a few startup warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@3156
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 18 Mar 2008 03:42:32 +0000 (03:42 +0000)]
refactor JACK MIDI port to allow writing from a non-process() thread, and move ARDOUR::MidiEvent into MIDI namespace along with midi_events.h header
git-svn-id: svn://localhost/ardour2/branches/3.0@3155
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 18 Mar 2008 00:58:36 +0000 (00:58 +0000)]
band-aid fix for wrong-thread-MIDI-writes
git-svn-id: svn://localhost/ardour2/branches/3.0@3154
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 20:54:43 +0000 (20:54 +0000)]
added back glibmm2/Makefile.am
git-svn-id: svn://localhost/ardour2/branches/3.0@3153
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 20:54:03 +0000 (20:54 +0000)]
merge with 2.0-ongoing @ rev 3147
git-svn-id: svn://localhost/ardour2/branches/3.0@3152
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 14:30:05 +0000 (14:30 +0000)]
cleanup to build glibmm the way we actually want
git-svn-id: svn://localhost/ardour2/branches/3.0@3148
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 15 Mar 2008 00:47:30 +0000 (00:47 +0000)]
Add canvas-note.cc that probably shouldn't exist anyway :)
git-svn-id: svn://localhost/ardour2/branches/3.0@3146
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 15 Mar 2008 00:37:17 +0000 (00:37 +0000)]
Apply note resizing patch from hans.
git-svn-id: svn://localhost/ardour2/branches/3.0@3145
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 12 Mar 2008 01:01:27 +0000 (01:01 +0000)]
Clear selection in MidiRegionView::clear_events (can't select what isn't there....).
git-svn-id: svn://localhost/ardour2/branches/3.0@3141
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 10 Mar 2008 22:32:36 +0000 (22:32 +0000)]
Remove redundant MidiRegionView::start_remove_command.
git-svn-id: svn://localhost/ardour2/branches/3.0@3140
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 25 Feb 2008 01:33:30 +0000 (01:33 +0000)]
Fix selection issues.
git-svn-id: svn://localhost/ardour2/branches/3.0@3120
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 23 Feb 2008 02:14:17 +0000 (02:14 +0000)]
Fix weird formatting in lineset.cc to match conventions.
git-svn-id: svn://localhost/ardour2/branches/3.0@3112
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 04:13:44 +0000 (04:13 +0000)]
Remove SMF file name print for every opened source.
Fix crash on startup when installed (splash.png not found).
git-svn-id: svn://localhost/ardour2/branches/3.0@3108
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 01:49:33 +0000 (01:49 +0000)]
Hopefully fix missing meter/fader on mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@3106
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 01:45:29 +0000 (01:45 +0000)]
Clean up weird formatting from underlays patch.
Fix several memory (valgrind) errors in a vain attempt to fix crash on session close.
git-svn-id: svn://localhost/ardour2/branches/3.0@3105
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 20:20:40 +0000 (20:20 +0000)]
Fix key stealing on MIDI region views.
git-svn-id: svn://localhost/ardour2/branches/3.0@3102
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:51:41 +0000 (19:51 +0000)]
Fix ruler scale on initial view (apply patch from nick_m).
git-svn-id: svn://localhost/ardour2/branches/3.0@3101
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:43:42 +0000 (19:43 +0000)]
Steal n key for note tool, normalize be damned.
git-svn-id: svn://localhost/ardour2/branches/3.0@3100
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:30:01 +0000 (19:30 +0000)]
Fix install path problems (s/ardour2/ardour3).
Fix finding of keybindings file when running from source tree (via ardev/ardbg).
Fix clashing keybindings for zoom stuff.
Add note tool keybinding and menu entry.
git-svn-id: svn://localhost/ardour2/branches/3.0@3099
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 00:15:20 +0000 (00:15 +0000)]
Fix timing on MIDI import.
git-svn-id: svn://localhost/ardour2/branches/3.0@3093
d708f5d6-7413-0410-9779-
e7cbd77b26cf