13
0
Commit Graph

5663 Commits

Author SHA1 Message Date
01d57ff3e7 add copyright comments
git-svn-id: svn://localhost/ardour2/branches/3.0@13856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:14:11 +00:00
e2ec54216b use regex to match [mM][iI][dD] file extension for MIDI files, thus making it case-insensitive (fixes #5231)
git-svn-id: svn://localhost/ardour2/branches/3.0@13855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 17:09:52 +00:00
e092fe33af Preliminary support for named MIDI controllers via midname files.
Add midnam file for Moog Minitaur controller names.


git-svn-id: svn://localhost/ardour2/branches/3.0@13852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 08:24:31 +00:00
65da5a7cc2 Fix compilation against svn lilv (const-correctness).
git-svn-id: svn://localhost/ardour2/branches/3.0@13851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 08:01:30 +00:00
3d5f247263 remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@13850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 02:31:14 +00:00
2037b95347 a bit more debug tracing for control protocols
git-svn-id: svn://localhost/ardour2/branches/3.0@13849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 02:25:13 +00:00
244f07b2a4 when stopping transport, revert _default_transport_speed to 1.0 if current speed is reversed (should fix #5264)
git-svn-id: svn://localhost/ardour2/branches/3.0@13848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 01:57:40 +00:00
ccdcb135fa remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@13846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:12:40 +00:00
5b9bd3eea0 control lists should use the default value of their parameter, not zero (noticeable for pitchbend)
git-svn-id: svn://localhost/ardour2/branches/3.0@13844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:00:37 +00:00
0599fafe76 fix a couple of unused parameters
git-svn-id: svn://localhost/ardour2/branches/3.0@13843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:00:00 +00:00
09e519b715 better error msg about autoloop location
git-svn-id: svn://localhost/ardour2/branches/3.0@13842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 14:15:01 +00:00
e194df1fb3 fixed unity-line alignment for horiz faders.
git-svn-id: svn://localhost/ardour2/branches/3.0@13837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12 15:44:55 +00:00
db026c5ae4 round outside corners of pixfaders
git-svn-id: svn://localhost/ardour2/branches/3.0@13834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12 02:14:58 +00:00
2b58d51e50 rework pixfader design again: remove texture, draw entire (double-sized) pattern ahead of time and render appropriate part of it at expose (this may turn out to be the wrong idea if/when we use a "real" fader design); fix up color(s) in track headers for these things
git-svn-id: svn://localhost/ardour2/branches/3.0@13833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-12 01:37:27 +00:00
9ed64a7f6c space pixfader dots better
git-svn-id: svn://localhost/ardour2/branches/3.0@13832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11 19:26:04 +00:00
9fcf40c94b substantive changes to pixfaders and derived classes. now fully dynamically sizable and have an added texture that currently just emulates the ardour2 belt pattern. mild color changes, not finalized yet.
git-svn-id: svn://localhost/ardour2/branches/3.0@13830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11 18:33:57 +00:00
7922ec1e9a remove rounded corners from non-mobile ends of pixfaders
git-svn-id: svn://localhost/ardour2/branches/3.0@13828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10 16:25:31 +00:00
b1029a3caf goodbye pixmaps and pixbufs (no longer) used by Gtkmm2ext::PixFader
git-svn-id: svn://localhost/ardour2/branches/3.0@13827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10 15:25:11 +00:00
a9ad924fdd DE libgtkmm2ext translation update
git-svn-id: svn://localhost/ardour2/branches/3.0@13823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 19:58:38 +00:00
e91cbaf4ea DE libardour translation update
git-svn-id: svn://localhost/ardour2/branches/3.0@13822 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 19:58:26 +00:00
5da4e2be2d remove timecode subframe configuration
There is no actual use-case to set it to anything else than 100.
timecode subframes are only used for ruler marks and the snap to grid.
libtimecode is still /aware/ of the subframe setting.

git-svn-id: svn://localhost/ardour2/branches/3.0@13817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 15:47:19 +00:00
f402a63a0e fix bad fix to error string
git-svn-id: svn://localhost/ardour2/branches/3.0@13815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 15:09:13 +00:00
6ed562f182 A few more typo fixes in libardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@13813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 15:05:04 +00:00
e51cc06133 minor translation fixes/typos from edogawa
git-svn-id: svn://localhost/ardour2/branches/3.0@13812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 14:33:10 +00:00
ba3c287f6f move french translation for gtkmm2ext into correct directory
git-svn-id: svn://localhost/ardour2/branches/3.0@13811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-09 14:23:53 +00:00
d89f209f4a tentative redesign of MIDI looping, will probably fix #5050 but needs more extensive testing; remove several unused parameter names
git-svn-id: svn://localhost/ardour2/branches/3.0@13810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-08 21:36:42 +00:00
6f14ccc335 fix ru.po after bad svn merge
git-svn-id: svn://localhost/ardour2/branches/3.0@13808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-08 13:19:35 +00:00
1b66aa8605 MTC generator, revert inert changes in previous commit.
This if() case is always true - ensured by assert().

git-svn-id: svn://localhost/ardour2/branches/3.0@13807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-08 00:45:00 +00:00
bc5b49ea3a fix MTC generator
git-svn-id: svn://localhost/ardour2/branches/3.0@13805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-08 00:14:43 +00:00
193a576e28 latest po updates, including updated russian po-files from alexandre
git-svn-id: svn://localhost/ardour2/branches/3.0@13804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-07 23:12:42 +00:00
ecbc6672c7 latest i18n update (including updated nn.po from eivind)
git-svn-id: svn://localhost/ardour2/branches/3.0@13801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-07 19:24:16 +00:00
0209267980 reinstate wiimote support, thanks to work by jannis pohlmann
git-svn-id: svn://localhost/ardour2/branches/3.0@13796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-07 18:28:09 +00:00
397729eb18 fix continuing SNAFUs with ::set_state() for control protocols and the parent/child/grandchild relationship for the XML nodes. this corrects problems with MackieControl
git-svn-id: svn://localhost/ardour2/branches/3.0@13794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-06 14:39:27 +00:00
a401abfee7 fix windows-VST/ALSA combination
git-svn-id: svn://localhost/ardour2/branches/3.0@13793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-06 12:32:10 +00:00
a6d49b5f63 Send LV2 time properties with correct types from specification.
git-svn-id: svn://localhost/ardour2/branches/3.0@13791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-05 21:09:41 +00:00
72393f101b allow region list selection of whole file regions to select every instance of a region that has any source relationship with that whole file region (from a logic feature that came up while writing the manual)
git-svn-id: svn://localhost/ardour2/branches/3.0@13779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 22:46:51 +00:00
d50b026da4 Fix crash when loading LV2 plugins with a corrupt LV2_Descriptor::extension_data.
This is a plugin bug, but Ardour is supposed to check using the data as well.

git-svn-id: svn://localhost/ardour2/branches/3.0@13777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 18:46:39 +00:00
bb3690db58 merge Marcel Bonnet's patches for Free-BSD
(may need further cleanup:
 compare with timbyr's windows patch,
 verify fst/vsti + ALSA)

git-svn-id: svn://localhost/ardour2/branches/3.0@13774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 17:36:52 +00:00
Ben Loftis
2c95bfcd46 quick fix for bug reported by ricardus: faders in Play are no longer dark gray which made them invisible. and they update color when their auto state changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@13773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 16:52:10 +00:00
6635c6ac6c fix #5249- small faders in the processor box are not draggable when tooltips are disabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@13768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 16:02:12 +00:00
80cab708db latest .po updates from ./waf i18n
git-svn-id: svn://localhost/ardour2/branches/3.0@13764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:34:48 +00:00
52167705ef expose operation to remove subgroup
git-svn-id: svn://localhost/ardour2/branches/3.0@13762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:34:07 +00:00
7053f0922e new (!) german translation initiated by edgar
git-svn-id: svn://localhost/ardour2/branches/3.0@13761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 16:17:11 +00:00
dc80a11432 various i18n fixes and updates after a ./waf i18n run
git-svn-id: svn://localhost/ardour2/branches/3.0@13758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 13:32:11 +00:00
c46071ae62 rename po files to match rules/conventions discovered and applied elsewhere
git-svn-id: svn://localhost/ardour2/branches/3.0@13757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 13:18:01 +00:00
67265c6d90 various fixes for moving markers, fixes a crash reported by tim blechmann and also likely #5232 and #5241
git-svn-id: svn://localhost/ardour2/branches/3.0@13754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-02 23:54:06 +00:00
bcab772257 new norwegian and and updated german libs/ardour translations
git-svn-id: svn://localhost/ardour2/branches/3.0@13753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-02 23:47:12 +00:00
99b94fad77 avoid crash when switching devices in mackie control code, add locks to protect surfaces list (hopefully done without adding any deadlocks - can't test this at present)
git-svn-id: svn://localhost/ardour2/branches/3.0@13750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-31 16:04:46 +00:00
104da317ff avoid crashing in a wierd case (possibly a race) in Mackie support
git-svn-id: svn://localhost/ardour2/branches/3.0@13749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-31 15:27:38 +00:00
a167dc9cec fix vari-speed stuck at zero and playing backwards.
git-svn-id: svn://localhost/ardour2/branches/3.0@13747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30 21:50:05 +00:00
54ce76e8fd remove "edit" property from track/bus groups; use "select" property which should force region selection to propagate, and then rely on "edit-applies-to-selection"
git-svn-id: svn://localhost/ardour2/branches/3.0@13734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-26 17:50:29 +00:00
54276f7e78 keep pan-info-box within screen-boundaries
fixes #5214

git-svn-id: svn://localhost/ardour2/branches/3.0@13728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-25 22:23:13 +00:00
e040974bed fix step increment direction for mouse-click on faders
git-svn-id: svn://localhost/ardour2/branches/3.0@13727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-25 18:11:55 +00:00
9f748df39e fix #5035 - restore pan automation state
git-svn-id: svn://localhost/ardour2/branches/3.0@13724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 21:51:43 +00:00
8380c06e32 another buffersize fix (see #5221 and rev13715)
git-svn-id: svn://localhost/ardour2/branches/3.0@13720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 19:31:45 +00:00
c311be7523 fix buffer overflow of wrap_buffer (may fix #5221)
git-svn-id: svn://localhost/ardour2/branches/3.0@13715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 14:25:12 +00:00
d61d7019e6 debug issue #5221 -- possible mem corruption
git-svn-id: svn://localhost/ardour2/branches/3.0@13714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 11:58:08 +00:00
010870707e Revert "fix for problem when reverse playback hits 00:00:00:00 (may be incomplete)"
This reverts commit 13708 -- because it's the wrong approach to fix this.

git-svn-id: svn://localhost/ardour2/branches/3.0@13713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 11:58:04 +00:00
076542f317 fix "import at file position" when copying or channel-splitting files on import.
git-svn-id: svn://localhost/ardour2/branches/3.0@13711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 04:37:36 +00:00
1d7e9daea4 fix for problem when reverse playback hits 00:00:00:00 (may be incomplete)
should fix #5221

git-svn-id: svn://localhost/ardour2/branches/3.0@13708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 22:47:38 +00:00
57bcb2182f replace characters that would make an export filename illegal on any/all filesystems with "_"
git-svn-id: svn://localhost/ardour2/branches/3.0@13689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-20 13:08:50 +00:00
5ebd9cb962 equivalent change for midi tracks as was done for audio in rev 13615, fixes MIDI track rec-enable behaviour
git-svn-id: svn://localhost/ardour2/branches/3.0@13683 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-19 17:21:52 +00:00
37906d067e feedback for toggled MIDI controls now sends 0 or 127, not various in-between values (should fix #5117, without any bad side-effects
git-svn-id: svn://localhost/ardour2/branches/3.0@13680 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-19 01:28:41 +00:00
99c848455a prevent MIDI tracks from ever being in MonitoringSilence state, allows use of piano roll whether rolling or not
git-svn-id: svn://localhost/ardour2/branches/3.0@13679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-19 01:20:37 +00:00
844ce9f359 prevent crash when saving learned MIDI binding that is now missing its controllable
git-svn-id: svn://localhost/ardour2/branches/3.0@13678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-19 01:19:48 +00:00
aea645e908 change default font scaling to 80% which makes a newly installed ardour come up with a window size just below 1080
git-svn-id: svn://localhost/ardour2/branches/3.0@13677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-18 17:15:00 +00:00
8399cd8122 fix up discovery of VAMP plugins after ./waf install, which fixes crashes when reversing regions and doing timeFX operations with a "regular" install of ardour3
git-svn-id: svn://localhost/ardour2/branches/3.0@13673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-18 15:26:50 +00:00
18f465393b remove use of a boost::fast_pool_allocator without a mutex for Evoral::ControlList. this was not thread-safe and evidence from googling around suggests that it is actually not faster for this sort of use than std::alloc. removing this fixes bizarre errors caused by multithreaded use of the singleton pool that backs the allocator, which started to become more clear during experiments on 128 track sessions
git-svn-id: svn://localhost/ardour2/branches/3.0@13672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-17 18:41:58 +00:00
b924ba9ceb some explanatory text for CrossThreadPool, so that it is possible (maybe) to understand its purpose without divine intervention
git-svn-id: svn://localhost/ardour2/branches/3.0@13671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-16 17:04:48 +00:00
c9c94ca1c2 merge robin gareus' libltc into ardour source tree for convenience
git-svn-id: svn://localhost/ardour2/branches/3.0@13665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-14 16:18:47 +00:00
Ben Loftis
2292e33ee4 crossfade hack and slash. removed overlap checks, overlap mode, default length, fade_is_xfade, fade_is_short, and other leftovers from previous crossfade models. Draw crossfade drags in realtime so fade_line is no longer needed. remove code for hiding crossfades during a drag. moved crossfade rect to top layer so crossfade lines dont grab mouse focus. drag-trim-with-fixed-fade-anchor is partially implemented and needs discussion
git-svn-id: svn://localhost/ardour2/branches/3.0@13659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13 16:42:05 +00:00
67adc8ceed remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@13655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13 13:44:44 +00:00
341cbfbd19 reinstate the windows way for GUIIdle's but limit the scope of the connection to just the time when a long-running action is active (for now, just adding > 8 routes)
git-svn-id: svn://localhost/ardour2/branches/3.0@13654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13 13:44:11 +00:00
37c7d0cbc1 because sometimes there are good reasons for not doing things the way a windows programmer would
git-svn-id: svn://localhost/ardour2/branches/3.0@13652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 20:03:41 +00:00
75f3005c67 sometimes, you just have to do what a windows programmer would do. add a global signal, ARDOUR::GUIIdle() which can be used in the middle of long-running backend operations to give the GUI a chance to update. use it while adding routes.
git-svn-id: svn://localhost/ardour2/branches/3.0@13650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 18:59:47 +00:00
Ben Loftis
8e8b296bb4 muted regions should be totally ignored during playlist read()
git-svn-id: svn://localhost/ardour2/branches/3.0@13649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 18:28:40 +00:00
0bf7323df3 finalize fix for MIDI track monitoring
git-svn-id: svn://localhost/ardour2/branches/3.0@13646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 14:06:56 +00:00
fb204c3dcf if we're not going to use pixfbuf (images) for faders, then lets not create a whole bunch of them unnecessarily (for now, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@13643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 01:23:06 +00:00
0c7bd6e333 fix uninitialized variable causing error delivering various MIDI messages at frame zero
git-svn-id: svn://localhost/ardour2/branches/3.0@13640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-11 15:54:41 +00:00
414cc08d6a make sure that JACK MIDI ports know about Jack halting in the "halted info" callback as well a the normal "halted" callback
git-svn-id: svn://localhost/ardour2/branches/3.0@13639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-11 14:23:55 +00:00
3edf3a9817 pixfader: don't change drawing state (prelight) just because a leave event arrives IF we are dragging
git-svn-id: svn://localhost/ardour2/branches/3.0@13633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-10 21:52:55 +00:00
Ben Loftis
014540a096 tweak to plugin parameter sliders in mixer strips
git-svn-id: svn://localhost/ardour2/branches/3.0@13631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-10 20:08:36 +00:00
24917e4c9e disable spline interpolation for curves - use linear interpolation; configuration parameter pending for this, plus slightly cleaner reuse of existing ControlList methods
git-svn-id: svn://localhost/ardour2/branches/3.0@13627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-09 17:24:58 +00:00
d7716b055c fix automation/control list behaviour when manually adding a point within existing data
git-svn-id: svn://localhost/ardour2/branches/3.0@13619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08 17:57:47 +00:00
Ben Loftis
5249f82603 more theming and layout tweaks. new faders that pre-light. fixed some spacing around mixer buttons. tweaked some colors (returned mutes to yellow). removed group button at bottom of mixer strip and replaced it with fader automation mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@13617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 22:38:49 +00:00
Sakari Bergen
526a1a71fe Make export type an enum and pass it to the profile manager instead of the xml node name.
Use this to always include the channel configuration name in stem exports.


git-svn-id: svn://localhost/ardour2/branches/3.0@13616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 21:58:33 +00:00
3468797237 fix wierd rec-enable behaviour, at possible expense of adding more RT cost
git-svn-id: svn://localhost/ardour2/branches/3.0@13615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 19:35:38 +00:00
8ca9061b30 fix issues with rec-enabling being done in RT context by splitting it into two parts, an RT-safe and RT-unsafe part. along the way, remove "do not record plugins" option which is just so 1999 and creates problems for various (all?) plugin APIs
git-svn-id: svn://localhost/ardour2/branches/3.0@13613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 15:48:38 +00:00
eacba74649 change presentation of shortcut in tooltips and fix include paths
git-svn-id: svn://localhost/ardour2/branches/3.0@13612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 13:43:45 +00:00
Ben Loftis
92e5a13fd4 several theme changes. changed drawing of rounded_rectangle to be more correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults
git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 20:48:44 +00:00
9884773eea various fixes for exporting, including correct handling of errors during export which previously would hang when using jack1 because jack_set_freewheel() was called from inside a process() callback; use shared_ptr<Route> in parts of export code that weren't using them before; fix up generation of export filenames so that Glib::build_filename() is used and non-existent folders are ignored
git-svn-id: svn://localhost/ardour2/branches/3.0@13610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 19:56:33 +00:00
3668e822ab tentative fix for MIDI monitoring bug - just use existing monitoring code, i.e. treat MIDI tracks just like audio... needs feedback from MIDI users (also #5060 reporter)
git-svn-id: svn://localhost/ardour2/branches/3.0@13602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-05 16:08:17 +00:00
e8f610f375 Session should disconnect from all signals during its destruction, early
git-svn-id: svn://localhost/ardour2/branches/3.0@13601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-05 16:07:30 +00:00
89d1a2fdf5 dramatically speed up the addition of large numbers of busses + tracks. consists of a backend part (ignore JACK graph/latency callbacks while we're adding tracks) and a GUI side (avoid O(N^N) behaviour while adding each new time axis view)
git-svn-id: svn://localhost/ardour2/branches/3.0@13595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-04 14:32:28 +00:00
1feaa65d16 do not try to write from JackMIDIPort::write() if we are disconnected from JACK. should fix erroneous behaviour when MMC tries to send stop messages after JACK disconnects
git-svn-id: svn://localhost/ardour2/branches/3.0@13594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-03 21:39:59 +00:00
8ecabd0d37 remove debugging output; properly handle cases in Curve::_get_vector() where the entire requested range for the vector is either before the first point in the curve (unlikely to happen because we typically add a guard point at zero) or entire after the last point in the curve
git-svn-id: svn://localhost/ardour2/branches/3.0@13582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-02 00:23:03 +00:00
9e84a2f931 still more debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@13581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 23:49:59 +00:00
bad34d7ded still more debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@13580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 23:42:48 +00:00
776eb23e8b still more debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@13579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 23:38:15 +00:00
202788ea18 more debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@13578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 23:28:47 +00:00
6242371388 debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@13577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 23:21:12 +00:00
1b6d9aa430 fix x-fades (part one)
The data from the lower layer(s) was not faded out because
the reversed gain curve was incorrect because ControlList:add()
inserts anchor points.

a call to reverse_curve() for a linear fade produced:
 INPUT: [when,val]  {[0.0, 0.0], [300.0, 1.0]}
 OUTPUT: (reversed) {[0.0, 0.0], [0.0, 1.0], [1.0, 0,0], [300.0, 0.0]}

solution: use fast_simple_add() instead.

git-svn-id: svn://localhost/ardour2/branches/3.0@13572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 15:51:08 +00:00
8a819a80d0 add reverse iterator to event list (prepare x-fade fix)
git-svn-id: svn://localhost/ardour2/branches/3.0@13571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-30 15:51:05 +00:00
c175baf9dd from the depths of thorwil's dumpster diving comes a fix incorrect solo behaviour in 2.X sessions loaded into 3.0 because master/monitor/auditioner routes are not told to ignore solo state; remove unnecessary error message
git-svn-id: svn://localhost/ardour2/branches/3.0@13543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-21 23:16:02 +00:00
f0247ebe6a add more DEBUG::Solo output ; fix assignment of remote control ID's from XML (#5079)
git-svn-id: svn://localhost/ardour2/branches/3.0@13542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-21 19:56:55 +00:00
3dd47e6e92 reset default automation interval to 30msec
git-svn-id: svn://localhost/ardour2/branches/3.0@13535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-19 22:16:45 +00:00
c7a36486af remove unused Automatable::automation_interval and related code
git-svn-id: svn://localhost/ardour2/branches/3.0@13534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-19 22:03:50 +00:00
8b3d0f04c1 tweak config param for automation sampling interval, set to 500msec by default, and expose in prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@13533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-19 21:31:44 +00:00
b73d9b585f fix prev commit (stupid C++ needs explicit typecast)
git-svn-id: svn://localhost/ardour2/branches/3.0@13529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 21:48:29 +00:00
ba7f951919 prevent subveclen to wrap at 2^31
fixes http://pastebin.com/X629ZE7F (Timecode 22h @48k, 512fpp)

git-svn-id: svn://localhost/ardour2/branches/3.0@13528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 21:22:58 +00:00
89fa20bb75 fix LTC frame TVstandard offset
<pre>
       Ardour-
      transport
     01:00:00:01
          |
          |
    5   5 |           NTSC Line
    2   2 |                                     1
    4   5 v 1   2   3   4   5   6   7   8   9   0
  ____________________             ________________    TV
  |   |   | | | | | | |_|_|_|_|_|_| | | | | | |   |

                          ^
                          |
                          v

    +-+ +-+ + + +-+   +-+ +---+   +---+
  | | | | | | | | |   | | |   |   |   |   |            LTC
  +-+ +-+ +-+ +-+ +---+ +-+   +---+   +---+

           SYNC-WORD      |
              LTC       B | B       LTC
          01:00:00:00   I | I   01:00:00:01
                        T   T
                        7
                        9   0
</pre>

git-svn-id: svn://localhost/ardour2/branches/3.0@13524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 09:53:13 +00:00
4269bccfeb fix drop-frame TC subframe rounding
git-svn-id: svn://localhost/ardour2/branches/3.0@13523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 09:53:11 +00:00
b47619c458 Deliver MIDI events to atom ports that support it, merged with transport events.
Eliminate delivery of non-MIDI events to Ardour MIDI buffers.
Fix the general mess of LV2 port flags and types.
Unify old MIDI API and new atom API MIDI stuff.

Making this work required changing the way we do LV2 MIDI slightly: instead of
BufferSet::get_lv2_midi doing the translation automatically, it returns an
empty buffer and the caller is responsible for actually filling it.  This
allows the LV2 code to iterate over the MIDI and transport changes in one go to
merge them into the buffer at the correct times.

Synth plugins using the new atom API now work and can get accurate transport
information along with the MIDI that drives them.


git-svn-id: svn://localhost/ardour2/branches/3.0@13522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 04:35:31 +00:00
016b2dcd2c Gracefully ignore plugins with no ports, or invalid ports.
Remove crufty old LV2 debug printing stuff.


git-svn-id: svn://localhost/ardour2/branches/3.0@13520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 01:48:28 +00:00
b3d63cc99b Better implementation of LV2 plugin<=>UI communication.
This might use a bit more memory than it could, but it works reliably for me
loading a large Ingen patch inside Ardour as an LV2 plugin, which I'm pretty
sure is by far the most high volume such communication out there.


git-svn-id: svn://localhost/ardour2/branches/3.0@13519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 01:30:53 +00:00
1624f1d714 fix LTC frame offset for video standards
git-svn-id: svn://localhost/ardour2/branches/3.0@13517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 00:29:50 +00:00
fe11de4381 fix LTC frame alignment
git-svn-id: svn://localhost/ardour2/branches/3.0@13516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18 00:24:06 +00:00
3b63eae41d update to libltc-1.1.0
add support for TV standard specific offset and
binary-group-flags

git-svn-id: svn://localhost/ardour2/branches/3.0@13514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-17 20:15:41 +00:00
4c5ef5318e Sent precise transport information to LV2 plugins via events.
We send the full transport state (frame position, BBT time, transport speed,
meter) to the plugin:

 * At the start of a cycle whenever a relocate or transport speed change has
   occurred

 * On every occurrence of a meter change within a cycle

This means the plugin gets a sample accurate meter/tempo map, even if the meter
changes in the middle of a cycle.  However, this is not quite right yet: things
can get wonky if the tempo map is edited while rolling, since this code will
not detect the change and fail to update the plugin at the start of the cycle.

Other changes:

 * Factor out TempoMetric::set_metric() and simplify some tempo functions
 * Clean up LV2 URID stuff


git-svn-id: svn://localhost/ardour2/branches/3.0@13513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-17 18:41:19 +00:00
dd78c6ed71 Tidy up tempo.h and add some documentation.
Fix some const violating casts.
No functional changes.

git-svn-id: svn://localhost/ardour2/branches/3.0@13512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-16 22:56:47 +00:00
Carl Hetherington
0b2359098f Fix libardour test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@13510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-15 19:46:40 +00:00
a0f00d7d22 add a "guard" point after a write/touch automation insertion, preserving the shape of the later segment of the existing line
git-svn-id: svn://localhost/ardour2/branches/3.0@13507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-15 16:22:43 +00:00
60f85cac42 provide the ability to enable + disable tooltips
git-svn-id: svn://localhost/ardour2/branches/3.0@13505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 23:23:53 +00:00
ff4ea9346b add missing <<endmsg
git-svn-id: svn://localhost/ardour2/branches/3.0@13504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 21:54:19 +00:00
8cfd91ac46 do not add 2.X search path if its already present in the search path
git-svn-id: svn://localhost/ardour2/branches/3.0@13503 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 21:54:04 +00:00
2860c2f5ce remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@13501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 20:38:48 +00:00
0ebcf50fbd use const static member instead of a magic number
git-svn-id: svn://localhost/ardour2/branches/3.0@13500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 20:38:25 +00:00
bb9ab696b1 likely fixes for most remaining issues with data in automation/control lists, but more testing needed
git-svn-id: svn://localhost/ardour2/branches/3.0@13497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 15:06:41 +00:00
4a64b67d93 change message displayed when there is an open file limit
git-svn-id: svn://localhost/ardour2/branches/3.0@13496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 12:59:48 +00:00
be4c868734 put automation list into or out of Touch mode before adding an automation watch, so that ::touching() is correct when called from the add
git-svn-id: svn://localhost/ardour2/branches/3.0@13489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 02:45:30 +00:00
e1581242ca implement TC offset for slave&generator.
Many related changes that require atomic update, mostly
because ClockOption slots changed:

  * change offset config format to std:string (backwards compat - reads 0)
  * make Timecode offset independent from fps
  * sample_to_timecode() handle negative sample-num
  * audio-clock fix entry and edit of negative numbers
  * option editor:
    - remove old global internal offset
    - add slave & generator TC entry
    - still needs UI cleanup, tooltops, maybe sep. tab..
  * LTC & MTC slave& generator:
    - cache offset
    - subscribe to parameter changes

git-svn-id: svn://localhost/ardour2/branches/3.0@13485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 20:29:28 +00:00
3f35528f18 revert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note velocities as well as deccrease them (note: this will make the use of MIDI CC #7 a bit more complex)
git-svn-id: svn://localhost/ardour2/branches/3.0@13483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 19:23:16 +00:00
c0bb288ff1 change handling of MIDI gain so that we present a linear fader spanning 0..127. this is based on the realization that we actually have no idea what the MIDI receiver will do with velocity and/or CC #7 values, and so trying to pretend that we can provide some kind of dB value in the display or the behaviour of the fader is completely wrong; ALSO: fix keyboard entry of fader levels for non EN locales (#5027)
git-svn-id: svn://localhost/ardour2/branches/3.0@13480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 17:47:39 +00:00
55c7a3bf01 add timecode format parser
git-svn-id: svn://localhost/ardour2/branches/3.0@13479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 16:14:25 +00:00
3fa84d0caa add alt-i as a binding in both the editor and mixer windows to toggle the state of MIDI input on the selected track(s); in the mixer this will also operate on the strip under the mouse. fixes #4838
git-svn-id: svn://localhost/ardour2/branches/3.0@13475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:19:04 +00:00
b8ff65ea1b overhaul timecode calculations
in particular proper SMPTE12M drop-frame support
and subframe rounding.

git-svn-id: svn://localhost/ardour2/branches/3.0@13473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:49 +00:00
0b80f3391b complete r13404 - use double for timecode fps.
git-svn-id: svn://localhost/ardour2/branches/3.0@13471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:45 +00:00
4a6bf110e0 fix #5076 - we failed to actually find any existing snapshots because the path scanner was passing filename only, not full paths, to the filter function which used a Glib::file_test() on it (and failed)
git-svn-id: svn://localhost/ardour2/branches/3.0@13459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:41:04 +00:00
2c1b2256b6 slave delta: move sign next to the digit
git-svn-id: svn://localhost/ardour2/branches/3.0@13457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:18 +00:00
7253e8ff84 fix for #5078 - not considering unused playlists when computing region use count
git-svn-id: svn://localhost/ardour2/branches/3.0@13452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 15:50:38 +00:00
8872844a60 add slave and generator Timecode offset (no UI yet)
So far only LTC slave, LTC generator and MTC slave.
MTC generator remains to be done.

git-svn-id: svn://localhost/ardour2/branches/3.0@13441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 20:43:53 +00:00
e1166e3266 reintroduce space before delta "sample" lable
git-svn-id: svn://localhost/ardour2/branches/3.0@13435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:27:27 +00:00
a57f4ead2d make Cairo{HV}Packer fetch bg information from a style file, rather than hard-code it
git-svn-id: svn://localhost/ardour2/branches/3.0@13433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:03:37 +00:00
23f00184c8 first round of audio-clock font rendering update
git-svn-id: svn://localhost/ardour2/branches/3.0@13425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 02:45:01 +00:00
8216e35c5b add a delta sign to the slave delta display.
git-svn-id: svn://localhost/ardour2/branches/3.0@13423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-10 20:00:24 +00:00
cbc8c6b7cf update slave clocks -- to use long minus
git-svn-id: svn://localhost/ardour2/branches/3.0@13422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-10 19:48:50 +00:00
c27dde889c make timecode offset work
git-svn-id: svn://localhost/ardour2/branches/3.0@13418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 17:27:30 +00:00
ca7e72db62 move auditioner output configuration params from session to global config vars
git-svn-id: svn://localhost/ardour2/branches/3.0@13414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 15:05:02 +00:00
5eeefbb3a5 Don't notify user if fps changes only affect speed but not counting.
also unify labels for 29..97XX and simplify fps display.

git-svn-id: svn://localhost/ardour2/branches/3.0@13412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 14:24:31 +00:00
d4140367a3 LTC encoder: relax alignment constraint under some circumstances.
git-svn-id: svn://localhost/ardour2/branches/3.0@13406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:48:11 +00:00
f2009ea777 LTC slave fix fps detection with 29.97000 option
git-svn-id: svn://localhost/ardour2/branches/3.0@13405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:48:08 +00:00
e38ac84184 use double for timecode fps.
git-svn-id: svn://localhost/ardour2/branches/3.0@13404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:48:06 +00:00
838a8a0137 LTC encoder: fix signal polarity
git-svn-id: svn://localhost/ardour2/branches/3.0@13403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:48:04 +00:00
e0012e1b88 LTC encoder: clear user-bits
requires libltc >=1.0.3

git-svn-id: svn://localhost/ardour2/branches/3.0@13401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:47:59 +00:00
67b836e6a3 MTC slave: 2997fudge option
git-svn-id: svn://localhost/ardour2/branches/3.0@13400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:47:57 +00:00
8eae3009e1 fix LTC slave initial TC track values
git-svn-id: svn://localhost/ardour2/branches/3.0@13399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 07:47:54 +00:00
8c9c0836a3 experimental option to support LTC 29.97000 fps generators.
also change 29.97ndf frame-rate to 30000/1001.

git-svn-id: svn://localhost/ardour2/branches/3.0@13395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-07 23:02:11 +00:00
0e0c15833e new MTDM implementation from Fons' latest jack_delay implementation
git-svn-id: svn://localhost/ardour2/branches/3.0@13394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-07 17:13:37 +00:00
a8cf2aa4f9 fix required-sample count for cubic interpolation.
I have not proved if the iterative process in
CubicInterpolation::interpolate() is identical to
(nframes * fabs(_actual_speed)), however ceil()
of it is empirically always larger.
Also, the cubic interpolation needs +2 samples.

Ardour3: Too close to call :)

git-svn-id: svn://localhost/ardour2/branches/3.0@13392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-07 03:17:55 +00:00
9943fffdf8 LTC slave: suppress warning during shutdown
git-svn-id: svn://localhost/ardour2/branches/3.0@13390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 22:55:19 +00:00
975cc6e5e6 NOOP - LTC generator replace double(a) with (double)a
git-svn-id: svn://localhost/ardour2/branches/3.0@13389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 22:55:17 +00:00
b75a348e3a NOOP - LTC generator: bit-alignment add comments and made permanent
git-svn-id: svn://localhost/ardour2/branches/3.0@13388 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 22:55:13 +00:00
6035b92036 LTC generator: undo pull up/down adjustments
git-svn-id: svn://localhost/ardour2/branches/3.0@13387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 22:55:06 +00:00
3f1b758491 LTC generator: adaptive signal filter
git-svn-id: svn://localhost/ardour2/branches/3.0@13386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 22:55:04 +00:00
0a4f4026a9 experimental LTC sub-frame drift compensation for scope testing
git-svn-id: svn://localhost/ardour2/branches/3.0@13384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 19:13:10 +00:00
fb630f622d LTC generator: filter the signal to reduce ringing.
git-svn-id: svn://localhost/ardour2/branches/3.0@13382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 15:54:18 +00:00
18474a66c6 MTC slave: set initial framerates to current value.
git-svn-id: svn://localhost/ardour2/branches/3.0@13381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 11:26:29 +00:00
a3a398242b tigten LTC Slave resolution.
The reason for this is that the LTC generator uses the slave's
resolution as watermark for max-drift, resync. A possible drawback:
session-process will force silent rolls if the delta is larger
than the resolution. LTC has a carrier freq of ~2kHz, choosing
half of that seems a good compromise.

git-svn-id: svn://localhost/ardour2/branches/3.0@13380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 11:26:27 +00:00
0ede2d0088 LTC generator fix latency compensation.
thinko: the generated timecode is offset and
not the timestamp when to send it.

git-svn-id: svn://localhost/ardour2/branches/3.0@13377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-04 06:31:49 +00:00
fd9ca8354e MTC slave: disable seekahead, implement own sync-locked
git-svn-id: svn://localhost/ardour2/branches/3.0@13376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-04 06:31:46 +00:00
27803dc139 auto-detect JackVideoFrameOffset support
git-svn-id: svn://localhost/ardour2/branches/3.0@13375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-02 16:32:28 +00:00
e344f57a30 fix LTC slave latency compensation typo
git-svn-id: svn://localhost/ardour2/branches/3.0@13374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-02 14:04:13 +00:00
Sakari Bergen
c8a4bdc4a4 Create export temporary files in the export directory
git-svn-id: svn://localhost/ardour2/branches/3.0@13371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-30 21:14:03 +00:00
Sakari Bergen
b5c5fc7a08 Fix chunker to handle end of input properly
git-svn-id: svn://localhost/ardour2/branches/3.0@13370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-30 20:15:11 +00:00
a2de07a48f LTC slave speed deadzone works, remove #if 1
git-svn-id: svn://localhost/ardour2/branches/3.0@13369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-30 09:50:37 +00:00
e7cc4d19ba LTC slave/gen latency compensation: jack2 got fixed, remove #ifdef
git-svn-id: svn://localhost/ardour2/branches/3.0@13368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-30 09:50:35 +00:00
5253283911 LTC: break out xrun and latency callbacks.
prepare to call get_connected_latency_range() only if needed.

git-svn-id: svn://localhost/ardour2/branches/3.0@13366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 17:29:34 +00:00
5f79e30d05 change is the only constant, again
git-svn-id: svn://localhost/ardour2/branches/3.0@13363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 16:34:50 +00:00
b1ed782045 change is the only constant
git-svn-id: svn://localhost/ardour2/branches/3.0@13362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 16:33:38 +00:00
1a096d5472 yet another fix for complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 16:16:07 +00:00
4a843b6603 another fix for complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 16:14:55 +00:00
aa13dec8f5 fix complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-29 16:13:33 +00:00
52423fa8c3 LTC (slave&gen): no reset on graph-change
fixes issues with transport stop/start
when making connections with jack1 while slaved to LTC

git-svn-id: svn://localhost/ardour2/branches/3.0@13356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-28 10:48:06 +00:00
49f59709d8 do not do LTC port latency stuff during session deletion, which causes Session::ltc_rx_reset() to be called
git-svn-id: svn://localhost/ardour2/branches/3.0@13354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-27 00:14:37 +00:00
3ddfc76224 LTC generator - reinit on xrun or graph-reorder
git-svn-id: svn://localhost/ardour2/branches/3.0@13351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 11:39:13 +00:00
0047b87e3d LTC Slave - re-init on xrun or graph change
git-svn-id: svn://localhost/ardour2/branches/3.0@13350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 11:39:10 +00:00
23eba2f4e2 MTC generator: fix assert when trying to send fps > 30fps
git-svn-id: svn://localhost/ardour2/branches/3.0@13349 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 03:11:18 +00:00
2bf3cf2f8c LTC generator checks itself if to send LTC or not.
git-svn-id: svn://localhost/ardour2/branches/3.0@13348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 03:11:16 +00:00
c8d9895c68 LTC slave; consolidate FPS detection
git-svn-id: svn://localhost/ardour2/branches/3.0@13347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 03:11:14 +00:00
ccb64dc1df LTC generator - prevent assert when framerate changes midway
git-svn-id: svn://localhost/ardour2/branches/3.0@13346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 03:11:12 +00:00
6f5384879c prevent raptor attacks on Ardour's lead developer.
https://xkcd.com/292/

git-svn-id: svn://localhost/ardour2/branches/3.0@13345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 03:11:10 +00:00
49b50d8e97 clean up consequences of using IO/Port/Buffer for LTC output, and in related work, move calls to Session::ltc_tx_send_time_code_for_cycle() into Session::no_roll() to cover most cases where we "do not roll"
git-svn-id: svn://localhost/ardour2/branches/3.0@13343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-26 00:17:41 +00:00
974085807e fix some issues with previous commit that were not properly tested because HAVE_LTC was undefined in my test build
git-svn-id: svn://localhost/ardour2/branches/3.0@13342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-25 20:21:17 +00:00
7b818e9a7f move ownership of LTC I/O ports to Session, and manage as IO objects
git-svn-id: svn://localhost/ardour2/branches/3.0@13341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-25 19:46:23 +00:00
8cff3d0e60 LTC Slave: improve fps detection
and fix a few minor typos in the related doc

git-svn-id: svn://localhost/ardour2/branches/3.0@13338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-25 17:07:59 +00:00
acb795980b mostly cosmetic changes to LTC generator
also enable latency compensation and disable LTC gen from MClk
(both of which should have been in prev commit, but commented here)

git-svn-id: svn://localhost/ardour2/branches/3.0@13335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-24 18:33:30 +00:00
3d4bbcd65c save + restore OSC active+feedback state (#5023)
git-svn-id: svn://localhost/ardour2/branches/3.0@13329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-24 00:29:11 +00:00
b7075c0989 fix sending static LTC
git-svn-id: svn://localhost/ardour2/branches/3.0@13327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-24 00:04:49 +00:00
05b1f0c196 LTC generator update
git-svn-id: svn://localhost/ardour2/branches/3.0@13325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 23:32:39 +00:00
6f15ec9618 LTC generator config
git-svn-id: svn://localhost/ardour2/branches/3.0@13324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 23:32:36 +00:00
4600530d50 MTC slave - resolve drift issue
Close loop of quarter-frame DLL and
also re-enable the deadzone around speed 1.0.
DLL bandwidth have been slightly adjusted empirically.

git-svn-id: svn://localhost/ardour2/branches/3.0@13323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 17:10:31 +00:00
93b13251fa fix backwards playback position calculation
git-svn-id: svn://localhost/ardour2/branches/3.0@13322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 17:10:25 +00:00
35c6b52c36 probable fix for not being able to find audio files in a 2.X session that had "illegal" characters in the session name - adds the 2.X version of the search path to the audio file search path, if it exists
git-svn-id: svn://localhost/ardour2/branches/3.0@13321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 14:52:26 +00:00
948fd683cd MTC slave - fix jumps on initialization
Do not re-position transport before first full frame has arrived.

git-svn-id: svn://localhost/ardour2/branches/3.0@13317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-22 17:34:15 +00:00
ec94210a4d add LTC generator
git-svn-id: svn://localhost/ardour2/branches/3.0@13315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-21 14:07:10 +00:00
4c13d205d4 LTC Slave cleanup
initialize audioengine's ltc_port - if HAVE_LTC is not set
trying to connect it would segfault.

LTC frameno is < 40 by (two bit frame-ten's)

git-svn-id: svn://localhost/ardour2/branches/3.0@13314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-21 14:07:07 +00:00
7f8d2e32da LTC slave rewrite #2
git-svn-id: svn://localhost/ardour2/branches/3.0@13313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-20 18:14:13 +00:00
2d9ed69fe2 change input/output button context menus for mixer strip to be non-additive: when selecting a new IO bundle, disconnect from any existing connections before connecting to the new one (fixes #5087)
git-svn-id: svn://localhost/ardour2/branches/3.0@13308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-18 16:15:11 +00:00
aa3fe77d7f patch from robin to fix where the transport start occurs when exporting (#4098)
git-svn-id: svn://localhost/ardour2/branches/3.0@13305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 22:33:02 +00:00
bb9f8aabc4 second half of forward-port of recent a2/mb control protocol changes, this time enabling the GUI to track protocol-active changes
git-svn-id: svn://localhost/ardour2/branches/3.0@13303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 22:01:02 +00:00
fbc5571133 disable LTC,MTC speed deadzone for now.
wrong threshold causes jumps.

git-svn-id: svn://localhost/ardour2/branches/3.0@13302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 17:11:32 +00:00
cf23bf29e7 decrease LTC flywheel time and adjust DLL settings
git-svn-id: svn://localhost/ardour2/branches/3.0@13301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 15:57:55 +00:00
f6eeb47482 Add a 1% speed deadzone around speed=1.0 for LTC, MTC slaves
trade-off constant re-sampling to achieve sample-delta ~0,
with trying to avoid resampling if the delta is within
1% of the sample-rate.

git-svn-id: svn://localhost/ardour2/branches/3.0@13300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 15:57:53 +00:00
c4cb4fa141 slave delta display
impl MClk slave, update format for LTC, MTC

negative delta: Ardour is behind,
positive delta: Ardour is ahead of ext clock.

git-svn-id: svn://localhost/ardour2/branches/3.0@13299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 15:57:51 +00:00
cff8a65db2 forward part the backend part of the generic MIDI control fixes from mb2/a2
git-svn-id: svn://localhost/ardour2/branches/3.0@13297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-17 14:36:40 +00:00
f4ae7cc709 LTC remove debug out, delta-time: flywheel display
git-svn-id: svn://localhost/ardour2/branches/3.0@13294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 23:04:02 +00:00
99a177da84 LTC slave reworked
* detect LTC framerate
* detect LTC discontinuities
* use a DLL for flywheel sync (engine rate)
* don't use seekahead - internal resync

git-svn-id: svn://localhost/ardour2/branches/3.0@13291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 20:53:15 +00:00
b40b353264 prepare for non-seekahead [LTC] slave. fix state machine
locate() will call realtime_stop which will reset the slave-state.

git-svn-id: svn://localhost/ardour2/branches/3.0@13290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 20:53:12 +00:00
64b0efdf9f MTC Slave: allow >2 sec for re-sync, format delta
git-svn-id: svn://localhost/ardour2/branches/3.0@13289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 20:53:10 +00:00
625ee55df0 don't do a pending save if slave is syncing.
13:00 < rgareus> When a slave does initial sync, it sets speed=0, pos=XXX (required by session_process.cc state-machine to init)
13:01 < rgareus> This triggers a locate(roll=false) which in turn triggers a realtime_stop() which in turn triggers a non_realtime_stop().
[..]
13:06 < rgareus> las: the problem I have with non_realtime_stop() is that it does save a pending state IFF  get_record_enabled() is true.
13:06 < rgareus> The save can take ages (seconds), which will void the initial sync of the slave.
13:07 < rgareus> The slave enters a live-lock: sync, save, re-sync, save...
13:07 < las> rgareus: understood
13:07 < rgareus> las: I propose to workaround this: only save pending state if there is no slave or the slave is not locked.
13:07 < las> rgareus: another reason why recording + slave == bad idea :(
13:07 < las> rgareus: but yes, that sounds fine to me
13:07 < rgareus> AFICT this is not harmful. It only affects pre-record settings.
13:07 < rgareus> 'did_record' is used to save a full state after each recording.

git-svn-id: svn://localhost/ardour2/branches/3.0@13288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 20:53:08 +00:00
Hans Baier
4c9fcd407c implement double click to ContentsRange on MidiScroomer
git-svn-id: svn://localhost/ardour2/branches/3.0@13284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-16 09:19:19 +00:00
cb84e71caa create and manage a new config parameter that defines where LTC originates (still some tweaks to be done here and there)
git-svn-id: svn://localhost/ardour2/branches/3.0@13280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-15 15:57:35 +00:00
6ab663342d MTC slave: timcode and delta formatting
git-svn-id: svn://localhost/ardour2/branches/3.0@13279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-15 02:46:56 +00:00
6584ae1ce7 MTC slave fix reporting approx position
git-svn-id: svn://localhost/ardour2/branches/3.0@13277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 23:23:57 +00:00
a6bc97add9 prepare reporting slave delta & MTC slave implementation
git-svn-id: svn://localhost/ardour2/branches/3.0@13276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 23:23:53 +00:00
3769c060f2 use translatable strings for TC info,
and prepare delta display

git-svn-id: svn://localhost/ardour2/branches/3.0@13275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:42:32 +00:00
bdcd6dba69 MTC,LTC print current timecodes in warning
git-svn-id: svn://localhost/ardour2/branches/3.0@13274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:17:47 +00:00
f6b9572bfd LTC Slave, add support for variable framerates
git-svn-id: svn://localhost/ardour2/branches/3.0@13273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:17:42 +00:00
96f035e629 formatting timecode: use a semicolon to indicate DF
git-svn-id: svn://localhost/ardour2/branches/3.0@13272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:17:40 +00:00
a9c9d5072c MTC Slave: MIDI 30df -> A3 29.97df
MIDI only specifies the frame-count, not the rate.
in the vast majority of cases MIDI's
"Count to 30 use drop-frame" is 29.97df fps.

git-svn-id: svn://localhost/ardour2/branches/3.0@13271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:17:37 +00:00
0e7654255c MTC Slave: fix return approx position.
git-svn-id: svn://localhost/ardour2/branches/3.0@13270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-14 16:17:35 +00:00
e4e4b67ad4 timecode: make subframes unsigned int
git-svn-id: svn://localhost/ardour2/branches/3.0@13268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-13 23:47:05 +00:00
f66d3f9b13 MTCslave - use new timecode API
git-svn-id: svn://localhost/ardour2/branches/3.0@13267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-13 23:27:43 +00:00
4a17dd8fb6 move sample/timecode conversion to libtimecode.
git-svn-id: svn://localhost/ardour2/branches/3.0@13266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-13 23:27:40 +00:00
13d23f15aa provide forgotten case for restoring Windows VST plugins
git-svn-id: svn://localhost/ardour2/branches/3.0@13265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-13 00:31:46 +00:00
eaaca760c9 tweaks to be ready for more information timecode display in Timecode clock mode
git-svn-id: svn://localhost/ardour2/branches/3.0@13264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 22:04:21 +00:00
5eeecf82a0 LTC slave - basic working version (hardcoded 25fps)
git-svn-id: svn://localhost/ardour2/branches/3.0@13263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 21:28:08 +00:00
6de548bd7f MTC slave - return apparent_timecode_format
git-svn-id: svn://localhost/ardour2/branches/3.0@13262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 21:28:05 +00:00
fd1ab7ad40 MTC Slave: handle locates (quick re-sync)
git-svn-id: svn://localhost/ardour2/branches/3.0@13259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 17:04:20 +00:00
76eb2f23d6 basics for a TimecodeSlave parent class for MTC and LTC
git-svn-id: svn://localhost/ardour2/branches/3.0@13258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 16:48:53 +00:00
5a8e83e0de move TC FPS up into status bar, use lower right of timecode audioclock mode for something ... TBDiscussed
git-svn-id: svn://localhost/ardour2/branches/3.0@13257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 16:25:57 +00:00
bce3184ff5 skeleton framework for LTC-slave
git-svn-id: svn://localhost/ardour2/branches/3.0@13256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 09:45:22 +00:00
Hans Baier
e3fb47d990 make sure routes instrument info initializes correctly
git-svn-id: svn://localhost/ardour2/branches/3.0@13254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 09:25:20 +00:00
Hans Baier
6009ad3060 tidy
git-svn-id: svn://localhost/ardour2/branches/3.0@13253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 09:24:31 +00:00
Hans Baier
e36c855464 issue 0005121: added comment to source. Sorry, last commit was for issue 0005121, not 0005120, copied from the wrong line :[
git-svn-id: svn://localhost/ardour2/branches/3.0@13252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 06:04:06 +00:00
Hans Baier
2625fd9be8 fix issue 0005120: dont treat percussive mode differently than sustained mode except in GUI. Leaving out all note offs crashes LinuxSampler and totally drowns my Yamaha PSR-S900 by stealing all its available voices. Code is #ifdef-ed out until a more thorough discussion would conclude the removal of percussive mode from the MIDI model, which IMHO makes sense. I don't see any virtue in leaving out note offs since it only creates problems.
git-svn-id: svn://localhost/ardour2/branches/3.0@13251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 05:58:47 +00:00
617d291d1b MTC: map between timecodes
allow external timecode device to supply timecode with
framerates other than ardour session's framerate.

also fix latency overcompensation. The slave is supposed to
provide transport time - and not audible frame time.

git-svn-id: svn://localhost/ardour2/branches/3.0@13250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 01:08:32 +00:00
a9abe3b1e1 move TimecodeFormat to libtimecode
provide a way to convert any TimecodeFormat to float frame-rate,
not only the currently active timecode_foramt.

git-svn-id: svn://localhost/ardour2/branches/3.0@13249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12 01:08:29 +00:00
Hans Baier
f61f973f87 implement missing midi event filtering during recording
git-svn-id: svn://localhost/ardour2/branches/3.0@13243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-11 05:39:40 +00:00
Hans Baier
ed05701ccb revert last commit, wrong place...
git-svn-id: svn://localhost/ardour2/branches/3.0@13242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-11 04:31:57 +00:00
Hans Baier
d2c6b00bdd fix bug: capture buffer not filtered by track channel selector
git-svn-id: svn://localhost/ardour2/branches/3.0@13241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-11 04:27:53 +00:00
Hans Baier
97c23848d7 implement deleting of sysex events
git-svn-id: svn://localhost/ardour2/branches/3.0@13238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-11 03:22:17 +00:00
9707a0e827 move the external sync source selection tobe a global config parameter, not per-session, since this is likely a reflection of studio setup, h/w etc.; starting using real tooltips in the RC option editor
git-svn-id: svn://localhost/ardour2/branches/3.0@13237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-11 03:10:18 +00:00
71b7326576 move timecode-is-clock-synced option to global configuration parameters, not per session
git-svn-id: svn://localhost/ardour2/branches/3.0@13235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 22:56:21 +00:00
8007939839 add global config parameter timecode-sync-frame-rate to control behaviour when a timecode slave (MTC, LTC) has a different frame rate than an Ardour session
git-svn-id: svn://localhost/ardour2/branches/3.0@13233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 21:07:24 +00:00
0441bc140e MTC slave, don't touch position if no MTC was received
git-svn-id: svn://localhost/ardour2/branches/3.0@13232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 20:37:59 +00:00
915797fd23 MTC-slave: print error if framerate mismatch
git-svn-id: svn://localhost/ardour2/branches/3.0@13231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 20:37:56 +00:00
2b1cc9656e remove incorrect and unnecessary template class declaration from Evoral (added recently)
git-svn-id: svn://localhost/ardour2/branches/3.0@13230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 15:42:47 +00:00
8a6b0ab072 debug msg - varispeed recording
git-svn-id: svn://localhost/ardour2/branches/3.0@13228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 14:03:19 +00:00
29825092ae ignore slave/engine time-delta when recording.
git-svn-id: svn://localhost/ardour2/branches/3.0@13227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 14:03:18 +00:00
a2b4128035 fix and improve MTC-slave
- MTC-speed average (MIDI thread)
   * base timing on quarter-frames
   * replace hann-window average with a DLL
 - MTC/engine alignment
   * replace 1st order PI-controller with 2nd order DLL

The 2nd DLL is needed because the jack-process callback effectively
quantizes the transport-speed to integer audio-frames (speed * nframes).
This leaves a delta on every cycle because the remainder from previous
cycles is not compensated for.

Theoretically it is possible to merge the two DLLs into one.
However, with callbacks coming from by two independent threads
it is cleaner to track the MTC and JACK engine-alignment speeds
independently.

git-svn-id: svn://localhost/ardour2/branches/3.0@13226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 14:03:15 +00:00
Hans Baier
3f5c6f8190 enable and extend EVORAL_MIDI_XML. Useful for Debugging. Any objections?
git-svn-id: svn://localhost/ardour2/branches/3.0@13223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 04:31:59 +00:00
Hans Baier
f8b7687f78 whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@13222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 04:30:48 +00:00
Hans Baier
c3850cfb35 evoral/MIDIEvent: Whitespace cosmetics in header, make XML output work properly eg show the numbers instead of blanks
git-svn-id: svn://localhost/ardour2/branches/3.0@13221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 08:33:27 +00:00
Hans Baier
5c2d7d3644 add missing unit test runner shell script for midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@13220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:17:55 +00:00
Hans Baier
9a19da77e3 fix insidious bugs in midnam_patch.cc which account for garbled data
git-svn-id: svn://localhost/ardour2/branches/3.0@13219 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:17:15 +00:00
Hans Baier
dec0e3d6da Add patchfile for Yamaha PSR-S900, add unit test for it, remove camel case from test method names
git-svn-id: svn://localhost/ardour2/branches/3.0@13218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:13:38 +00:00
Hans Baier
ad8c184218 fix whitespace in libs/midi++2/midi++/midnam_patch.h
git-svn-id: svn://localhost/ardour2/branches/3.0@13216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:09:54 +00:00
9a4fbfcdfe add 8kHz as an available export format sample rate
git-svn-id: svn://localhost/ardour2/branches/3.0@13214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-08 19:45:25 +00:00
Hans Baier
0bb2227eb8 add unit tests to midi++ and assorted bugfixes for midnam_patch.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@13213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-08 04:32:12 +00:00
d29c5cdfb0 drop connections to incoming MIDI signals before deleting MTC Slave object
git-svn-id: svn://localhost/ardour2/branches/3.0@13208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-04 20:54:08 +00:00
a63d01e24a do not add in ticks in the "at" position when computing BBT duration somewhere on the timeline (fixes issues with nudging etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@13201 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-01 20:55:10 +00:00
02a98547f1 different version of previous commit that leaves previous semantics intact unless punch in/out are enabled
git-svn-id: svn://localhost/ardour2/branches/3.0@13200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-27 14:11:01 +00:00
f940452bc0 when deciding monitoring state, only consider the session to be in global record state if we are actively recording, not just if we are rec-enabled. this provides correct monitoring when punch in/out are enabled
git-svn-id: svn://localhost/ardour2/branches/3.0@13199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-27 11:38:13 +00:00
53afa11311 mark session dirty when route active status changes
git-svn-id: svn://localhost/ardour2/branches/3.0@13195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-19 19:32:05 +00:00
b30ba842d8 fix missing variable initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@13194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-17 21:09:12 +00:00
87017d581a Support latest options extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@13191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-16 17:01:23 +00:00
4ee7e09e2c fix a couple of errors in zh.po files
git-svn-id: svn://localhost/ardour2/branches/3.0@13185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-12 21:30:44 +00:00
3008fbdea5 add chinese translation from Rui-huai Zhang
git-svn-id: svn://localhost/ardour2/branches/3.0@13183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-12 21:24:55 +00:00
696631f04e comment tweaks from a second reading
git-svn-id: svn://localhost/ardour2/branches/3.0@13182 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-09 20:31:43 +00:00
999ec4a074 remove unused code
git-svn-id: svn://localhost/ardour2/branches/3.0@13181 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-09 20:21:50 +00:00
bfb5292e74 Consistent style.
git-svn-id: svn://localhost/ardour2/branches/3.0@13180 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-08 18:18:47 +00:00
Carl Hetherington
f404e90836 I think Region::can_move() should take into account _locked
as well as the never-used (apart from ImageFrameView)
_position_locked.  Fixes #5090.


git-svn-id: svn://localhost/ardour2/branches/3.0@13179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-08 01:03:00 +00:00
Sakari Bergen
a7cd27e744 Fix end-of-input-handling in silence trimmer
git-svn-id: svn://localhost/ardour2/branches/3.0@13160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-04 18:16:21 +00:00
Carl Hetherington
c779474c13 Reset pending_locate_roll in all cases, not just when the
roll happened; should help with #5047.


git-svn-id: svn://localhost/ardour2/branches/3.0@13158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-01 11:24:17 +00:00
3eaadafd31 Fix compilation without svn lv2.
git-svn-id: svn://localhost/ardour2/branches/3.0@13152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-30 01:23:39 +00:00
7e335a8234 Implement latest buf-size extension via new options extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@13151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-29 20:22:18 +00:00
fd37871315 added missing header include
git-svn-id: svn://localhost/ardour2/branches/3.0@13150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-29 00:30:50 +00:00
322f1c7d0d LV2: amend previous commit, respect replicated plugin instances
When a plugin is replicated (eg. mono plugin on a stereo-track),
configure_io() is only called for the first instance.
The 2nd instance will not have dedicated buffers but re-use copies
of the first instance. Should the 2nd instance use a LV2 worker-thread or
local communication ports they can not be shared with the first instance.
-> this patch allocates Atom-buffers for each instance.

PS. this still needs more work; there is only one UI instance for
all plugin instances. messages from the UI should go to all
instances.

git-svn-id: svn://localhost/ardour2/branches/3.0@13148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:40 +00:00
198efb82bc LV2: allocate dedicated buffers for [non-midi] event-ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@13147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:38 +00:00
9ab45f37c6 LV2 worker: prevent corruption of ringbuffer
git-svn-id: svn://localhost/ardour2/branches/3.0@13146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:35 +00:00
a8f0c3255f fix LV2 worker
start worker thread after _sem and _exit have been initialized.
stop thread when plugin is removed.

git-svn-id: svn://localhost/ardour2/branches/3.0@13145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:48 +00:00
0a834da466 dedicated LV2 non-MIDI atom-event-port handling
git-svn-id: svn://localhost/ardour2/branches/3.0@13144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:45 +00:00
7b7140f5ed Create and realize LV2 UI container before instantiating (required for proper embedding in some situations).
git-svn-id: svn://localhost/ardour2/branches/3.0@13140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-21 19:29:19 +00:00
d110d07e07 Fix some const-violating casts.
git-svn-id: svn://localhost/ardour2/branches/3.0@13138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-18 15:56:48 +00:00
0cba3886da Add debug trace for LV2 like the other APIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@13137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-18 15:49:32 +00:00
4b053d06f7 LV2 log extension support.
git-svn-id: svn://localhost/ardour2/branches/3.0@13135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-17 03:05:06 +00:00
fc51a1559a Fix const violating case.
git-svn-id: svn://localhost/ardour2/branches/3.0@13134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-17 03:03:55 +00:00
89741cf0e9 make --disable-plugins/-d work again, probably
git-svn-id: svn://localhost/ardour2/branches/3.0@13131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-16 02:06:18 +00:00
5722daf381 undo that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@13126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 17:03:22 +00:00
f765f0c857 fix for OS X builds with new prototype C warning flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13125 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 17:02:37 +00:00
760ccbabfb add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 15:57:09 +00:00
e61c2aeda3 test a different approach to propagating plugin parameter changes (VST only for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@13122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:59:43 +00:00
5ce7e740c4 when sending notice of a change in a plugin parameter value, send the current value
git-svn-id: svn://localhost/ardour2/branches/3.0@13121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:37:23 +00:00
3b250c5475 more vst parameter related stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@13120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:09:05 +00:00
ff2fac11a0 more vst parameter related stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@13119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 16:55:56 +00:00
3d07cbc37f VST parameter setting tweak
git-svn-id: svn://localhost/ardour2/branches/3.0@13118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:57:04 +00:00
15f58343f6 use new floateq() to check VST plugin parameter equality
git-svn-id: svn://localhost/ardour2/branches/3.0@13117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:47:16 +00:00
5bfa705ff7 new file containing very clever code for floating point "equality" comparisons
git-svn-id: svn://localhost/ardour2/branches/3.0@13116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:46:54 +00:00
f19e7bd238 more VST parameter debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 01:06:32 +00:00
5ffce5b8c9 some VST parameter mgmt debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 22:27:12 +00:00
d7da12285f Fix more tab width assumption mess caused by Paul's misconfigured editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@13113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 00:21:05 +00:00
cf3ae3dec1 Support new LV2 buf-size extension if a new enough (currently svn) LV2 is present.
git-svn-id: svn://localhost/ardour2/branches/3.0@13112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 00:16:30 +00:00
9743340fa3 trying to track down why undo doesn't remove xfade rendering on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@13102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-29 23:50:00 +00:00
Sakari Bergen
1573ea991d Add missing #includes to some tests
git-svn-id: svn://localhost/ardour2/branches/3.0@13100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-28 09:08:29 +00:00
e8c914f0fa if a request to reset the speed to zero as the default arrives when stopped, reset the default speed to 1.0 (and nothing else). hacky, could probably use Session::request_reset_default_transport_speed()
git-svn-id: svn://localhost/ardour2/branches/3.0@13087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 15:40:11 +00:00
4b38ddec62 replace deprecated g_atomic_int_exchange_add()
git-svn-id: svn://localhost/ardour2/branches/3.0@13086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 15:39:17 +00:00
3cd8138a41 convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 17:48:55 +00:00
b18fbc8c68 check for multiple tempo/meter marks at the same location, which somehow ardour2 allowed. don't handle it but at least report the error
git-svn-id: svn://localhost/ardour2/branches/3.0@13082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 13:12:25 +00:00
1cdf02ae2f remove use of boost::thread/boost::mutex; bump glibmm requirement to 2.30 in order to pick up Glib::Threads::Mutex which can be used statically, use that to replace boost::mutex; add required inclusion of <cerrno> in a couple of places
git-svn-id: svn://localhost/ardour2/branches/3.0@13076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 21:43:05 +00:00
0462a3e413 a bit more output from -D audioplayback, to help thorsten track down a crash/valgrind bug
git-svn-id: svn://localhost/ardour2/branches/3.0@13074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 15:32:47 +00:00
ec0a1b88bb another fix for apple's absurd un-namespaced global Carbon macros like "check"
git-svn-id: svn://localhost/ardour2/branches/3.0@13068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-23 14:21:58 +00:00
b2bbc44eaa forward-port generic MIDI and transport controllable changes from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@13066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-23 13:31:51 +00:00
e43d91949b more work on RID and editor/mixer order matching; when a track/bus is hidden in the GUI controlling RID, it gets a extremely large RID to prevent it showing up on a control surface (but ... for now ... is still visible in the other GUI, even if "sync order between mixer + editor" is enabled); change font in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@13054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-19 22:35:43 +00:00
b621b28fce make it possible to (and actually do) name insert and send ports as "return" and "send" rather than "in" and "out" (#5012)
git-svn-id: svn://localhost/ardour2/branches/3.0@13052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17 13:59:46 +00:00
c677de4816 updated RU translations from alexander prokoudine
git-svn-id: svn://localhost/ardour2/branches/3.0@13051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17 13:13:36 +00:00
e6610e6ad8 i18n fixes from alexander prokoudine (#5016)
git-svn-id: svn://localhost/ardour2/branches/3.0@13050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17 13:11:15 +00:00
3c252e9321 lots more fidgety work on automation. sort of works now, but undo/redo needs attention
git-svn-id: svn://localhost/ardour2/branches/3.0@13047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17 03:10:40 +00:00
539b94490f do NOT mark imported MIDI files as un-writable - all MIDI files are subject to rewriting at any time
git-svn-id: svn://localhost/ardour2/branches/3.0@13046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-16 14:48:07 +00:00
f97da74cf7 code motion to put Sequence::{add,append}_patch_changed_unlocked() next to each other as candidates for removal
git-svn-id: svn://localhost/ardour2/branches/3.0@13045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-16 14:46:21 +00:00
6e3168b7d3 add some Evoral enums to the enumwriter (seems a bit odd)
git-svn-id: svn://localhost/ardour2/branches/3.0@13044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-16 14:45:35 +00:00
c3ccff8d05 fix up part of the remaining details with automation, so that touch/write over-writes work correctly
git-svn-id: svn://localhost/ardour2/branches/3.0@13041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-14 15:42:10 +00:00
34c6e03ecf fix OS X compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@13040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-14 15:02:13 +00:00
5e26deeb6c add missing files
git-svn-id: svn://localhost/ardour2/branches/3.0@13039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-13 21:13:35 +00:00
0532e2063b dramatic overhaul of automation. too long to explain here. this work is not finished - write/touch passes do not correctly overwrite existing data because the semantics of ControlList::insert_iterator need clarification. more to follow
git-svn-id: svn://localhost/ardour2/branches/3.0@13038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-13 21:05:45 +00:00
b04cd7d704 AU version of break recursive loops of Plugin::parameter_changed()->Plugin::ParameterChanged()->Plugin::parameter_changed() ...
git-svn-id: svn://localhost/ardour2/branches/3.0@13037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-12 21:16:43 +00:00
b1ad798b9a break recursive loops of Plugin::parameter_changed()->Plugin::ParameterChanged()->Plugin::parameter_changed() ...
git-svn-id: svn://localhost/ardour2/branches/3.0@13036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-12 21:16:20 +00:00
163d4b85d1 reinstate thread buffer debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@13035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 23:55:00 +00:00
de835047d9 force I/O selector windows to stay-on-top (experimental)
git-svn-id: svn://localhost/ardour2/branches/3.0@13034 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 20:14:53 +00:00
40d8d1d985 remove unusued signals inadvertently added during previous plugin-touch-automation changes
git-svn-id: svn://localhost/ardour2/branches/3.0@13030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 16:07:15 +00:00
ae62e9443b try to fix crashes due to not-enough-per-thread-buffers by just using more of them
git-svn-id: svn://localhost/ardour2/branches/3.0@13029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 16:00:40 +00:00
8d6d3c309d add StartTouch and EndTouch signals to Plugin class; make PluginInsert handle these signals and mark the start end of touch/gestures for a given AutomationControl; net result is that touch automation now works for AudioUnit plugins, at least those whose GUIs send kAudioUnitEvent_{Begin,End}ParameterGesture events
git-svn-id: svn://localhost/ardour2/branches/3.0@13028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 15:31:02 +00:00
a782dd36e7 debugging for process thread issues
git-svn-id: svn://localhost/ardour2/branches/3.0@13027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 15:05:51 +00:00
0fb8c89eeb fix propagation of parameter changes from Plugin to PluginInsert so that automation will record parameter changes performed in a plugin GUI (#4976)
git-svn-id: svn://localhost/ardour2/branches/3.0@13026 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 03:48:14 +00:00
bfd2ee48ce improved version of last commit, for tracking plugin control changes and mapping them to PluginInsert automation controls
git-svn-id: svn://localhost/ardour2/branches/3.0@13025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 00:23:55 +00:00
67f8063256 update automatable parameter's Evoral::Control object when AU parameter listener notifies us of a change
git-svn-id: svn://localhost/ardour2/branches/3.0@13024 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-11 00:11:21 +00:00
bd2bf3c52e automation fixes/changes: when add a new control point, create necessary points to construct a flat default-valued line from zero the first point, and revert to the default value at the end of the write (breaks value-holds-after-write behaviour); fix bug in data elimination when recording flat-line data
git-svn-id: svn://localhost/ardour2/branches/3.0@12997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09 18:32:53 +00:00
80d9eaf96c set fader and plugin parameter automation curve default values - what else needs this?
git-svn-id: svn://localhost/ardour2/branches/3.0@12996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09 18:31:09 +00:00
e2c26e1b99 Report correct time instead of old time when locating as Jack transport master.
I encountered this today writing a transport slave, but it seems to be the same
problem as issue #743 from 8 years ago.  The issue is easier to see with a
transport slave client that prints any transport change whatsoever, for example
if the current location is some point well into the session and rewind to start
is pressed, Ardour reports the old position, not zero.  With this change, it
reports zero as expected.

See comment about why this was happening.  If locating here is evil for some
reason, then some other way of making jack_timebase_callback report the target
position is required.  Contrary to what the old comment below this change
suggests, follow_slave() does not update _transport_frame in time.


git-svn-id: svn://localhost/ardour2/branches/3.0@12993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-08 03:40:15 +00:00
39b42e3766 Fix Jack transport master after session load.
Transport master was not being taken because when the configuration variable is
set, AudioEngine::set_session() has not been called yet so
AudioEngine::reset_timebase() did nothing (the transport stuff at the beginning
of Session::when_engine_running() is questionable for the same reasons).

I am not sure if this is correct, but I have failed to more thoroughly figure
out the issue.  At least Ardour actually sets Jack transport information now.
However, there are some discrepancies between Ardour time and Jack time, as
reported by Session::jack_timebase_callback().

Perhaps related, the transport master menu item does not restore correctly.
Previous to this commit, the only way to make a loaded session take transport
master was to "set" this out of sync item (which did nothing), then unset it,
then set it again, which would finally actually cause the configuration change.


git-svn-id: svn://localhost/ardour2/branches/3.0@12992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-07 21:00:47 +00:00
f110126fca do not deactivate the meter in a frozen track
git-svn-id: svn://localhost/ardour2/branches/3.0@12991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-06 19:18:33 +00:00
Carl Hetherington
0dc992bcf7 Don't rename playlists on rename track if the track has >1
playlist; hopefully helps with the confusion in mantis
#4977.


git-svn-id: svn://localhost/ardour2/branches/3.0@12990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-05 00:02:13 +00:00
Carl Hetherington
e35a84a32b Revert erroneous commit 12922 and replace with a better fix
(should fix #4947, #4963, #4987).


git-svn-id: svn://localhost/ardour2/branches/3.0@12986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-04 19:56:14 +00:00
Sakari Bergen
d762be4f73 Fix the ProcessContext copy-ctor stuff for older compilers, which don't support template base class initialization without template parameters
git-svn-id: svn://localhost/ardour2/branches/3.0@12983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-02 15:48:29 +00:00
Sakari Bergen
5b5998208f Probably fix warnings on Apple's gcc
git-svn-id: svn://localhost/ardour2/branches/3.0@12973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-01 10:23:44 +00:00
7db500301d further efforts at cleaning up the design of the interaction/relationship between route sort order keys and remote control IDs
git-svn-id: svn://localhost/ardour2/branches/3.0@12962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 22:27:37 +00:00
Carl Hetherington
81de53da1d Fix missing lock causing erroneous disk space reports when dragging audio clocks.
git-svn-id: svn://localhost/ardour2/branches/3.0@12961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 16:08:48 +00:00
Carl Hetherington
b97a1bfb97 Connect to controllable->Destroyed in all cases; fixes crash on route removal.
git-svn-id: svn://localhost/ardour2/branches/3.0@12959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 15:38:07 +00:00
Carl Hetherington
e09e185e3e Add what I think is a missing lock when reading controllables.
git-svn-id: svn://localhost/ardour2/branches/3.0@12958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 15:37:54 +00:00
1708ab55b9 fix MIDI binding stuff when the controllable does actually exist the first time we go looking for it (#4950)
git-svn-id: svn://localhost/ardour2/branches/3.0@12957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 14:44:29 +00:00
11415b49be first pass at the big rethink of managing sort order keys for editor and mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor)
git-svn-id: svn://localhost/ardour2/branches/3.0@12953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27 22:57:06 +00:00
266030b79c some generic midi debugging plus an assert
git-svn-id: svn://localhost/ardour2/branches/3.0@12950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 20:49:52 +00:00
dde521f2c6 fix up some issues introduced by lifecycle tracking of Controllable in Generic MIDI control code
git-svn-id: svn://localhost/ardour2/branches/3.0@12947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 19:10:11 +00:00
faaac88ac8 correctly(?) set number of process thread buffers based on run-time-discovered num-cpus (#4951)
git-svn-id: svn://localhost/ardour2/branches/3.0@12946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 18:58:39 +00:00
Carl Hetherington
a50dd69c0c Add test for loading sessions, and a session with a
rec-enabled track that currently crashes.


git-svn-id: svn://localhost/ardour2/branches/3.0@12945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 18:47:20 +00:00
Carl Hetherington
7031e12495 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@12944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 17:58:20 +00:00
Carl Hetherington
c52bdcf69d Remove unused named selection / chunk code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 02:11:06 +00:00
a054a74dd2 disconnect from a Controllable when it is destroyed
git-svn-id: svn://localhost/ardour2/branches/3.0@12938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 01:55:53 +00:00
Carl Hetherington
06ad59e936 Fix some oddities with playhead movement when locating
during roll.


git-svn-id: svn://localhost/ardour2/branches/3.0@12937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 01:40:34 +00:00
Carl Hetherington
a5d013d841 Some spelling mistake fixes from Debian.
git-svn-id: svn://localhost/ardour2/branches/3.0@12936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26 01:40:27 +00:00
Carl Hetherington
cc9ed077be Patch from johan_mattsson_m to be more graceful if there
is an undo record which references a non-existant
object; this shouldn't happen, of course, but there was
a bug in some early betas which made it occur (#4920).


git-svn-id: svn://localhost/ardour2/branches/3.0@12930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 21:19:21 +00:00
Carl Hetherington
0786ff15a0 Patch from royvegard to add a set-bank midi function
(#4949).


git-svn-id: svn://localhost/ardour2/branches/3.0@12927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 19:26:00 +00:00
97d920593f drastic rethink of the relationship between remote control ID and route order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window
git-svn-id: svn://localhost/ardour2/branches/3.0@12923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 12:46:13 +00:00
Carl Hetherington
f2f35e50a0 Create diskstream before calling Route::set_state, the
set_state causes muted MIDI tracks to look up their
diskstream (#4947).


git-svn-id: svn://localhost/ardour2/branches/3.0@12922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 12:39:25 +00:00
92469df6ab add late/lazy binding between generic MIDI bindings and controllable elements in the session. this allows you to load a binding map that refers to elements that have not yet been created in the session, and when they are created, the binding will work
git-svn-id: svn://localhost/ardour2/branches/3.0@12921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 12:33:13 +00:00
Sakari Bergen
ed51eb8801 Remove some excess commas from the export format description
git-svn-id: svn://localhost/ardour2/branches/3.0@12920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 20:00:30 +00:00
Sakari Bergen
d54d26e822 Inrease the export "chunk size" to speed it up over 10% at least in some situations
git-svn-id: svn://localhost/ardour2/branches/3.0@12919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 19:45:20 +00:00
Carl Hetherington
aa76272ae7 Revert to using SSE mix-buffers-with-gain rather than simple
one.


git-svn-id: svn://localhost/ardour2/branches/3.0@12918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 17:12:06 +00:00
Sakari Bergen
0925abbc92 Change logic for compiling export format descriptions from incomplete formats
git-svn-id: svn://localhost/ardour2/branches/3.0@12917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 13:57:20 +00:00
Sakari Bergen
958fc23ed1 Fix stem export. The capturing processor of routes was never removed, and was restored inactive, which made stem export fail.
git-svn-id: svn://localhost/ardour2/branches/3.0@12916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 13:38:42 +00:00
ff17d0c0a4 unused variable warning
git-svn-id: svn://localhost/ardour2/branches/3.0@12915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 12:57:08 +00:00
0ed4059ec7 string fix, plus a tweak to handling variable i/o AUs
git-svn-id: svn://localhost/ardour2/branches/3.0@12913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 12:50:38 +00:00
Sakari Bergen
04416e2d1d In export format dialog, show preview of generated part of description. Fix to #0004941
git-svn-id: svn://localhost/ardour2/branches/3.0@12911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24 11:36:33 +00:00
Carl Hetherington
e58e614f20 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@12910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 12:54:11 +00:00
ef5293398a Remove unused utility function ARDOUR::create_session_directory
git-svn-id: svn://localhost/ardour2/branches/3.0@12909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 07:33:36 +00:00
11cae0333e Use SessionDirectory class directly rather than ARDOUR::create_session_directory
git-svn-id: svn://localhost/ardour2/branches/3.0@12908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 07:33:34 +00:00
9680af515c Change the meaning of the return value in SessionDirectory::create
return true if the session directories were successfully created, not
if the session directory was previously invalid(new directory).

git-svn-id: svn://localhost/ardour2/branches/3.0@12907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 07:33:31 +00:00
e85f11618c Remove unused pbd/filesystem.h/cc
git-svn-id: svn://localhost/ardour2/branches/3.0@12906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:54 +00:00
1f440fbfec Remove unused or unnecessary header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@12905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:51 +00:00
4b96a5b34d Use std::string and Glib instead of pbd/filesystem.h in DeviceProfile
git-svn-id: svn://localhost/ardour2/branches/3.0@12902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:44 +00:00
4522ef26a2 Use Glib instead of pbd/filesystem.h in GenericMidiControlProtocol
git-svn-id: svn://localhost/ardour2/branches/3.0@12901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:42 +00:00
ca888dcba7 Remove unused header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:39 +00:00
9ae1ff59dc Use std::string and Glib::build_filename in Session::save_template
git-svn-id: svn://localhost/ardour2/branches/3.0@12899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:37 +00:00
8bfeb96bfc Use std::string and Glib::build_filename in Session::path_from_region_name
git-svn-id: svn://localhost/ardour2/branches/3.0@12898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:35 +00:00
6844eee3ae Use std::string and Glib::build_filename in Session::load_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:33 +00:00
831251963c Use std::string and Glib::build_filename in Session::save_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:31 +00:00
1dadaf3e05 Use std::string instead of sys::path in Session::jack_session_event
git-svn-id: svn://localhost/ardour2/branches/3.0@12895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:28 +00:00
dbd5a4e002 Use std::string instead of PBD::sys::path in Session::restore_history
git-svn-id: svn://localhost/ardour2/branches/3.0@12894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:26 +00:00
e37a65dade Use Glib::build_filename in Session::new_midi_source_name()
git-svn-id: svn://localhost/ardour2/branches/3.0@12893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:24 +00:00
c44917aed7 Remove unused PBD:sys::create_directory/ies functions
git-svn-id: svn://localhost/ardour2/branches/3.0@12892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:22 +00:00
0d785c8ebd Use g_mkdir_with_parents instead of sys::create_directories
git-svn-id: svn://localhost/ardour2/branches/3.0@12891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:19 +00:00
01db45859d Add doc note about postcondition of ARDOUR::user_config_directory()
git-svn-id: svn://localhost/ardour2/branches/3.0@12889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:15 +00:00
7a881ef67a Remove PBD::sys::is_directory and use Glib equivalent
git-svn-id: svn://localhost/ardour2/branches/3.0@12887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:11 +00:00
f558a8c917 Remove unused PBD::sys::exists function
git-svn-id: svn://localhost/ardour2/branches/3.0@12884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:04 +00:00
bc205191bf Use Glib::file_test instead of PBD::sys::exists
git-svn-id: svn://localhost/ardour2/branches/3.0@12883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:02 +00:00
5c988c459e Replace use of PBD::sys::exists with Glib equivalent
git-svn-id: svn://localhost/ardour2/branches/3.0@12882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:00 +00:00
02aa5bcde4 Use Glib::file_test instead of sys::exists
git-svn-id: svn://localhost/ardour2/branches/3.0@12881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:57 +00:00
6d7302a3a4 Remove unused method PBD::sys::path::leaf
git-svn-id: svn://localhost/ardour2/branches/3.0@12880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:55 +00:00
1844c8b422 Remove use of pbd/filesystem.h in SessionDirectory, use Glib equivalents
git-svn-id: svn://localhost/ardour2/branches/3.0@12878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:51 +00:00
7a6e86c9f9 Remove unused method PBD::sys::path::branch_path
git-svn-id: svn://localhost/ardour2/branches/3.0@12877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:49 +00:00
d2637317a3 Remove unused function PBD::sys::rename
git-svn-id: svn://localhost/ardour2/branches/3.0@12876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:46 +00:00
a1cb2e02df Use g_rename instead of PBD::sys::rename in Session::save_history
git-svn-id: svn://localhost/ardour2/branches/3.0@12875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:44 +00:00
4cd73d8165 Use g_rename instead of PBD::sys::rename in Session::rename_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:40 +00:00
8c831bef10 Remove unused function PBD::sys::remove
git-svn-id: svn://localhost/ardour2/branches/3.0@12873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:38 +00:00
dcc6d27390 Use g_remove instead of PBD::sys::remove in Session::save_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:35 +00:00
4de4c2aab4 Use g_remove instead of sys::remove in Session::save_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:33 +00:00
b5d1dbf62f Use g_remove instead of sys::remove in Session::remove_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:31 +00:00
695b666430 Don't try to remove pending state file if the file doesn't exist
git-svn-id: svn://localhost/ardour2/branches/3.0@12869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:29 +00:00
d1fc7aa459 Use Glib file utility functions in Session::remove_pending_capture_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:26 +00:00
f318d8640c Remove unused function PBD::sys::basename
git-svn-id: svn://localhost/ardour2/branches/3.0@12867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:24 +00:00
a459f96e38 Remove unused function PBD::sys::extension
git-svn-id: svn://localhost/ardour2/branches/3.0@12866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:22 +00:00
6b1659a29b Move file utility function into pbd/file_utils.h and into PBD namespace
git-svn-id: svn://localhost/ardour2/branches/3.0@12865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:19 +00:00
878acbee14 Make PBD::sys::exists_and_writable take a string instead of sys::path
git-svn-id: svn://localhost/ardour2/branches/3.0@12864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:17 +00:00
e26e59b006 Move three file utility functions from pbd/filesystem.h to pbd/file_utils.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:14 +00:00
6aee537109 Change PBD::sys::get_absolute_path to take and return a std::string
git-svn-id: svn://localhost/ardour2/branches/3.0@12862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:11 +00:00
a049a69a1a Move docs for PBD::sys::get_absolute_path into header
git-svn-id: svn://localhost/ardour2/branches/3.0@12861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:09 +00:00
a239047380 Move doc for PBD::sys::path_is_within to header
git-svn-id: svn://localhost/ardour2/branches/3.0@12860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:06 +00:00
fb76229f7b Change PBD::sys::path_is_within to take string params and use Glib
git-svn-id: svn://localhost/ardour2/branches/3.0@12859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:04 +00:00
1d3594cc9b Add docs for PBD::sys::equivalent_paths
git-svn-id: svn://localhost/ardour2/branches/3.0@12858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:08:01 +00:00
17475df100 Rename PBD::sys::inodes_same to equivalent_paths
This better reflects its function and more closely matches boost
naming(which is usually a good sign)

git-svn-id: svn://localhost/ardour2/branches/3.0@12857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:59 +00:00
5ae32cdfd9 Fix PBD::sys::inodes_same to check that paths are on same device
two paths can have the same inode and be on different devices and hence
would not be equivalent

git-svn-id: svn://localhost/ardour2/branches/3.0@12856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:56 +00:00
f4d826047f Use g_stat in PBD::sys::inodes_same for portability
git-svn-id: svn://localhost/ardour2/branches/3.0@12855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:54 +00:00
e66e9854d7 Overwrite target file in PBD::copy_file
git-svn-id: svn://localhost/ardour2/branches/3.0@12854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:52 +00:00
a22dd8c20a Move PBD::sys::copy_file/s into pbd/file_utils.h and PBD:: namespace
Copy files no longer depends on PBD::sys::path so move it

git-svn-id: svn://localhost/ardour2/branches/3.0@12853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:49 +00:00
4cda435203 Use Glib::build_filename in PBD::sys::copy_files
git-svn-id: svn://localhost/ardour2/branches/3.0@12852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:47 +00:00
3e77868269 Use PBD::sys::copy_file in ARDOUR::create_backup_file
git-svn-id: svn://localhost/ardour2/branches/3.0@12851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:45 +00:00
2f507c8a76 Use giomm in PBD::sys::copy_file and change function signature
now returns bool to indicate successful copy rather than throw and
takes strings as args

git-svn-id: svn://localhost/ardour2/branches/3.0@12850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:42 +00:00
4363a6920f Remove unnecessary header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:40 +00:00
2c46bf78b8 Replace use of pbd/filesystem.h with glib/mm equivalents
git-svn-id: svn://localhost/ardour2/branches/3.0@12848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:37 +00:00
71a4495db4 Use PBD::basename_nosuffix instead of sys::basename
git-svn-id: svn://localhost/ardour2/branches/3.0@12847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:35 +00:00
28ca644274 Use giomm in ARDOUR::create_backup_file to copy file for portablity
git-svn-id: svn://localhost/ardour2/branches/3.0@12846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:33 +00:00
8cb88c8c2e Replace use of PBD::sys::path with Glib equivalent
git-svn-id: svn://localhost/ardour2/branches/3.0@12845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:31 +00:00
d8520401d0 Remove now unnecessary header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:29 +00:00
28d7884eed Replace PBD::sys::path use in PBD::Stateful
git-svn-id: svn://localhost/ardour2/branches/3.0@12843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:27 +00:00
ae066dc52a Replace use of pbd/filesystem.h with Glib:: equivalents
There is also no need to try and create user_config_directory() as
calling it ensures it exists and is a valid directory

git-svn-id: svn://localhost/ardour2/branches/3.0@12842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:24 +00:00
352e63de4c Replace use of PBD::sys::path in PluginManager
git-svn-id: svn://localhost/ardour2/branches/3.0@12841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:22 +00:00
eb1c762985 Replace use of pbd/filesystem.h with Glib alternative
git-svn-id: svn://localhost/ardour2/branches/3.0@12840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:20 +00:00
1d31cd008d Replace use of PBD::sys::path in ARDOUR::find_bindings_files
git-svn-id: svn://localhost/ardour2/branches/3.0@12839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:18 +00:00
727e1faf01 Use static string in ARDOUR::user_config_directory
This code only needs to run once to determine/create users config directory

git-svn-id: svn://localhost/ardour2/branches/3.0@12838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:16 +00:00
a39990dee0 Replace use of PBD::sys::path in ARDOUR::user_config_directory
git-svn-id: svn://localhost/ardour2/branches/3.0@12837 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:14 +00:00
78c30ae9e4 Simplify ardour_*_search_path functions
Also fixes portability but windows build will likely not rely on env
variables

git-svn-id: svn://localhost/ardour2/branches/3.0@12836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:12 +00:00
69c518f91e Remove unused header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:09 +00:00
1dde2f0591 Replace use of PBD::sys::path in AudioLibrary
git-svn-id: svn://localhost/ardour2/branches/3.0@12834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:07 +00:00
306e6475e5 Replace use of PBD::sys::path in ardour/template_utils.h
some associated changes from not including pbd/filesystem.h in template_utils.h

git-svn-id: svn://localhost/ardour2/branches/3.0@12833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:05 +00:00
0f482627a5 Replace use of PBD::sys::path in ardour/session_state_utils.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:02 +00:00
7e7d053f53 Replace use of PBD::sys::path in ExportProfileManager
git-svn-id: svn://localhost/ardour2/branches/3.0@12831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:00 +00:00
33f63bd09c Replace use of PBD::sys::path in AudioRegionImporter
git-svn-id: svn://localhost/ardour2/branches/3.0@12830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:57 +00:00
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
6262eae7c0 Remove unnecessary header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@12827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:41 +00:00
a2f5ff9535 Remove two unnecessary header includes of pbd/mountpoint.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:39 +00:00
ec998b045e Remove unnecessary header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:37 +00:00
8770c4668d Remove unnecessary header include
git-svn-id: svn://localhost/ardour2/branches/3.0@12824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 03:51:34 +00:00
0dc43d677e don't try to backup sessions from older versions of ardour that are also read-only
git-svn-id: svn://localhost/ardour2/branches/3.0@12823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 19:44:11 +00:00
c0f7f044f3 introduce the idea of a "default transport speed", used whenever Session::start_transport() is called. Only the shuttle controller alters it, and even that only alters it in wheel mode, which means that stopping the transport does not rever the default speed back to zero. To get back to zero either switch the shuttle controller back to sprung mode, or change the speed back to zero (fixes #451 ... yes, really, a 3 digit bug fixed!)
git-svn-id: svn://localhost/ardour2/branches/3.0@12819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 14:45:44 +00:00
8c10320497 fix reset of transport speed when seamless looping; add a few comments and tidy-ups to related transport code
git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 14:27:51 +00:00
d70429a066 provide an easier way to add mixed (audio+MIDI) tracks to a session, to facilitate the use of plugins like Reaktor which accept both audio & MIDI data. there's probably still a paradigm shift waiting to happen here but its likely post-3.0.
git-svn-id: svn://localhost/ardour2/branches/3.0@12816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 01:45:16 +00:00
39becbeb70 smooth 0.5 second fade out during quit, plus MIDI panic to turn everything off (someone will want an opton for that, no doubt)
git-svn-id: svn://localhost/ardour2/branches/3.0@12814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 20:31:14 +00:00
Todd Naugle
33d17f176b missing includes
git-svn-id: svn://localhost/ardour2/branches/3.0@12813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 20:24:03 +00:00
Todd Naugle
61f879bcee Fixing issues with opening a browser when using the bundle. Use xdg-open instead of glib functions. Fix to epa to ensure that the enviroment is restored correctly. The current enviroment has to be cleared. Otherwise any variables that are set in the current enviroment, but do not have a setting in the restored version will be left set.
git-svn-id: svn://localhost/ardour2/branches/3.0@12812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 20:15:38 +00:00
8c87102688 a putatively better approach to cleaning up ports at session closing
git-svn-id: svn://localhost/ardour2/branches/3.0@12807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21 15:00:10 +00:00
83941f9988 when a session goes away, deliver silence to all current ports to prevent a horrible screech during cleanup/destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@12806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 22:24:14 +00:00
b8d724d57a remove sndfile debugging from export code
git-svn-id: svn://localhost/ardour2/branches/3.0@12805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 22:23:32 +00:00
Carl Hetherington
7a76e8ae96 Declick before the end of seamless loops, not after the end, so that loops are rendered accurately (#4213, #4593).
git-svn-id: svn://localhost/ardour2/branches/3.0@12801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 18:46:05 +00:00
Carl Hetherington
d863c20002 Comment declick stuff a bit, and fix confusing use of bool instead of int to hold the value.
git-svn-id: svn://localhost/ardour2/branches/3.0@12800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 18:45:58 +00:00
Carl Hetherington
816d3da840 Very minor tidy-up.
git-svn-id: svn://localhost/ardour2/branches/3.0@12791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 01:30:14 +00:00
271c8c8f00 sndfile/export debuggign with ricardus
git-svn-id: svn://localhost/ardour2/branches/3.0@12788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 19:22:03 +00:00
1df227424a patch from colinf that adds an 'empty' preset to the preset drop-down list, so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA.
git-svn-id: svn://localhost/ardour2/branches/3.0@12787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 16:02:24 +00:00
7a24e49fa0 2nd half of patch for handling LV2 presets from colinf (#4698)
git-svn-id: svn://localhost/ardour2/branches/3.0@12786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:59:50 +00:00
Carl Hetherington
944dae2a41 Write the topologically sorted route list back to the session's list so that the 1-processor process code sees it. Should fix #4937.
git-svn-id: svn://localhost/ardour2/branches/3.0@12784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:51:56 +00:00
Carl Hetherington
3dd8fbdefa Hush some debug messages.
git-svn-id: svn://localhost/ardour2/branches/3.0@12779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:28:13 +00:00
Carl Hetherington
4d1246e0ee Add load_session to profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 00:25:26 +00:00
a8237f1aed make switching between input+disk monitoring work "right" for MIDI tracks; also fix a bug that led to messages about notes already being on at program start because of a double seek with no read in between
git-svn-id: svn://localhost/ardour2/branches/3.0@12762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 19:20:59 +00:00
Carl Hetherington
9d74f6ece9 Simple arrangement to run basic load tests on a corpus
of sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:40 +00:00
Carl Hetherington
c502f0981f Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:26 +00:00
Carl Hetherington
24b418598a Make EnumWriter exceptions a bit more informative.
git-svn-id: svn://localhost/ardour2/branches/3.0@12758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:19 +00:00
Carl Hetherington
49fec4f430 Fix (?) failure to load A2 sessions with a ControlOut.
git-svn-id: svn://localhost/ardour2/branches/3.0@12757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:06 +00:00
Carl Hetherington
3d3fa9ae02 Fix up profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:58:10 +00:00
Carl Hetherington
611936f346 Use a map of region names to speed up
RegionFactory::new_region_name; should help with #2982.


git-svn-id: svn://localhost/ardour2/branches/3.0@12753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:57:03 +00:00
Carl Hetherington
20ceeb6d3e Do XML comparisons better in tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:12 +00:00
Carl Hetherington
2a5bfa6dcb Basic region naming test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:05 +00:00
Carl Hetherington
a8773900a8 Profile of duplicating lots of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:51 +00:00
Carl Hetherington
8fc866309f Resurrect profiling code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:11 +00:00
Carl Hetherington
5b0ade2527 Use hardware optimization when running tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:19:53 +00:00
Carl Hetherington
95377c141c Hacky fix for track height step losing 'grip' on the
track being resized (#4503).


git-svn-id: svn://localhost/ardour2/branches/3.0@12747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 16:57:21 +00:00
Carl Hetherington
add52f1c0e Remove believed-unnecessary and broken MIDI thru option;
should fix #4749.


git-svn-id: svn://localhost/ardour2/branches/3.0@12746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 14:28:10 +00:00
Carl Hetherington
2e71cb2e26 Add option to disable autoscroll of editor (#4721).
git-svn-id: svn://localhost/ardour2/branches/3.0@12744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 12:38:59 +00:00
Carl Hetherington
00f51c6abf Add missing set_state of _mute_control; fixes #3959.
git-svn-id: svn://localhost/ardour2/branches/3.0@12742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 19:00:38 +00:00
Carl Hetherington
daffec502e Return silence from read_from_sources() if we try to read a channel that our source does not have (if replicate-missing-region-channels is turned off); should fix #4934.
git-svn-id: svn://localhost/ardour2/branches/3.0@12741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 18:18:30 +00:00
Carl Hetherington
5ac22e9095 Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for
AutomationList.  SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.



git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 17:20:10 +00:00
9429401f11 MCP: patch from seablade to fix pot displays (both absolute value and negative values)
git-svn-id: svn://localhost/ardour2/branches/3.0@12739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 03:10:26 +00:00
5b1da330a4 Ssshhhhh....
git-svn-id: svn://localhost/ardour2/branches/3.0@12738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 03:08:28 +00:00
223a5e217a extra insurance against ProcessThread::init() being called more than once
git-svn-id: svn://localhost/ardour2/branches/3.0@12737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:53:50 +00:00
0ea8ba3f56 never try to remove state from a read-only session
git-svn-id: svn://localhost/ardour2/branches/3.0@12735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:50:20 +00:00
Carl Hetherington
e258a15330 Simple test for playlist region equivalency.
git-svn-id: svn://localhost/ardour2/branches/3.0@12724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:32 +00:00
Carl Hetherington
b7f586f0a3 Remove debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@12723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 13:01:16 +00:00
Carl Hetherington
2b8912f790 Hopefully fix race between engine being halted and butler
being destroyed.


git-svn-id: svn://localhost/ardour2/branches/3.0@12722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 11:45:10 +00:00
Carl Hetherington
d8f48e6a9d Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@12721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14 11:32:12 +00:00
Carl Hetherington
72642335d1 Slightly tweaked patch from royvegard to add optional threshold for catch-up of non motorised controls in generic MIDI surfaces (#4828).
git-svn-id: svn://localhost/ardour2/branches/3.0@12716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 21:53:50 +00:00
Carl Hetherington
30573893a9 Add operation_in_progress() method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 16:46:59 +00:00
Carl Hetherington
d341088f13 Fix some uninitialised variable warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@12702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 15:38:15 +00:00
38897f7df4 add use of access(2) to filesystem exists_and_is_writable() implementation, to pick up filesystems mounted read-only
git-svn-id: svn://localhost/ardour2/branches/3.0@12701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 15:09:40 +00:00
bd92282cc4 flip default value of Plugin::presets_are_MIDI_programs and Plugin::current_preset_uses_general_midi
git-svn-id: svn://localhost/ardour2/branches/3.0@12697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 11:55:15 +00:00
Rodrigo Severo
1bd34a34f7 Small change to Timecode display (SMTPE) in the Mackie.
git-svn-id: svn://localhost/ardour2/branches/3.0@12694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 03:09:46 +00:00
Rodrigo Severo
335bf3d21e Prevents a master fader being created without a control at Surface::setup_master_fader;
Several DEBUG_TRACE changes to help identify race conditions;

git-svn-id: svn://localhost/ardour2/branches/3.0@12693 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 03:07:50 +00:00
Rodrigo Severo
0d002fb231 Bogus commit to comment commit 12689:
Small patch to fix the "Solo" global button in the transport section of Mackie's.

git-svn-id: svn://localhost/ardour2/branches/3.0@12690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 21:09:53 +00:00
Rodrigo Severo
32541205dd git-svn-id: svn://localhost/ardour2/branches/3.0@12689 d708f5d6-7413-0410-9779-e7cbd77b26cf 2012-06-12 21:04:13 +00:00
Carl Hetherington
92432f3e80 Handle failure of statfs to return available disc space on Samba shares mounted via GVFS, reporting available space as unknown in this case (#4657).
git-svn-id: svn://localhost/ardour2/branches/3.0@12674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 16:41:29 +00:00
d1d08e3910 fix complete screw up in connecting MIDNAM PatchNameList with ChannelNameSets; more tweaks and twirls for patch/program change mgmt
git-svn-id: svn://localhost/ardour2/branches/3.0@12673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 16:32:06 +00:00
557f56a7f2 more changes to patch change/plugin preset support - replace regexp replacement with boost::replace_all(), actually find programs/patches in the data we have, and more. notable changes to constructors and structure of various MIDI::Name objects
git-svn-id: svn://localhost/ardour2/branches/3.0@12667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 04:05:10 +00:00
d97312d438 lots more work trying to create a common structure for accessing plugin and MIDNAME patch/preset/program names. still not done
git-svn-id: svn://localhost/ardour2/branches/3.0@12665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 22:59:35 +00:00
Carl Hetherington
f4ed14a83b Factor out 'persistent' tooltip code from the panner
interface and use it for processor box sliders (#4461).


git-svn-id: svn://localhost/ardour2/branches/3.0@12661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 21:21:10 +00:00
960de7306f partially-done (but compile-friendly) move of instrument info into a new backend object
git-svn-id: svn://localhost/ardour2/branches/3.0@12652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 12:07:17 +00:00
Carl Hetherington
c40437430a Make send automation work (#4734).
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 10:42:30 +00:00
Carl Hetherington
9e4fc0e57f Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 09:50:48 +00:00
23350c195d remove craziness of propagating MIDI 7 bit limits into MIDNAM handling by replacing bank_msb/lsb with "bank" ; move responsibility for discovering patch names into MIDI trackview (soon to move again)
git-svn-id: svn://localhost/ardour2/branches/3.0@12647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 16:42:17 +00:00
Carl Hetherington
0f039ad5a9 Add test for compound regions with the layering
reversed.


git-svn-id: svn://localhost/ardour2/branches/3.0@12644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:39 +00:00
Carl Hetherington
2022a05c00 Set up layering correctly on compound playlists so that
the regions on the compound list are arranged the same
as on the original.


git-svn-id: svn://localhost/ardour2/branches/3.0@12643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:33 +00:00
Carl Hetherington
f519f469b2 Fix off-by-one in computation of crossfade lengths.
git-svn-id: svn://localhost/ardour2/branches/3.0@12642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10 13:07:28 +00:00
Carl Hetherington
1dc8d99d78 Clean up libardour tests a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@12641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 23:07:27 +00:00
Carl Hetherington
a715e566d0 Send OSC URL announcement to the info stream.
git-svn-id: svn://localhost/ardour2/branches/3.0@12640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 22:37:05 +00:00
Carl Hetherington
661a0444f4 Fix crash in tests; not sure about the root cause.
git-svn-id: svn://localhost/ardour2/branches/3.0@12639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 22:36:59 +00:00
Carl Hetherington
d14d30216b Delete the session before the AudioEngine is stopped, as the mackie surface code wants to send out MIDI as it dies.
git-svn-id: svn://localhost/ardour2/branches/3.0@12638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:07:33 +00:00
Carl Hetherington
4f9a747655 Test combination of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:07:22 +00:00
Carl Hetherington
886a8c0f77 Comment tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@12636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:06:59 +00:00
Carl Hetherington
d00e4589d0 Fix off-by-one in body_range().
git-svn-id: svn://localhost/ardour2/branches/3.0@12635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:06:45 +00:00
Carl Hetherington
2492b43b56 Fix crash when MackieControlProtocol has gone away.
git-svn-id: svn://localhost/ardour2/branches/3.0@12634 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:06:22 +00:00
Carl Hetherington
9dc61bff3a Comment tweak.
git-svn-id: svn://localhost/ardour2/branches/3.0@12633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:06:12 +00:00
Carl Hetherington
4e906f7607 Send LV2 notes to the info stream.
git-svn-id: svn://localhost/ardour2/branches/3.0@12632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 21:06:05 +00:00
71427323ec MCP: latest patch from Rodrigo:
* fixes Master Fader Touch button in the Mackie;
    * implements a MasterFaderTouch global button;
    * removes unused MackieControlProtocol::_transport_previously_rolling property;
    * implements DeviceInfo::get_global_button() method;
    * creates GlobalButtonsInfo and StripButtonsInfo types in DeviceInfo;
    * implements Surface::_last_master_gain_written property to help master fader feedback;
    * makes Surface respect _mcp.device_info().strip_cnt() to create master fader and when connecting signals for strips and master fader instead of using hardcoded 8;
    * removed a few unnecessary updates in Surface::turn_it_on();
    * included master_gain_changed() in Surface::periodic();
    * implemented MackieControlProtocol::master_fader_touch_press and
    * MackieControlProtocol::master_fader_touch_release;



git-svn-id: svn://localhost/ardour2/branches/3.0@12631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 19:06:52 +00:00
Carl Hetherington
de2d3057b5 Rename import_audiofiles -> import_files.
git-svn-id: svn://localhost/ardour2/branches/3.0@12628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 15:04:11 +00:00
Carl Hetherington
b130bc5973 Remove extra .mid suffix added to cloned MIDI region names (#4914).
git-svn-id: svn://localhost/ardour2/branches/3.0@12627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 14:09:00 +00:00
Carl Hetherington
0a4b746317 No-op; some comments, remove some unused stuff, minor tidying up.
git-svn-id: svn://localhost/ardour2/branches/3.0@12616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-08 21:06:49 +00:00
Carl Hetherington
f13119d2e1 Slightly grubby hack to fix up the state of the Window->Mixer menu item when the mixer is opened on starting Ardour (#4808).
git-svn-id: svn://localhost/ardour2/branches/3.0@12599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-07 21:51:25 +00:00
Carl Hetherington
af22f1047d Don't set TimeFXRequest done to true too early; it must only be set after Editor::do_timefx has added its StatefulDiffCommands. Should fix #4897 and duplicates.
git-svn-id: svn://localhost/ardour2/branches/3.0@12597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-07 20:57:21 +00:00
Carl Hetherington
c5fd217a4a Updated Spanish translation from Pablo_F (#4912).
git-svn-id: svn://localhost/ardour2/branches/3.0@12588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 17:54:56 +00:00
a56ab30261 MCP: latest patch from Rodrigo:
* delays Mackie's led initialization until the Mackie is actually ready to receive messages;
    * at the button X function mapping customization interface in Preferences:
          o show specific device names instead of global ones;
          o mark the buttons that are actually available in the device with a *;
          o included a bottom text explaining what the * means;
    * created a DeviceInfo::get_global_button_name(Button::ID) method;
    * included several DEBUG_TRACE in mackies code;
    * renamed device buttons and groups according to the following logic: Mackie buttons are named exactly like a actual (mine) Mackie names them on the interface itself. Logic Control buttons are named exactly like they appear at Logic Pro 7.2.1 Dedicated Control Surface Support manual;
    * improved timecode display (new format);


git-svn-id: svn://localhost/ardour2/branches/3.0@12582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 12:20:57 +00:00
Carl Hetherington
654ab59d52 Call PBD::EnumWriter::destroy in ARDOUR::cleanup (from
Tim Mayberry).


git-svn-id: svn://localhost/ardour2/branches/3.0@12580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:58:38 +00:00
Carl Hetherington
3dfb0c7ae9 Call ARDOUR::cleanup at the end of libardour tests (from
Tim Mayberry).


git-svn-id: svn://localhost/ardour2/branches/3.0@12579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:58:28 +00:00
Carl Hetherington
070e724190 Patch from Tim Mayberry:
Remove redundant init and cleanup code from common test code

Calling PBD::EnumWriter::destroy means ARDOUR::init and setup_libpbd_enums need to be called again
to register types. If the call to EnumWriter::destroy is removed then ARDOUR::init and setup_libpbd_enums
no longer need to be called. EnumWriter::destroy should probably be added to ARDOUR::cleanup(or better yet PBD::cleanup)
and then called at the end of main. __attribute__ ((destructor)) could be used but that is not portable between


git-svn-id: svn://localhost/ardour2/branches/3.0@12578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:58:15 +00:00
Carl Hetherington
46e448252f Provide dialogs to edit pan values numerically, at least for
mono and stereo panners.


git-svn-id: svn://localhost/ardour2/branches/3.0@12577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:47:09 +00:00
Carl Hetherington
f6e869d50d Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06 11:23:45 +00:00
9a0b1cce07 when selecting one of a set of variable I/O configs for an AudioUnit so that its output matches its input, be sure to define the output configuration before returning to continue with configuration of subsequent processors. Fixes crash when loading various non-apple AU's as the first pre-fader plugin (#4909)
git-svn-id: svn://localhost/ardour2/branches/3.0@12566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-05 04:25:53 +00:00
Carl Hetherington
eaf58fdd50 Marginal cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@12565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-05 01:03:36 +00:00
ab9a1eb348 make ARDOUR::AutomationList state management full locale-independent
git-svn-id: svn://localhost/ardour2/branches/3.0@12553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-04 15:22:24 +00:00
Carl Hetherington
d2f61e0f4c Look in the UsesPatchNameList for the name rather than
its parent.


git-svn-id: svn://localhost/ardour2/branches/3.0@12551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-03 15:47:23 +00:00
Carl Hetherington
fd89d52af5 Fix operator< so that strict weak ordering is
maintained, so that key lookups work.


git-svn-id: svn://localhost/ardour2/branches/3.0@12542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 14:53:26 +00:00
6d46299df3 MCP: another patch from rodrigo:
* setting a (arbitraty) limit to zoom out to prevent segfaults because out of memory condition;
    * setting initial update of master fader, and read, play and stop leds on the Mackie;
    * changed the timecode display char selection for update algorithm as chars are sent one by one and not all right most;
    * implemented method of showing timecode at the mackie to better deal with the differences between Ardour's foramts and Mackie's, i.e, use spaces in place of the zeros that had no meaning;
    * preventing timecode display updates when the surface isn't yet active.


git-svn-id: svn://localhost/ardour2/branches/3.0@12541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 14:51:53 +00:00
1cb5aed0ce couple of fixes to enable building, and building with gtkmm 2.2(<4)
git-svn-id: svn://localhost/ardour2/branches/3.0@12540 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02 14:50:09 +00:00
bbcfffc2da revert part of earlier MCP patch from rodrigo
git-svn-id: svn://localhost/ardour2/branches/3.0@12534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 21:25:12 +00:00
Carl Hetherington
c1c5151ca4 Prevent latency measurement output buffer being silenced by
cycle_end, to fix port insert latency measurement (#4504).


git-svn-id: svn://localhost/ardour2/branches/3.0@12530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 18:24:38 +00:00
Carl Hetherington
162d672769 Minor tidy-ups to MTDM code; add test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 16:52:56 +00:00
Carl Hetherington
6930071cdb When we rename a track, only rename its playlist if it
has never contained any regions (#4759).


git-svn-id: svn://localhost/ardour2/branches/3.0@12525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 15:19:30 +00:00
ba5e71b50f MCP: Patch from Rodrigo that:
* implements Metering on/off through Button::Read as per Seablade's suggestion. I choose this button as it's the "Show meters" button in Traktion;
    * removes redundant code from Meter::update_transport_rolling();
    * renames Meter::update_transport_rolling() to Meter::notify_metering_state_changed();
    * renamed Surface::notify_transport_state_changed() to Surface::notify_metering_state_changed();
    * renamed Strip::notify_transport_state_changed() to Strip::notify_metering_state_changed();
    * created MackieControlProtocol::notify_metering_state_changed() and made MackieControlProtocol::notify_transport_state_changed() use it;
    * implemented turning off of timecode display and two char display in Surface::zero_all ();
    * implemented master fader zeroing in Surface::zero_all ();
    * calling Surfaces->zero_all() at MackieControlProtocol destructor;
    * implemented restore of 2nd LCD line content after metering being active.



git-svn-id: svn://localhost/ardour2/branches/3.0@12520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 12:56:20 +00:00
bc3aea6f93 fix construction of new xfades from legacy xfades, and add a few comments here and there
git-svn-id: svn://localhost/ardour2/branches/3.0@12519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 01:07:00 +00:00
Carl Hetherington
e39a8fc968 Make faders visually desensitised when their tracks are in automation-play.
git-svn-id: svn://localhost/ardour2/branches/3.0@12518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 00:41:28 +00:00
Carl Hetherington
06aa9c7435 Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 22:44:29 +00:00
Carl Hetherington
1db2be2fef Fix uninitialised variable causing garbage output from panners in some cases.
git-svn-id: svn://localhost/ardour2/branches/3.0@12515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 20:58:29 +00:00
Carl Hetherington
a6786a6dd2 Hopefully less bad version of Evoral::RangeList::subtract,
with more tests.


git-svn-id: svn://localhost/ardour2/branches/3.0@12514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 20:23:31 +00:00
Carl Hetherington
19becdf7e0 Add primary-modifier click on monitor knobs to go to -inf dB (part
of patch by emem in #4726).


git-svn-id: svn://localhost/ardour2/branches/3.0@12511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 18:04:54 +00:00
Carl Hetherington
6a4628e50a Use the same logic to decide on step size when scroll-wheeling faders in the mixer and knobs in the monitor section (part of #4726).
git-svn-id: svn://localhost/ardour2/branches/3.0@12510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 18:04:47 +00:00
5c298dfef3 fix comment regarding keyboard modifiers on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@12501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 14:01:46 +00:00
0b958b7f15 allow alt-drag on stereo panner to move just one side of the stereo field. this wiggles a bit, possibly because of rounding, and that probably needs to be addressed
git-svn-id: svn://localhost/ardour2/branches/3.0@12500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 13:58:59 +00:00
78c0811ed7 revert previous change
git-svn-id: svn://localhost/ardour2/branches/3.0@12498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 21:19:28 +00:00
643350c4e7 try not thinning when loading old-school automation lists
git-svn-id: svn://localhost/ardour2/branches/3.0@12497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 21:07:15 +00:00
bfefff3588 rethink how to load legacy crossfades as new-style xfades
git-svn-id: svn://localhost/ardour2/branches/3.0@12496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 19:30:38 +00:00
71dd60c736 don't abort when loading legacy xfades if the constituent regions cannot be found
git-svn-id: svn://localhost/ardour2/branches/3.0@12495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 16:16:27 +00:00
ddc513c38d debugging legacy xfade loading, part 2
git-svn-id: svn://localhost/ardour2/branches/3.0@12494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 15:43:56 +00:00
92a5107037 debugging legacy xfade loading
git-svn-id: svn://localhost/ardour2/branches/3.0@12493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 15:36:09 +00:00
28e3bc3ac7 MCP: metering changes from rodrigo, makes metering work correctly on the MC Pro (also checked on the nucleus)
git-svn-id: svn://localhost/ardour2/branches/3.0@12489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 14:32:27 +00:00
cd58caa93b MCP: remove misleading and confusing and out of date comment
git-svn-id: svn://localhost/ardour2/branches/3.0@12485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-30 00:01:15 +00:00
28aed9e0d1 MCP: correct display of timecode
git-svn-id: svn://localhost/ardour2/branches/3.0@12484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29 23:44:34 +00:00
1491787cfb MCP: fix assigment of outbound sysex messages, and don't drain port->selectable() for ipMIDI devices, since this throws away all incoming data, which arrives on the same fd as port->selectable() (unlike JACK MIDI)
git-svn-id: svn://localhost/ardour2/branches/3.0@12483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29 23:30:13 +00:00
40ef762db4 fix missing negation from previous MCP commit
git-svn-id: svn://localhost/ardour2/branches/3.0@12482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29 20:34:19 +00:00
1d5bade8a1 patch from rodrigo severo to make mackie timecode display work
git-svn-id: svn://localhost/ardour2/branches/3.0@12480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29 20:18:43 +00:00
7198894473 don't reset region fades to default after a playlist op unless the fades used to be part of an xfade and now no longer are (should fix #4893)
git-svn-id: svn://localhost/ardour2/branches/3.0@12476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29 12:54:49 +00:00
Carl Hetherington
ec362b39ad Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@12469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 16:48:39 +00:00
Carl Hetherington
7eb8a33910 Add path_is_within to decide if a path is within a given
directory, taking symlinks into account, and use it to
decide whether a file is within the session folder.  Should
fix #4552.


git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 16:32:41 +00:00
d825f20a32 explicit checks for all components of the LV2 stack
git-svn-id: svn://localhost/ardour2/branches/3.0@12465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 13:51:26 +00:00
3696f98e6f Re-implement URIMap to tolerate broken plugins that use the wrong context to
map MIDI event types (fix #4889).

All uri-map contexts are now just ignored, and equivalent to urid (which is
equivalent to uri-map with context NULL).  We now just hope that no event types
are mapped after UINT16_MAX URIs have been mapped, and die horribly otherwise.
This is exceedingly unlikely to happen any time in the next several years, if
ever.


git-svn-id: svn://localhost/ardour2/branches/3.0@12462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 23:05:45 +00:00
bdfd71602f add a fix for the one problem case from the last commit: region splitting, where we don't announce regions until the entire edit op is done, but for naming purpoes each new region created needs to be in the map. likely that i will commit a better, cleaner fix for this later
git-svn-id: svn://localhost/ardour2/branches/3.0@12458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:22:45 +00:00
20299f71e3 don't add regions created with announce=false to the global region map. i hope this doesn't have too many side effects ...
git-svn-id: svn://localhost/ardour2/branches/3.0@12457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:08:03 +00:00
06c7a5da6b don't alter session search path frm within FileSource constructor, do it when a source is added to the session; related - don't add sources that are created with announce=false to the session, and as a (new) corollary, no longer cause them to potentially alter the session search path (this applies mostly to sources created for auditioning)
git-svn-id: svn://localhost/ardour2/branches/3.0@12456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:07:30 +00:00
341d033b2c MIDI::Port::(get|set)_state() should be virtual, so that derived classes get their chance in the sun. Fixes #4887
git-svn-id: svn://localhost/ardour2/branches/3.0@12455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 16:49:51 +00:00
d7a32eb85e MCP: remember to drain the x-thread FIFO that tells us that JACK MIDI data has been received
git-svn-id: svn://localhost/ardour2/branches/3.0@12453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 10:57:36 +00:00
e3f73f2655 convert audioregion xfade stuff to properties, add "is-short" property for fade in and out so that we can keep track of whether an (x)fade is supposed to remain "short", and don't do "mess-with-region-below" stuff when trimming a short xfade. should be back-compatible with 3beta4a
git-svn-id: svn://localhost/ardour2/branches/3.0@12452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-26 01:24:01 +00:00
2d017301f9 add ::length() method to Evoral::ControlList
git-svn-id: svn://localhost/ardour2/branches/3.0@12451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25 19:59:11 +00:00
8d41955b3d missing method for MCP
git-svn-id: svn://localhost/ardour2/branches/3.0@12449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25 17:56:26 +00:00
9dae320b12 always create short xfades when adding a region based on capture
git-svn-id: svn://localhost/ardour2/branches/3.0@12443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 22:03:19 +00:00
450965602b remove old RECMUTEX conditional
git-svn-id: svn://localhost/ardour2/branches/3.0@12441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 21:33:42 +00:00
7d252412c3 add support for <HasMeters value=XX/> stanza in MCP device info file
git-svn-id: svn://localhost/ardour2/branches/3.0@12440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 19:27:29 +00:00
Carl Hetherington
80095b7c9d Missing include.
git-svn-id: svn://localhost/ardour2/branches/3.0@12433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:43:13 +00:00
Carl Hetherington
7110c6de67 Tweak comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:43:07 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
27a1cf2cf7 Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:

CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build


git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:54:10 +00:00
effe4de188 Fix blatang logic errors (?), which is rather odd since this file was generated by Vala...
git-svn-id: svn://localhost/ardour2/branches/3.0@12417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:51:30 +00:00
b99131f21e fix bug that has existed since rev 17 when evaluating a curve in a position before the first point of the curve
git-svn-id: svn://localhost/ardour2/branches/3.0@12411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 01:43:02 +00:00
Carl Hetherington
37bc04f230 Opaque region bodies should overwrite whatever is already in
the buffer; fix crash when the sum of the fade in and out
is longer than the region.


git-svn-id: svn://localhost/ardour2/branches/3.0@12410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:54:51 +00:00
Carl Hetherington
ba56c4bd03 Add test for a transparent region on top of (and enclosing) another.
git-svn-id: svn://localhost/ardour2/branches/3.0@12409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:53:23 +00:00
6c6769d84a fix search path for MIDNAM files
git-svn-id: svn://localhost/ardour2/branches/3.0@12407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 23:09:37 +00:00
7873fdb55c alter API for MIDI cloning to facilitate export
git-svn-id: svn://localhost/ardour2/branches/3.0@12401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 20:32:29 +00:00
2a262b55cb stop deadlock when pasting into a playlist
git-svn-id: svn://localhost/ardour2/branches/3.0@12400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 20:32:12 +00:00
Carl Hetherington
99c1aacc23 Fix up tests now that operator= on ScopedConnection disconnects the old connection that it held.
git-svn-id: svn://localhost/ardour2/branches/3.0@12395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 16:22:51 +00:00
ccfeb90bdc MCP: pay attention to listen changes as well as solo changes, and reflect listen state with solo button, just like solo
git-svn-id: svn://localhost/ardour2/branches/3.0@12385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 21:38:03 +00:00
f9030dd220 merge new symmetric curve from mixbus, fix errors in fade out slow curve, tweak display of xfades so that the non-upper-fade is slightly less dominant (alpha)
git-svn-id: svn://localhost/ardour2/branches/3.0@12384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 21:23:22 +00:00
23ad8b9f94 remove debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@12380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 13:05:43 +00:00
9b99596c6e remove debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@12379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 13:05:13 +00:00
Carl Hetherington
fa1e12b682 Slightly hacky improvement to embolden the labels of
connection matrix tabs when they have connections.


git-svn-id: svn://localhost/ardour2/branches/3.0@12371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 21:50:29 +00:00
451a03d68a more 64bit VM debugging nonsense (svn in the fastest route between my system and the VM :)
git-svn-id: svn://localhost/ardour2/branches/3.0@12368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 20:44:04 +00:00
8c73a62ee0 split apart mackie meter messages when we have to send two, one to turn on/off the overload indicator and one to set the level. this avoids MIDI bridge issues with non-canonical MIDI messages
git-svn-id: svn://localhost/ardour2/branches/3.0@12367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 19:02:44 +00:00
a6c3508bd3 ugly debugging code to try to track down what is going on the 64 bit build VM
git-svn-id: svn://localhost/ardour2/branches/3.0@12366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 18:40:36 +00:00
c7e9102437 a bit more debug on info when we fail to read from a SndFileSource
git-svn-id: svn://localhost/ardour2/branches/3.0@12357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 11:07:41 +00:00
Carl Hetherington
23a615a6db Must disconnect old UnscopedConnection when setting a new one in operator=, otherwise the old one is leaked.
git-svn-id: svn://localhost/ardour2/branches/3.0@12356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 10:26:10 +00:00
d52012f398 remove Tranzport configure option, since the code will not work
git-svn-id: svn://localhost/ardour2/branches/3.0@12353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 09:30:00 +00:00
efbeb2dd1a don't specify VAMP_PATH in regular code. it should be given either in the bundle fixup_environment() call or in a startup script
git-svn-id: svn://localhost/ardour2/branches/3.0@12350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 23:06:46 +00:00
9e50baae63 don't say "can throw" and then fail to catch
git-svn-id: svn://localhost/ardour2/branches/3.0@12347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 20:59:38 +00:00
9c5bcc0f10 imported sources should be marked as non-writable and non-removable, always
git-svn-id: svn://localhost/ardour2/branches/3.0@12346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 20:52:54 +00:00
b7e3d20302 prevent xfades from being dragged to a longer length than the region that owns them
git-svn-id: svn://localhost/ardour2/branches/3.0@12332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 16:40:05 +00:00
Carl Hetherington
6beff737fe Fix up tests after path changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@12331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 14:46:50 +00:00
Carl Hetherington
e5e6629324 Correct error message.
git-svn-id: svn://localhost/ardour2/branches/3.0@12330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 14:46:44 +00:00
813c5f0af9 major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)

git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18 17:24:06 +00:00
Carl Hetherington
433b6651ee Fix unnecessary backups of session files.
git-svn-id: svn://localhost/ardour2/branches/3.0@12325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 14:42:46 +00:00
Carl Hetherington
2258952197 Add MCP path to test script to stop it complaining.
git-svn-id: svn://localhost/ardour2/branches/3.0@12322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 13:39:07 +00:00
8647471379 Fix posix_memalign checks.
git-svn-id: svn://localhost/ardour2/branches/3.0@12316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 00:54:43 +00:00
Carl Hetherington
8aca90e593 Fix libpbd tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 23:11:16 +00:00
Carl Hetherington
312c4e22a7 Align the address of the pointer to the fxsave block to a 16-byte boundary (as well as the pointer itself), which the internets seem to suggest is required.
git-svn-id: svn://localhost/ardour2/branches/3.0@12313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 22:43:23 +00:00
Carl Hetherington
c95fb95f3a Tweak comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 12:10:06 +00:00
85e4dd3d73 let's do this right if we're going to do it at all ..
git-svn-id: svn://localhost/ardour2/branches/3.0@12302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:19:15 +00:00
88f6395134 switch to a RWLock for Playlist, to allow simultaneous reads (which can happen occasionally, eg. peak and butler threads)
git-svn-id: svn://localhost/ardour2/branches/3.0@12301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:16:34 +00:00
c1300a0172 reset _signal member of a Connection so that we will never try to disconnect twice
git-svn-id: svn://localhost/ardour2/branches/3.0@12299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:06:16 +00:00
Carl Hetherington
c06d747150 Keep tests up to date with reality.
git-svn-id: svn://localhost/ardour2/branches/3.0@12297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 19:32:39 +00:00
Carl Hetherington
8bdd0304d7 Remove some debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@12296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 19:31:13 +00:00
23f03f995f remove two instances of static/global ScopedConnectionList. one remains worth thinking about for semantics (libs/pbd/controllable.cc:registry_connections)
git-svn-id: svn://localhost/ardour2/branches/3.0@12295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 15:32:53 +00:00
2fb30ea54d don't apply inverse fades if a region is not acoustically opaque
git-svn-id: svn://localhost/ardour2/branches/3.0@12294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 15:24:14 +00:00
Carl Hetherington
b54779ec41 Try to make signals.h.py more cross-python-version compatible.
git-svn-id: svn://localhost/ardour2/branches/3.0@12285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 10:43:47 +00:00
Carl Hetherington
b936f971e8 Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 01:23:55 +00:00
Carl Hetherington
4d22a4345a Tidy up a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@12283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:37 +00:00
Carl Hetherington
a6fdd6c915 Maybe fix typename / no-typename problems better.
git-svn-id: svn://localhost/ardour2/branches/3.0@12282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:33 +00:00
Carl Hetherington
67b74ed1c7 Remove bind to shared_ptr.
git-svn-id: svn://localhost/ardour2/branches/3.0@12281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:26 +00:00
Carl Hetherington
5bbbc98533 Add missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@12280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:17 +00:00
Carl Hetherington
32bed9aaf0 Make ScopedConnectionList's mutex non-static so that one
list's destruction can cause another without a
deadlock.


git-svn-id: svn://localhost/ardour2/branches/3.0@12279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:06 +00:00
Carl Hetherington
14a86aaccc Merge old a new signals code into one set of classes.
git-svn-id: svn://localhost/ardour2/branches/3.0@12278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:05:57 +00:00
Carl Hetherington
0c3f6d9819 Remove the need for a shared_ptr for Signal; signal
tells its connections that it's going away, instead.


git-svn-id: svn://localhost/ardour2/branches/3.0@12277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:05:25 +00:00
Carl Hetherington
42267ff78c Remove debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@12276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:04:36 +00:00
Carl Hetherington
f012a84e62 Build libs/pbd/pbd/signal.h from its generator python
script.


git-svn-id: svn://localhost/ardour2/branches/3.0@12268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 17:46:07 +00:00
b14c75172b remove inclusion of boost/signasl2.hpp
git-svn-id: svn://localhost/ardour2/branches/3.0@12267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 17:46:03 +00:00
22ffdf21fe fix --test build on OSX Lion by commenting out code that does not compile
git-svn-id: svn://localhost/ardour2/branches/3.0@12266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 17:43:52 +00:00
1e0fd01815 drop boost::signals2 and replace with carl's solution which continues to rely on boost::function and boost::bind but alters two important semantics of signals2: (1) when a Connection object is disconnected, the slot ("functor") associated with the connection is destroyed immediately, unlike signals2 where this is deferred to a subsequent connect/emit call on the signal (2) if one functor called by the signal disconnects another Connection, the functor represented by the Connection will NOT be called during the current signal emission (signals2 copies the slot list at the start of emission and calls everything in the slot list). this change fixes some very nasty crashes apparently caused by boost::signals2 assuming that the memory referenced by a functor remains valid after a disconnect (google will show other developers who had issues with this).
git-svn-id: svn://localhost/ardour2/branches/3.0@12265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 17:18:48 +00:00
37969d837e remove virtual inheritance of sigc::trackable by Receiver and AbstractUI<T>, done by changing Gtkmm2ext::UI to use composition (HAS-A) rather than inheritance (IS-A) for Receiver; use correct synchronization when starting up a BseUI event loop thread so that tests that start/stop quickly do not encounter a race condition
git-svn-id: svn://localhost/ardour2/branches/3.0@12264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 17:07:53 +00:00
69a242ba64 fix for --test build on OSX
git-svn-id: svn://localhost/ardour2/branches/3.0@12262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-14 13:34:50 +00:00
Carl Hetherington
7d09c5627b Add test for strange boost-related crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@12261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-12 19:34:02 +00:00
60904be8ef fully tear down Mackie GUI when disabling mackie
git-svn-id: svn://localhost/ardour2/branches/3.0@12258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-12 14:12:51 +00:00
1d75f753d8 don't load symlinks when trying to discover control protocol shared objects
git-svn-id: svn://localhost/ardour2/branches/3.0@12257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-12 14:12:23 +00:00
d914c4ec89 alter computation of inverse constant power curves
git-svn-id: svn://localhost/ardour2/branches/3.0@12255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11 21:51:38 +00:00
8d828faa64 remove some debug noise from previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@12254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11 21:33:02 +00:00
a98fa4bc61 switch to 5 new fade curves, taken from mixbus2 branch. make xfade context menus functional even though the images are not accurate
git-svn-id: svn://localhost/ardour2/branches/3.0@12253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11 21:30:36 +00:00
4d780bdcd0 provide some support for mackie devices like Steinberg's CMCs that do not do the normal Mackie spec handshaking
git-svn-id: svn://localhost/ardour2/branches/3.0@12252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11 16:04:09 +00:00
877c3f37c4 stop crash if an error message is generated before the style RC file is loaded
git-svn-id: svn://localhost/ardour2/branches/3.0@12248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10 22:45:56 +00:00
4302649bd9 Fix compilation on Windows. Probably.
git-svn-id: svn://localhost/ardour2/branches/3.0@12246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10 21:53:01 +00:00
eaf548f49f don't trim regions in conjunction with xfade trimming unless auto-xfade and full-overlap-xfades are selected
git-svn-id: svn://localhost/ardour2/branches/3.0@12245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10 21:40:10 +00:00
6e6b3d325b trim a single other region when adjusting xfade length
git-svn-id: svn://localhost/ardour2/branches/3.0@12241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10 18:17:47 +00:00
da7215e1ad if an xfade involves only 2 regions, clamp its length to the overlap between them
git-svn-id: svn://localhost/ardour2/branches/3.0@12238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10 12:14:26 +00:00
44cd222eb2 i18n-ization
git-svn-id: svn://localhost/ardour2/branches/3.0@12233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 23:03:43 +00:00
15b5e07ec4 change inverse fades when changing fade length
git-svn-id: svn://localhost/ardour2/branches/3.0@12232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 22:31:07 +00:00
1b6bac8c54 correctly save & restore xfade state
git-svn-id: svn://localhost/ardour2/branches/3.0@12231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 22:14:11 +00:00
482e15a424 correct cut-n-paste error in new comments for signals.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 18:16:12 +00:00
7b903febf9 remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@12229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 18:15:58 +00:00
5a7a89e068 add a (potentially temporary) discover button for mackie devices
git-svn-id: svn://localhost/ardour2/branches/3.0@12228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 16:44:06 +00:00
73161988bb add some explanatory comments to pbd/signals.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 16:25:50 +00:00
Carl Hetherington
c8f6f87ea7 Fix critical glib warning if a BaseUI is quit without
being started.


git-svn-id: svn://localhost/ardour2/branches/3.0@12219 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09 10:34:00 +00:00
365658e734 fix up overly-persistent active state for control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@12212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-08 16:25:13 +00:00
8c53e14e6c stop using STATIC_PATHS to define system search paths
git-svn-id: svn://localhost/ardour2/branches/3.0@12210 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-08 15:23:55 +00:00
ad39f598ae move ::reconfigurable_io() from Plugin to PluginInfo so that the GUI can offer correct information without having ccess to a Plugin instance
git-svn-id: svn://localhost/ardour2/branches/3.0@12200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-07 22:00:42 +00:00
962cb31294 tweak MCP search paths
git-svn-id: svn://localhost/ardour2/branches/3.0@12195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-05 20:29:46 +00:00
d8627637a5 change detection system for liblo to use pkgconfig and test in only one place
git-svn-id: svn://localhost/ardour2/branches/3.0@12194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-05 20:04:30 +00:00
c49fcda656 hide unused args
git-svn-id: svn://localhost/ardour2/branches/3.0@12169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 02:42:51 +00:00
7a76168b66 more fixes/tweaks from the land of the lion
git-svn-id: svn://localhost/ardour2/branches/3.0@12150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:45:17 +00:00
a562e5f7f2 another quick OS X Lion gcc suggestion
git-svn-id: svn://localhost/ardour2/branches/3.0@12149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:33:39 +00:00
4235e9a1a2 a variety of mostly unused parameter errors from OS X Lion's compiler
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:29:46 +00:00
ac46e5edb4 remove recursive mutex from Playlist, replace with private regular mutex, force everyone to use Playlist::RegionLock to allow checking on lock handling if necessary; fix recursive use of lock in AudioPlaylist::read()
git-svn-id: svn://localhost/ardour2/branches/3.0@12131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-01 16:19:51 +00:00
Carl Hetherington
77be4a2742 Remove unused quantize type options.
git-svn-id: svn://localhost/ardour2/branches/3.0@12130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-01 16:19:50 +00:00
a47ec8ba59 mostly backup-oriented commit to preserve very initial pass at rendering fades-as-xfades in a more useful way. quite a bit of work to do here
git-svn-id: svn://localhost/ardour2/branches/3.0@12129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-01 03:22:04 +00:00
Carl Hetherington
7314f66b95 Clarify behaviour of ::read (overwrites its buffer) wrt ::read_at (mixes into its buffer).
Refactor things slightly, removing need for ReadOps.  Fix crash on teardown of test.
Fixes Rhythm Ferret.


git-svn-id: svn://localhost/ardour2/branches/3.0@12127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30 19:44:14 +00:00
Carl Hetherington
bc2f8348b5 Remove unused return value.
git-svn-id: svn://localhost/ardour2/branches/3.0@12126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30 19:01:42 +00:00
eaa7cc5a73 fix up some const-ness issues starting from Evoral::Event::set(), and intersect with removing Mackie..MidiByteArray::bytes() method which made a copy of the data every time we wrote it
git-svn-id: svn://localhost/ardour2/branches/3.0@12124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30 15:54:13 +00:00
f99dc6d2ab add explicit inverse fade in/out curves for use when doing constant power xfading
git-svn-id: svn://localhost/ardour2/branches/3.0@12123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30 14:49:33 +00:00
Carl Hetherington
7614dc158a Remove unused options related to crossfades.
git-svn-id: svn://localhost/ardour2/branches/3.0@12120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30 01:12:59 +00:00
Carl Hetherington
ec82de75b6 Handle update of crossfades on explicit relayer more efficiently.
git-svn-id: svn://localhost/ardour2/branches/3.0@12119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-29 13:00:45 +00:00
Carl Hetherington
bed5cf3344 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@12118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-28 16:25:16 +00:00
Carl Hetherington
24f4b3c135 Fix detection of 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-28 13:41:55 +00:00
edad92a944 control surfaces: make it possible to keep display of current GUI/selection state as we bank through tracks/bussses. note careful use of weak_ptr<Route> to avoid messing with Route lifetimes. this scheme may change
git-svn-id: svn://localhost/ardour2/branches/3.0@12115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-28 01:43:38 +00:00
f78913cc99 Crossfades: default xfades are now constant-power, -3dB rule, other options are constant power(-6dB) rule or use existing region fade shape as is; provide GUI control over options; fix some inconsistent behaviour regarding xfades when relayering
git-svn-id: svn://localhost/ardour2/branches/3.0@12113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 20:57:48 +00:00
d1af0b89a8 MCP: failure to rebank for cases where num_routes < num_strips but we're not on bank 0
git-svn-id: svn://localhost/ardour2/branches/3.0@12112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 20:35:45 +00:00
Carl Hetherington
66255a13c1 Raise an exception if we fail to create our graph
threads.


git-svn-id: svn://localhost/ardour2/branches/3.0@12111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 16:43:12 +00:00
Carl Hetherington
e455805d2b Possibly hacky fix for tests on newer Ubuntu (or maybe
its gcc 4.6.3)


git-svn-id: svn://localhost/ardour2/branches/3.0@12110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 16:43:05 +00:00
0c005b9b84 remove unnecessary gcc 4.7 "fix"
git-svn-id: svn://localhost/ardour2/branches/3.0@12109 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 14:10:34 +00:00
ebb4150236 **EVEN better** gcc 4.7 fix
git-svn-id: svn://localhost/ardour2/branches/3.0@12108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 14:00:04 +00:00
706d5cbefc **better** gcc 4.7 fix
git-svn-id: svn://localhost/ardour2/branches/3.0@12105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 13:13:46 +00:00
c78b03ab73 gcc 4.7 fix
git-svn-id: svn://localhost/ardour2/branches/3.0@12104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-27 00:08:58 +00:00
ae2e8c6765 MCP: ctrl-select toggle selections status, analogous to GUI op
git-svn-id: svn://localhost/ardour2/branches/3.0@12102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 22:10:32 +00:00
cafbc632fb MCP: more sensible version of previous commit, and better behaviour for play button after ffwd or rewind
git-svn-id: svn://localhost/ardour2/branches/3.0@12101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 21:57:47 +00:00
ab8ebe97bb MCP: fix handling of vpot presses
git-svn-id: svn://localhost/ardour2/branches/3.0@12100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 21:22:36 +00:00
eda0491169 slightly explanatory comment for crossfading
git-svn-id: svn://localhost/ardour2/branches/3.0@12099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 19:29:41 +00:00
834f94c60a fix initialization of control protocols so that brand new sessions get working control protocols if the user's ardour.rc file indicates to do so; fix MCP bank scrolling
git-svn-id: svn://localhost/ardour2/branches/3.0@12096 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 16:18:03 +00:00
3b7e2f7d67 MCP: properly (?) handle bank/channel scrolling with locked strips
git-svn-id: svn://localhost/ardour2/branches/3.0@12095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 14:28:41 +00:00
Carl Hetherington
42d018ffa8 Use Glib::Threads::RecMutex rather than Glib::RecMutex where
available; the latter is deprecated and there is some
evidence to suggest that it is broken on some glibmm
versions (around 2.31.0 ish) See, for example
https://github.com/lightspark/lightspark/issues/168


git-svn-id: svn://localhost/ardour2/branches/3.0@12094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 08:44:06 +00:00
ec97b8e58d MCP: lots of good stuff - recenable bug fixed, cursor keys for vertical scroll work, loop button lights/unlightspan pots don't adjust if there is no panner, etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@12093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-26 03:46:18 +00:00
2bae75fa0b MCP: dynamic ipMIDI ports, more default key bindings, various minor fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@12092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 21:21:36 +00:00
ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
eac10ca71c MCP: quick build fix
git-svn-id: svn://localhost/ardour2/branches/3.0@12087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:57:37 +00:00
b31400207e MCP: various fixes, plus removal of ui_bind() (just for mackie code)
git-svn-id: svn://localhost/ardour2/branches/3.0@12086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 04:42:01 +00:00
72678cc230 revert previous commit (it should work, but did not); minor tweaks elsewhere
git-svn-id: svn://localhost/ardour2/branches/3.0@12084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 20:27:13 +00:00
2171bba037 make generic MIDI support handle SendFeedback() in process()-context, not in the MIDIControlUI event loop
git-svn-id: svn://localhost/ardour2/branches/3.0@12083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 19:25:57 +00:00
4e9173ff62 likely fix for various odd problems with cross-thread callbacks
git-svn-id: svn://localhost/ardour2/branches/3.0@12082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 19:19:39 +00:00
e5c1be6c85 revert previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@12081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 19:07:46 +00:00
2010f52b2f debugging: stop MidiControlUI from actually executing slots via CallSlot
git-svn-id: svn://localhost/ardour2/branches/3.0@12080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 18:59:56 +00:00
d5e14b3d91 eventloop and abstractui debugging, lots more commenting on abstractui/eventloop implementation; minor tweaks elsewhere
git-svn-id: svn://localhost/ardour2/branches/3.0@12076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 16:45:38 +00:00
9b8fe0b09f ipMIDI: typo
git-svn-id: svn://localhost/ardour2/branches/3.0@12075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 03:26:25 +00:00
50f179b33e ipMIDI: credit where credit is due
git-svn-id: svn://localhost/ardour2/branches/3.0@12074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 03:19:10 +00:00
0c026a6dc5 MCP: remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@12073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 03:18:16 +00:00
3cbb05cbe9 move the point at which PannersLegal is emitted (thus resetting panners). It used to done during Session::hookup_io() which seems wrong, since ports and all that already exist. now moved to before the point at which we call ControlProtocolManager::set_session() so that control protocols see Routes with Panners already set up
git-svn-id: svn://localhost/ardour2/branches/3.0@12072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 03:18:02 +00:00
954b022e19 MCP: remove debugging related to selection that turned out to be about some JACK/IP MIDI layer
git-svn-id: svn://localhost/ardour2/branches/3.0@12071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 02:41:07 +00:00
a9d77d1a70 remove various debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@12070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 02:35:33 +00:00
33140f3267 add support for IP MIDI (multicast MIDI over IP UDP sockets) to ardour and use it if requested inside MCP code. required renaming the pre-existing MIDI::Port as MIDI:JackMIDIPort - MIDI::Port becomes the base type for both JackMIDIPort and IPMIDIPort
git-svn-id: svn://localhost/ardour2/branches/3.0@12069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24 02:28:51 +00:00
Carl Hetherington
10d37fecc1 Get the _note_mode set up correctly in a MidiDiskstream
before the initial buffer fill, so that percussive mode
tracks play properly from the off (#4737).


git-svn-id: svn://localhost/ardour2/branches/3.0@12068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 20:43:28 +00:00
c9f09a10c4 move MIDI::Manager::cycle_{start,end}() calls from Session into AudioEngine so that they will continue even if the session has been disconnected from the session
git-svn-id: svn://localhost/ardour2/branches/3.0@12066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 16:24:41 +00:00
6ca4b88d5a libmidi++: fix a bunch of issues with previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@12065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 16:23:48 +00:00
1660f00ff3 libmidi++: split apart "base-y" aspects of MIDI::Port into MIDI::PortBase and make MIDI::Port derive from it. This actually makes MIDI::Port effectively into MIDI::JackPort, but i'm not interested in the name changing at that level at this moment in time
git-svn-id: svn://localhost/ardour2/branches/3.0@12064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 15:29:45 +00:00
4bfdcc18bd ControlProtocol doesn't actually need any record of an event loop and doesn't need to connect to any signals itself
git-svn-id: svn://localhost/ardour2/branches/3.0@12063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23 10:54:34 +00:00
ac1b2a6647 MCP: another bevy of changes, including working jog wheel
git-svn-id: svn://localhost/ardour2/branches/3.0@12056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22 17:37:52 +00:00
Carl Hetherington
a4434809e1 Use a list of ControlPoints to hold the automation selection,
rather than a time range.  This makes more sense now that we
display every point on an automation line, rather than just
a subset.  Makes the code a fair bit simpler, and should fix
some unexpected behaviours, especially when cutting automation
points.


git-svn-id: svn://localhost/ardour2/branches/3.0@12054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22 14:03:07 +00:00
82c867bf2a MCP: a fistful of improvements. probably best to just try it and see what it broken. KNOWN: pressing vpots without a bank/channel shift will crash ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@12053 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22 02:15:24 +00:00
f0a93dbf6a Use URI defines from LV2 headers instead of error-prone hardcoded URIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@12051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-21 01:40:17 +00:00
afe97dcc3a Fix crash when removing an LV2 plugin or on shutdown.
git-svn-id: svn://localhost/ardour2/branches/3.0@12050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-21 01:21:24 +00:00
Carl Hetherington
9befa88deb Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@12048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 23:34:15 +00:00
Carl Hetherington
9cc110f111 Fix some warnings in non-debug mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@12047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 21:59:37 +00:00
Carl Hetherington
842bddde1e Fix linear interpolator to avoid error accumulation.
git-svn-id: svn://localhost/ardour2/branches/3.0@12044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 17:52:42 +00:00
ffe5a6c5c2 Add "Description" pane to generic plugin UI for LV2 plugins with documentation (rdfs:comment property).
A Gtk::Entry might be better here, making Gtk::Label wrap based on size is tedious...


git-svn-id: svn://localhost/ardour2/branches/3.0@12043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 02:12:29 +00:00
8439514ffa Set tooltips on generic UI controls for LV2 plugin controls with documentation (rdfs:comment property).
git-svn-id: svn://localhost/ardour2/branches/3.0@12042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 01:24:07 +00:00
6e2dd99a04 Remove support for old and/or experimental LV2 stuff.
Ardour 3 now simply depends on the latest version of Lilv, which depends on the LV2 package (which contains all the LV2 headers).

git-svn-id: svn://localhost/ardour2/branches/3.0@12041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20 01:00:45 +00:00
Carl Hetherington
cfbc2e2438 Fix thinko causing possible memory corruption.
git-svn-id: svn://localhost/ardour2/branches/3.0@12040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 23:54:05 +00:00
Carl Hetherington
55ed8756bb Break shared_ptr cycle between Track and its
RecEnableControl.


git-svn-id: svn://localhost/ardour2/branches/3.0@12039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 23:31:00 +00:00
Carl Hetherington
caae89fd9b Another little test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 21:15:42 +00:00
bd4e498a1b attempt to fix confusion over session file version numbering and so forth
git-svn-id: svn://localhost/ardour2/branches/3.0@12033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 16:49:35 +00:00
Carl Hetherington
4bfd11b46a Fix typo (#4848).
git-svn-id: svn://localhost/ardour2/branches/3.0@12032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 15:45:08 +00:00
Carl Hetherington
f4db0d07f9 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@12030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 15:07:16 +00:00
0eee85f43b add a simple method to return "the instrument" associated with a Route. see the comments about the semantics of this, which do not preclude 0..N "instruments" in a single route
git-svn-id: svn://localhost/ardour2/branches/3.0@12027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19 00:30:55 +00:00
Carl Hetherington
1ea4b09d5d Add drawing.
git-svn-id: svn://localhost/ardour2/branches/3.0@12023 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 22:23:12 +00:00
Carl Hetherington
2072261bb0 Re-work fade operation to be closer to Mixbus; things
below the top region's fades are implicitly faded in
the opposite sense; restore short crossfades option.


git-svn-id: svn://localhost/ardour2/branches/3.0@12022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 22:22:47 +00:00
95f5c3cc80 MCP: some button handling fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@12019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 21:34:15 +00:00
260db68a69 update timecode/position display where appropriate
git-svn-id: svn://localhost/ardour2/branches/3.0@12015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 18:27:06 +00:00
Ben Loftis
45ac9c8861 add User metadata. user metadata is edited from the same dialog and read/writable using the same mechanism as session metadata, but it is stored in the ardour.rc file instead of with the session. Importing metadata from another session does not change user metadata. SessionMetadata is now a singleton that is available to the session object and the various config objects.
git-svn-id: svn://localhost/ardour2/branches/3.0@12014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 17:46:29 +00:00
c7c9c1bd26 MCP: next try at vpot mode for pan width
git-svn-id: svn://localhost/ardour2/branches/3.0@12013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 17:34:31 +00:00
e9dcd14bb4 MCP: bettetr vpot mode for pan width
git-svn-id: svn://localhost/ardour2/branches/3.0@12012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 17:05:13 +00:00
028727e85c MCP: space for %
git-svn-id: svn://localhost/ardour2/branches/3.0@12011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 17:03:21 +00:00
3cc358bc87 MCP: missing break
git-svn-id: svn://localhost/ardour2/branches/3.0@12010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 17:01:02 +00:00
e06620280b MCP: maybe fix vpot display behavior for pan width
git-svn-id: svn://localhost/ardour2/branches/3.0@12009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 16:52:38 +00:00
adbfd1b262 MCP: maybe fix vpot behaviour as seen with pan width
git-svn-id: svn://localhost/ardour2/branches/3.0@12008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 16:26:43 +00:00
d53364f2cf MCP: gui stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@12007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 16:21:16 +00:00
7a2c0b9d9a MCP: maybe really fix fader dB display
git-svn-id: svn://localhost/ardour2/branches/3.0@12006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 14:48:37 +00:00
3620530e62 MCP: maybe fix fader dB display
git-svn-id: svn://localhost/ardour2/branches/3.0@12005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 14:24:00 +00:00
b253f464a5 MCP: more fader debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@12004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 13:36:26 +00:00
d5db31f1e4 MCP: fader debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@12003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 13:13:42 +00:00
56281ba906 MCP: gui changes; more debugging for button bnding lookup
git-svn-id: svn://localhost/ardour2/branches/3.0@12002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 12:20:28 +00:00
40750ba0bb MCP:maybe functioning button binding stuff, plus save-to-disk-on-change (still needs naming interaction for new profile)
git-svn-id: svn://localhost/ardour2/branches/3.0@12000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18 03:24:59 +00:00
6bd6f58dee MCP: somewhat functional (?) full keybinding GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 21:36:48 +00:00
b9ff443085 MCP: various work on the button binding GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 20:41:31 +00:00
02a1879450 add back semantically-different version of previously removed ::get_action() function
git-svn-id: svn://localhost/ardour2/branches/3.0@11995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 16:07:11 +00:00
4cca768533 remove unusued ActionManager::get_action() variant
git-svn-id: svn://localhost/ardour2/branches/3.0@11994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 16:01:29 +00:00
0078582a5f MCP: work on rec-enable
git-svn-id: svn://localhost/ardour2/branches/3.0@11993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 22:33:09 +00:00
b5276aa4ab MCP: work on vpots
git-svn-id: svn://localhost/ardour2/branches/3.0@11992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 22:30:38 +00:00
e3d353715a MCP: bit more debugging for vpot press
git-svn-id: svn://localhost/ardour2/branches/3.0@11991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 21:01:59 +00:00
bf107f93e1 MCP: no fake touch for anything, actually
git-svn-id: svn://localhost/ardour2/branches/3.0@11989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 19:08:22 +00:00
4da123458e MCP: no fake touch for vpot
git-svn-id: svn://localhost/ardour2/branches/3.0@11988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 19:07:37 +00:00
72d17d326e MCP: a fistful of changes
git-svn-id: svn://localhost/ardour2/branches/3.0@11987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 19:05:27 +00:00
Carl Hetherington
a2897ecef6 Fairly major change to the way in which crossfades are handled;
they are now done with region fades, rather than separate objects.
After this commit, Ardour will try to convert your session files
to the new crossfade format, but will make a backup in your
session folder first.

If you have works in progress using Ardour 3 it is
***STRONGLY RECOMMENDED*** that you back up session files before
updating to this commit.


git-svn-id: svn://localhost/ardour2/branches/3.0@11986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 16:32:22 +00:00
02c498a8fa MCP: make v-pot press work; work ongoing on general keybindings
git-svn-id: svn://localhost/ardour2/branches/3.0@11985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16 13:06:39 +00:00
Carl Hetherington
8367cacf15 Update MidiRegion::_start_beats on trimming the front of a MIDI region; reset _start_beats with _start on MidiRegion::fix_negative_start(). May help with #4736.
git-svn-id: svn://localhost/ardour2/branches/3.0@11984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 21:04:44 +00:00
Carl Hetherington
23973bae24 A few tweaks to make Ardour build in GCC -std=c++0x mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@11983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 19:28:44 +00:00
Carl Hetherington
2c0f704f28 Fix overflow when computing framewalk_to_beats with -ve pos; fixes #4694.
git-svn-id: svn://localhost/ardour2/branches/3.0@11982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 17:43:45 +00:00
Carl Hetherington
1f33d60aff Don't abort if mis-matched processors are found; a vaguely satisfactory workaround for crashes when loading sessions with missing plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@11981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 17:12:09 +00:00
bef36b6f65 cmd-press on vpot should lock strip; shift-press resets pot param to default
git-svn-id: svn://localhost/ardour2/branches/3.0@11980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 15:43:25 +00:00
97c2832d35 MCP: probably fix issues with vpots not working
git-svn-id: svn://localhost/ardour2/branches/3.0@11979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 14:30:03 +00:00
2926372b75 add mapping from button ID to name for new button IDs
git-svn-id: svn://localhost/ardour2/branches/3.0@11978 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 13:50:43 +00:00
d314490797 share buttons IDs where feasible
git-svn-id: svn://localhost/ardour2/branches/3.0@11977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 13:41:20 +00:00
65fe4f9edf new button IDs, one for MCP one for LCP, plus methods associated with them; SSL Nucleus now declares itself to be using Logic Control
git-svn-id: svn://localhost/ardour2/branches/3.0@11976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-15 13:28:45 +00:00
Carl Hetherington
cc7d4db5fe Fix a few framecnt / framepos type confusions.
git-svn-id: svn://localhost/ardour2/branches/3.0@11975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 22:04:51 +00:00
Carl Hetherington
c8228ba985 Fix a few return types.
git-svn-id: svn://localhost/ardour2/branches/3.0@11974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 20:47:19 +00:00
24377e9fb2 MCP: the return of the master fader
git-svn-id: svn://localhost/ardour2/branches/3.0@11973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 20:38:42 +00:00
2ed2b61224 MCP: redesign to allow device-specific button IDs, since we know that at least one device (nucleus) does not honor mackie's specification document
git-svn-id: svn://localhost/ardour2/branches/3.0@11972 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 19:02:54 +00:00
32766ce215 MCP: hack test for ssl nucleus fader touch
git-svn-id: svn://localhost/ardour2/branches/3.0@11970 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 11:39:25 +00:00
3789e7cdef MCP: hack #2 for Nucleus fader touch messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11969 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14 01:02:40 +00:00
e240fb16bd MCP: hack for Nucleus fader touch messages
git-svn-id: svn://localhost/ardour2/branches/3.0@11968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 22:49:58 +00:00
e36aa889eb MCP: off by one error
git-svn-id: svn://localhost/ardour2/branches/3.0@11967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 22:10:41 +00:00
69830c477e MCP: catch noteOff to see note-on+velocity=zero messages; more GUI tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@11966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 21:46:26 +00:00
565be46ea1 MCP: more of the same
git-svn-id: svn://localhost/ardour2/branches/3.0@11965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 20:39:59 +00:00
ae09d046c1 MCP: better display of parameter values, off by one error when collecting controls for buttons, more GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 20:27:08 +00:00
9502fa261d MCP: more button tracing, more config stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11963 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 19:17:28 +00:00
411e2536c2 MCP: more button tracing, more config stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 17:58:36 +00:00
2329be8f6c MCP: fix uninitialized variable; start work on extending MCP gui
git-svn-id: svn://localhost/ardour2/branches/3.0@11961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 17:06:35 +00:00
fa471ea471 Fix compilation with old lilv.
git-svn-id: svn://localhost/ardour2/branches/3.0@11960 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 16:14:39 +00:00
8f7fa7d93b MCP: timeout display of value when altering with fader or pot; range ops on strip buttons should work; select logic may be broken
git-svn-id: svn://localhost/ardour2/branches/3.0@11959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 16:11:55 +00:00
f511b7cc6b show gain level as its adjusted from ardour GUI (not reverted back); basic support for select/solo/mute/recenabel range ops, but not functioning yet
git-svn-id: svn://localhost/ardour2/branches/3.0@11958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 03:46:38 +00:00
25d8f0ce6a Implement proper LV2 preset support.
The old code here was attempting to load several various random methods of listing LV2 presets.  IMO this situation has become untenable, the way implemented here is the way documented with examples in the extension, and if plugins don't work with it, they need to be updated.

For the record, the rationale behind this change is to make preset data separately loadable, since it tends to be far too massive to have hosts loading it for all plugins when unnecessary.

git-svn-id: svn://localhost/ardour2/branches/3.0@11957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 00:43:01 +00:00
13699251d9 convert rec-enable control for a Track from PBD::COntrollable to ARDOUR::AutomatioNControl, and use in MCP
git-svn-id: svn://localhost/ardour2/branches/3.0@11956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-13 00:35:42 +00:00
d7595f71be MCP: make select button work again
git-svn-id: svn://localhost/ardour2/branches/3.0@11955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 23:46:17 +00:00
5f1251edd7 MCP: try an alternate mode for gain pot mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 23:02:12 +00:00
d84fedac0a MCP: button debugging, plus don't do much/aything on button release
git-svn-id: svn://localhost/ardour2/branches/3.0@11953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:59:26 +00:00
f04b55af3a MCP: display label change
git-svn-id: svn://localhost/ardour2/branches/3.0@11952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:17:58 +00:00
454359a321 MCP: reverse pot labelling re: flip mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:16:01 +00:00
43556cce5a MCP: fix confusion between normal and modified AutomationControl
git-svn-id: svn://localhost/ardour2/branches/3.0@11950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 22:09:30 +00:00
939801a8d8 MCP: start generalizing mapping between surface controls and ARDOUR::AutomationControl; simplify flip mode; more good stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@11949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 21:02:43 +00:00
b4235221ab remove old mcp config params, use new one
git-svn-id: svn://localhost/ardour2/branches/3.0@11948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 18:36:14 +00:00
5ee1aaf8d0 MCP: rename ports again, remove ports from MCP bundles, wakeup devices
git-svn-id: svn://localhost/ardour2/branches/3.0@11947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 18:16:16 +00:00
17b442971b MCP: more surface properties, correctly close IOSources when switching surfaces; write select button msgs one by one, change port name back to generic terms
git-svn-id: svn://localhost/ardour2/branches/3.0@11945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 17:52:57 +00:00
cd78f52bd8 missing initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@11944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 16:57:34 +00:00
0c4fe26b41 MCP: switch devices on the fly; name MIDI ports appropriately; fix active state; move sysex parsing into Surface
git-svn-id: svn://localhost/ardour2/branches/3.0@11942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 16:41:07 +00:00
62620122a9 propagate GUI track selection to control protocols; make MCP update when GUI track selection changes
git-svn-id: svn://localhost/ardour2/branches/3.0@11941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 14:34:03 +00:00
abf8069d7f MCP: loading device info files basically operational
git-svn-id: svn://localhost/ardour2/branches/3.0@11939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 12:58:42 +00:00
3a4a45caae MCP: stubbed device info file loading
git-svn-id: svn://localhost/ardour2/branches/3.0@11938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 12:16:55 +00:00
c410d9e567 new files
git-svn-id: svn://localhost/ardour2/branches/3.0@11937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 11:46:35 +00:00
d6051c9953 move string_is_affirmative() into libpbd
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 11:45:40 +00:00
f991e11b77 MCP: shift-select resets gain to unity; don't jump back to last transport start unless playing normally; footswitch 1 and 2 do play/stop
git-svn-id: svn://localhost/ardour2/branches/3.0@11934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:51:57 +00:00
6c9dc8f0b3 MCP: track control press/release events
git-svn-id: svn://localhost/ardour2/branches/3.0@11933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:14:43 +00:00
dd81c77161 MCP: probably fix crash from flip mode, and debug modifier state in pothandler
git-svn-id: svn://localhost/ardour2/branches/3.0@11932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 01:05:18 +00:00
5b34da2f96 MCP: check on whether we using pan width control; flip mode may change display
git-svn-id: svn://localhost/ardour2/branches/3.0@11931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:52:02 +00:00
ac284a4ea1 MCP: check on whether we using pan width control
git-svn-id: svn://localhost/ardour2/branches/3.0@11930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:50:18 +00:00
cf6d8b0e67 MCP: probably fix ardour->surface for faders
git-svn-id: svn://localhost/ardour2/branches/3.0@11929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:45:11 +00:00
9c281228b3 MCP: debug continues
git-svn-id: svn://localhost/ardour2/branches/3.0@11928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:28:16 +00:00
d5a5c66d46 MCP: debug continues
git-svn-id: svn://localhost/ardour2/branches/3.0@11927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12 00:27:25 +00:00
1aa8baf6f9 MCP: maybe get vpot id's right; more debug tracing for gain notify
git-svn-id: svn://localhost/ardour2/branches/3.0@11926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:52:37 +00:00
Carl Hetherington
fdffab5831 Add thought-to-be-missing break (#4819).
git-svn-id: svn://localhost/ardour2/branches/3.0@11925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:46:39 +00:00
Carl Hetherington
23304e9edf Add sort-of missed returns to keep coverity happy (#4817).
git-svn-id: svn://localhost/ardour2/branches/3.0@11924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 23:24:05 +00:00
d00a797461 MCP: cursor left should scroll left
git-svn-id: svn://localhost/ardour2/branches/3.0@11923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:57:01 +00:00
d96edb4dcb MCP: hopefully fix ardour->controller for faders
git-svn-id: svn://localhost/ardour2/branches/3.0@11922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:50:21 +00:00
c8ea24d2f4 MCP: cursor left/right should scroll; maybe fix vpots
git-svn-id: svn://localhost/ardour2/branches/3.0@11921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:47:02 +00:00
bc52377c3e MCP: reverse operation of cursor up/down in zoom mode; more tracign for vpot
git-svn-id: svn://localhost/ardour2/branches/3.0@11920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 22:32:02 +00:00
96d4ba88d1 MCP: more tracing for rewind; change play LED illumination rule
git-svn-id: svn://localhost/ardour2/branches/3.0@11919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:48:51 +00:00
496a1e6965 MCP: repeated presses of play button will jump back to previous start (like GUI button)
git-svn-id: svn://localhost/ardour2/branches/3.0@11918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:25:14 +00:00
Carl Hetherington
4b63b88e35 Remove some unused parameters.
git-svn-id: svn://localhost/ardour2/branches/3.0@11917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:21:00 +00:00
5ae258e23b MCP: share add-marker code with BasicUI; don't allow route locking if the strip has no current route
git-svn-id: svn://localhost/ardour2/branches/3.0@11916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 20:18:01 +00:00