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).
Properties
Section titled “Properties”blocks
Section titled “blocks”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
Section titled “header”header:
BikAudioTrackHeader
Defined in: bik-decoder.ts:184
Header associated with the audio track.
numSamples
Section titled “numSamples”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.