X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=_manual%2F19_synchronization%2F03_timecode-generators-and-slaves.html;h=babca1496c24841d039b30299a8db0bb47ba50a2;hb=1321d4a5f39bf9163b6776dddc24d8ce151fd4d3;hp=c2cdbe2be8d013f5d41d7770600d58fecc2fe4f9;hpb=946a7ce5099643c412239eb4250d8e1368572f02;p=ardour-manual diff --git a/_manual/19_synchronization/03_timecode-generators-and-slaves.html b/_manual/19_synchronization/03_timecode-generators-and-slaves.html index c2cdbe2..babca14 100644 --- a/_manual/19_synchronization/03_timecode-generators-and-slaves.html +++ b/_manual/19_synchronization/03_timecode-generators-and-slaves.html @@ -9,16 +9,16 @@ title: Timecode Generators and Slaves There are three common timecode formats:

As well as a JACK specific timecode implementation:

@@ -35,15 +35,22 @@ Combining the timecode slave and generator modes, Ardour can also translate time

Ardour Timecode Configuration

-Each Ardour session has a specific timecode frames-per-second setting which is configured in session > properties > timecode. +Each Ardour session has a specific timecode frames-per-second setting which is configured in session > properties > timecode. The selected timecode affects the timecode-ruler in the main window as well as the clock itself.

+

+Note that some timecode formats are limited to a subset of Ardour's available fps. e.g. MTC is limited to 24, 25, 29.97 and 30 fps. +

+ +

+The video-pullup modes change the effective samplerate of Ardour to allows 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 Telecine may get you started. +

Ardour Timecode Generator Configuration

This is pretty straight forward: simply turn it on. The MTC and MIDI-Clock generator do not have any options. -For the LTC generator the volume of the generated LTC can be configured. JACK-transport can not be generated jack itself is always sample-sync to the jack-cycle and does not slave to anything. +For the LTC generator the volume of the generated LTC can be configured. JACK-transport can not be generated. Jack itself is always sample-sync to the jack-cycle and does not slave to anything.

@@ -55,7 +62,7 @@ The timecode is sent to jack-ports ardour:MTC out, ardour:MID

-Note that -as of writing- only the LTC generator supports latency compensation. This is due to the fact the ardour MIDI ports are not yet latency compensated. +Note that - at the time of writing this - only the LTC generator supports latency compensation. This is due to the fact the Ardour MIDI ports are not yet latency compensated.

@@ -63,8 +70,11 @@ In session > properties it is possible to define an offset betwe

+

+Both LTC and MTC are limited to max of 30fps. Using frame-rates larger than that will disable the generator. In both cases also only 24, 25, 29.97df and 30fps are well defined by specifications (such as SMPTE-12M, EU and the MIDI standard). +

-

MTC generator

+

MTC Generator

There are no options. Ardour sends full MTC frames whenever the transport is relocated or changes state (start/stop). MTC quarter frames are sent when the transport is rolling and the transport speed is within 93% and 107%. @@ -72,37 +82,38 @@ There are no options. Ardour sends full MTC frames whenever the transport is rel -

LTC generator

+

LTC Generator

-The volume of the LTC signal can be conigured in in the Preferences > Transport dialog. By default it is set to -18dBFS which corresponds to 0dBu in an EBU calibrated system. +The volume of the LTC signal can be configured in in the Preferences > Transport dialog. By default it is set to -18dBFS which corresponds to 0dBu in an EBU calibrated system.

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 machines which unspool the tape if no LTC timecode is received.

+

+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 Gibbs phenomenon) for high speeds. +

+

Ardour Slave Configuration

-Switching the timecode-source can be done via the button just right of Ardour's main clock. By default it is set to Internal 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 Edit > Preferences > Transport. +Switching the timecode-source can be done via the button just right of Ardour's main clock. By default it is set to Internal 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 Edit > Preferences > Transport.

-When ardour is chasing an external timecode source the following cases need to be distinguished: +When Ardour is chasing an external timecode source the following cases need to be distinguished:

    -
  1. the timecode source shares the clock
  2. -
  3. the timecode source is independent (no wordclock sync)
  4. +
  5. the timecode source shares the clock
  6. +
  7. the timecode source is independent (no wordclock sync)
- -

-and -

+

