13
0
Commit Graph

3393 Commits

Author SHA1 Message Date
Carl Hetherington
c18009e11f Use route group solo property for route listen as well
as solo (#4228).


git-svn-id: svn://localhost/ardour2/branches/3.0@9949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:52:45 +00:00
Carl Hetherington
9e6eb3e0c7 Apply x42's patch from #4207; rename MIDI control
preferences to just MIDI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 11:15:01 +00:00
Carl Hetherington
eb43f2d0eb Fix up build of tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@9943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-31 13:58:26 +00:00
921358a5f3 remove remnant of MIDI I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 16:24:41 +00:00
df78f284ee fix up colons in track names before they are used for JACK port names; catch most (not all) attempted renames and ask the user about colons
git-svn-id: svn://localhost/ardour2/branches/3.0@9928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 02:07:59 +00:00
fd384bf48e remove some MIDI I/O debugging (hopefully all)
git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 01:16:37 +00:00
372137f373 remove more unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:11:03 +00:00
b52422105f remove unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:10:49 +00:00
9e5a0ad167 change FastMeter drawing implementation to use Cairo instead of GDK; some subtle changes to meter drawing will be visible and are subject to a revisit
git-svn-id: svn://localhost/ardour2/branches/3.0@9919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:05:54 +00:00
ff234c0544 "forward" port IO::ensure_* changes from 2.X for correctness and consistency
git-svn-id: svn://localhost/ardour2/branches/3.0@9918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:11:00 +00:00
78b6c9632c in exclusive solo mode, allow full-group solo
git-svn-id: svn://localhost/ardour2/branches/3.0@9917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 16:10:11 +00:00
862972eaaa use std::vector::assign() in BufferSet::attach_buffers() rather than an explicit loop; minor formatting touchups
git-svn-id: svn://localhost/ardour2/branches/3.0@9912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:44:13 +00:00
1d7190b186 move basic parameter initialization out of AudioEngine into global ARDOUR::init()
git-svn-id: svn://localhost/ardour2/branches/3.0@9911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 15:42:33 +00:00
c99738d88e try to fix data loss at end of a capture pass for MIDI - add a new virtual method to MidiSource that specifies what should be done with stuck notes, remove duplicate(i hope) _last_flush_frame from SMFSource that mirrored, more or less, MidiSource::_last_write_end; use new virtual method when stopping after capture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-20 18:13:03 +00:00
85e8f7762e even more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 21:58:06 +00:00
7230ed4d54 yet more MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 19:25:22 +00:00
82e4573227 tentative "fix" for output for tracks with audio and MIDI output (no known test case at present)
git-svn-id: svn://localhost/ardour2/branches/3.0@9903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:45:39 +00:00
57cb31ea6e check for _panshell->panner() before ::run-ing the panshell, so that MIDI tracks or other tracks with no panner just get the 1:1 copy-to-outputs code invoked
git-svn-id: svn://localhost/ardour2/branches/3.0@9902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 13:08:11 +00:00
828939a7f5 more MIDI I/O debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 11:57:09 +00:00
Carl Hetherington
79898b7aa7 Make _read_at take notice of its srcs parameter; fixes part of #3908.
git-svn-id: svn://localhost/ardour2/branches/3.0@9900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:08 +00:00
Carl Hetherington
711d344188 Remove unused parameters to AudioRegion::read_at
git-svn-id: svn://localhost/ardour2/branches/3.0@9899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-19 00:22:01 +00:00
47aa8ed09b improved fix for #4158 etc, hopefully
git-svn-id: svn://localhost/ardour2/branches/3.0@9896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 20:03:49 +00:00
6370400953 more more debugging for MIDI i/o
git-svn-id: svn://localhost/ardour2/branches/3.0@9895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 18:12:54 +00:00
34c05a7903 when renaming, remove old session and add new session name from/to recent sessions list
git-svn-id: svn://localhost/ardour2/branches/3.0@9894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 17:08:50 +00:00
5d8cf17121 don't try (and fail) to rename the history file if it doesn't exist
git-svn-id: svn://localhost/ardour2/branches/3.0@9892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18 15:04:00 +00:00
Carl Hetherington
26666fce42 Remove an assert() that I can't see the value of, and which
trips when loading empty MIDI files (#4190).


git-svn-id: svn://localhost/ardour2/branches/3.0@9883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-16 20:55:14 +00:00
Carl Hetherington
e2b8d42140 Remove unused _own_latency member from Latent.
git-svn-id: svn://localhost/ardour2/branches/3.0@9881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:50:43 +00:00
Carl Hetherington
9d57b87999 Save / restore processor _user_latency (another part of #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-15 00:03:18 +00:00
Carl Hetherington
75d315e452 Save and restore Latent's _user_latency for IOs (fixes #4186).
git-svn-id: svn://localhost/ardour2/branches/3.0@9879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 23:29:42 +00:00
Carl Hetherington
48de21b120 Move panner bypass state up to the PannerShell so that it is preserved even when new Panners are dropped in (refixes #4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 22:17:43 +00:00
a5efa9a500 initial pass at session-renaming functionality
git-svn-id: svn://localhost/ardour2/branches/3.0@9876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 17:41:06 +00:00
Carl Hetherington
2d83ffc45a Fix restoration of PannerShell state from session XML (#4185).
git-svn-id: svn://localhost/ardour2/branches/3.0@9875 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:40 +00:00
Carl Hetherington
5625f41c86 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@9874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 14:56:34 +00:00
78eafdced6 more midi I/O debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14 12:59:51 +00:00
160f1493fa more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:14:53 +00:00
f5212ea181 more midi io debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 20:08:28 +00:00
f6a50adf42 MIDI IO debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 15:49:53 +00:00
Carl Hetherington
16db8b5972 Add a couple of missing attach_buffers() calls after _ports has been changed. I think this fixes #3856.
git-svn-id: svn://localhost/ardour2/branches/3.0@9858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13 01:00:53 +00:00
89a284fd78 add incoming MIDI stream debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 22:47:32 +00:00
Carl Hetherington
7be510a26a Set up default and upper/lower limit correctly on LV2 ports
whose values are expressed as a fraction of the sampling
rate.  Should fix #3767.


git-svn-id: svn://localhost/ardour2/branches/3.0@9848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 20:30:02 +00:00
Carl Hetherington
11b0ac77f5 Print a message to the console if we abort because no panner
is found.


git-svn-id: svn://localhost/ardour2/branches/3.0@9847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 13:33:35 +00:00
Carl Hetherington
f908d45fa0 Correct (I think) previous fix.
git-svn-id: svn://localhost/ardour2/branches/3.0@9846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:48:41 +00:00
Carl Hetherington
69d22d87b4 Set mixbufs count in the case of a panner being used, as
happens in read_from when no panner is being used. 
 Should fix #4158.


git-svn-id: svn://localhost/ardour2/branches/3.0@9845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 12:22:43 +00:00
676542dcce explanatory comment about use of g_strncasecmp()
git-svn-id: svn://localhost/ardour2/branches/3.0@9840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 19:20:26 +00:00
1d17d43751 accept .MID as a MIDI file extension, not just .mid
git-svn-id: svn://localhost/ardour2/branches/3.0@9839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 16:10:45 +00:00
Carl Hetherington
4ef2541e6e Use an assert to check that a panner is obtained, which
git-svn-id: svn://localhost/ardour2/branches/3.0@9836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11 12:57:06 +00:00
Carl Hetherington
31d0eca307 Set up initial gains with init_gain() before (rather than after) potentially restoring gain with Send::set_state (should fix #3546).
git-svn-id: svn://localhost/ardour2/branches/3.0@9834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 23:55:48 +00:00
Carl Hetherington
a7057d6965 Make an empty-string non-affirmative so that AxisView::set_marked_for_display works properly when the visible gui property does not exist.
git-svn-id: svn://localhost/ardour2/branches/3.0@9833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10 21:50:00 +00:00
9a2fe5aad3 refine definition of "generator" plugins, and only send silence through the route is there is a REAL generator plugin (i.e. no inputs at all). Fixes #4144 (hopefully without breaking anything else)
git-svn-id: svn://localhost/ardour2/branches/3.0@9814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 21:58:34 +00:00
0f7e423422 fix incorrect use of MidiBuffer::reserve() and MidiBuffer::write() if channel mask discards a MIDI event (fixes #4138)
git-svn-id: svn://localhost/ardour2/branches/3.0@9811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:50:02 +00:00
Carl Hetherington
67ad5fe2b7 Make sure the buffer count is updated properly when run() happens on a muted delivery. Fixes #4153.
git-svn-id: svn://localhost/ardour2/branches/3.0@9810 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-08 17:06:29 +00:00
Carl Hetherington
d5bb729755 Uncomment fix for #4110.
git-svn-id: svn://localhost/ardour2/branches/3.0@9793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-04 17:35:28 +00:00
Carl Hetherington
61648057ce Send full MIDI time code (if enabled) after changing sync source; should fix #4147.
git-svn-id: svn://localhost/ardour2/branches/3.0@9792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 23:52:17 +00:00
a3583c89b2 ctrl-alt-click now toggles input active status of other MIDI tracks using (any of) the same input(s) as the clicked track
git-svn-id: svn://localhost/ardour2/branches/3.0@9789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-03 15:01:21 +00:00
Carl Hetherington
cd17e05e3a Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02 17:16:46 +00:00
67e21fd82e add MIDI input control column to editor route list; tweak SVG for MIDI not DIN
git-svn-id: svn://localhost/ardour2/branches/3.0@9779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 15:48:24 +00:00
84be4eafc5 basic infrastructure for enabling/disabling MIDI input to a given track
git-svn-id: svn://localhost/ardour2/branches/3.0@9772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-28 16:55:41 +00:00
Carl Hetherington
4388556923 Remove some unused PostTransport enums and renumber others.
git-svn-id: svn://localhost/ardour2/branches/3.0@9767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-26 12:56:40 +00:00
Carl Hetherington
08910b2783 Always use numeric prefixes for default-named tracks / busses (#4123).
git-svn-id: svn://localhost/ardour2/branches/3.0@9762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 23:37:02 +00:00
7181a20dc6 don't double-load NestedSource nodes, which are listed both forthe parent/root region and all children; even better, don't list them twice anyway - just for the whole file parent/root region
git-svn-id: svn://localhost/ardour2/branches/3.0@9761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 22:46:31 +00:00
ae3c7234e7 remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:31 +00:00
9687e8a667 second half of "bomb out if playlist construction from XML fails"
git-svn-id: svn://localhost/ardour2/branches/3.0@9759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:06:10 +00:00
2801e91fe2 drobilla-spacification of playlist.cc, along with correctly bombing out if ::set_state() fails, part 1
git-svn-id: svn://localhost/ardour2/branches/3.0@9758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 20:00:30 +00:00
8aa0b2966e ignore unpaired noteoff's when writing part of a MidiModel to a new source. in reality, there should be no unpaired noteoffs, but this is still an important fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 19:59:46 +00:00
260c1c1a13 remove some potential HCI confusion for Gtkmm2ext::UI::popup_error() by using a standard MessageDialog (as noticed by thorwil)
git-svn-id: svn://localhost/ardour2/branches/3.0@9756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-22 14:38:32 +00:00
be614d0538 change default overlapping note strategy to "relax" (i.e. do nothing); fix crash when looping with MIDI data; add back note-off resolution at loop point (if it was actually there) so that notes are turned off (but don't forget Ye Olde Sustain Pedal/Controller) when looping; minor other non-functional tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 21:29:22 +00:00
500aaa0dee an entire freakin' day working on 1 working function, VolumeController::adjust() ... probably not done, but better ... gain control that occurs via this function occurs in discrete, fixed dB steps
git-svn-id: svn://localhost/ardour2/branches/3.0@9752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-21 01:36:20 +00:00
12c844dd8d remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:04:55 +00:00
d5e09076ca much ado about nothing when it comes to gain control
git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:02:55 +00:00
182b23e744 cleanup confused mess related to jack_port_type_get_buffer_size()
git-svn-id: svn://localhost/ardour2/branches/3.0@9747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 21:47:21 +00:00
01e006e46e some changes to try to make the monitor section gain controls work as intended, and along the way start to rationalize MotionFeedback/VolumeController classes
git-svn-id: svn://localhost/ardour2/branches/3.0@9746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-17 21:47:20 +00:00
1961051416 monitor send gets access to the (shared) pannable of the track/bus, thus ensuring that the monitor feed is panned. required a few fixes along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 19:00:08 +00:00
a5674e9271 fix initialization of gain for Listen internal sends (to monitor bus); remove pannable object from monitor bus after (re)creation from XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 14:49:06 +00:00
22a4f44939 a real, working fix for panning regression in alpha6
git-svn-id: svn://localhost/ardour2/branches/3.0@9725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 21:53:57 +00:00
37e9a53180 remove Pannable/PanShell from the Monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:52:31 +00:00
961e25d90e reload alpha1-6 Pannable XML state so that panning of existing sessions should work again
git-svn-id: svn://localhost/ardour2/branches/3.0@9719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-13 15:50:05 +00:00
5afe60f0e3 fix restore of Pannable state from XML (regression in alpha6)
git-svn-id: svn://localhost/ardour2/branches/3.0@9717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:17:29 +00:00
5b3106ee31 build script fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:08:33 +00:00
786a61a275 update i18n build system and *.po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12 22:05:55 +00:00
Sakari Bergen
1de3eac2de Fix #4094: show total export progress instead of per timespan progress
git-svn-id: svn://localhost/ardour2/branches/3.0@9710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 21:12:24 +00:00
3168d5e22e new es_ES translation from Pablo Fernández
git-svn-id: svn://localhost/ardour2/branches/3.0@9707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 17:17:01 +00:00
1060243302 major, substantive reworking of how we store GUI information (visibility, height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions
git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 15:35:34 +00:00
Sakari Bergen
7468fdb9ca Typedef all globally used export smart pointer types in one file.
Some of them need to be ordered in STL containers, and thus need
a special comparable wrapper for boost::shared_ptr, defined in
comparable_shared_ptr.h. This also alleviates the typedef hell
present earlier in some export classes :)

Making the timespan pointer comparable should fix bug #4093


git-svn-id: svn://localhost/ardour2/branches/3.0@9702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 14:14:24 +00:00
071cc3ef01 fix serious breakage with setup of plugin automatable controls/parameters, in which the relative ordering of things during ::set_state() was totally wrong. still see multiple instances of automation tracks for processors in GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@9698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 20:21:46 +00:00
1a2a58fdd6 don't call Processor::set_state() from PluginInsert::set_state() till the plugins are present in the container, so that describe_parameter() can work
git-svn-id: svn://localhost/ardour2/branches/3.0@9696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-09 13:55:52 +00:00
b6b24d353b more clock & time info box tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08 17:27:26 +00:00
a56555e8b2 remove "Off" as a clock mode, make it a state instead; track editor mouse mode when displaying selection (not 100% coverage of different selections yet); add extra negative field for timecode clock to help with text alignment; add clock mode = timecode option to menus
git-svn-id: svn://localhost/ardour2/branches/3.0@9685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 23:07:08 +00:00
be1abb12ff more clock tweaking
git-svn-id: svn://localhost/ardour2/branches/3.0@9680 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 16:42:48 +00:00
0a53bb1d42 lots of clock tweaks, but still, STILL! not done, really
git-svn-id: svn://localhost/ardour2/branches/3.0@9678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07 15:23:06 +00:00
e77b5261d2 next iteration of clock work. still far from complete, and probably waiting on a rethink of text rendering+layout. but it has the info block now, and it semi-works
git-svn-id: svn://localhost/ardour2/branches/3.0@9676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-03 22:18:47 +00:00
11bcfd8429 add extended info fields to clocks; clock tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@9675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 21:43:10 +00:00
811acc5e6e Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@9674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:58:02 +00:00
83f385d263 audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:50:37 +00:00
add91aa2d7 random header include removal
git-svn-id: svn://localhost/ardour2/branches/3.0@9672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:49:39 +00:00
a66860c339 API and implementation changes to CairoCell and friends before the audio clock commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:47:11 +00:00
3f68aa2638 Make button 1 the default for inserting notes via modifier shortcut with select tool
git-svn-id: svn://localhost/ardour2/branches/3.0@9667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 03:17:35 +00:00
98c7200f16 Fix broken whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 01:01:07 +00:00
f48c69e2b2 Missed one :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 20:36:16 +00:00
a473d630eb Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 16:50:12 +00:00
a46cea06e2 new CairoCell and related classes designed for drawing audio clocks more efficiently etc. etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 11:51:32 +00:00
fd33fa896f Quantize notes to session tempo time, not relative to start of region (fix issue #4069).
git-svn-id: svn://localhost/ardour2/branches/3.0@9640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:59:48 +00:00
a0d09e81d4 update .po files for translators
git-svn-id: svn://localhost/ardour2/branches/3.0@9639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 02:29:00 +00:00
a206c5c4a9 Fix wordo (fix ticket #4080)
git-svn-id: svn://localhost/ardour2/branches/3.0@9637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-31 00:19:29 +00:00
de9e216cb5 (1) push a locate all the way through the processing heirarchy so that MIDI output ports can resolve any notes currently playing (2) remove MidiStateTracker from MidiPort and use a fixed set of MIDI messages (sustain-off and all-notes-off, per channel) to do note resolution (3) move note resolution caused by a LoopEvent psuedo-event to within the main MidiPort::flush_output() loop, so that we resolve (turn off) Notes that come before the loop point, rather than send them out after the note resolution messages
git-svn-id: svn://localhost/ardour2/branches/3.0@9635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 21:37:58 +00:00
14a80c091d reverse the use of copy_dependents() when uncombining a region, so that the right xfade shows up
git-svn-id: svn://localhost/ardour2/branches/3.0@9633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:55:06 +00:00
d4d5b30aeb remove unused and useless "src" argument for a number of Region property modifying methods
git-svn-id: svn://localhost/ardour2/branches/3.0@9632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:54:44 +00:00
6eba90adb3 add dependents to a compound playlist before creating a source from it, so that the source's new peakfile shows the xfades
git-svn-id: svn://localhost/ardour2/branches/3.0@9631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 13:23:19 +00:00
c937a67f6e do not offer combine operation for MIDI (see comment in libs/ardour/midi_playlist_source.cc for an explanation)
git-svn-id: svn://localhost/ardour2/branches/3.0@9630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-30 11:57:12 +00:00
0a9f5423f5 detect buffer "overflow" when delivering immediate events and queue remainder for delivery next time (though without actually requeing - just leave ringbuffer ptrs/indexes where they are. required some deep but minor changes in how MidiRingBuffer::read() works, so that we can detect if we're going to be able to deliver an event before we actually read any of its data. Peek FTW!
git-svn-id: svn://localhost/ardour2/branches/3.0@9629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 17:35:21 +00:00
36ccf83049 clarify some confusion about how "raw" port buffer sizes are defined
git-svn-id: svn://localhost/ardour2/branches/3.0@9628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 17:33:41 +00:00
489d2ba1a7 don't always rebuild peakfiles for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 14:38:25 +00:00
c3821a7816 totally untested initial code for MidiPlaylistSource, to provide for compound MIDI regions. putting it into SVN because my system might crash overnight :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 01:54:19 +00:00
8855b1643c more gcc 4.6/standards compliance
git-svn-id: svn://localhost/ardour2/branches/3.0@9625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-29 00:25:30 +00:00
df46ab2c02 attempt to be compliant with gcc 4.6 (assuming that its more compliant with standards), by defining a default constructor for an object that is in static/global scope
git-svn-id: svn://localhost/ardour2/branches/3.0@9624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 23:45:34 +00:00
788dfc6a51 clean up memory leaks with nested source read buffers
git-svn-id: svn://localhost/ardour2/branches/3.0@9621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 02:30:25 +00:00
43495d7f2b putative fix for crashes related to diskstream playback buffer refills with compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-28 00:59:53 +00:00
06da4278db abort when cnt is too high
git-svn-id: svn://localhost/ardour2/branches/3.0@9619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:51:32 +00:00
a699df37ad debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@9618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 23:44:13 +00:00
d6be900da0 more combine/uncombine fixes including making uncombine push the compound region gain level into the constituents and doing the right thing when we uncombine in a playlist other than the one in which the compound region was created
git-svn-id: svn://localhost/ardour2/branches/3.0@9601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 17:22:22 +00:00
92ede6153e remove bogus default-channel property from MidiTrack XML
git-svn-id: svn://localhost/ardour2/branches/3.0@9598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 15:03:32 +00:00
16c280e405 turn off relevant fade in/out before creating peakfiles for compound region sources
git-svn-id: svn://localhost/ardour2/branches/3.0@9596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 13:56:19 +00:00
f38db9a4e3 move session file storage of nested sources from playlist into region, and reload them within Session::XMLRegionFactory, just before we create the region that uses the nested source
git-svn-id: svn://localhost/ardour2/branches/3.0@9595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 12:24:04 +00:00
884e147a9c restore compound region fade, where possible, to constituent regions, after uncombine
git-svn-id: svn://localhost/ardour2/branches/3.0@9593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 22:44:30 +00:00
9925ab554e logic to copy audio region fade in/fade out into compound regions (one-way for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@9588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:51:00 +00:00
Carl Hetherington
04b54f8dd1 Fix name of libardour .mo file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 18:09:19 +00:00
Carl Hetherington
711db34a81 Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865).
git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 15:19:47 +00:00
e984220eaa correct the logic used when building a compound region to include a whole-file (whole-source) region as a parent for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@9584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 12:19:24 +00:00
49785b8fbb updated swedish translation from peppo
git-svn-id: svn://localhost/ardour2/branches/3.0@9583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 11:34:59 +00:00
Carl Hetherington
b38b5fd59b Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 10:15:54 +00:00
e5dc4e4ea2 change region selection after a combine op
git-svn-id: svn://localhost/ardour2/branches/3.0@9580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:40:32 +00:00
bf57411634 add back combine/uncombine debugging; fix uncombine op to get original region lengths right, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 00:20:33 +00:00
Carl Hetherington
edfc4e8563 Fix build.
git-svn-id: svn://localhost/ardour2/branches/3.0@9577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:18:57 +00:00
Carl Hetherington
b6587ad160 Assorted doxygen fixes; no functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@9575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 22:12:45 +00:00
371be41d81 uncombine now pays attention to trims + moves done with the compound region, and applies them as necessary to the constituent regions before placing them back in the track
git-svn-id: svn://localhost/ardour2/branches/3.0@9573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 11:49:46 +00:00
Carl Hetherington
ed2a7c380d Fix bit rot with boost shared_ptr debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:29 +00:00
Carl Hetherington
32df620938 Fix a few missing drops of Route references.
git-svn-id: svn://localhost/ardour2/branches/3.0@9571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23 10:03:14 +00:00
fab94b8495 rationalize and improve region naming conventions to cover compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 21:28:25 +00:00
9c733915a0 basic uncombining (no post-facto region trimming)
git-svn-id: svn://localhost/ardour2/branches/3.0@9566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22 16:11:00 +00:00
Carl Hetherington
a2d37a02b8 Fix problems with restoration of unused playlists (#4052).
git-svn-id: svn://localhost/ardour2/branches/3.0@9563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-21 18:44:44 +00:00
2e24dd45c3 Not quite :) Waf obj.defines has no -D (compiler portable...).
git-svn-id: svn://localhost/ardour2/branches/3.0@9562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 16:06:26 +00:00
35df1cfabf catchup tweak for the waf 1.6 changes
git-svn-id: svn://localhost/ardour2/branches/3.0@9561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-20 14:31:39 +00:00
8d0ba52547 Use ISC license for RDFF (same idea, MIT style, just prettier).
git-svn-id: svn://localhost/ardour2/branches/3.0@9560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-19 21:57:34 +00:00
041c882143 Add 'controls' item to plugin insert context menu to always show Ardour generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things.
Fix crash related to scale points when showing plugin UIs.

Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars).


git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:00:44 +00:00
Carl Hetherington
424b3479de No-op: indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 23:23:46 +00:00
ba51f635f7 revert that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:44:10 +00:00
39d8aa0e94 put compounded-xfades at the right place, i think
git-svn-id: svn://localhost/ardour2/branches/3.0@9547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 21:43:29 +00:00
4fade1ea35 xfades in combined regions seem to work
git-svn-id: svn://localhost/ardour2/branches/3.0@9546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 18:23:01 +00:00
be830adccb not actually working attempt to copy relevant xfades into compound regions; fix compilation issues with an earlier commit
git-svn-id: svn://localhost/ardour2/branches/3.0@9544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 16:45:22 +00:00
Ben Loftis
aa6adacc75 fix thinko in playlist constructor for cut and copy
git-svn-id: svn://localhost/ardour2/branches/3.0@9541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 15:20:18 +00:00
Carl Hetherington
819faa3b0b Remove unnecessary duplicate take of Sequence's read_lock.
git-svn-id: svn://localhost/ardour2/branches/3.0@9537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:01:05 +00:00
Carl Hetherington
c86ccc7db2 Minor tidy-ups.
git-svn-id: svn://localhost/ardour2/branches/3.0@9536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 12:00:10 +00:00
Carl Hetherington
fb9b778fbc Remove unused mutex.
git-svn-id: svn://localhost/ardour2/branches/3.0@9535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:59:47 +00:00
Carl Hetherington
da6384925e Remove unnecessary virtual declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@9534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-17 11:54:45 +00:00
Carl Hetherington
eeadeac7e4 Fix undo when notes are changed and then removed by the overlap checker (#3995).
git-svn-id: svn://localhost/ardour2/branches/3.0@9531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 22:23:18 +00:00
c8a27ebdbf track combine ops per-playlist to avoid name collisions for compound regions
git-svn-id: svn://localhost/ardour2/branches/3.0@9529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 21:21:16 +00:00
99aa8c6338 rename join regions op as combine regions; save and restore nested playlists, sources, regions; add undo/redo for combine; fixup peakfile use/discovery
git-svn-id: svn://localhost/ardour2/branches/3.0@9528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 20:16:57 +00:00
Carl Hetherington
7390303728 Make MIDI channel selector button colours more distinct (#3772).
git-svn-id: svn://localhost/ardour2/branches/3.0@9524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:18:13 +00:00
29dd7bbac7 Update wscripts for portability and steps towards waf 1.6 migration.
Use obj.defines and obj.includes instead of c[xx]flags (more compiler portable).
Use lists instead of space delimited strings (more flexible and waf 1.6 compatible).
Fix crazy long lines.


git-svn-id: svn://localhost/ardour2/branches/3.0@9523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 18:02:38 +00:00
678bb05bd6 Don't check for SLV2 if Lilv is found
git-svn-id: svn://localhost/ardour2/branches/3.0@9522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 17:12:57 +00:00
4b5bd4ca46 refactor playlist sources to allow for MIDI and upcoming work on save/restore
git-svn-id: svn://localhost/ardour2/branches/3.0@9521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 15:49:26 +00:00
43798a7c25 sane naming scheme for combined regions; fix deadlock when nesting to more than one level
git-svn-id: svn://localhost/ardour2/branches/3.0@9519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 13:06:55 +00:00
0a9cef7720 very basic Join (regions) editing operation. not finished yet, no undoable, no sensible name for new region, etc. etc
git-svn-id: svn://localhost/ardour2/branches/3.0@9518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16 02:17:58 +00:00
1959efd94d Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.
Fix ticket #0004041.


git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-15 23:10:13 +00:00
3a855fb69a Move SLV2-independent LV2 persist state implementation to lv2_state.h.
git-svn-id: svn://localhost/ardour2/branches/3.0@9515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:44:47 +00:00
4e49c56361 Completely localist use of SLV2 to lv2_plugin.cc and lv2_plugin_ui.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@9514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 21:05:26 +00:00
ac367e8904 Make LV2World local to lv2_plugin.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@9513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 19:55:46 +00:00
8e717d107f Remove LV2Plugin::slv2_port.
git-svn-id: svn://localhost/ardour2/branches/3.0@9512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:54:45 +00:00
2b7f092b85 Generic scale points API.
Hide scale points implementation inside specific Plugin subclass.
Don't needlessley/slowly get scale points twice for each port while building UI.
Remove dependence on specific plugin types from GenericPluginUI.


git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 18:43:34 +00:00
c78528dcea Use LV2_SUPPORT define instead of HAVE_SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14 17:59:16 +00:00
41b23ca647 initial volley of work for AudioPlaylistSource, the basic prototype for sources-that-are-nested
git-svn-id: svn://localhost/ardour2/branches/3.0@9507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 19:55:39 +00:00
Carl Hetherington
ac23288b5d Fix update of session range location on copy-dragging regions (#4038).
git-svn-id: svn://localhost/ardour2/branches/3.0@9504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 21:29:27 +00:00
56d392f41c remove unused fade_source member of AudioDiskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@9501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 14:59:11 +00:00
561ab24d0a new debug trace in ::start_transport(); add a new emission of TransportStateChange to keep GUI up to date when varispeeding
git-svn-id: svn://localhost/ardour2/branches/3.0@9500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:51 +00:00
f3857bf68c remove unused SHUTTLE_FRACT constant
git-svn-id: svn://localhost/ardour2/branches/3.0@9499 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:17:02 +00:00
e22f93407b make instruments/generators do the right thing when bypassed
git-svn-id: svn://localhost/ardour2/branches/3.0@9498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:16:16 +00:00
3ae786bb06 fix minor type error
git-svn-id: svn://localhost/ardour2/branches/3.0@9497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-12 00:01:46 +00:00
Carl Hetherington
48493b444b Fix previous patch using Ben's patch from A2 to fix #4035 properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 22:26:13 +00:00
Carl Hetherington
f31b485e90 Reset fades on regions copied from time ranges in other regions (#4035).
git-svn-id: svn://localhost/ardour2/branches/3.0@9494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:58:09 +00:00
Carl Hetherington
7633066406 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@9493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 15:57:49 +00:00
Carl Hetherington
f2a84a944d Add missing GPL boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@9490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 11:55:23 +00:00
Carl Hetherington
d7c836dc07 Ensure that empty drag-created MIDI regions get a file on disk so that there aren't missing file errors on reload (#4024).
git-svn-id: svn://localhost/ardour2/branches/3.0@9486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:33 +00:00
Carl Hetherington
d901dbccc9 Make a new write source when the diskstream name changes so that sources don't get a name which includes the old name.
git-svn-id: svn://localhost/ardour2/branches/3.0@9485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-08 23:45:26 +00:00
Carl Hetherington
143dddd9a7 Add a GUI to set the number of active extenders for the Mackie control surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 22:44:50 +00:00
Carl Hetherington
ae91577f2c Re-use locations when setting location list state, so that selected locations are preserved through an undo (#3929).
git-svn-id: svn://localhost/ardour2/branches/3.0@9480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-05 12:09:37 +00:00
Carl Hetherington
d947f27faf Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:03:35 +00:00
Carl Hetherington
acd59c3439 Fix restoration of connections to control surface ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@9475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:43 +00:00
Carl Hetherington
09c0014790 No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@9474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 15:00:30 +00:00
Carl Hetherington
bcb554a190 Fix problems with sessions being saved as foo.ardour.ardour when loaded using the session file name (#4026).
git-svn-id: svn://localhost/ardour2/branches/3.0@9471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 11:32:35 +00:00
Carl Hetherington
56b70dcc0b Do log/lin mapping for Mackie faders so that they behave like the on-screen ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@9470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:41 +00:00
Carl Hetherington
91d512174e Use a timeout to reset faders' in_use flags when in BCF mode (ie with faders that don't support touch).
git-svn-id: svn://localhost/ardour2/branches/3.0@9469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:32 +00:00
Carl Hetherington
f01dc1bfd5 Fix crash on startup when using BCF mode for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:23 +00:00
Carl Hetherington
ba8a593c29 Add small GUI to select Mackie / BCF2000 emulation for the mackie surface.
git-svn-id: svn://localhost/ardour2/branches/3.0@9467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:22:11 +00:00
Carl Hetherington
cff8af89de Comment typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@9466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-04 09:21:20 +00:00
92e72260b1 without drobilla's new stuff, LV2Plugin::_ui_type points to global data so do not try to free it
git-svn-id: svn://localhost/ardour2/branches/3.0@9464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03 14:34:40 +00:00
Carl Hetherington
fe2651ae5f Remove playlists from the session lists when they DropReferences. Should fix #4023.
git-svn-id: svn://localhost/ardour2/branches/3.0@9460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 23:22:00 +00:00
Carl Hetherington
a4b1a1bb14 Factor out stop limit computation into its own method. Ignore stop-at-session-end if there is a punch range and punch-in is enabled (#4022).
git-svn-id: svn://localhost/ardour2/branches/3.0@9457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-02 22:21:59 +00:00
06e8b6452d Fix external UIs (e.g. Calf git).
git-svn-id: svn://localhost/ardour2/branches/3.0@9442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 15:36:51 +00:00
0060b9929f Update for new SLV2 API.
git-svn-id: svn://localhost/ardour2/branches/3.0@9438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 06:02:22 +00:00
3356957afa remove some left over debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-25 12:28:35 +00:00
20858349f0 reverse debugging stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@9423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:36:45 +00:00
613c11c5ac yet more temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:08:31 +00:00
5b1f0e7919 further temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:07:07 +00:00
01231deaa5 additional temporary debugging for slv2/calf issue
git-svn-id: svn://localhost/ardour2/branches/3.0@9420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24 15:04:55 +00:00
Carl Hetherington
977874ab93 Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@9416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:50:32 +00:00
Carl Hetherington
110311e186 Re-fix compile failure with --no-nls (#3111).
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:34:42 +00:00
Carl Hetherington
1d5cc25d94 Add some assertions.
git-svn-id: svn://localhost/ardour2/branches/3.0@9411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 00:02:58 +00:00
4769db412d Fix Python whitespace (follow PEP8 guidelines, reformatted by Python Reindent)
git-svn-id: svn://localhost/ardour2/branches/3.0@9409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 22:15:21 +00:00
c37722f7dc Use new Suil and SLV2 APIs for LV2 plugin UIs.
Add lv2_ui.h (required by lv2_external_ui.h).


git-svn-id: svn://localhost/ardour2/branches/3.0@9406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 08:08:37 +00:00
449d0cf486 fix thinko in setting up auto-connect for monitor bus
git-svn-id: svn://localhost/ardour2/branches/3.0@9403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 20:33:44 +00:00
Carl Hetherington
42cd22ead4 Set session dirty on plugin parameter changes (rest of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:59 +00:00
Carl Hetherington
43be246a6a Make changes to route processors set the session dirty (part of #3997).
git-svn-id: svn://localhost/ardour2/branches/3.0@9401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 15:53:53 +00:00
Carl Hetherington
80476ce3f3 Prevent note trackers for overlapping MIDI regions inserting events that occur before the requested time range, thereby stopping playback. Should fix #3973.
git-svn-id: svn://localhost/ardour2/branches/3.0@9399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 13:59:32 +00:00
Carl Hetherington
b25ef3ae69 Fix an assertion failure when stopping the transport with an active controllable touch gesture.
git-svn-id: svn://localhost/ardour2/branches/3.0@9389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:46 +00:00
Carl Hetherington
e157694c67 A few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@9387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:34 +00:00
Carl Hetherington
d22cd939a3 Remove unused NascentInfo::is_touch member.
git-svn-id: svn://localhost/ardour2/branches/3.0@9386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:25 +00:00
Carl Hetherington
ee697bef96 Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:17 +00:00
Carl Hetherington
51e368f3f0 Fix assertion failure when merging a set of nascent events which start at the same time as the last event in a ControlList.
git-svn-id: svn://localhost/ardour2/branches/3.0@9384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 01:24:10 +00:00
5ebdcdf12e remove debugging output from audioengine/port code
git-svn-id: svn://localhost/ardour2/branches/3.0@9383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 17:59:52 +00:00
7035a21057 crude but apparently working fix for issues with JACK port deletion at session shutdown
git-svn-id: svn://localhost/ardour2/branches/3.0@9382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:54:18 +00:00
ee728d763d allow invalidation-of-UI-request-by-object-deletion to work more often by setting the event loop record at connect time, not execution time
git-svn-id: svn://localhost/ardour2/branches/3.0@9379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 16:07:10 +00:00
Carl Hetherington
480986bb60 Save route group reorderings in the session file. Link changes in the mixer and editor group lists (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 15:46:47 +00:00
Carl Hetherington
e55780afbd Reverse the scroll wheel behaviour of the scroomer so that it feels the same as scrolling the track view (#3953).
git-svn-id: svn://localhost/ardour2/branches/3.0@9375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 10:43:58 +00:00
Carl Hetherington
65a90ccffc Initialise aux send gain to -inf dB (#3990).
git-svn-id: svn://localhost/ardour2/branches/3.0@9368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-18 18:50:38 +00:00
Carl Hetherington
02f4247e65 Remove some unused stuff from SVN (#3985).
git-svn-id: svn://localhost/ardour2/branches/3.0@9364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-17 23:27:08 +00:00
Carl Hetherington
47018e771d Fix erroneous masking when loading bank changes (part of #3916).
git-svn-id: svn://localhost/ardour2/branches/3.0@9359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 15:10:25 +00:00
Carl Hetherington
cb643ab965 Remove some calls to process_updates() which I think prevent GTK coalescing redraw requests. Remove some debugging code. Suspend update of MIDI regions during scroomer drag to speed things up (#3954).
git-svn-id: svn://localhost/ardour2/branches/3.0@9357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 13:31:27 +00:00
Carl Hetherington
1cc5a1829b Fix 'make new plugins active' configure option (#3975).
git-svn-id: svn://localhost/ardour2/branches/3.0@9351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-15 00:28:29 +00:00
852232ad27 Tolerate LV2 plugins that call persist/file state functions early.
git-svn-id: svn://localhost/ardour2/branches/3.0@9343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-13 01:44:46 +00:00
Carl Hetherington
036174daf1 Move check for a new session directory being writable to after it has been created.
git-svn-id: svn://localhost/ardour2/branches/3.0@9342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11 18:49:51 +00:00
41d0052d19 remove all use of access(2) (this was done a bit stupidly, we could have used g_access)
git-svn-id: svn://localhost/ardour2/branches/3.0@9340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:38:42 +00:00
8177e85bf9 fix mismatching use of operator new() when allocating buffer to passed into libsmf - should be malloc'ed
git-svn-id: svn://localhost/ardour2/branches/3.0@9339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:36:54 +00:00
93a24066de add PBD::sys::path::exists_and_writable() method to help replace access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:27:22 +00:00
aca716c0d6 remove another instance of access(2)
git-svn-id: svn://localhost/ardour2/branches/3.0@9337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:01:06 +00:00
a9a05441ae part two of: correctly reset capture alignment at session load
git-svn-id: svn://localhost/ardour2/branches/3.0@9336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:44 +00:00
5d9c6089a4 formatting cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@9335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 15:00:15 +00:00
64022eebcb correctly reset capture alignment at session load; for MIDI diskstreams, don't try to set capture alignment based on connectivity, always set _source_port ASAP and check _source_port when recording
git-svn-id: svn://localhost/ardour2/branches/3.0@9334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-09 14:59:22 +00:00
ce35e913d0 rename only the main outs of a route when its name changes, not inserts or sends, which leads to port name collisions since the name gets shared with the route itself
git-svn-id: svn://localhost/ardour2/branches/3.0@9333 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-08 16:48:34 +00:00
67d970529a Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@9304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 16:35:20 +00:00
0906b39918 Fix my name :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 15:00:16 +00:00
948d449843 Update LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:59:37 +00:00
e0140b7c8f Implement latest LV2 files extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@9300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 14:58:44 +00:00
Carl Hetherington
e8c8befb87 Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940.
git-svn-id: svn://localhost/ardour2/branches/3.0@9299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 02:04:37 +00:00
Carl Hetherington
72f85f6cec Fix show checkbuttons for mixer groups on startup (#3919). Also synchronise visible status between editor and mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@9297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 00:36:36 +00:00
e54d71ec3d remove unused arguments to keep gcc quiet
git-svn-id: svn://localhost/ardour2/branches/3.0@9291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-05 01:03:44 +00:00
Carl Hetherington
fedc155b94 Fix read_raw_internal to use the appropriate audio source for the specified channel, and fix maximum_amplitude to check all channels of a region rather than just the first. Fixes #3933.
git-svn-id: svn://localhost/ardour2/branches/3.0@9290 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:32:20 +00:00
71222c2e6e Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9289 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 23:00:48 +00:00
62e730b57a Fix broken whitespace (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@9288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:46:48 +00:00
847e8f0610 add some scroll wheel support to the scroomer
git-svn-id: svn://localhost/ardour2/branches/3.0@9287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 22:26:03 +00:00
3a40d9ef6b minor tweaks to debug output and comments and header order
git-svn-id: svn://localhost/ardour2/branches/3.0@9285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:48:17 +00:00
d043ee396b when overwriting existing MIDI buffers in a MidiDiskstream be sure to update file_frame so that the *next* read is from the right location in the source; plus slighly improved debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@9284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04 21:44:56 +00:00