Platforms to show: All Mac Windows Linux Cross-Platform

Back to LTCDecoderMBS class.

LTCDecoderMBS.Constructor(apv as Integer, queueSize as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Create a new LTC decoder.

apv: audio-frames per video frame. This is just used for initial settings, the speed is tracked dynamically. setting this in the right ballpark is needed to properly decode the first LTC frame in a sequence.
queueSize: length of the internal queue to store decoded frames to SMPTEDecoderWrite.

Raises an out of memory exception if initialization fails.

LTCDecoderMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destructor.

LTCDecoderMBS.FlushQueue

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Remove all LTC frames from the internal queue.

LTCDecoderMBS.Read as LTCFrameMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Decoded LTC frames are placed in a queue.

This function retrieves a frame from the queue, and stores it a new LTCFrameMBS object.

See also:

LTCDecoderMBS.Read(frame as LTCFrameMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Decoded LTC frames are placed in a queue.

This function retrieves a frame from the queue, and stores it the given LTCFrameMBS object.
You should prefer this method and reuse frame objects.

See also:

LTCDecoderMBS.WriteSingle(data as MemoryBlock, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts floating point audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.size by dividing by 4.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteSingle(data as Ptr, Count as Integer, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts floating point audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteSingle(data as String, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts floating point audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.lenb by dividing by 4.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteSInt16(data as MemoryBlock, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts SInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.size by dividing by 2.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteSInt16(data as Ptr, Count as Integer, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts SInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteSInt16(data as String, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts SInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.lenb by dividing by 2.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteUInt16(data as MemoryBlock, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts UInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.size by dividing by 2.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteUInt16(data as Ptr, Count as Integer, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts UInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteUInt16(data as String, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Wrapper around WriteUInt8 that accepts UInt16 audio samples.
Note: internally libltc uses 8 bit only.

Data: Buffer with data
size: number of samples to parse. Calculated from data.lenb by dividing by 2.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteUInt8(data as MemoryBlock, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Parse raw audio for LTC timestamps. Once a complete LTC frame has been decoded it is pushed into a queue (see Read function).

Data: Buffer with data
Count: number of samples to parse. Taken from data.size.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

Some examples using this method:

LTCDecoderMBS.WriteUInt8(data as Ptr, Count as Integer, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Parse raw audio for LTC timestamps. Once a complete LTC frame has been decoded it is pushed into a queue (see Read function).

Data: Buffer with data
Count: number of samples to parse.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

LTCDecoderMBS.WriteUInt8(data as String, posinfo as UInt64 = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Timecode MBS Tools Plugin 20.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Feed the LTC decoder with new audio samples.

Parse raw audio for LTC timestamps. Once a complete LTC frame has been decoded it is pushed into a queue (see Read function).

Data: Buffer with data
Count: number of samples to parse. Taken from data.lenb.
posinfo: (optional, recommended) sample-offset in the audio-stream.

See also:

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...