SampleTimeline
Defined in: clock.ts:49
Maps an audio sample counter onto the broadcast timeline.
Properties
Section titled “Properties”firstSampleUs
Section titled “firstSampleUs”readonly firstSampleUs: number;Defined in: clock.ts:53
The broadcast time of sample 0.
sampleRate
Section titled “sampleRate”readonly sampleRate: number;Defined in: clock.ts:51
Samples per second, per channel.
Methods
Section titled “Methods”timestampUs()
Section titled “timestampUs()”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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sampleIndex |
number |
Returns
Section titled “Returns”number