ardour.git
11 years agofix complaints from OS X gcc about constness
Paul Davis [Mon, 29 Oct 2012 16:13:33 +0000 (16:13 +0000)]
fix complaints from OS X gcc about constness

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

11 years agoLTC (slave&gen): no reset on graph-change
Robin Gareus [Sun, 28 Oct 2012 10:48:06 +0000 (10:48 +0000)]
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

11 years agofix serious logic error in re-ordering treeviews after route order keys/RIDs change...
Paul Davis [Sat, 27 Oct 2012 00:15:45 +0000 (00:15 +0000)]
fix serious logic error in re-ordering treeviews after route order keys/RIDs change - fixes major memory corruption bug that overwrote random memory as soon as a track gets deleted and/or user-defined remote IDs are in use

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

11 years agodo not do LTC port latency stuff during session deletion, which causes Session::ltc_r...
Paul Davis [Sat, 27 Oct 2012 00:14:37 +0000 (00:14 +0000)]
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

11 years agofix erroneous use of scoped_ptr where scoped_array should be used
Paul Davis [Sat, 27 Oct 2012 00:14:08 +0000 (00:14 +0000)]
fix erroneous use of scoped_ptr where scoped_array should be used

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

11 years agoadd LTC ports to Ardour-Misc group
Robin Gareus [Fri, 26 Oct 2012 11:39:15 +0000 (11:39 +0000)]
add LTC ports to Ardour-Misc group

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

11 years agoLTC generator - reinit on xrun or graph-reorder
Robin Gareus [Fri, 26 Oct 2012 11:39:13 +0000 (11:39 +0000)]
LTC generator - reinit on xrun or graph-reorder

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

11 years agoLTC Slave - re-init on xrun or graph change
Robin Gareus [Fri, 26 Oct 2012 11:39:10 +0000 (11:39 +0000)]
LTC Slave - re-init on xrun or graph change

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

11 years agoMTC generator: fix assert when trying to send fps > 30fps
Robin Gareus [Fri, 26 Oct 2012 03:11:18 +0000 (03:11 +0000)]
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

11 years agoLTC generator checks itself if to send LTC or not.
Robin Gareus [Fri, 26 Oct 2012 03:11:16 +0000 (03:11 +0000)]
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

11 years agoLTC slave; consolidate FPS detection
Robin Gareus [Fri, 26 Oct 2012 03:11:14 +0000 (03:11 +0000)]
LTC slave; consolidate FPS detection

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

11 years agoLTC generator - prevent assert when framerate changes midway
Robin Gareus [Fri, 26 Oct 2012 03:11:12 +0000 (03:11 +0000)]
LTC generator - prevent assert when framerate changes midway

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

11 years agoprevent raptor attacks on Ardour's lead developer.
Robin Gareus [Fri, 26 Oct 2012 03:11:10 +0000 (03:11 +0000)]
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

11 years agoadd a preference dialog heading for the LTC generator
Robin Gareus [Fri, 26 Oct 2012 03:11:07 +0000 (03:11 +0000)]
add a preference dialog heading for the LTC generator

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

11 years agoclean up consequences of using IO/Port/Buffer for LTC output, and in related work...
Paul Davis [Fri, 26 Oct 2012 00:17:41 +0000 (00:17 +0000)]
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

11 years agofix some issues with previous commit that were not properly tested because HAVE_LTC...
Paul Davis [Thu, 25 Oct 2012 20:21:17 +0000 (20:21 +0000)]
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

11 years agomove ownership of LTC I/O ports to Session, and manage as IO objects
Paul Davis [Thu, 25 Oct 2012 19:46:23 +0000 (19:46 +0000)]
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

