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
e72d710734
use condvar and exception-proof mutex for chain swaps in graph
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 18:04:02 +00:00
59a3dd2383
clear activation_sets component of Graph, thus restoring full Route deletion
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 16:20:32 +00:00
ea2f5f170b
fix math bug with numthreads computation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 14:17:09 +00:00
0f5bdd666f
use JACK thread creation functions to create process-graph threads; provide GUI control over number of threads-relative-to-number-of-CPUS
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 14:13:45 +00:00
fe229a830e
GUI-created MIDI regions now steal the pending MIDISource from the track's diskstream, to keep numbering sane; don't create any new MIDI regions if capture collected no data (fixes a crash in my previous commit, and is just logically much more sensible
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24 01:37:24 +00:00
f188ffffc1
fix some non-debug compile warnings
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 21:43:40 +00:00
8db2e27faa
use new Source::used() rather than SessionPlaylists::source_use_count() to determine if a file can be removed
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 21:43:16 +00:00
f4401c5928
midway snapshot of work done on managing Region & Source lifetimes correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 20:14:07 +00:00
Carl Hetherington
cac03dbeb6
Update locations GUI more efficiently by avoiding a rebuild when a location is removed. Fixes #3263 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 01:51:55 +00:00
Carl Hetherington
055f839b1f
Trim includes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 01:50:37 +00:00
Carl Hetherington
108f537b69
Stop attempts to connect new MIDI tracks to bad ports when there is no MIDI IOs on the master buss.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 23:45:30 +00:00
Carl Hetherington
51270cf148
Coding style.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7286 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 23:45:15 +00:00
6e138fa068
fix some warnings that come from a non-debug build, some of which are actually errors in handling return values from boost::signal emissions
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 15:26:03 +00:00
4f16de5cfe
GUI control of insert merge policy for overlapping MIDI notes; quite a bit of whitespace reformatting for some reason
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 14:46:17 +00:00
Carl Hetherington
5138cb5d05
Remove unused variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21 01:02:47 +00:00
Carl Hetherington
40ffadf219
Return delta time even for metadata events. Should fix #3244 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-20 22:49:35 +00:00
Carl Hetherington
6c19e1c7ea
Invalidate old sources before forgetting about them. I think this prevents the possibility of an old source keeping a lock on the MidiModel via its iterator. May fix #3249 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-20 01:33:16 +00:00
3a048e1d6c
new fade in/fade out colors from chrisg
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-17 22:20:37 +00:00
2e644fe91f
prevent removal of master/monitor busses without explicit (and hard to set) approval
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-16 16:59:20 +00:00
a668964d5c
avoid needless errors when redoing an operation involving adding notes that were not added because of overlap exclusion preferences
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-16 16:58:50 +00:00
c158c44fab
make note overlap resolution store side effects in a DiffCommand, and add its changes to the DiffCommand being executed, so as to retain "internal" note property changes across undo
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-14 23:43:10 +00:00
f1fc47b077
MTC drift patch from robin gareus, plus two related cleanups to the tracer & debug messages
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-12 16:11:33 +00:00
fddb377812
introduce the notion that note additions and property changes can cause the removal of other notes because of overlaps; merge Diff and Delta commands in MidiModel; fix marshalling of notes to avoid float->int conversion of length+time properties; initial implementation (not tested much so far) of different policies for how to handle note overlaps
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-12 13:55:22 +00:00
14004b75a6
dynamic playback & capture buffer resizing (though transport is stopped first)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-09 17:24:07 +00:00
2b9dc7b380
permit different sizes for audio playback & capture buffers
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-09 14:11:46 +00:00
1e728e728a
basically, fix all kinds of odds and ends with MIDI playback, including missed notes and applying gain
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-09 13:00:54 +00:00
Carl Hetherington
5fd862ebc5
Small cleanup.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-08 01:21:24 +00:00
Carl Hetherington
e67a6d8989
Update ring buffer read pointer correctly in case of a failure to insert an event into the MidiBuffer.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-08 01:21:01 +00:00
Carl Hetherington
e6becb3425
Better-define behaviour when relayering a playlist with a single zero-length region. Fixes #3144 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-07 12:44:15 +00:00
Carl Hetherington
4065c59ed0
Fix signedness error.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7234 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-06 00:31:29 +00:00
5f1e6f089f
more style-guidification
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04 12:11:18 +00:00
15f1d68e9f
more style-guidification, plus do not run process threads RT if JACK is not RT
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04 12:09:09 +00:00
04a10a9700
style-guide-ification
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04 12:03:14 +00:00
ea39189938
style-guide-ification
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04 12:02:00 +00:00
4d828729cd
add DEBUG::ProcessThreads as a debug tag for parallelization (probably to be renamed)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 21:28:02 +00:00
db1fa42f14
start tracking note overlaps while moving notes
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 21:27:36 +00:00
Torben Hohn
1abbb506b8
move route_graph->rechain( r ); into Session::resort_routes_using
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 20:38:01 +00:00
Torben Hohn
932d6c79d0
[3.0P] dont dump chain(1) in session.cc
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 20:09:27 +00:00
Torben Hohn
357cf39470
add missing graph.cc and friends :S
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 20:09:17 +00:00
Torben Hohn
c59dade835
merge 3.0P into trunk.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 19:50:22 +00:00
9208598c26
Sequence::contains() and Sequence::overlaps() now use pitch-based indexing to speed things up in pathological cases
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 15:58:15 +00:00
b12f624890
modified version of a patch from robin gareus to avoid leaving pointers to data buffers owned by Session as the buffer for a JACK MIDI event. Robin - it would be good if you could test and confirm (email?) that my modified version also works
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03 12:37:32 +00:00
460d2d0675
add channel+pitch indexing for notes in a Sequence
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 19:55:37 +00:00
baacf1c7b4
forward port ConfigVariable<bool> fix from 2.X
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 19:54:05 +00:00
Torben Hohn
71c876109f
add -P flag to the session command return value.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 16:35:41 +00:00
Torben Hohn
51ad790745
add -P flag blocking port connections while loading session
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 16:21:02 +00:00
Torben Hohn
b65fe35f67
reenable loading of a statefile specified at commandline
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7211 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 14:36:50 +00:00
Torben Hohn
f27c481af1
add template support to jack-session code. and also generate timestamped name
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02 14:36:31 +00:00
0cd3bd4f19
rationale pathways that add notes to Sequence<T> so that there is only final insertion step; when changing note properties that affect "indexing" within a Sequence<T> (i.e. via set<T,comparator> indexing/ordering/hashing), remove the note and add it back so that indexing stays consistent; fix marshalling of MidiModel::DiffCommand (boost::bind(&Object::method, reference_to_object) will COPY the reference, so use a pointer); fix MidiModel::find_note() to compare note properties not pointer addresses
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-01 20:40:45 +00:00
df99f37047
add missing (new) file
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-01 01:22:37 +00:00
db67064296
switch Evoral::Sequence debugging to use DEBUG_TRACE(); Sequence uses multiset<...,EarlierNoteComparator> for _write_notes, does FIFO note resolution for overlapping notes in SMF file; implement Sequence::overlaps() ... current use is uncertain; ARDOUR::coverage() uses 64bit framepos_t
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-31 19:47:15 +00:00
a01dc9b6f2
remove almost-unusued stop_signal.h and clean up the one (unused) place where it was present (VisualTimeAxis, not used in current ardour)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-31 14:21:43 +00:00
9b5f357490
make trimming in region name (colored) highlight work even in internal edit mode; change enter/leave handler to return true by default (MIGHT HAVE UNINTENDED EFFECTS on mouse response), thus avoiding multiple stacked canvas items fighting over enter/leave
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-30 20:13:29 +00:00
60ec5dd339
provide a generalized Sequence::get_notes()-by-predicate method, and prototypes for 2 future methods
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-28 21:36:38 +00:00
3d6493abc9
replaced gtk_idle_add() with g_idle_add()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-28 16:33:18 +00:00
Carl Hetherington
36538ed3df
Take route's processor lock for things called by the process thread. Prevents problems when processors are being reconfigured and a process callback occurs.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-27 17:10:08 +00:00
d15082d828
remove commented debug output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7181 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-27 15:06:39 +00:00
Carl Hetherington
d0d160e566
Fix crash on clear option for automation tracks ( #3195 ). Also fix state change signalling so that lines reappear on undoing a clear.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-27 12:26:00 +00:00
Carl Hetherington
d47161b9ee
Use bbt_add and bbt_subtract to do proper BBT maths in round_to_beat_subdivision.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-27 00:26:32 +00:00
Carl Hetherington
102f64f94c
Remove empty MIDI regions which result from recordings made when no MIDI data is received.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7167 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-26 16:03:47 +00:00
b91e1f3605
generate knob pixbufs at run time but draw from the pixbufs; remove mfimg utility and existing knob icon png files
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-26 15:18:04 +00:00
Carl Hetherington
7b8f584167
Remove some unused methods.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-26 11:54:25 +00:00
6b19aee3b5
split out sndfile manager code into its own file; move a couple of utility functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25 16:45:21 +00:00