Ardour  9.0-pre0-582-g084a23a80d
LTCFrameExt Struct Reference

#include <ltc.h>

Public Attributes

LTCFrame ltc
 the actual LTC frame. see LTCFrame More...
 
ltc_off_t off_start
 the approximate sample in the stream corresponding to the start of the LTC frame. More...
 
ltc_off_t off_end
 the sample in the stream corresponding to the end of the LTC frame. More...
 
int reverse
 if non-zero, a reverse played LTC frame was detected. Since the frame was reversed, it started at off_end and finishes as off_start (off_end > off_start). (Note: in reverse playback the (reversed) sync-word of the next/previous frame is detected, this offset is corrected). More...
 
float biphase_tics [80]
 detailed timing info: phase of the LTC signal; the time between each bit in the LTC-frame in audio-frames. Summing all 80 values in the array will yield audio-frames/LTC-frame = (off_end - off_start + 1). More...
 
ltcsnd_sample_t sample_min
 the minimum input sample signal for this frame (0..255) More...
 
ltcsnd_sample_t sample_max
 the maximum input sample signal for this frame (0..255) More...
 
double volume
 the volume of the input signal in dbFS More...
 

Detailed Description

Extended LTC frame - includes audio-sample position offsets, volume, etc

Note: For TV systems, the sample in the LTC audio data stream where the LTC Frame starts is not necessarily at the same time as the video-frame which is described by the LTC Frame.

off_start denotes the time of the first transition of bit 0 in the LTC frame.

For 525/60 Television systems, the first transition shall occur at the beginning of line 5 of the frame with which it is associated. The tolerance is ± 1.5 lines.

For 625/50 systems, the first transition shall occur at the beginning of line 2 ± 1.5 lines of the frame with which it is associated.

Only for 1125/60 systems, the first transition occurs exactly at the vertical sync timing reference of the frame. ± 1 line.

Definition at line 293 of file ltc.h.

Member Data Documentation

◆ biphase_tics

float LTCFrameExt::biphase_tics[80]

detailed timing info: phase of the LTC signal; the time between each bit in the LTC-frame in audio-frames. Summing all 80 values in the array will yield audio-frames/LTC-frame = (off_end - off_start + 1).

Definition at line 298 of file ltc.h.

◆ ltc

LTCFrame LTCFrameExt::ltc

the actual LTC frame. see LTCFrame

Definition at line 294 of file ltc.h.

◆ off_end

ltc_off_t LTCFrameExt::off_end

the sample in the stream corresponding to the end of the LTC frame.

Definition at line 296 of file ltc.h.

◆ off_start

ltc_off_t LTCFrameExt::off_start

the approximate sample in the stream corresponding to the start of the LTC frame.

Definition at line 295 of file ltc.h.

◆ reverse

int LTCFrameExt::reverse

if non-zero, a reverse played LTC frame was detected. Since the frame was reversed, it started at off_end and finishes as off_start (off_end > off_start). (Note: in reverse playback the (reversed) sync-word of the next/previous frame is detected, this offset is corrected).

Definition at line 297 of file ltc.h.

◆ sample_max

ltcsnd_sample_t LTCFrameExt::sample_max

the maximum input sample signal for this frame (0..255)

Definition at line 300 of file ltc.h.

◆ sample_min

ltcsnd_sample_t LTCFrameExt::sample_min

the minimum input sample signal for this frame (0..255)

Definition at line 299 of file ltc.h.

◆ volume

double LTCFrameExt::volume

the volume of the input signal in dbFS

Definition at line 301 of file ltc.h.


The documentation for this struct was generated from the following file: