Skip to content

SampleTimeline

Defined in: clock.ts:49

Maps an audio sample counter onto the broadcast timeline.

readonly firstSampleUs: number;

Defined in: clock.ts:53

The broadcast time of sample 0.


readonly sampleRate: number;

Defined in: clock.ts:51

Samples per second, per channel.

timestampUs(sampleIndex): number;

Defined in: clock.ts:55

The broadcast time of the sample at this index: the first sample’s time plus whole elapsed microseconds.

Parameter Type
sampleIndex number

number