2013-02-15 13:21:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
<p>
|
2014-02-18 17:13:02 -05:00
|
|
|
Ardour supports three common timecode formats:
|
|
|
|
<abbr title="Linear/Longitudinal Time Code"><dfn>LTC</dfn></abbr>,
|
|
|
|
<abbr title="MIDI Time Code"><dfn>MTC</dfn></abbr>, and
|
2017-02-25 00:30:29 -05:00
|
|
|
<dfn>MIDI Clock</dfn>, as well as
|
2014-02-18 17:13:02 -05:00
|
|
|
<dfn>JACK-transport</dfn>, a JACK-specific timecode implementation.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Ardour can generate timecode and thus act as timecode <dfn>master</dfn>,
|
|
|
|
providing timecode information to other applications. Ardour can also be
|
|
|
|
<dfn>slaved</dfn> to some external source in which case the playhead
|
2017-02-13 22:47:33 -05:00
|
|
|
follows the incoming timecode.<br>
|
2017-02-25 00:30:29 -05:00
|
|
|
Combining the timecode slave and generator modes, Ardour can also
|
2014-02-18 17:13:02 -05:00
|
|
|
<dfn>translate</dfn> timecode. e.g create LTC timecode from incoming MTC.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Ardour Timecode Configuration</h2>
|
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Each Ardour session has a specific timecode frames-per-second setting which
|
2014-02-18 17:13:02 -05:00
|
|
|
is configured in <kbd class="menu">session > properties >
|
2017-02-25 00:30:29 -05:00
|
|
|
timecode</kbd>. The selected timecode affects the timecoderuler in the main
|
2014-02-18 17:13:02 -05:00
|
|
|
window as well as the clock itself.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2013-02-15 18:49:44 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Note that some timecode formats do not support all of Ardour's available
|
2014-02-18 17:13:02 -05:00
|
|
|
fps settings. MTC is limited to 24, 25, 29.97 and 30 fps.
|
2013-02-15 18:49:44 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2014-02-18 17:13:02 -05:00
|
|
|
The video pull-up modes change the effective samplerate of Ardour to allow
|
2017-02-25 00:30:29 -05:00
|
|
|
for changing a film soundtrack from one frame rate to another. The concept is
|
|
|
|
beyond the scope of this manual, but Wikipedia's entry on
|
|
|
|
<a href="http://en.wikipedia.org/wiki/Telecine">Telecine</a>
|
2014-02-18 17:13:02 -05:00
|
|
|
may get you started.
|
2013-02-15 18:49:44 -05:00
|
|
|
</p>
|
2013-02-15 13:21:59 -05:00
|
|
|
|
|
|
|
<h2>Ardour Timecode Generator Configuration</h2>
|
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
This is pretty straightforward: simply turn it on. The MTC and MIDI-Clock
|
2014-02-18 17:13:02 -05:00
|
|
|
generator do not have any options. The LTC generator has a configurable
|
2017-02-25 00:30:29 -05:00
|
|
|
output level. JACK-transport cannot be <em>generated</em>. Jack itself is
|
2017-02-13 22:47:33 -05:00
|
|
|
always synced to its own cycle and cannot do varispeed—it will
|
2014-02-18 17:13:02 -05:00
|
|
|
always be synced to a hardware clock or another JACK master.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The relevant settings for timecode generator can be found in
|
2014-02-18 17:13:02 -05:00
|
|
|
<kbd class="menu">Edit > Preferences > MIDI Preferences</kbd> (for MTC,
|
|
|
|
MC) and
|
|
|
|
<kbd class="menu">Edit > Preferences > Transport Preferences</kbd>
|
|
|
|
(for LTC).
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The timecode is sent to jack-ports <code>ardour:MTC out</code>,
|
|
|
|
<code>ardour:MIDI clock out</code> and <code>ardour:LTC-out</code>. Multiple
|
2014-02-18 17:13:02 -05:00
|
|
|
generators can be active simultaneously.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2014-02-18 17:13:02 -05:00
|
|
|
<p class="note">
|
2017-02-25 00:30:29 -05:00
|
|
|
Note that, as of Jan 2014, only the LTC generator supports latency
|
|
|
|
compensation. This is due to the fact the Ardour MIDI ports are not
|
2014-02-18 17:13:02 -05:00
|
|
|
yet latency compensated.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
In <kbd class="menu">Session > Properties</kbd>, it is possible to
|
|
|
|
define an offset between Ardour's internal time and the timecode sent.
|
2014-02-18 17:13:02 -05:00
|
|
|
Currently only the LTC generator honors this offset.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2013-02-15 18:49:44 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Both LTC and MTC are limited to 30 fps. Using frame rates larger
|
|
|
|
than that will disable the generator. In both cases also only 24, 25,
|
|
|
|
29.97df (drop-frame) and 30 fps are well defined by specifications (such as
|
2014-02-18 17:13:02 -05:00
|
|
|
SMPTE-12M, EU and the MIDI standard).
|
2014-02-02 17:16:21 -05:00
|
|
|
</p>
|
2013-02-15 13:21:59 -05:00
|
|
|
|
2013-02-15 17:20:27 -05:00
|
|
|
<h3>MTC Generator</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The <dfn>MTC generator</dfn> has no options. Ardour sends full MTC
|
|
|
|
frames whenever the transport is relocated or changes state (start/stop).
|
|
|
|
MTC <dfn>quarter frames</dfn> are sent when the transport is rolling and
|
2014-02-18 17:13:02 -05:00
|
|
|
the transport speed is within 93% and 107%.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2013-02-15 17:20:27 -05:00
|
|
|
<h3>LTC Generator</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The level of the <dfn>LTC generator</dfn> output signal can be configured
|
|
|
|
in in the <kbd class="menu">Preferences > Transport</kbd> dialog. By
|
|
|
|
default it is set to -18 dBFS, which corresponds to 0dBu in an EBU
|
2014-02-18 17:13:02 -05:00
|
|
|
calibrated system.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The LTC generator has an additional option to keep sending timecode even
|
|
|
|
when the transport is stopped. This mode is intended to drive analog tape
|
2014-02-18 17:13:02 -05:00
|
|
|
machines which unspool the tape if no LTC timecode is received.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
2013-02-15 18:49:44 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
LTC is send regardless of Ardour's transport speed. It is accurately
|
|
|
|
generated even for very slow speeds (<5%) and only limited by the
|
|
|
|
soundcard's sampling-rate and filter (see
|
2014-02-18 17:13:02 -05:00
|
|
|
<a
|
2017-02-25 00:30:29 -05:00
|
|
|
href="http://en.wikipedia.org/wiki/Gibbs_phenomenon#Signal_processing_explanation">Gibbs phenomenon</a>)
|
2014-02-18 17:13:02 -05:00
|
|
|
for high speeds.
|
2014-02-02 18:09:23 -05:00
|
|
|
</p>
|
2013-02-15 18:49:44 -05:00
|
|
|
|
2013-02-15 13:21:59 -05:00
|
|
|
|
|
|
|
<h2>Ardour Slave Configuration</h2>
|
2017-02-25 00:30:29 -05:00
|
|
|
<p>
|
|
|
|
The timecode source can be switched with the button just right of
|
2014-02-18 17:13:02 -05:00
|
|
|
Ardour's main clock. By default it is set to <kbd
|
2017-02-25 00:30:29 -05:00
|
|
|
class="menu">Internal</kbd> in which case Ardour will ignore any external
|
|
|
|
timecode. The button allows to toggle between Internal and the configured
|
|
|
|
timecode source which is chosen in <kbd class="menu">Edit > Preferences
|
2014-02-18 17:13:02 -05:00
|
|
|
> Transport</kbd>.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
When Ardour is <dfn>chasing</dfn> (synchronizing to) an external timecode
|
2014-02-18 17:13:02 -05:00
|
|
|
source, the following cases need to be distinguished:
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<ol>
|
2014-02-02 18:09:23 -05:00
|
|
|
<li>the timecode source shares the clock</li>
|
|
|
|
<li>the timecode source is independent (no wordclock sync)</li>
|
2013-02-15 13:21:59 -05:00
|
|
|
</ol>
|
2014-02-02 18:09:23 -05:00
|
|
|
<p>and</p>
|
2013-02-15 13:21:59 -05:00
|
|
|
<ol>
|
2014-02-02 18:09:23 -05:00
|
|
|
<li>the timecode source uses the same FPS setting as Ardour</li>
|
|
|
|
<li>the timecode source runs at different frames-per-second</li>
|
2013-02-15 13:21:59 -05:00
|
|
|
</ol>
|
|
|
|
<p>
|
2014-02-18 17:13:02 -05:00
|
|
|
In both cases the first option is preferred: clock sync + same FPS setting.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<h3>Frames-per-second</h3>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
If the frames-per-second do not match, Ardour can either re-calculate
|
2014-02-18 17:13:02 -05:00
|
|
|
and map the frames, or the configured FPS (<kbd class="menu">Session >
|
2017-02-25 00:30:29 -05:00
|
|
|
Properties</kbd>) can be changed automatically while the slave is active.
|
|
|
|
The behavior is configured with the checkbox <kbd class="option">Edit
|
|
|
|
> Preferences > Transport > Match session video frame rate to
|
2014-02-18 17:13:02 -05:00
|
|
|
external timecode</kbd>.
|
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
When enabled, the session video frame rate will be changed to match that
|
|
|
|
of the selected external timecode source. When disabled, the session video
|
|
|
|
frame rate will not be changed to match that of the selected external
|
|
|
|
timecode source. Instead the frame rate indication in the main clock will
|
|
|
|
flash red, and Ardour will convert between the external timecode standard
|
2014-02-18 17:13:02 -05:00
|
|
|
and the session standard.
|
|
|
|
</p>
|
|
|
|
<p class="warning">
|
2017-02-25 00:30:29 -05:00
|
|
|
29.97 drop-frame timecode is another corner case. While the SMPTE 12M-1999
|
|
|
|
specifies 29.97df as 30000/1001 frames per second, not all hardware devices
|
|
|
|
follow that standard. The checkbox
|
|
|
|
<kbd class="option">Lock to 29.9700 fps instead of 30000/1001</kbd> allows
|
2017-02-13 22:47:33 -05:00
|
|
|
to use a compatibility mode for those devices.<br>
|
2017-02-25 00:30:29 -05:00
|
|
|
When enabled, the external timecode source is assumed to use 29.970000 fps
|
|
|
|
instead of 30000/1001. SMPTE 12M-1999 specifies 29.97df as 30000/1001. The
|
|
|
|
<abbr title="specification">spec</abbr> further mentions that drop-frame
|
|
|
|
timecode has an accumulated error of -86 ms over a 24-hour period.
|
|
|
|
Drop-frame timecode would compensate exactly for a NTSC color frame rate
|
|
|
|
of 30 * 0.9990 (ie 29.970000). That is <em>not</em> the actual rate. However,
|
2017-02-13 22:47:33 -05:00
|
|
|
some vendors use that rate—despite it being against the
|
|
|
|
specs—because the variant of using exactly 29.97 fps yields zero
|
|
|
|
timecode drift.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2013-02-15 15:49:33 -05:00
|
|
|
<h3>Clock Sync Lock</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
As described in the
|
2014-02-18 17:13:02 -05:00
|
|
|
<a href="http://manual.ardour.org/synchronization/on-clock-and-time/">On Clock and Time</a>
|
2017-02-25 00:30:29 -05:00
|
|
|
chapter, timecode and clock are independent. If the external timecode
|
|
|
|
source is not in sample-sync with the audio hardware (and JACK), Ardour
|
2014-02-18 17:13:02 -05:00
|
|
|
needs to run at varispeed to adjust for the discrepancy.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The checkbox <kbd class="option">External timecode is sync locked</kbd>
|
|
|
|
allows to select the behavior according to your setup. When enabled, it
|
|
|
|
indicates that the selected external timecode source shares sync (Black
|
2014-02-18 17:13:02 -05:00
|
|
|
& Burst, Wordclock, etc) with the audio interface.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
In other words: if enabled, Ardour will only perform initial
|
|
|
|
synchronization and keep playing at speed 1.0 instead of vari-speed
|
2014-02-18 17:13:02 -05:00
|
|
|
adjusting to compensate for drift.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
2014-02-18 17:13:02 -05:00
|
|
|
<p class="note">
|
2017-02-25 00:30:29 -05:00
|
|
|
Note that vari-speed is unavailable when recording in Ardour, and all
|
|
|
|
tracking happens at speed 1.0. So if you want to record in sync with
|
2014-02-18 17:13:02 -05:00
|
|
|
external timecode it must be sample-locked or it will drift over time.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2014-02-18 17:13:02 -05:00
|
|
|
<h3>MIDI Clock</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
<dfn>MIDI Clock</dfn> is not a timecode format but tempo-based time. The
|
|
|
|
absolute reference point is expressed as beats-per-minute and Bar, Beat
|
|
|
|
and Tick. There is no concept of sample-locking for MIDI clock signals.
|
2014-02-18 17:13:02 -05:00
|
|
|
Ardour will vari-speed if necessary to chase the incoming signal.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Note that the MIDI Clock source must be connected to the
|
2014-02-18 17:13:02 -05:00
|
|
|
<code>ardour:MIDI clock in</code> port.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2017-02-13 22:47:33 -05:00
|
|
|
<h3>LTC—Linear Timecode</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The <dfn>LTC</dfn> slave decodes an incoming LTC signal on a JACK audio
|
2014-02-18 17:13:02 -05:00
|
|
|
port. It will auto-detect the frame rate and start locking to the signal
|
|
|
|
once two consecutive LTC frames have been received.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
The incoming timecode signal needs to arrive at the
|
|
|
|
<code>ardour:LTC-in</code> port. Port-connections are restored for each
|
|
|
|
session and the preference dialog offers an option to select it for all
|
2014-02-18 17:13:02 -05:00
|
|
|
sessions.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Ardour's transport is aligned to LTC-frame start/end positions according
|
|
|
|
to the SMPTE 12M-1999 specification, which means that the first bit of an
|
|
|
|
LTC-Frame is aligned to different Lines of a Video-Frame, depending on the
|
|
|
|
TV standard used. Only for Film (24fps) does the LTC-Frame directly match
|
2014-02-18 17:13:02 -05:00
|
|
|
the video Frame boundaries.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2017-02-13 14:38:01 -05:00
|
|
|
<img src="/images/ltc-transport-alignment.png" title="LTC frame alignment" alt="LTC frame alignment"/>
|
2013-02-15 15:49:33 -05:00
|
|
|
<p><em>Figure: LTC frame alignment for the 525/60 TV standard</em></p>
|
2013-02-15 13:21:59 -05:00
|
|
|
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Ardour supports vari-speed and backwards playback but will only follow
|
|
|
|
speed changes if the <kbd class="optoff">sync locked</kbd> option is
|
2014-02-18 17:13:02 -05:00
|
|
|
disabled.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
While Ardour is chasing LTC, the main transport clock will display the
|
|
|
|
received Timecode as well as the delta between the incoming signal and
|
2014-02-18 17:13:02 -05:00
|
|
|
Ardour's transport position.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
A global offset between incoming timecode and Ardour's transport can be
|
2014-02-18 17:13:02 -05:00
|
|
|
configured in <kbd class="menu">Session > Properties</kbd>.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2014-02-18 17:13:02 -05:00
|
|
|
The user-bits in the received LTC frame are ignored.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2017-02-13 22:47:33 -05:00
|
|
|
<h3>MTC—MIDI Timecode</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Ardour's MTC slave parses <dfn>full timecode messages</dfn> as well as
|
|
|
|
MTC <dfn>quarter-frame messages</dfn> arriving on the
|
|
|
|
<code>ardour:MTC in</code> port. The transport will only start rolling
|
2014-02-18 17:13:02 -05:00
|
|
|
once a complete sequence of 8 quarter frames has been received.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
Ardour supports vari-speed and backwards playback but will only follow
|
|
|
|
MTC speed changes if the <kbd class="optoff">sync locked</kbd> option
|
2014-02-18 17:13:02 -05:00
|
|
|
is disabled.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
When Ardour is chasing MTC, the main transport clock will display the
|
|
|
|
received Timecode as well as the delta between the incoming signal and
|
2014-02-18 17:13:02 -05:00
|
|
|
Ardour's transport position.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|
2013-02-15 17:20:27 -05:00
|
|
|
<h3>JACK Transport</h3>
|
2013-02-15 13:21:59 -05:00
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
When slaved to jack, Ardour's transport will be identical to
|
|
|
|
JACK-transport. As opposed to other slaves, Ardour can be used to control
|
|
|
|
the JACK transport states (stopped/rolling). No port connections need to
|
2014-02-18 17:13:02 -05:00
|
|
|
be made for jack-transport to work.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
JACK-transport does not support vari-speed, nor offsets. Ardour does not
|
2014-02-18 17:13:02 -05:00
|
|
|
chase the timecode but is always in perfect sample-sync with it.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-02-25 00:30:29 -05:00
|
|
|
JACK-transport also includes temp-based-time information in Bar:Beats:Ticks
|
|
|
|
and beats-per-minute. However, only one JACK application can provide this
|
|
|
|
information at a given time. The checkbox
|
2014-02-18 17:13:02 -05:00
|
|
|
<kbd class="option">Session > Properties > JACK Time Master</kbd>
|
|
|
|
configures Ardour to act as translator from timecode to BBT information.
|
2013-02-15 13:21:59 -05:00
|
|
|
</p>
|
|
|
|
|