13
0
Commit Graph

2364 Commits

Author SHA1 Message Date
4b23fe7a7e Bindings save release bindings as well as press bindings
git-svn-id: svn://localhost/ardour2/branches/3.0@7622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 21:48:09 +00:00
Carl Hetherington
063b91313f Implement per-channel phase invert. Fixes #3392. Breaks loading of existing 3.0 session files.
git-svn-id: svn://localhost/ardour2/branches/3.0@7621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 21:33:01 +00:00
Carl Hetherington
f46fdb2a6f Don't set session dirty flag on setting up the play loop.
git-svn-id: svn://localhost/ardour2/branches/3.0@7616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 16:48:48 +00:00
Carl Hetherington
3364fda3de Move _port_offset up to AudioPort, as MidiPort does not use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@7614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 02:13:12 +00:00
Carl Hetherington
8502e50377 Hopefully fix dropped MIDI notes on loop. Fixes #3133.
git-svn-id: svn://localhost/ardour2/branches/3.0@7613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 02:13:03 +00:00
Carl Hetherington
5ecf08a307 Add option to normalize across all selected regions. Clean up the region context menu a bit with respect to its handling of multiple selected regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@7611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12 23:26:59 +00:00
9196535878 lotsa keybindings for nearly everything in the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12 21:02:01 +00:00
Carl Hetherington
59af63cde9 Make automation-follows-regions the default.
git-svn-id: svn://localhost/ardour2/branches/3.0@7607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12 00:39:46 +00:00
5182f0770c add a first hack at a step edit cursor (to be changed); add program+bank stubs (non-functional for the foreseeable future); fix up step edit changes propagating across all MIDI tracks; make program change "flags" change height along with track
git-svn-id: svn://localhost/ardour2/branches/3.0@7598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11 18:21:37 +00:00
71970fb881 part 2 of the OMG-make-radio-buttons-and-actions-work-properly commit for the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 21:27:19 +00:00
Carl Hetherington
507e996d06 Don't drop MIDI messages that arrive at the very start of a JACK buffer, and add a temporary warning message to indicate when such drops happen.
git-svn-id: svn://localhost/ardour2/branches/3.0@7582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 00:09:42 +00:00
Carl Hetherington
eaed7cfe25 Fix compatibility of marker positional lock style with 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@7580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 23:15:54 +00:00
Carl Hetherington
69c9e2296c Fix up state save/load of location lock/glue settings.
git-svn-id: svn://localhost/ardour2/branches/3.0@7579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 22:23:32 +00:00
Carl Hetherington
78986385e1 Fix save/load of MIDI automation state. Fixes #3354.
git-svn-id: svn://localhost/ardour2/branches/3.0@7578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 22:23:23 +00:00
Carl Hetherington
7c5f1b7a26 Add glue / lock buttons to the location window.
git-svn-id: svn://localhost/ardour2/branches/3.0@7577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 18:22:10 +00:00
Carl Hetherington
5b520324ce Allow markers to be glued to bar/beat time. Fixes #1815.
git-svn-id: svn://localhost/ardour2/branches/3.0@7573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 16:40:31 +00:00
Carl Hetherington
e1cd6653da In marks_either_side, don't return a marker that is exactly at the position that we request. Fixes #3386.
git-svn-id: svn://localhost/ardour2/branches/3.0@7571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09 14:12:15 +00:00
Carl Hetherington
26605c7d08 Add tooltip for edit mode selector. Shorten strings used in the selector to save horizontal space.
git-svn-id: svn://localhost/ardour2/branches/3.0@7564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-08 02:20:21 +00:00
Carl Hetherington
606a65321d Label panner automation sliders the same as panners.
git-svn-id: svn://localhost/ardour2/branches/3.0@7563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-08 02:19:20 +00:00
Carl Hetherington
9a539fd347 Call activate() on plugins when setting state so that they are initialised correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@7562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-07 23:31:33 +00:00
Carl Hetherington
66aeda8d8a Allow local-scope strings to be passed in as constructor parameters.
git-svn-id: svn://localhost/ardour2/branches/3.0@7559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-07 23:30:12 +00:00
Carl Hetherington
54d019cdd6 Possibly-useful assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@7558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-07 23:29:22 +00:00
e430668431 don't try to look up the key info for actions that don't have accel paths
git-svn-id: svn://localhost/ardour2/branches/3.0@7557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 23:45:20 +00:00
c333b19422 start using new keybinding stuff in step editor dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 19:02:21 +00:00
3f0f409e06 functions related to blocking mothership callbacks
git-svn-id: svn://localhost/ardour2/branches/3.0@7554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 19:00:59 +00:00
e2965cd138 new files for new per-window/action-driven key binding mechanism
git-svn-id: svn://localhost/ardour2/branches/3.0@7553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 18:44:55 +00:00
22a8404df4 actually read&parse current version from ardour.org, and pay attention to ~/.config/ardour3/.offthehook
git-svn-id: svn://localhost/ardour2/branches/3.0@7550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05 22:58:38 +00:00
6109f05c38 first pass a "phone home" facility for version tracking and update notification
git-svn-id: svn://localhost/ardour2/branches/3.0@7549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05 19:39:49 +00:00
7c39d2171f slightly more info when debugging the kbd snooper
git-svn-id: svn://localhost/ardour2/branches/3.0@7548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05 19:39:11 +00:00
Carl Hetherington
5e3ca4db5c Support cut / copy / paste of MIDI automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@7545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05 13:36:38 +00:00
Carl Hetherington
c831ea5167 Fix SNAFU with auto-connect. Fixes #3379.
git-svn-id: svn://localhost/ardour2/branches/3.0@7536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 15:42:45 +00:00
Carl Hetherington
aa72da4f9f Fix peakfile display after record. Fixes at least part of #3374.
git-svn-id: svn://localhost/ardour2/branches/3.0@7534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 00:01:55 +00:00
Carl Hetherington
8b0354f910 Suspend transport timecode transmission during playhead drag. Should fix #3324.
git-svn-id: svn://localhost/ardour2/branches/3.0@7528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-02 01:59:34 +00:00
Carl Hetherington
5d8933893c Put MIDI sync ports in the Ardour tab of the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01 10:26:19 +00:00
Carl Hetherington
90c6ca876a Fixes to MIDI ports in the matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01 10:26:02 +00:00
Carl Hetherington
1dfd97322a Fix up mistake in session bundle generation.#
git-svn-id: svn://localhost/ardour2/branches/3.0@7524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-01 10:25:41 +00:00
Carl Hetherington
1f07948972 Put Mackie surface ports into the Ardour tab of the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-30 02:09:39 +00:00
Carl Hetherington
66760a574a Don't display empty tabs in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-29 19:25:26 +00:00
Carl Hetherington
21fd76ef9a Fix startup of the mackie surface code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-29 19:24:25 +00:00
Carl Hetherington
c2cf3c5bfd Trim get_nth_physical port methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@7518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-28 01:40:36 +00:00
Carl Hetherington
922488427a Add session MIDI bundles to enable connection of MIDI tracks from the right-click I/O menus.
git-svn-id: svn://localhost/ardour2/branches/3.0@7517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-28 00:43:15 +00:00
Carl Hetherington
623f37fd36 Fix test compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@7516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-28 00:42:43 +00:00
ece5093234 change Control::{set,get}_float to Control::{set,get}_double and make almost all Control-related stuff use double rather than random mixtures of float, double and some integer value ; make hans' program change stuff work quite a bit better (not finished yet) including keyboard edting of pgm change values
git-svn-id: svn://localhost/ardour2/branches/3.0@7514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-27 14:09:16 +00:00
Carl Hetherington
fbc946d60d Fix up Mackie control surface to cope with changes to midi++ midi ports from a while back.
git-svn-id: svn://localhost/ardour2/branches/3.0@7513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-27 03:09:58 +00:00
Carl Hetherington
b1e535570c Fix up gain envelope handling with region split. Fixes #3306.
git-svn-id: svn://localhost/ardour2/branches/3.0@7510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-27 02:11:15 +00:00
f2df65db6a part two of: don't crash during startup with no config files when trying to use a non-existent MIDI Manager object
git-svn-id: svn://localhost/ardour2/branches/3.0@7501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-26 15:28:59 +00:00
edf09354fb don't crash during startup with no config files when trying to use a non-existent MIDI Manager object
git-svn-id: svn://localhost/ardour2/branches/3.0@7500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-26 15:22:24 +00:00
Carl Hetherington
0fb9c79d8d Patch from petem to initialise inbound MMC device ID to 0x7f. Fixes #2853.
git-svn-id: svn://localhost/ardour2/branches/3.0@7496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 23:55:45 +00:00
Carl Hetherington
6a9758dbcc Fix case where the working range for the interpolation can be chosen wrongly if start is after the cached point's time. Should fix #3356.
git-svn-id: svn://localhost/ardour2/branches/3.0@7495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 23:20:31 +00:00
Carl Hetherington
2794eab6ae Name evoral test target so that it can be build on its own.
git-svn-id: svn://localhost/ardour2/branches/3.0@7494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 23:19:55 +00:00
Carl Hetherington
115083c13d Remove end of SearchCache as it is not used (it's always set to DBL_MAX)
git-svn-id: svn://localhost/ardour2/branches/3.0@7493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 23:19:43 +00:00
6fa58df791 do not apply global transport declick to MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@7491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 19:26:14 +00:00
fce685b2e7 only push note-on information into the step edit ringbuffer
git-svn-id: svn://localhost/ardour2/branches/3.0@7490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 13:26:53 +00:00
Carl Hetherington
93a3b1a221 Remove test that will never fire.
git-svn-id: svn://localhost/ardour2/branches/3.0@7489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 01:47:18 +00:00
Carl Hetherington
637bca1423 Move data file into subdir.
git-svn-id: svn://localhost/ardour2/branches/3.0@7487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 01:04:00 +00:00
Carl Hetherington
e315945146 Remove debug output from last commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@7486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 00:48:28 +00:00
Carl Hetherington
7b3e1a1061 Add test for #3356.
git-svn-id: svn://localhost/ardour2/branches/3.0@7485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 00:42:02 +00:00
Carl Hetherington
118621c261 Fix up libardour tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@7484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 00:39:11 +00:00
Carl Hetherington
963bc50a8b Fix up evoral test suite.
git-svn-id: svn://localhost/ardour2/branches/3.0@7483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-25 00:39:04 +00:00
c685724c80 step editing now accessed via a context menu on MIDI track rec-enable buttons. along the way, fixed up confusion between set_rec_enable() and set_rec_enabled() methods in Route/Track/Diskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@7482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-24 16:40:56 +00:00
e3241a03cf catch thrown exception when rounding backwards from a position too close to zero
git-svn-id: svn://localhost/ardour2/branches/3.0@7481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-23 23:30:11 +00:00
Carl Hetherington
cd6c3af27d Patch from dx9s to rearrange the View/Window menus a bit and add an option to keap tearoff toolbars when maximising editor space. Fixes #2974.
git-svn-id: svn://localhost/ardour2/branches/3.0@7480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-23 23:29:36 +00:00
b122b34192 position tearoffs at WIN_POS_MOUSE when first torn off, and add tooltips to help tell users what they can do
git-svn-id: svn://localhost/ardour2/branches/3.0@7477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-23 13:15:59 +00:00
c11c01ef20 remove a bunch of uses of long (mostly replaced by int32_t)
git-svn-id: svn://localhost/ardour2/branches/3.0@7472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 16:08:11 +00:00
1c1b359ff2 second (and hopefully) final part of changes to respond to header format changes sensibly: lookup existing files correctly, and don't end up with gapped "take" numbers for successive files since we now remove ::removable() sources when switching to new ones (for audio)
git-svn-id: svn://localhost/ardour2/branches/3.0@7470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 14:52:05 +00:00
5c17bd3df2 use Glib::build_filename() to construct fullpath, rather than doing it by hand (hello, windows)
git-svn-id: svn://localhost/ardour2/branches/3.0@7469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 14:50:47 +00:00
a1bbbcb41b first part of using appropriate .ext extensions for the current chosen native file header format
git-svn-id: svn://localhost/ardour2/branches/3.0@7468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 02:27:06 +00:00
Carl Hetherington
cb80dbd927 Don't move automation to follow region when a region has only been trimmed rather than moved.
git-svn-id: svn://localhost/ardour2/branches/3.0@7465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 01:22:56 +00:00
Carl Hetherington
092e598389 When a region movement is undone, prevent the resulting movement from triggering the automation-follows-regions code. Fixes #3348.
git-svn-id: svn://localhost/ardour2/branches/3.0@7464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22 01:22:33 +00:00
75fb4557e5 removed #if 0 code
git-svn-id: svn://localhost/ardour2/branches/3.0@7461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-21 17:46:45 +00:00
7ab8dbc2fe fix up file renaming code a little bit
git-svn-id: svn://localhost/ardour2/branches/3.0@7460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-21 13:03:50 +00:00
6ef49a0b86 force creation of MIDI (SMF) files on disk whenever an SMF object is created, to avoid "source exists but no file don disk exists" issue
git-svn-id: svn://localhost/ardour2/branches/3.0@7459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-21 13:02:58 +00:00
Carl Hetherington
1fd56c5476 Sort tracks in the port matrix according to editor order. Fixes #2966.
git-svn-id: svn://localhost/ardour2/branches/3.0@7458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-21 02:17:57 +00:00
Carl Hetherington
f9d88d0979 Make AutomationLists clear their events when their state is set to an AutomationList with no Events node. Fixes #3345.
git-svn-id: svn://localhost/ardour2/branches/3.0@7456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-20 23:25:02 +00:00
Carl Hetherington
f14604694d Properly fix auto-connect so that busses can still have their outputs auto-connected (just not their inputs).
git-svn-id: svn://localhost/ardour2/branches/3.0@7455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-20 22:59:10 +00:00
bf91ed99ec add note IDs and use them for looking up notes during a history rebuild. NOTE: INVALIDATES OLDER HISTORY FILES
git-svn-id: svn://localhost/ardour2/branches/3.0@7449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-20 16:27:34 +00:00
Carl Hetherington
0cf3e493f9 Don't auto-connect busses to hardware inputs. Fixes #3335.
git-svn-id: svn://localhost/ardour2/branches/3.0@7440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 21:46:19 +00:00
Carl Hetherington
aecbb04775 Fix up change list handling on removal and re-addition of a value.
git-svn-id: svn://localhost/ardour2/branches/3.0@7438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 01:42:55 +00:00
Carl Hetherington
f84f270b15 Show MIDI controller numbers in automation track titles, as per part of #3175.
git-svn-id: svn://localhost/ardour2/branches/3.0@7437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-17 00:56:41 +00:00
Carl Hetherington
daec83d258 Fix typo in event type parser; fixes #3323.
git-svn-id: svn://localhost/ardour2/branches/3.0@7435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-17 00:56:06 +00:00
2fdd30ce0a remove unncessary assert
git-svn-id: svn://localhost/ardour2/branches/3.0@7434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 21:40:09 +00:00
Carl Hetherington
eb4d9be40c Fix state save of region fades. Fixes #3316.
git-svn-id: svn://localhost/ardour2/branches/3.0@7429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 19:37:58 +00:00
Carl Hetherington
faefa809ad Remove unused full parameter to Region::state
git-svn-id: svn://localhost/ardour2/branches/3.0@7428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 19:37:46 +00:00
c9b121803c add new files
git-svn-id: svn://localhost/ardour2/branches/3.0@7427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 15:45:24 +00:00
c8e3f32533 newly created files for use in recording appear in a .stubs folder, and are moved out of it when recording stops
git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 14:55:11 +00:00
e9ab577177 use framepos_t more clearly for partition operation
git-svn-id: svn://localhost/ardour2/branches/3.0@7425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-16 14:36:05 +00:00
Carl Hetherington
75c9d87051 Fix thinko in my previous commit. Should fix #3315.
git-svn-id: svn://localhost/ardour2/branches/3.0@7421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-15 00:25:58 +00:00
Carl Hetherington
ebe95f1265 Fix setting of loop region start/end at the same time. Fixes #3314.
git-svn-id: svn://localhost/ardour2/branches/3.0@7418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-15 00:24:50 +00:00
Carl Hetherington
960a841479 Insert new LocationEditRow on location add, rather than rebuilding the whole VBox. Fixes #3266.
git-svn-id: svn://localhost/ardour2/branches/3.0@7416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 21:18:25 +00:00
Sampo Savolainen
fb25622944 Do special things when freewheeling only when this instance of ardour is exporting.
git-svn-id: svn://localhost/ardour2/branches/3.0@7415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 21:06:12 +00:00
Carl Hetherington
451c5c4d06 Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@7412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 12:29:01 +00:00
Carl Hetherington
66062a85b6 Fix binding of automation list undo records to MIDI sources. Should fix the remainder of #3203.
git-svn-id: svn://localhost/ardour2/branches/3.0@7411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 12:27:37 +00:00
Carl Hetherington
5ce47b52da Fix track lifetime wrt graph. Fixes #3251.
git-svn-id: svn://localhost/ardour2/branches/3.0@7410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 02:23:37 +00:00
Carl Hetherington
593b421180 A few fixes to interpolation of MIDI controller data. Don't interpolate
when writing these data back to a source, otherwise surprising new
interpolated points appear in MIDI automation.  Similarly don't interpolate
when reading the model during MIDI stretch.  Fix handling of interpolation state;
controllers that have been set by the user to use a different interpolation style
are noted in the <Source> tag of the session file and this state is sprayed around
to MidiModel and the GUI as necessary.


git-svn-id: svn://localhost/ardour2/branches/3.0@7409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14 00:58:15 +00:00
Carl Hetherington
b75977920e Remove stub class.
git-svn-id: svn://localhost/ardour2/branches/3.0@7407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-13 01:26:30 +00:00
Carl Hetherington
d1b4599725 Mark Sequence as edited when one of its parent ControlSet's ControlLists is changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@7404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-12 00:41:45 +00:00
Carl Hetherington
6f5ee7c429 Fix up VST build and add basic support for VSTi
git-svn-id: svn://localhost/ardour2/branches/3.0@7403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-11 21:55:11 +00:00
Carl Hetherington
2578d5da0e Fix (in inverted commas) #2885.
git-svn-id: svn://localhost/ardour2/branches/3.0@7402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-09 02:45:15 +00:00
Carl Hetherington
876a8547e4 Send both MTC and MMC locates on auto-return. Should fix #3303.
git-svn-id: svn://localhost/ardour2/branches/3.0@7399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-09 00:58:28 +00:00
Carl Hetherington
00cf0733a1 Remove some unused transport sub state enums.
git-svn-id: svn://localhost/ardour2/branches/3.0@7397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-09 00:57:58 +00:00
Carl Hetherington
648a169d8f Move MIDI control port ownership into the MIDI Manager, since control port state should be Ardour-wide, not per-session. Fix up port connection state management.
git-svn-id: svn://localhost/ardour2/branches/3.0@7394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-08 22:55:20 +00:00
Carl Hetherington
4885f29be1 Trim midi++ port code to either do in or out, but not both in the same object.
git-svn-id: svn://localhost/ardour2/branches/3.0@7391 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-08 01:00:46 +00:00
Carl Hetherington
10ef65b696 Transmit MTC on playhead drag, as per #3239.
git-svn-id: svn://localhost/ardour2/branches/3.0@7389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-07 23:48:46 +00:00
Carl Hetherington
28e3215afa Fix Mackie surface after port rework.
git-svn-id: svn://localhost/ardour2/branches/3.0@7388 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-07 23:47:31 +00:00
Carl Hetherington
ea23298f10 Setup fixed ports for MIDI control data; hence remove configuration of those ports. Move MIDI tracer to the Windows menu. Trim some unused code from the midi++ Manager.
git-svn-id: svn://localhost/ardour2/branches/3.0@7384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-07 00:40:58 +00:00
2f9184d653 beat slicing patch #1 from lincoln spiteri
git-svn-id: svn://localhost/ardour2/branches/3.0@7381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06 11:33:27 +00:00
Taybin Rutkin
2f11b367ca fix compiling file_manager.cc on osx
clock_gettime() and CLOCK_MONOTONIC aren't implemented on osx.
Replaced with get_absolute_time() as suggested here:
http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/



git-svn-id: svn://localhost/ardour2/branches/3.0@7380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06 01:25:06 +00:00
Carl Hetherington
d3b422d064 Remove file that should have gone earlier.
git-svn-id: svn://localhost/ardour2/branches/3.0@7379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06 01:18:14 +00:00
Carl Hetherington
ff8ea4d2f2 Remove MMC thread protection which is pointless now that only JACK MIDI ports are used for output, which themselves can cope with multi-threaded access.
git-svn-id: svn://localhost/ardour2/branches/3.0@7378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06 00:27:03 +00:00
Carl Hetherington
91850f0eb4 Remove non-JACK midi++ ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@7377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06 00:16:36 +00:00
dc1e5d09a2 require jack 0.118.2 for weakjack.h
git-svn-id: svn://localhost/ardour2/branches/3.0@7375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 16:28:45 +00:00
c9f471b404 require jack 0.118.2 for weakjack.h
git-svn-id: svn://localhost/ardour2/branches/3.0@7374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 16:28:30 +00:00
Carl Hetherington
df2298c846 Reestablish libmidi++ JACK ports on jack reconnection, so that control MIDI can still be sent after a JACK disconnect/reconnect. Fixes remainder of #3301.
git-svn-id: svn://localhost/ardour2/branches/3.0@7373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 15:41:05 +00:00
Carl Hetherington
839402778f Prevent assertion failure if _jack_output_port is 0, which can happen if JACK is disconnected. Improves #3301.
git-svn-id: svn://localhost/ardour2/branches/3.0@7371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 01:13:52 +00:00
Carl Hetherington
c36132271b Do MMC on playhead drag more efficiently by not doing an actual locate.
git-svn-id: svn://localhost/ardour2/branches/3.0@7370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 01:13:36 +00:00
Carl Hetherington
8216700080 Fix possible problems with _pending_locate_request getting stuck at true and hence stopping playhead movement.
git-svn-id: svn://localhost/ardour2/branches/3.0@7369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 01:13:18 +00:00
Carl Hetherington
dc44037a51 Forward port no-process-after-export fix from 2.X revs 7357 and 7361.
git-svn-id: svn://localhost/ardour2/branches/3.0@7368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 01:13:03 +00:00
Carl Hetherington
e4c6b5f01a Fix up route group label updates.
git-svn-id: svn://localhost/ardour2/branches/3.0@7367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05 01:12:49 +00:00
Carl Hetherington
bde4d3f341 Fix up my previous buggy MMC cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@7363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-03 00:11:33 +00:00
2062ce8186 a few more if (_mmc) tests
git-svn-id: svn://localhost/ardour2/branches/3.0@7356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-02 13:39:46 +00:00
082b4a2019 add MidiModel::sync_to_source() to push model state into its existing source; mark SMFSource as non-removable after its called SMF::end_write(); some indentation fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@7350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 18:54:19 +00:00
601dc846da fix assumption that Session::_mmc != 0
git-svn-id: svn://localhost/ardour2/branches/3.0@7349 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 15:03:49 +00:00
d4db53e554 fix gcc4.4 compile warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@7348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 15:02:54 +00:00
d3a4655ddd allow zero length MIDI files again and remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@7347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 15:02:18 +00:00
69b7b53aec fix gcc4.4 compile warning
git-svn-id: svn://localhost/ardour2/branches/3.0@7346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 15:01:25 +00:00
d488ce49bb debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@7345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 13:51:52 +00:00
Carl Hetherington
92e4126617 Allow port matrix to show both audio and midi ports at the same time, and use that facility for route IO selectors.
git-svn-id: svn://localhost/ardour2/branches/3.0@7344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01 01:14:14 +00:00
Carl Hetherington
aad230da69 Improve behaviour of MIDI metering.
git-svn-id: svn://localhost/ardour2/branches/3.0@7337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30 15:08:18 +00:00
Carl Hetherington
5f67a72c34 Basic tweaks to make the bundles and the port matrix accept that MIDI tracks may have audio IO, and vice versa. Allows connection of instrument tracks using the global port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30 02:59:13 +00:00
Carl Hetherington
8efaca01ef Fix starting scratch buffer count.
git-svn-id: svn://localhost/ardour2/branches/3.0@7334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30 00:11:27 +00:00
Carl Hetherington
4d80bdad7d Make main out delivery expand its output ports if the processor chain requires it.
git-svn-id: svn://localhost/ardour2/branches/3.0@7333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30 00:10:56 +00:00
Carl Hetherington
ff51abb988 Fix feature specification on instantiation.
git-svn-id: svn://localhost/ardour2/branches/3.0@7332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30 00:09:56 +00:00
dbf3ba2d73 allow zero-length SMF files on disk again; fix some gcc 4.X optimization-on compile warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@7329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 20:40:52 +00:00
Carl Hetherington
bebeb5abec Fix comment
git-svn-id: svn://localhost/ardour2/branches/3.0@7326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 19:07:22 +00:00
Carl Hetherington
ce8d79d621 Restore MMC registers.
git-svn-id: svn://localhost/ardour2/branches/3.0@7325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 14:04:19 +00:00
Carl Hetherington
9469d6b26a Clean up MMC transmission a bit, and make sure that it is all done from one thread.
git-svn-id: svn://localhost/ardour2/branches/3.0@7324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:47:53 +00:00
Carl Hetherington
b47524ded2 const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29 13:47:11 +00:00
Carl Hetherington
21e10145d8 realtime_stop does not need to send MMC as realtime_stop will have already done it.
git-svn-id: svn://localhost/ardour2/branches/3.0@7319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 21:34:50 +00:00
Carl Hetherington
55695bfe2d Fix hang on session going away when there is nothing to process. Fixes #3284.
git-svn-id: svn://localhost/ardour2/branches/3.0@7316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 20:49:15 +00:00
Carl Hetherington
89b686f937 Tweak transmission of MMC on locate. Should fix #3121.
git-svn-id: svn://localhost/ardour2/branches/3.0@7314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 17:25:40 +00:00
0be7d224f4 clear region history in Playlist::notify_region_added() so that it has no apparent history before being added to the Playlist.
git-svn-id: svn://localhost/ardour2/branches/3.0@7311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 14:59:38 +00:00
74745856d6 fix basic logic problem in PropertyTemplate<T>::set so that current/old values are properly managed
git-svn-id: svn://localhost/ardour2/branches/3.0@7310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 14:56:40 +00:00
Carl Hetherington
ed19559ece Generate undo record for crossfade edits, and provide signalling to update the view when such things are undone. Partially fixes #3257.
git-svn-id: svn://localhost/ardour2/branches/3.0@7309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 02:40:09 +00:00
Carl Hetherington
c8e07653da Fix a couple of crashes on MIDI import.
git-svn-id: svn://localhost/ardour2/branches/3.0@7308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 01:12:21 +00:00
Carl Hetherington
c5bbca0cf5 Add an EnumProperty for enumerated properties and hence make Region::position_lock_style a stateful property.
git-svn-id: svn://localhost/ardour2/branches/3.0@7306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 00:34:09 +00:00
37978aa214 lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"
git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-26 13:45:59 +00:00
Carl Hetherington
ecb0cd5d11 Make MIDI region `automation' respect the automation mode so that it is
only played back if the automation mode is set to "Play".  Munge AutoState
for AutomationRegionViews so that they reflect their AutomationTimeAxisView's
setting.  Fixes #3135.


git-svn-id: svn://localhost/ardour2/branches/3.0@7304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-25 20:47:09 +00:00
ad81fd40d2 step back JACK dependency to 0.118
git-svn-id: svn://localhost/ardour2/branches/3.0@7303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 22:44:48 +00:00
806a22fefe change note colors on the fly, to permit user-definition of colors more easily; remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@7301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 19:46:28 +00:00
de24d4f8b1 add and use Source::empty() since it can be done more efficiently than length(pos) == 0
git-svn-id: svn://localhost/ardour2/branches/3.0@7300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 18:04:38 +00:00