11 years agoadd -g to the ardour3 executable to facilitate debugging of this version (similar...
Paul Davis [Thu, 25 Oct 2012 17:35:07 +0000 (17:35 +0000)]
add -g to the ardour3 executable to facilitate debugging of this version (similar to the bundle, but a different argument, just to keep things amazing)

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

11 years agodon't both with LTC parameter changes if HAVE_LTC is not set
Paul Davis [Thu, 25 Oct 2012 17:34:00 +0000 (17:34 +0000)]
don't both with LTC parameter changes if HAVE_LTC is not set

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

11 years agoLTC Slave: improve fps detection
Robin Gareus [Thu, 25 Oct 2012 17:07:59 +0000 (17:07 +0000)]
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

11 years agomostly cosmetic changes to LTC generator
Robin Gareus [Wed, 24 Oct 2012 18:33:30 +0000 (18:33 +0000)]
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

11 years agomore LTC config message tweaks
Robin Gareus [Wed, 24 Oct 2012 00:51:15 +0000 (00:51 +0000)]
more LTC config message tweaks

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

11 years agosave + restore OSC active+feedback state (#5023)
Paul Davis [Wed, 24 Oct 2012 00:29:11 +0000 (00:29 +0000)]
save + restore OSC active+feedback state (#5023)

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

11 years agoconform LTC config tooltip text
Robin Gareus [Wed, 24 Oct 2012 00:04:52 +0000 (00:04 +0000)]
conform LTC config tooltip text

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

11 years agofix sending static LTC
Robin Gareus [Wed, 24 Oct 2012 00:04:49 +0000 (00:04 +0000)]
fix sending static LTC

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

11 years agoupdate audio-clock design
Robin Gareus [Tue, 23 Oct 2012 23:32:41 +0000 (23:32 +0000)]
update audio-clock design

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

11 years agoLTC generator update
Robin Gareus [Tue, 23 Oct 2012 23:32:39 +0000 (23:32 +0000)]
LTC generator update

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

11 years agoLTC generator config
Robin Gareus [Tue, 23 Oct 2012 23:32:36 +0000 (23:32 +0000)]
LTC generator config

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

11 years agoMTC slave - resolve drift issue
Robin Gareus [Tue, 23 Oct 2012 17:10:31 +0000 (17:10 +0000)]
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

11 years agofix backwards playback position calculation
Robin Gareus [Tue, 23 Oct 2012 17:10:25 +0000 (17:10 +0000)]
fix backwards playback position calculation

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

11 years agoprobable fix for not being able to find audio files in a 2.X session that had "illega...
Paul Davis [Tue, 23 Oct 2012 14:52:26 +0000 (14:52 +0000)]
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

11 years agomore markup-escaping
Paul Davis [Tue, 23 Oct 2012 14:51:35 +0000 (14:51 +0000)]
more markup-escaping

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

11 years agouse Gtk::Label::set_text() rather than Gtk::Label::set_markup() where no markup is...
Paul Davis [Tue, 23 Oct 2012 14:45:45 +0000 (14:45 +0000)]
use Gtk::Label::set_text() rather than Gtk::Label::set_markup() where no markup is involved

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

11 years agoescape markup text that may contain non-legal characters (for GMarkup). this may...
Paul Davis [Tue, 23 Oct 2012 14:45:09 +0000 (14:45 +0000)]
escape markup text that may contain non-legal characters (for GMarkup). this may need to be done more widely

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

11 years agoMTC slave - fix jumps on initialization
Robin Gareus [Mon, 22 Oct 2012 17:34:15 +0000 (17:34 +0000)]
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

11 years agochange packing/design/sizing/labels at bottom of import dialog (should fix #5062...
Paul Davis [Mon, 22 Oct 2012 15:31:42 +0000 (15:31 +0000)]
change packing/design/sizing/labels at bottom of import dialog (should fix #5062 and looks a bit prettier even in english)

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

11 years agoadd LTC generator
Robin Gareus [Sun, 21 Oct 2012 14:07:10 +0000 (14:07 +0000)]
add LTC generator

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

11 years agoLTC Slave cleanup
Robin Gareus [Sun, 21 Oct 2012 14:07:07 +0000 (14:07 +0000)]
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

11 years agoLTC slave rewrite #2
Robin Gareus [Sat, 20 Oct 2012 18:14:13 +0000 (18:14 +0000)]
LTC slave rewrite #2

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

11 years agochange input/output button context menus for mixer strip to be non-additive: when...
Paul Davis [Thu, 18 Oct 2012 16:15:11 +0000 (16:15 +0000)]
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

11 years agofix computation of fixed ruler scales done before canvas width is set by allocation...
Paul Davis [Thu, 18 Oct 2012 15:38:04 +0000 (15:38 +0000)]
fix computation of fixed ruler scales done before canvas width is set by allocation handler (fixes #5065 and #5095)

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

11 years agoif a session is altered, ask about saving it BEFORE moving on to the new session...
Paul Davis [Thu, 18 Oct 2012 13:43:25 +0000 (13:43 +0000)]
if a session is altered, ask about saving it BEFORE moving on to the new session dialog (fixes #5086)

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

11 years agopatch from robin to fix where the transport start occurs when exporting (#4098)
Paul Davis [Wed, 17 Oct 2012 22:33:02 +0000 (22:33 +0000)]
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

11 years agopatch to take snapshots into account in the recent-session display of teh startup...
Paul Davis [Wed, 17 Oct 2012 22:22:03 +0000 (22:22 +0000)]
patch to take snapshots into account in the recent-session display of teh startup dialog, etc (from melvin ray herr)

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

11 years agosecond half of forward-port of recent a2/mb control protocol changes, this time enabl...
Paul Davis [Wed, 17 Oct 2012 22:01:02 +0000 (22:01 +0000)]
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

11 years agodisable LTC,MTC speed deadzone for now.
Robin Gareus [Wed, 17 Oct 2012 17:11:32 +0000 (17:11 +0000)]
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

11 years agodecrease LTC flywheel time and adjust DLL settings
Robin Gareus [Wed, 17 Oct 2012 15:57:55 +0000 (15:57 +0000)]
decrease LTC flywheel time and adjust DLL settings

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

11 years agoAdd a 1% speed deadzone around speed=1.0 for LTC, MTC slaves
Robin Gareus [Wed, 17 Oct 2012 15:57:53 +0000 (15:57 +0000)]
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

11 years agoslave delta display
Robin Gareus [Wed, 17 Oct 2012 15:57:51 +0000 (15:57 +0000)]
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

11 years agofix delta display of MClk slave.
Robin Gareus [Wed, 17 Oct 2012 15:57:48 +0000 (15:57 +0000)]
fix delta display of MClk slave.

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

11 years agoforward part the backend part of the generic MIDI control fixes from mb2/a2
Paul Davis [Wed, 17 Oct 2012 14:36:40 +0000 (14:36 +0000)]
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

11 years agoLTC remove debug out, delta-time: flywheel display
Robin Gareus [Tue, 16 Oct 2012 23:04:02 +0000 (23:04 +0000)]
LTC remove debug out, delta-time: flywheel display

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

11 years agoenable sync genlock & setFPS option for both MTC & LTC
Robin Gareus [Tue, 16 Oct 2012 23:04:00 +0000 (23:04 +0000)]
enable sync genlock & setFPS option for both MTC & LTC

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

11 years agoLTC slave reworked
Robin Gareus [Tue, 16 Oct 2012 20:53:15 +0000 (20:53 +0000)]
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

11 years agoprepare for non-seekahead [LTC] slave. fix state machine
Robin Gareus [Tue, 16 Oct 2012 20:53:12 +0000 (20:53 +0000)]
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

11 years agoMTC Slave: allow >2 sec for re-sync, format delta
Robin Gareus [Tue, 16 Oct 2012 20:53:10 +0000 (20:53 +0000)]
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

11 years agodon't do a pending save if slave is syncing.
Robin Gareus [Tue, 16 Oct 2012 20:53:08 +0000 (20:53 +0000)]
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

11 years agoimplement double click to ContentsRange on MidiScroomer
Hans Baier [Tue, 16 Oct 2012 09:19:19 +0000 (09:19 +0000)]
implement double click to ContentsRange on MidiScroomer

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

11 years agocreate and manage a new config parameter that defines where LTC originates (still...
Paul Davis [Mon, 15 Oct 2012 15:57:35 +0000 (15:57 +0000)]
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

11 years agoMTC slave: timcode and delta formatting
Robin Gareus [Mon, 15 Oct 2012 02:46:56 +0000 (02:46 +0000)]
MTC slave: timcode and delta formatting

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

11 years agoaudio-clock: use Timecode::timecode_format_time
Robin Gareus [Mon, 15 Oct 2012 02:46:54 +0000 (02:46 +0000)]
audio-clock: use Timecode::timecode_format_time

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

11 years agoMTC slave fix reporting approx position
Robin Gareus [Sun, 14 Oct 2012 23:23:57 +0000 (23:23 +0000)]
MTC slave fix reporting approx position

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

11 years agoprepare reporting slave delta & MTC slave implementation
Robin Gareus [Sun, 14 Oct 2012 23:23:53 +0000 (23:23 +0000)]
prepare reporting slave delta & MTC slave implementation

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

11 years agouse translatable strings for TC info,
Robin Gareus [Sun, 14 Oct 2012 16:42:32 +0000 (16:42 +0000)]
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

11 years agoMTC,LTC print current timecodes in warning
Robin Gareus [Sun, 14 Oct 2012 16:17:47 +0000 (16:17 +0000)]
MTC,LTC print current timecodes in warning

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

11 years agoLTC Slave, add support for variable framerates
Robin Gareus [Sun, 14 Oct 2012 16:17:42 +0000 (16:17 +0000)]
LTC Slave, add support for variable framerates

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

11 years agoformatting timecode: use a semicolon to indicate DF
Robin Gareus [Sun, 14 Oct 2012 16:17:40 +0000 (16:17 +0000)]
formatting timecode: use a semicolon to indicate DF

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

11 years agoMTC Slave: MIDI 30df -> A3 29.97df
Robin Gareus [Sun, 14 Oct 2012 16:17:37 +0000 (16:17 +0000)]
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

11 years agoMTC Slave: fix return approx position.
Robin Gareus [Sun, 14 Oct 2012 16:17:35 +0000 (16:17 +0000)]
MTC Slave: fix return approx position.

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

11 years agofix matching TC color assignment (rev13264)
Robin Gareus [Sun, 14 Oct 2012 16:17:33 +0000 (16:17 +0000)]
fix matching TC color assignment (rev13264)

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

11 years agotimecode: make subframes unsigned int
Robin Gareus [Sat, 13 Oct 2012 23:47:05 +0000 (23:47 +0000)]
timecode: make subframes unsigned int

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

11 years agoMTCslave - use new timecode API
Robin Gareus [Sat, 13 Oct 2012 23:27:43 +0000 (23:27 +0000)]
MTCslave - use new timecode API

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

11 years agomove sample/timecode conversion to libtimecode.
Robin Gareus [Sat, 13 Oct 2012 23:27:40 +0000 (23:27 +0000)]
move sample/timecode conversion to libtimecode.

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

11 years agoprovide forgotten case for restoring Windows VST plugins
Paul Davis [Sat, 13 Oct 2012 00:31:46 +0000 (00:31 +0000)]
provide forgotten case for restoring Windows VST plugins

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

11 years agotweaks to be ready for more information timecode display in Timecode clock mode
Paul Davis [Fri, 12 Oct 2012 22:04:21 +0000 (22:04 +0000)]
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

11 years agoLTC slave - basic working version (hardcoded 25fps)
Robin Gareus [Fri, 12 Oct 2012 21:28:08 +0000 (21:28 +0000)]
LTC slave - basic working version (hardcoded 25fps)

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

11 years agoMTC slave - return apparent_timecode_format
Robin Gareus [Fri, 12 Oct 2012 21:28:05 +0000 (21:28 +0000)]
MTC slave - return apparent_timecode_format

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

11 years agoMTC Slave: handle locates (quick re-sync)
Robin Gareus [Fri, 12 Oct 2012 17:04:20 +0000 (17:04 +0000)]
MTC Slave: handle locates (quick re-sync)

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

11 years agobasics for a TimecodeSlave parent class for MTC and LTC
Paul Davis [Fri, 12 Oct 2012 16:48:53 +0000 (16:48 +0000)]
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

11 years agomove TC FPS up into status bar, use lower right of timecode audioclock mode for somet...
Paul Davis [Fri, 12 Oct 2012 16:25:57 +0000 (16:25 +0000)]
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

11 years agoskeleton framework for LTC-slave
Robin Gareus [Fri, 12 Oct 2012 09:45:22 +0000 (09:45 +0000)]
skeleton framework for LTC-slave

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

11 years agomake the time axis view remember it midnam model/mode settings
Hans Baier [Fri, 12 Oct 2012 09:25:55 +0000 (09:25 +0000)]
make the time axis view remember it midnam model/mode settings

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

11 years agomake sure routes instrument info initializes correctly
Hans Baier [Fri, 12 Oct 2012 09:25:20 +0000 (09:25 +0000)]
make sure routes instrument info initializes correctly

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

11 years agotidy
Hans Baier [Fri, 12 Oct 2012 09:24:31 +0000 (09:24 +0000)]
tidy

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

11 years agoissue 0005121: added comment to source. Sorry, last commit was for issue 0005121...
Hans Baier [Fri, 12 Oct 2012 06:04:06 +0000 (06:04 +0000)]
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

11 years agofix issue 0005120: dont treat percussive mode differently than sustained mode except...
Hans Baier [Fri, 12 Oct 2012 05:58:47 +0000 (05:58 +0000)]
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

11 years agoMTC: map between timecodes
Robin Gareus [Fri, 12 Oct 2012 01:08:32 +0000 (01:08 +0000)]
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

11 years agomove TimecodeFormat to libtimecode
Robin Gareus [Fri, 12 Oct 2012 01:08:29 +0000 (01:08 +0000)]
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

11 years agomore transport prefs tooltips and tidy up sync/slave stuff some more
Paul Davis [Thu, 11 Oct 2012 15:50:54 +0000 (15:50 +0000)]
more transport prefs tooltips and tidy up sync/slave stuff some more

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

11 years agofurther tweak midi channel selector layout in track header
Hans Baier [Thu, 11 Oct 2012 08:55:20 +0000 (08:55 +0000)]
further tweak midi channel selector layout in track header

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

11 years agodisable Ubuntu global menu for ardev
Hans Baier [Thu, 11 Oct 2012 08:23:18 +0000 (08:23 +0000)]
disable Ubuntu global menu for ardev

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

11 years agonicer layout of MIDI channel selector
Hans Baier [Thu, 11 Oct 2012 08:13:40 +0000 (08:13 +0000)]
nicer layout of MIDI channel selector

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

11 years agoMake input filtering while recording work in GUI, too
Hans Baier [Thu, 11 Oct 2012 06:32:09 +0000 (06:32 +0000)]
Make input filtering while recording work in GUI, too

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

11 years agoimplement missing midi event filtering during recording
Hans Baier [Thu, 11 Oct 2012 05:39:40 +0000 (05:39 +0000)]
implement missing midi event filtering during recording

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

11 years agorevert last commit, wrong place...
Hans Baier [Thu, 11 Oct 2012 04:31:57 +0000 (04:31 +0000)]
revert last commit, wrong place...

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

11 years agofix bug: capture buffer not filtered by track channel selector
Hans Baier [Thu, 11 Oct 2012 04:27:53 +0000 (04:27 +0000)]
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

11 years agomake sysex contents appear as verbose_cursor for visual feedback the flag as been...
Hans Baier [Thu, 11 Oct 2012 04:05:22 +0000 (04:05 +0000)]
make sysex contents appear as verbose_cursor for visual feedback the flag as been entered and for readability

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

11 years agofix bug: sysexes x position not relative to region
Hans Baier [Thu, 11 Oct 2012 03:40:39 +0000 (03:40 +0000)]
fix bug: sysexes x position not relative to region

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

11 years agoimplement deleting of sysex events
Hans Baier [Thu, 11 Oct 2012 03:22:17 +0000 (03:22 +0000)]
implement deleting of sysex events

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

11 years agomove the external sync source selection tobe a global config parameter, not per-sessi...
Paul Davis [Thu, 11 Oct 2012 03:10:18 +0000 (03:10 +0000)]
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