and

    -
  1. the timecode source uses the same FPS setting as ardour
  2. -
  3. the timecode source runs at different frames-per-second
  4. +
  5. the timecode source uses the same FPS setting as Ardour
  6. +
  7. the timecode source runs at different frames-per-second

@@ -114,7 +125,7 @@ In both cases the first option is preferred: clock sync + same FPS setting.

Frames-per-second

-If the frames-per-second don't match, ardour can either re-calculate (map) the frames or the configured FPS (session > properties) can be changed automatically while the Slave is active. The behavior is configured with the checkbox in Edit > Preferences > Transport labeled Match session video frame rate to external timecode: 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 and the session standard. +If the frames-per-second don't match, Ardour can either re-calculate (map) the frames or the configured FPS (session > properties) can be changed automatically while the slave is active. The behavior is configured with the checkbox in Edit > Preferences > Transport labeled Match session video frame rate to external timecode: 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 and the session standard.

@@ -122,7 +133,7 @@ An edge case can also occur with 29.97 drop-frame timecode. While the SMPTE 12M-

-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 spec further mentions that drop-frame timecode has an accumulated error of -86ms 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 not the actual rate. However, some vendors use that rate - despite it being against the specs - because the variant of using exactly 29.97 fps yields zero timecode drift. +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 spec further mentions that drop-frame timecode has an accumulated error of -86ms 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 not the actual rate. However, some vendors use that rate - despite it being against the specs - because the variant of using exactly 29.97 fps yields zero timecode drift.

@@ -130,7 +141,7 @@ When enabled the external timecode source is assumed to use 29.970000 fps instea

Clock Sync Lock

-As described in the introduction, timecode and clock are independent. If the external timecode-source is not sample-sync with the audio-hardware (and jack), ardour needs to vari-speed to adjust for the discrepancy. +As described in the On Clock and Time Section, timecode and clock are independent. If the external timecode-source is not sample-sync with the audio-hardware (and jack), ardour needs to vari-speed to adjust for the discrepancy.

@@ -138,11 +149,11 @@ The checkbox External timecode is sync locked allows to select the

-In other words: if enabled, ardour will only use perform initial synchronization and keep playing at speed 1.0 instead of vari-speed adjusting to compensate for drift. +In other words: if enabled, Ardour will only use perform initial synchronization and keep playing at speed 1.0 instead of vari-speed adjusting to compensate for drift.

-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 external timecode it must be sample-locked or it will drift over time. +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 external timecode it must be sample-locked or it will drift over time.

@@ -170,7 +181,7 @@ The incoming timecode signal needs to arrive at the ardour:LTC-in p

-Ardour's transport is aligned to LTC-frame start/end positions according to the SMPTE 12M-1999 spec 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 the video Frame boundaries. +Ardour's transport is aligned to LTC-frame start/end positions according to the SMPTE 12M-1999 spec 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 the video Frame boundaries.

LTC frame alignment

@@ -186,7 +197,7 @@ While Ardour is chasing LTC, the main transport clock will display the received

-A global offset between incoming timecode and ardour's transport can be configured in Session > Properties. +A global offset between incoming timecode and Ardour's transport can be configured in Session > Properties.

@@ -206,16 +217,12 @@ Ardour supports vari-speed and backwards playback but will only follow MTC speed

-While Ardour is chasing MTC, the main transport clock will display the received Timecode as well as the delta between the incoming signal and Ardour's transport position. -

- -

-A global offset between incoming timecode and ardour's transport can be configured in Session > Properties. +When Ardour is chasing MTC, the main transport clock will display the received Timecode as well as the delta between the incoming signal and Ardour's transport position.

-

JACK transport

+

JACK Transport

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 be made for jack-transport to work. @@ -226,6 +233,6 @@ JACK-transport does not support vari-speed, nor offsets. Ardour does not chase t

-JACK-transport also includes temp-based-time information ie. Bar:Beats:Ticks and beats-per-minute. However, only one JACK application can provide this information at a given time. The checkbox JACK Time Master in the Session > Properties dialog allows to configure ardour to act as translator from timecode to BBT information. +JACK-transport also includes temp-based-time information ie. Bar:Beats:Ticks and beats-per-minute. However, only one JACK application can provide this information at a given time. The checkbox JACK Time Master in the Session > Properties dialog allows to configure Ardour to act as translator from timecode to BBT information.