Commit Graph

3394 Commits

Author SHA1 Message Date
4a46fccc68 freesound mootcher patch from donf, from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:21:23 +00:00
9867035f29 make MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track context menu); add "default channel" concept for MIDI tracks so that piano roll header events can send stuff on the right channel; add GUI control over this channel setting
git-svn-id: svn://localhost/ardour2/branches/3.0@5687 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 19:00:34 +00:00
756fc18394 implement MidiBuffer::merge_in_place() and use to support MIDI passthrough (control over this feature to be added. historical note: implemented and debugged during keith packard's excellent presentation on X at 25 during LPC2009
git-svn-id: svn://localhost/ardour2/branches/3.0@5686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 05:08:23 +00:00
ddf532a655 (full commit): fix MIDI playback by not writing into the playback buffer from MidiDiskStream::process() unless recording. This has a negative impact on "monitoring" MIDI, but that needs a different, somewhat more expansive solution anyway
git-svn-id: svn://localhost/ardour2/branches/3.0@5685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-21 15:43:11 +00:00
378a90b345 fix MIDI playback by not writing into the playback buffer from MidiDiskStream::process() unless recording. This has a negative impact on "monitoring" MIDI, but that needs a different, somewhat more expansive solution anyway
git-svn-id: svn://localhost/ardour2/branches/3.0@5684 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-21 15:40:32 +00:00
5cc5fb8de4 remove existing attempts at optimizing MIDI event reading, to try to fix bugs that may be connected with it
git-svn-id: svn://localhost/ardour2/branches/3.0@5667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 17:53:04 +00:00
fa4e858eb3 do not allow smf_source's reads to stomp on cached read_end position in parent class, which creates chaos by being out of sync with MidiSource::_model_iterator. this doesn't totally fix MIDI playback, but it helps
git-svn-id: svn://localhost/ardour2/branches/3.0@5665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 01:08:51 +00:00
Carl Hetherington
127b8a62b7 Normalise names of .cc and .h files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 16:49:15 +00:00
Carl Hetherington
7b14a4230b Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 15:23:59 +00:00
bf0a99f0c0 fix up marshall/unmarshall of note data for MidiModel::DiffCommand
git-svn-id: svn://localhost/ardour2/branches/3.0@5662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-14 16:01:32 +00:00
3023d53d7d permit sends to show up in processor box, by handling delete event and sending Finished from IOSelectorWindow
git-svn-id: svn://localhost/ardour2/branches/3.0@5659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-13 02:03:04 +00:00
265cf739b5 add MIDI panic action (which has to be on a menu, sigh ... stupid GTK)
git-svn-id: svn://localhost/ardour2/branches/3.0@5658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-12 17:49:57 +00:00
93bc6e5b58 fix note selection behaviour, hopefully ... perhaps
git-svn-id: svn://localhost/ardour2/branches/3.0@5657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-12 16:46:19 +00:00
d98302ae2c track note on/off and send appropriate note offs at transport stop
git-svn-id: svn://localhost/ardour2/branches/3.0@5655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 13:25:31 +00:00
65c5e7ae47 save & restore internal-edit status
git-svn-id: svn://localhost/ardour2/branches/3.0@5654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 02:01:16 +00:00
42e1e00f06 add step-rest keybinding for step editing
git-svn-id: svn://localhost/ardour2/branches/3.0@5653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 22:20:37 +00:00
2ff1cd99af do not crash when loading old history files with MIDI edits; add all notes in region to canvas, but pay attention to visibility
git-svn-id: svn://localhost/ardour2/branches/3.0@5652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 21:19:01 +00:00
7b8adc78b6 more MIDI editing cleanups, mostly fixing subtleties. Will break loading the history file for older sessions with MIDI editing present - we warned you :)
git-svn-id: svn://localhost/ardour2/branches/3.0@5651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 20:41:08 +00:00
5f319d0a08 re-use canvas note items when the model changes ; slightly more efficient (probably) and avoids invalidating references to said items in, for example, ResizeData in a copied region
git-svn-id: svn://localhost/ardour2/branches/3.0@5650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:46:18 +00:00
Carl Hetherington
58f5ad6406 Clean up some confusion about offering a denormalize menu option when a region may not necessarily be normalized.
git-svn-id: svn://localhost/ardour2/branches/3.0@5649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:39:33 +00:00
Carl Hetherington
3386070014 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:38:45 +00:00
Carl Hetherington
dcaf93aa10 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:38:32 +00:00
Carl Hetherington
a0b9c52a5e Remove excess menu separator.
git-svn-id: svn://localhost/ardour2/branches/3.0@5646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:25:16 +00:00
Carl Hetherington
a444e0809d Fix mantis 1814.
git-svn-id: svn://localhost/ardour2/branches/3.0@5645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:09:08 +00:00
Carl Hetherington
22f1e2eb5f Apply olaf's patch from mantis 2844 to fix that. Also fix non-appearing peakfiles on reversed regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@5644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:54 +00:00
Carl Hetherington
d64faaa4b1 Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@5643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:01 +00:00
5328a114c9 time line items now have 64 bit location + duration; start making note resize apply across regions
git-svn-id: svn://localhost/ardour2/branches/3.0@5642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 02:09:04 +00:00
1bf79fa885 move note drag & note resize mouse handling up into the Drag/Editor infrastructure/level
git-svn-id: svn://localhost/ardour2/branches/3.0@5641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-08 21:45:44 +00:00
539c8361de use diff commands for quantize, with infrastructure changes as required
git-svn-id: svn://localhost/ardour2/branches/3.0@5639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 16:53:53 +00:00
79dc191d6b add anonymous union to DiffCommand to allow uint8t_t and time-based arguments; use DiffCommand for note trimming
git-svn-id: svn://localhost/ardour2/branches/3.0@5638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 13:38:06 +00:00
837bfc9af4 the start (only the start) of MIDI diff commands
git-svn-id: svn://localhost/ardour2/branches/3.0@5637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-06 18:11:55 +00:00
c3c5c9a559 just one timeout callback for step editing, not one per track
git-svn-id: svn://localhost/ardour2/branches/3.0@5635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-05 14:11:48 +00:00
b7fe417f70 better way to "engage" step edit, and extend region correctly as needed
git-svn-id: svn://localhost/ardour2/branches/3.0@5630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 14:50:21 +00:00
b0b584c2a5 the basics of step editing, more details to follow
git-svn-id: svn://localhost/ardour2/branches/3.0@5629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 12:39:50 +00:00
Carl Hetherington
c8932292e1 Duh, the info stream is available here, so use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@5627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:08:39 +00:00
Carl Hetherington
d2c95b3ffb Give a slightly friendlier error if no powermate device is found on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:06:45 +00:00
Carl Hetherington
285b59a7b9 Make sure wscripts under libs/surfaces/* are configured. This fixes the OSC surface build, as it now links with liblo.
git-svn-id: svn://localhost/ardour2/branches/3.0@5625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:38:34 +00:00
Carl Hetherington
c30dbaad0e Don't raise an error when trying to auto-connect master to physical outputs if the connection already exists.
git-svn-id: svn://localhost/ardour2/branches/3.0@5624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:12:57 +00:00
Carl Hetherington
3635710627 Handle mouse events over crossfades properly (or better) when in stacked region mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 23:55:09 +00:00
Carl Hetherington
e745eb6952 Modified version of Hans' patch for mantis 1985. Also remove unused port_connections array in AudioEngine.
git-svn-id: svn://localhost/ardour2/branches/3.0@5621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:59:12 +00:00
Carl Hetherington
9d9905f443 Clear out any command line session name on closing a session so that the same session isn't just reloaded straight away.
git-svn-id: svn://localhost/ardour2/branches/3.0@5619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:19:50 +00:00
Carl Hetherington
4b5426edde Fix erroneous parameter passed to Editor::motion_handler. Makes autoscroll work again in various drags.
git-svn-id: svn://localhost/ardour2/branches/3.0@5618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:02:34 +00:00
Carl Hetherington
25cec845c5 Put advanced bits in an expander. Still need to make the export code default to exporting the master bus from the whole session, somehow.
git-svn-id: svn://localhost/ardour2/branches/3.0@5614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:14:13 +00:00
Carl Hetherington
a5c55c2b5e Add accessor for _exporting.
git-svn-id: svn://localhost/ardour2/branches/3.0@5613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:13:23 +00:00
Carl Hetherington
1d5bfab42c Don't send midi clock during export, for now, to avoid assertion failure when the transmission code tries to send MIDI outside the process callback.
git-svn-id: svn://localhost/ardour2/branches/3.0@5612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:12:52 +00:00
b67d36e051 make scons tell people to use waf
git-svn-id: svn://localhost/ardour2/branches/3.0@5610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 17:15:21 +00:00
Carl Hetherington
33ac710a63 Update coverage frames when a track changes height. Remove some unnecessary namespace qualifiers.
git-svn-id: svn://localhost/ardour2/branches/3.0@5608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-31 23:09:09 +00:00
Carl Hetherington
7076f0e88e Make drag selection work properly with stacked region mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-31 22:49:26 +00:00
Carl Hetherington
1aa38f074f Don't setup panner UI unless it has changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@5606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-30 00:40:48 +00:00
Carl Hetherington
95c4046ff9 Set route remote control IDs from a dialog rather than a menu. I think this is
more practical (especially with large track counts), and also prevents a N-entry
menu being built for each of N tracks every time the mixer strip order is changed,
which speeds some operations up.


git-svn-id: svn://localhost/ardour2/branches/3.0@5605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29 23:31:59 +00:00