Skip to content

BikAudioTrack

Defined in: bik-decoder.ts:180

Decoded contents of a single “packet” of data for an audio track in a BIK file.

In each packet, audio samples are stored in one or more blocks, each block containing one or more stereo-interleaved channels (so the number of stereo-interleaved channels in a stereo audio block will be one, even though it should be played as two separate channels).

blocks: Float32Array<ArrayBufferLike>[][]

Defined in: bik-decoder.ts:200

Actual audio data for the frame (PCM, floating-point, interleaved stereo channels). Indexed by block number and then by (non-stereo) channel.


header: BikAudioTrackHeader

Defined in: bik-decoder.ts:184

Header associated with the audio track.


numSamples: number

Defined in: bik-decoder.ts:194

Total number of samples in the packet.


size: number

Defined in: bik-decoder.ts:189

Total size (in bytes) of the samples in the packet.