ardour.git
12 years agoCreate Freesound working directory a little more lazily so
Carl Hetherington [Tue, 27 Dec 2011 14:36:14 +0000 (14:36 +0000)]
Create Freesound working directory a little more lazily so
that a Freesound directory doesn't appear in /home/carl
without ever using Freesound.

git-svn-id: svn://localhost/ardour2/branches/3.0@11090 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix mistake in error checking of audio clock BBT times (#4589)
Carl Hetherington [Tue, 27 Dec 2011 02:15:28 +0000 (02:15 +0000)]
Fix mistake in error checking of audio clock BBT times (#4589)

git-svn-id: svn://localhost/ardour2/branches/3.0@11089 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRe-work layering in possibly debatable ways. Sketchy docs in doc/layering.
Carl Hetherington [Tue, 27 Dec 2011 01:42:49 +0000 (01:42 +0000)]
Re-work layering in possibly debatable ways.  Sketchy docs in doc/layering.

git-svn-id: svn://localhost/ardour2/branches/3.0@11088 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove some wrongly commited stuff. Sorry\!
Carl Hetherington [Tue, 27 Dec 2011 00:57:20 +0000 (00:57 +0000)]
Remove some wrongly commited stuff.  Sorry\!

git-svn-id: svn://localhost/ardour2/branches/3.0@11087 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd configure option to raise a FP exception when a denormal
Carl Hetherington [Tue, 27 Dec 2011 00:48:31 +0000 (00:48 +0000)]
Add configure option to raise a FP exception when a denormal
is detected.

git-svn-id: svn://localhost/ardour2/branches/3.0@11086 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix comparison of beats to frames when deciding whether to show a patch change (shoul...
Carl Hetherington [Tue, 27 Dec 2011 00:22:26 +0000 (00:22 +0000)]
Fix comparison of beats to frames when deciding whether to show a patch change (should fix #4569).

git-svn-id: svn://localhost/ardour2/branches/3.0@11085 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMove patch changes when inserting silence at the start of a model.
Carl Hetherington [Tue, 27 Dec 2011 00:22:21 +0000 (00:22 +0000)]
Move patch changes when inserting silence at the start of a model.

git-svn-id: svn://localhost/ardour2/branches/3.0@11084 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoadd a new name for the region-layering-editor-action that tells us we were started...
Paul Davis [Mon, 26 Dec 2011 23:38:56 +0000 (23:38 +0000)]
add a new name for the region-layering-editor-action that tells us we were started from a context menu; dialog does not position correctly on first show... grrr. should end fix of #4588, mostly

git-svn-id: svn://localhost/ardour2/branches/3.0@11083 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix coloring of region layer order editor clock
Paul Davis [Mon, 26 Dec 2011 23:18:58 +0000 (23:18 +0000)]
fix coloring of region layer order editor clock

git-svn-id: svn://localhost/ardour2/branches/3.0@11082 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agowhen a context click event occurs in the editor, store the event so we can use it...
Paul Davis [Mon, 26 Dec 2011 23:18:24 +0000 (23:18 +0000)]
when a context click event occurs in the editor, store the event so we can use it to determine position later during its handling, if necessary

git-svn-id: svn://localhost/ardour2/branches/3.0@11081 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomake the "with-parent" constructor for ArdourWindow actually work by calling set_tran...
Paul Davis [Mon, 26 Dec 2011 23:17:33 +0000 (23:17 +0000)]
make the "with-parent" constructor for ArdourWindow actually work by calling set_transient_for

git-svn-id: svn://localhost/ardour2/branches/3.0@11080 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoexplain MXCSR shenanigans in libs/pbd/fpu.cc
Paul Davis [Mon, 26 Dec 2011 22:32:21 +0000 (22:32 +0000)]
explain MXCSR shenanigans in libs/pbd/fpu.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@11079 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years ago(1) do not write sequential same-value automation data into a ControlList (2) thin...
Paul Davis [Mon, 26 Dec 2011 22:13:54 +0000 (22:13 +0000)]
(1) do not write sequential same-value automation data into a ControlList (2) thin AutomationList data when reloading from disk (similar code as Ben's from ardour 2.X, but without user-adjustable thinning density at present). Should fix #4583 and maybe others caused by NaN's occuring from zero-slope lines

git-svn-id: svn://localhost/ardour2/branches/3.0@11078 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix warnings during test runs.
Carl Hetherington [Mon, 26 Dec 2011 19:01:57 +0000 (19:01 +0000)]
Fix warnings during test runs.

git-svn-id: svn://localhost/ardour2/branches/3.0@11077 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoClean up session after test.
Carl Hetherington [Mon, 26 Dec 2011 17:51:03 +0000 (17:51 +0000)]
Clean up session after test.

git-svn-id: svn://localhost/ardour2/branches/3.0@11076 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused method.
Carl Hetherington [Mon, 26 Dec 2011 17:50:53 +0000 (17:50 +0000)]
Remove unused method.

git-svn-id: svn://localhost/ardour2/branches/3.0@11075 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoa grab bag of changes correcting and improving the way MIDI note on/off tracking...
Paul Davis [Mon, 26 Dec 2011 17:01:31 +0000 (17:01 +0000)]
a grab bag of changes correcting and improving the way MIDI note on/off tracking is done. may/should fix a number of problem with spurious note-offs under a variety of circumstances

git-svn-id: svn://localhost/ardour2/branches/3.0@11074 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoTidy up monitoring slightly so that it matches oofus' truth
Carl Hetherington [Mon, 26 Dec 2011 15:37:14 +0000 (15:37 +0000)]
Tidy up monitoring slightly so that it matches oofus' truth
table for the various different states.  Should fix #4533.

git-svn-id: svn://localhost/ardour2/branches/3.0@11073 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoShow panner drag information tool-tip style, and also show
Carl Hetherington [Mon, 26 Dec 2011 14:30:35 +0000 (14:30 +0000)]
Show panner drag information tool-tip style, and also show
it when the button is pressed to start a drag (#4584 and
#4585).

git-svn-id: svn://localhost/ardour2/branches/3.0@11072 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMove some bits from MonoPanner and StereoPanner into a
Carl Hetherington [Mon, 26 Dec 2011 14:05:19 +0000 (14:05 +0000)]
Move some bits from MonoPanner and StereoPanner into a
common base class.

git-svn-id: svn://localhost/ardour2/branches/3.0@11071 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoComments.
Carl Hetherington [Mon, 26 Dec 2011 12:50:24 +0000 (12:50 +0000)]
Comments.

git-svn-id: svn://localhost/ardour2/branches/3.0@11070 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove overly-floodish debug message from MidiTrackers trace
Paul Davis [Fri, 23 Dec 2011 19:20:52 +0000 (19:20 +0000)]
remove overly-floodish debug message from MidiTrackers trace

git-svn-id: svn://localhost/ardour2/branches/3.0@11068 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRename a few bits and fix a undeclared method.
Carl Hetherington [Fri, 23 Dec 2011 01:38:38 +0000 (01:38 +0000)]
Rename a few bits and fix a undeclared method.

git-svn-id: svn://localhost/ardour2/branches/3.0@11066 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused declaration.
Carl Hetherington [Fri, 23 Dec 2011 01:38:32 +0000 (01:38 +0000)]
Remove unused declaration.

git-svn-id: svn://localhost/ardour2/branches/3.0@11065 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoClarify ensure vs. request for JACK monitoring, naming-wise.
Carl Hetherington [Fri, 23 Dec 2011 01:11:46 +0000 (01:11 +0000)]
Clarify ensure vs. request for JACK monitoring, naming-wise.

git-svn-id: svn://localhost/ardour2/branches/3.0@11064 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMatch request in function names to the eventual call to jack_port_request_monitor.
Carl Hetherington [Fri, 23 Dec 2011 01:11:41 +0000 (01:11 +0000)]
Match request in function names to the eventual call to jack_port_request_monitor.

git-svn-id: svn://localhost/ardour2/branches/3.0@11063 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoDo some renaming in the ARDOUR::Port class tree.
Carl Hetherington [Fri, 23 Dec 2011 00:26:25 +0000 (00:26 +0000)]
Do some renaming in the ARDOUR::Port class tree.

git-svn-id: svn://localhost/ardour2/branches/3.0@11062 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused header.
Carl Hetherington [Thu, 22 Dec 2011 23:50:08 +0000 (23:50 +0000)]
Remove unused header.

git-svn-id: svn://localhost/ardour2/branches/3.0@11061 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused declaration.
Carl Hetherington [Thu, 22 Dec 2011 23:41:59 +0000 (23:41 +0000)]
Remove unused declaration.

git-svn-id: svn://localhost/ardour2/branches/3.0@11060 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomore tempo-related AU changes
Paul Davis [Thu, 22 Dec 2011 21:07:04 +0000 (21:07 +0000)]
more tempo-related AU changes

git-svn-id: svn://localhost/ardour2/branches/3.0@11059 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoswitch over audio_unit.cc to use divisions_per_bar() not beats_per_bar(). not sure...
Paul Davis [Thu, 22 Dec 2011 20:48:37 +0000 (20:48 +0000)]
switch over audio_unit.cc to use divisions_per_bar() not beats_per_bar(). not sure how this was missed

git-svn-id: svn://localhost/ardour2/branches/3.0@11058 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomain fix: when transport stops, clear per-region per-playlist note trackers even...
Paul Davis [Thu, 22 Dec 2011 20:14:47 +0000 (20:14 +0000)]
main fix: when transport stops, clear per-region per-playlist note trackers even if there is no capture data to process; side effects: remove unused MidiBuffer::merge() and add DEBUG::MidiTrackers as well as more and better MIDI debug tracing facilities

git-svn-id: svn://localhost/ardour2/branches/3.0@11057 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix a build issue in Evoral that was preventing Sequencer<T>::dump() from being avail...
Paul Davis [Thu, 22 Dec 2011 02:09:39 +0000 (02:09 +0000)]
fix a build issue in Evoral that was preventing Sequencer<T>::dump() from being available, and expose operator<< for Sequence<T>

git-svn-id: svn://localhost/ardour2/branches/3.0@11054 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove extraneous debugging output from MidiBuffer::merge_in_place()
Paul Davis [Wed, 21 Dec 2011 19:56:40 +0000 (19:56 +0000)]
remove extraneous debugging output from MidiBuffer::merge_in_place()

git-svn-id: svn://localhost/ardour2/branches/3.0@11053 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoreorganize MidiBuffer::merge_in_place() to cover the cases i wasn't thinking about...
Paul Davis [Wed, 21 Dec 2011 19:33:41 +0000 (19:33 +0000)]
reorganize MidiBuffer::merge_in_place() to cover the cases i wasn't thinking about and be more logical to anyone else

git-svn-id: svn://localhost/ardour2/branches/3.0@11052 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agolikely fix for crash in MidiBuffer::merge_in_place() due to unwarranted assumption...
Paul Davis [Wed, 21 Dec 2011 18:10:58 +0000 (18:10 +0000)]
likely fix for crash in MidiBuffer::merge_in_place() due to unwarranted assumption in the code

git-svn-id: svn://localhost/ardour2/branches/3.0@11051 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomerge-in-place debugging (to be removed later)
Paul Davis [Wed, 21 Dec 2011 17:30:08 +0000 (17:30 +0000)]
merge-in-place debugging (to be removed later)

git-svn-id: svn://localhost/ardour2/branches/3.0@11050 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofollowup to the previous tempo-dragging commit: use argument to Drag::aborted() to...
Paul Davis [Wed, 21 Dec 2011 14:21:05 +0000 (14:21 +0000)]
followup to the previous tempo-dragging commit: use argument to Drag::aborted() to know if we moved; update the frame position of tempo map metrics when we remove a tempo mark (should fix visual glitches when dragging tempo)

git-svn-id: svn://localhost/ardour2/branches/3.0@11049 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from Prokoudine to fix translators list (#4580).
Carl Hetherington [Wed, 21 Dec 2011 14:01:18 +0000 (14:01 +0000)]
Patch from Prokoudine to fix translators list (#4580).

git-svn-id: svn://localhost/ardour2/branches/3.0@11048 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agosimilar to treatment of meter markers, remove tempo marks from the tempo map while...
Paul Davis [Wed, 21 Dec 2011 02:53:33 +0000 (02:53 +0000)]
similar to treatment of meter markers, remove tempo marks from the tempo map while dragging, to avoid wierd side effects

git-svn-id: svn://localhost/ardour2/branches/3.0@11047 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoprovide config parameter to allow non-quarter note pulses; off by default; no GUI...
Paul Davis [Wed, 21 Dec 2011 02:33:38 +0000 (02:33 +0000)]
provide config parameter to allow non-quarter note pulses; off by default; no GUI to reset it at this point

git-svn-id: svn://localhost/ardour2/branches/3.0@11046 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoremove comment
Paul Davis [Wed, 21 Dec 2011 02:11:03 +0000 (02:11 +0000)]
remove comment

git-svn-id: svn://localhost/ardour2/branches/3.0@11045 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMissing file.
Carl Hetherington [Wed, 21 Dec 2011 00:58:12 +0000 (00:58 +0000)]
Missing file.

git-svn-id: svn://localhost/ardour2/branches/3.0@11041 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSome tinkering with the docbook manual, just for more kicks.
Carl Hetherington [Wed, 21 Dec 2011 00:56:07 +0000 (00:56 +0000)]
Some tinkering with the docbook manual, just for more kicks.

git-svn-id: svn://localhost/ardour2/branches/3.0@11040 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoUn bit-rot the docbook manual build, just for kicks.
Carl Hetherington [Wed, 21 Dec 2011 00:55:57 +0000 (00:55 +0000)]
Un bit-rot the docbook manual build, just for kicks.

git-svn-id: svn://localhost/ardour2/branches/3.0@11039 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agouse the same kludge-removal approach in the prior commit for the meter dialog too...
Paul Davis [Tue, 20 Dec 2011 16:56:07 +0000 (16:56 +0000)]
use the same kludge-removal approach in the prior commit for the meter dialog too, and fix a minor bug in the tempo dialog setup

git-svn-id: svn://localhost/ardour2/branches/3.0@11028 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agorework tempo dialog to (a) allow selection of pulse note type (b) avoid awful kludge...
Paul Davis [Tue, 20 Dec 2011 16:29:44 +0000 (16:29 +0000)]
rework tempo dialog to (a) allow selection of pulse note type (b) avoid awful kludge to get note type from the combobox; show pulse note type in tempo markers

git-svn-id: svn://localhost/ardour2/branches/3.0@11027 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoNow that notify_length_changed() just calls
Carl Hetherington [Tue, 20 Dec 2011 02:03:44 +0000 (02:03 +0000)]
Now that notify_length_changed() just calls
ContentsChanged, its callers can be removed or changed
to just notify_contents_changed.

git-svn-id: svn://localhost/ardour2/branches/3.0@11024 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove LengthChanged that no-one was listening to.
Carl Hetherington [Tue, 20 Dec 2011 02:03:38 +0000 (02:03 +0000)]
Remove LengthChanged that no-one was listening to.

git-svn-id: svn://localhost/ardour2/branches/3.0@11023 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agorename Timecode::BBT_Time::ticks_per_beat to Timecode::BBT_Time::ticks_per_bar_divisi...
Paul Davis [Mon, 19 Dec 2011 19:44:43 +0000 (19:44 +0000)]
rename Timecode::BBT_Time::ticks_per_beat to Timecode::BBT_Time::ticks_per_bar_division which is a more accurate and informative name. The number doesn't describe the smallest division of a "beat" (which is only defined contextually anyway), but rather the smallest division of the the divisions of a bar. If using a meter of 4/8, there are 4 divisions per bar, and we can divide each one into ticks_per_bar_division pieces; in a separate meter (section) of 3/8, there are 3 divisions per bar, each of which can be divided into ticks_per_bar_division_pieces.

git-svn-id: svn://localhost/ardour2/branches/3.0@11022 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodo not convert from grid-type-beats to frames and back to beats when determining...
Paul Davis [Mon, 19 Dec 2011 18:32:57 +0000 (18:32 +0000)]
do not convert from grid-type-beats to frames and back to beats when determining the length of a ghost note or the actual note to be inserted on button-press: just use grid-type-beats as is

git-svn-id: svn://localhost/ardour2/branches/3.0@11021 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix a number of errors with BBT time computations, mostly notably ones related to...
Paul Davis [Mon, 19 Dec 2011 18:32:06 +0000 (18:32 +0000)]
fix a number of errors with BBT time computations, mostly notably ones related to tempo-only change

git-svn-id: svn://localhost/ardour2/branches/3.0@11020 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoShow generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).
David Robillard [Sun, 18 Dec 2011 02:25:19 +0000 (02:25 +0000)]
Show generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).

git-svn-id: svn://localhost/ardour2/branches/3.0@11019 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused code.
Carl Hetherington [Sat, 17 Dec 2011 18:46:54 +0000 (18:46 +0000)]
Remove unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@11018 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoupdated czech translation from pavel fric
Paul Davis [Sat, 17 Dec 2011 16:40:35 +0000 (16:40 +0000)]
updated czech translation from pavel fric

git-svn-id: svn://localhost/ardour2/branches/3.0@11017 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoClear up confusion with overloads of _frozen and frozen()
Carl Hetherington [Sat, 17 Dec 2011 16:37:18 +0000 (16:37 +0000)]
Clear up confusion with overloads of _frozen and frozen()
meaning different things.

git-svn-id: svn://localhost/ardour2/branches/3.0@11016 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove unused code.
Carl Hetherington [Sat, 17 Dec 2011 02:05:04 +0000 (02:05 +0000)]
Remove unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@11015 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMake a fair bit of Region's interface private.
Carl Hetherington [Sat, 17 Dec 2011 02:04:58 +0000 (02:04 +0000)]
Make a fair bit of Region's interface private.

git-svn-id: svn://localhost/ardour2/branches/3.0@11014 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoupdate position of tempo map metrics when a meter marker is removed
Paul Davis [Fri, 16 Dec 2011 15:58:39 +0000 (15:58 +0000)]
update position of tempo map metrics when a meter marker is removed

git-svn-id: svn://localhost/ardour2/branches/3.0@11013 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd warning if a duplicate Linux VST plugin is rejected.
Carl Hetherington [Thu, 15 Dec 2011 22:27:15 +0000 (22:27 +0000)]
Add warning if a duplicate Linux VST plugin is rejected.

git-svn-id: svn://localhost/ardour2/branches/3.0@11012 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd basic test of playlist layering.
Carl Hetherington [Thu, 15 Dec 2011 14:33:20 +0000 (14:33 +0000)]
Add basic test of playlist layering.

git-svn-id: svn://localhost/ardour2/branches/3.0@11011 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from GMaq to add Freedesktop category
Carl Hetherington [Thu, 15 Dec 2011 12:11:49 +0000 (12:11 +0000)]
Patch from GMaq to add Freedesktop category
AudioEditing.

git-svn-id: svn://localhost/ardour2/branches/3.0@11010 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoPatch from colinf to fix name in French translation (#4565).
Carl Hetherington [Thu, 15 Dec 2011 12:10:11 +0000 (12:10 +0000)]
Patch from colinf to fix name in French translation (#4565).

git-svn-id: svn://localhost/ardour2/branches/3.0@11009 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agodo not delete GtkUIManager-generated menu from ProcessorBox when the PB is destroyed...
Paul Davis [Thu, 15 Dec 2011 02:19:21 +0000 (02:19 +0000)]
do not delete GtkUIManager-generated menu from ProcessorBox when the PB is destroyed. read the comment for more details

git-svn-id: svn://localhost/ardour2/branches/3.0@11008 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agosend sustain=off and all-notes-off when a MIDI track is muted (may fix #4295)
Paul Davis [Wed, 14 Dec 2011 17:17:30 +0000 (17:17 +0000)]
send sustain=off and all-notes-off when a MIDI track is muted (may fix #4295)

git-svn-id: svn://localhost/ardour2/branches/3.0@11005 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoget Delivery to disconnect from any signals it is connected to relatively early in...
Paul Davis [Wed, 14 Dec 2011 17:08:57 +0000 (17:08 +0000)]
get Delivery to disconnect from any signals it is connected to relatively early in its destructor, so that it is not possible to call Delivery::cycle_start() and encounter a partially formed Delivery-derived object. may fix a crash that geoff beasley has seen with jack2

git-svn-id: svn://localhost/ardour2/branches/3.0@11004 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agonew renderings (at 21x21) of zoom icons, from roy vegard
Paul Davis [Wed, 14 Dec 2011 17:03:28 +0000 (17:03 +0000)]
new renderings (at 21x21) of zoom icons, from roy vegard

git-svn-id: svn://localhost/ardour2/branches/3.0@11003 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agopatch from roy vegard to stop feedback from causing jumps when a MIDI controller...
Paul Davis [Wed, 14 Dec 2011 15:57:48 +0000 (15:57 +0000)]
patch from roy vegard to stop feedback from causing jumps when a MIDI controller and ardour are out of sync

git-svn-id: svn://localhost/ardour2/branches/3.0@11001 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix meter marker drags by not using a fake marker till first move, and swapping the...
Paul Davis [Tue, 13 Dec 2011 19:43:41 +0000 (19:43 +0000)]
fix meter marker drags by not using a fake marker till first move, and swapping the grabbed item to the copy when we do

git-svn-id: svn://localhost/ardour2/branches/3.0@10999 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix up mess with unassigned Playlist::orig_track_id
Paul Davis [Tue, 13 Dec 2011 16:52:33 +0000 (16:52 +0000)]
fix up mess with unassigned Playlist::orig_track_id

git-svn-id: svn://localhost/ardour2/branches/3.0@10998 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoRemove meter from beats calculations now that it is no
Carl Hetherington [Tue, 13 Dec 2011 11:05:52 +0000 (11:05 +0000)]
Remove meter from beats calculations now that it is no
longer important.

git-svn-id: svn://localhost/ardour2/branches/3.0@10997 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix up XML property name for Meter::beats_per_bar (w/backward compat)
Paul Davis [Tue, 13 Dec 2011 02:53:14 +0000 (02:53 +0000)]
fix up XML property name for Meter::beats_per_bar (w/backward compat)

git-svn-id: svn://localhost/ardour2/branches/3.0@10996 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agomore fun and games with meter and the tempo map: rename Meter::beats_per_bar() to...
Paul Davis [Tue, 13 Dec 2011 02:46:36 +0000 (02:46 +0000)]
more fun and games with meter and the tempo map: rename Meter::beats_per_bar() to Meter::divisions_per_bar() so that its clear(er) on what it is actually returning; use Meter::divisions_per_bar() in more (all?) places that need it; fix up dragging meter marks by removing the relevant meter section from the map while we drag; operator<< for some tempo-related objects

git-svn-id: svn://localhost/ardour2/branches/3.0@10995 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd select all / deselect all to timespan section of export dialogue (#4273).
Carl Hetherington [Tue, 13 Dec 2011 00:15:17 +0000 (00:15 +0000)]
Add select all / deselect all to timespan section of export dialogue (#4273).

git-svn-id: svn://localhost/ardour2/branches/3.0@10994 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMake the export ranges view expand with the export dialogue.
Carl Hetherington [Tue, 13 Dec 2011 00:15:11 +0000 (00:15 +0000)]
Make the export ranges view expand with the export dialogue.

git-svn-id: svn://localhost/ardour2/branches/3.0@10993 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAlways set up _last_position on set_position_internal so that the playlist range...
Carl Hetherington [Mon, 12 Dec 2011 23:39:09 +0000 (23:39 +0000)]
Always set up _last_position on set_position_internal so that the playlist range movement code doesn't get confused when we have region move notifications where the region doesn't actually move (should fix #4557).

git-svn-id: svn://localhost/ardour2/branches/3.0@10992 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMake the MidiRegionSelection notice when its MidiRegionViews go away; fixes one sourc...
Carl Hetherington [Mon, 12 Dec 2011 19:03:46 +0000 (19:03 +0000)]
Make the MidiRegionSelection notice when its MidiRegionViews go away; fixes one source of memory corruption during MIDI edits.

git-svn-id: svn://localhost/ardour2/branches/3.0@10991 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoimprove layout and display of CD range info in location display
Paul Davis [Mon, 12 Dec 2011 15:13:10 +0000 (15:13 +0000)]
improve layout and display of CD range info in location display

git-svn-id: svn://localhost/ardour2/branches/3.0@10989 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofundamentally alter how we compute frames_per_beat(). this follows much discussion...
Paul Davis [Mon, 12 Dec 2011 14:00:44 +0000 (14:00 +0000)]
fundamentally alter how we compute frames_per_beat(). this follows much discussion on IRC. fundamentally, tempo and ONLY tempo affects the computation of frames_per_beat(), meter has no effect at all. However, following typical DAW conventions, we continue to want the "grid" to show metric divisions, not fixed beats, so add a new method (Meter::frames_per_division()) that retains the old math which takes meter into account. This commit will alter the behaviour of MIDI notes in any session with multiple time signatures. They will likely break. Unfortunately, there is no alternative to this breakage at this time.

git-svn-id: svn://localhost/ardour2/branches/3.0@10988 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSet up region BBT time when frame position changes, if the region is glued to BBT...
Carl Hetherington [Mon, 12 Dec 2011 02:50:47 +0000 (02:50 +0000)]
Set up region BBT time when frame position changes, if the region is glued to BBT; fixes part of #4257.

git-svn-id: svn://localhost/ardour2/branches/3.0@10986 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMake TimeAxisView::remove_child virtual so that RouteTimeAxis can override it to...
Carl Hetherington [Mon, 12 Dec 2011 02:17:17 +0000 (02:17 +0000)]
Make TimeAxisView::remove_child virtual so that RouteTimeAxis can override it to also remove the same child from its _automation_tracks list.  Prevents a shared_ptr to an out-of-date AutomationTimeAxisView hanging around; fixes #4554.

git-svn-id: svn://localhost/ardour2/branches/3.0@10985 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSimilar hacks to framepos_minus_beats to handle -ve
Carl Hetherington [Sun, 11 Dec 2011 21:14:35 +0000 (21:14 +0000)]
Similar hacks to framepos_minus_beats to handle -ve
positions as were appled to framepos_plus_beats.

git-svn-id: svn://localhost/ardour2/branches/3.0@10984 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix up supplied templates missing from last commit.
Carl Hetherington [Sun, 11 Dec 2011 20:44:29 +0000 (20:44 +0000)]
Fix up supplied templates missing from last commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@10983 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSave templates as directories with plugin state, if
Carl Hetherington [Sun, 11 Dec 2011 20:38:42 +0000 (20:38 +0000)]
Save templates as directories with plugin state, if
there is any, and copy that state to sessions created
from those templates.  Should fix #4525.  Breaks
existing session templates, sorry; they can be fixed by
moving the .template file into a new directory with the
name of the template (minus the .template).

git-svn-id: svn://localhost/ardour2/branches/3.0@10982 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMinor fix to error message.
Carl Hetherington [Sun, 11 Dec 2011 20:38:31 +0000 (20:38 +0000)]
Minor fix to error message.

git-svn-id: svn://localhost/ardour2/branches/3.0@10981 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoadd middle-clock-on-range/marker-clock to locate there
Paul Davis [Sun, 11 Dec 2011 17:26:48 +0000 (17:26 +0000)]
add middle-clock-on-range/marker-clock to locate there

git-svn-id: svn://localhost/ardour2/branches/3.0@10980 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSet up ArdourButton state to match the action when the
Carl Hetherington [Sun, 11 Dec 2011 17:08:47 +0000 (17:08 +0000)]
Set up ArdourButton state to match the action when the
action is attached.  Fixes #4523.

git-svn-id: svn://localhost/ardour2/branches/3.0@10979 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoClarify stop-at-session-end behaviour; should fix #4033.
Carl Hetherington [Sun, 11 Dec 2011 16:26:03 +0000 (16:26 +0000)]
Clarify stop-at-session-end behaviour; should fix #4033.

git-svn-id: svn://localhost/ardour2/branches/3.0@10978 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix lack of marker/range display in marker/range list at startup, and tweak location...
Paul Davis [Sun, 11 Dec 2011 16:16:48 +0000 (16:16 +0000)]
fix lack of marker/range display in marker/range list at startup, and tweak location display quite a bit to improve things (not done yet)

git-svn-id: svn://localhost/ardour2/branches/3.0@10977 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoKeep track of MIDI region's start positions in beats, to
Carl Hetherington [Sun, 11 Dec 2011 14:50:36 +0000 (14:50 +0000)]
Keep track of MIDI region's start positions in beats, to
match the source, so that starts are not corrupted when
tempos change (#4494).

git-svn-id: svn://localhost/ardour2/branches/3.0@10976 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSessions loaded from 2.X don't have a diskstream (yet)
Carl Hetherington [Sun, 11 Dec 2011 14:14:17 +0000 (14:14 +0000)]
Sessions loaded from 2.X don't have a diskstream (yet)
in Track::set_state(); prevent a crash, at least; not
100% sure if the behaviour is right, though.

git-svn-id: svn://localhost/ardour2/branches/3.0@10975 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoYet another bug in previous commit.
Carl Hetherington [Sun, 11 Dec 2011 14:07:24 +0000 (14:07 +0000)]
Yet another bug in previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@10974 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix some bugs I introduced with the last commit.
Carl Hetherington [Sun, 11 Dec 2011 13:42:18 +0000 (13:42 +0000)]
Fix some bugs I introduced with the last commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@10973 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoMove note creation code into a Drag; fix snapping of note
Carl Hetherington [Sun, 11 Dec 2011 12:54:54 +0000 (12:54 +0000)]
Move note creation code into a Drag; fix snapping of note
starts when drag-created (part of #4505).

git-svn-id: svn://localhost/ardour2/branches/3.0@10972 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoFix framewalk_to_beats when it traverses more than one
Carl Hetherington [Sat, 10 Dec 2011 20:23:59 +0000 (20:23 +0000)]
Fix framewalk_to_beats when it traverses more than one
metric change.

git-svn-id: svn://localhost/ardour2/branches/3.0@10970 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agofix for most (all? we can dream ...) issues involved in #4399 (editing multiply-appli...
Paul Davis [Sat, 10 Dec 2011 19:20:15 +0000 (19:20 +0000)]
fix for most (all? we can dream ...) issues involved in #4399 (editing multiply-applies operations to playlists used more than once), and as a side-issue, fix playlist selection which broke when we hid Diskstreams inside Tracks by using orig_track_id() rather than orig_diskstream_id()

git-svn-id: svn://localhost/ardour2/branches/3.0@10968 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoSlightly simpler implementation of framewalk_to_beats.
Carl Hetherington [Sat, 10 Dec 2011 16:06:29 +0000 (16:06 +0000)]
Slightly simpler implementation of framewalk_to_beats.

git-svn-id: svn://localhost/ardour2/branches/3.0@10967 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoComments.
Carl Hetherington [Sat, 10 Dec 2011 15:08:13 +0000 (15:08 +0000)]
Comments.

git-svn-id: svn://localhost/ardour2/branches/3.0@10966 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoDon't try to process_input() if an IO has no ports; fixes
Carl Hetherington [Sat, 10 Dec 2011 14:03:37 +0000 (14:03 +0000)]
Don't try to process_input() if an IO has no ports; fixes
#4546.

git-svn-id: svn://localhost/ardour2/branches/3.0@10965 d708f5d6-7413-0410-9779-e7cbd77b26cf

12 years agoAdd fixed-up framepos_plus_beats() and use it for the BeatsFramesConverter, since...
Carl Hetherington [Sat, 10 Dec 2011 13:49:08 +0000 (13:49 +0000)]
Add fixed-up framepos_plus_beats() and use it for the BeatsFramesConverter, since it only ever passed in beats to framepos_plus_bbt anyway.

git-svn-id: svn://localhost/ardour2/branches/3.0@10964 d708f5d6-7413-0410-9779-e7cbd77b26cf