Type alias AudioTrackAlpha

AudioTrack: Track & {
    channels: number;
    sampleRate: number;
}

CMAF-HAM Audio Track type

sampleRate - The sample rate of the audio track. It defines the number of samples per second in the audio. For example, if the sample rate is 44100, it means there are 44100 samples in each second of the audio.

channels - The number of channels in the audio track. It defines the number of separate audio signals that are encoded in the audio. For example, if the channels is 2, it means the audio is stereo with a separate signal for left and right.

Type declaration

  • channels: number
  • sampleRate: number