Robin Gareus [Fri, 9 Nov 2012 07:47:59 +0000 (07:47 +0000)]
LTC encoder: clear user-bits
requires libltc >=1.0.3
git-svn-id: svn://localhost/ardour2/branches/3.0@13401
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Fri, 9 Nov 2012 07:47:57 +0000 (07:47 +0000)]
MTC slave: 2997fudge option
git-svn-id: svn://localhost/ardour2/branches/3.0@13400
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Fri, 9 Nov 2012 07:47:54 +0000 (07:47 +0000)]
fix LTC slave initial TC track values
git-svn-id: svn://localhost/ardour2/branches/3.0@13399
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 8 Nov 2012 15:54:16 +0000 (15:54 +0000)]
notably modify the design and logic of the startup dialog, so that we can handle the requirements in the 3.0-SG branch reasonably. the two major changes concern the idea that we may need to run the audio setup tab at all times, and that the startup dialog could potentially be "ready" without actually needing to be displayed on-screen. this allows us to ALWAYS use a startup dialog, even if we don't actually need any information from the user. as usual with this kind of change, expect a few logic/workflow glitches
git-svn-id: svn://localhost/ardour2/branches/3.0@13397
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 8 Nov 2012 15:34:22 +0000 (15:34 +0000)]
fix ARDOUR_DATA_PATH for ardev and its cousins (finds templates, among other things)
git-svn-id: svn://localhost/ardour2/branches/3.0@13396
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Wed, 7 Nov 2012 23:02:11 +0000 (23:02 +0000)]
experimental option to support LTC 29.97000 fps generators.
also change 29.97ndf frame-rate to 30000/1001.
git-svn-id: svn://localhost/ardour2/branches/3.0@13395
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 7 Nov 2012 17:13:37 +0000 (17:13 +0000)]
new MTDM implementation from Fons' latest jack_delay implementation
git-svn-id: svn://localhost/ardour2/branches/3.0@13394
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Wed, 7 Nov 2012 03:17:55 +0000 (03:17 +0000)]
fix required-sample count for cubic interpolation.
I have not proved if the iterative process in
CubicInterpolation::interpolate() is identical to
(nframes * fabs(_actual_speed)), however ceil()
of it is empirically always larger.
Also, the cubic interpolation needs +2 samples.
Ardour3: Too close to call :)
git-svn-id: svn://localhost/ardour2/branches/3.0@13392
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 6 Nov 2012 19:30:36 +0000 (19:30 +0000)]
fix click to start editing audio clocks that occurs right of the clock, which was previously a "dead zone". should fix part of #5160
git-svn-id: svn://localhost/ardour2/branches/3.0@13391
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 22:55:19 +0000 (22:55 +0000)]
LTC slave: suppress warning during shutdown
git-svn-id: svn://localhost/ardour2/branches/3.0@13390
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 22:55:17 +0000 (22:55 +0000)]
NOOP - LTC generator replace double(a) with (double)a
git-svn-id: svn://localhost/ardour2/branches/3.0@13389
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 22:55:13 +0000 (22:55 +0000)]
NOOP - LTC generator: bit-alignment add comments and made permanent
git-svn-id: svn://localhost/ardour2/branches/3.0@13388
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 22:55:06 +0000 (22:55 +0000)]
LTC generator: undo pull up/down adjustments
git-svn-id: svn://localhost/ardour2/branches/3.0@13387
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 22:55:04 +0000 (22:55 +0000)]
LTC generator: adaptive signal filter
git-svn-id: svn://localhost/ardour2/branches/3.0@13386
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 19:13:10 +0000 (19:13 +0000)]
experimental LTC sub-frame drift compensation for scope testing
git-svn-id: svn://localhost/ardour2/branches/3.0@13384
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 15:54:18 +0000 (15:54 +0000)]
LTC generator: filter the signal to reduce ringing.
git-svn-id: svn://localhost/ardour2/branches/3.0@13382
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 11:26:29 +0000 (11:26 +0000)]
MTC slave: set initial framerates to current value.
git-svn-id: svn://localhost/ardour2/branches/3.0@13381
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 11:26:27 +0000 (11:26 +0000)]
tigten LTC Slave resolution.
The reason for this is that the LTC generator uses the slave's
resolution as watermark for max-drift, resync. A possible drawback:
session-process will force silent rolls if the delta is larger
than the resolution. LTC has a carrier freq of ~2kHz, choosing
half of that seems a good compromise.
git-svn-id: svn://localhost/ardour2/branches/3.0@13380
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 5 Nov 2012 11:26:25 +0000 (11:26 +0000)]
amend 13373: don't force Step entry window on top
git-svn-id: svn://localhost/ardour2/branches/3.0@13379
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sun, 4 Nov 2012 23:41:52 +0000 (23:41 +0000)]
a variety of fixes aimed at preventing crashes caused by the (global) port matrix (window) not really noticing that the session has gone away
git-svn-id: svn://localhost/ardour2/branches/3.0@13378
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Sun, 4 Nov 2012 06:31:49 +0000 (06:31 +0000)]
LTC generator fix latency compensation.
thinko: the generated timecode is offset and
not the timestamp when to send it.
git-svn-id: svn://localhost/ardour2/branches/3.0@13377
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Sun, 4 Nov 2012 06:31:46 +0000 (06:31 +0000)]
MTC slave: disable seekahead, implement own sync-locked
git-svn-id: svn://localhost/ardour2/branches/3.0@13376
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Fri, 2 Nov 2012 16:32:28 +0000 (16:32 +0000)]
auto-detect JackVideoFrameOffset support
git-svn-id: svn://localhost/ardour2/branches/3.0@13375
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Fri, 2 Nov 2012 14:04:13 +0000 (14:04 +0000)]
fix LTC slave latency compensation typo
git-svn-id: svn://localhost/ardour2/branches/3.0@13374
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Fri, 2 Nov 2012 11:33:37 +0000 (11:33 +0000)]
make the Step-Entry piano a dialog window (no maximize, on-top)
git-svn-id: svn://localhost/ardour2/branches/3.0@13373
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sakari Bergen [Tue, 30 Oct 2012 21:14:03 +0000 (21:14 +0000)]
Create export temporary files in the export directory
git-svn-id: svn://localhost/ardour2/branches/3.0@13371
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sakari Bergen [Tue, 30 Oct 2012 20:15:11 +0000 (20:15 +0000)]
Fix chunker to handle end of input properly
git-svn-id: svn://localhost/ardour2/branches/3.0@13370
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Tue, 30 Oct 2012 09:50:37 +0000 (09:50 +0000)]
LTC slave speed deadzone works, remove #if 1
git-svn-id: svn://localhost/ardour2/branches/3.0@13369
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Tue, 30 Oct 2012 09:50:35 +0000 (09:50 +0000)]
LTC slave/gen latency compensation: jack2 got fixed, remove #ifdef
git-svn-id: svn://localhost/ardour2/branches/3.0@13368
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 29 Oct 2012 17:29:36 +0000 (17:29 +0000)]
clock-display: right-align slave delta, fix overflow of pull up/down info
also vertically center the info depending on font-size.
git-svn-id: svn://localhost/ardour2/branches/3.0@13367
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 29 Oct 2012 17:29:34 +0000 (17:29 +0000)]
LTC: break out xrun and latency callbacks.
prepare to call get_connected_latency_range() only if needed.
git-svn-id: svn://localhost/ardour2/branches/3.0@13366
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Robin Gareus [Mon, 29 Oct 2012 17:29:31 +0000 (17:29 +0000)]
fix label for 24.975fps
the enum is not changed; it would break loading existing sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@13365
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 29 Oct 2012 16:34:50 +0000 (16:34 +0000)]
change is the only constant, again
git-svn-id: svn://localhost/ardour2/branches/3.0@13363
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 29 Oct 2012 16:33:38 +0000 (16:33 +0000)]
change is the only constant
git-svn-id: svn://localhost/ardour2/branches/3.0@13362
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 29 Oct 2012 16:16:07 +0000 (16:16 +0000)]
yet another fix for complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13361
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 29 Oct 2012 16:14:55 +0000 (16:14 +0000)]
another fix for complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13360
d708f5d6-7413-0410-9779-
e7cbd77b26cf
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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