AudioSpectrumData
Audio spectrum data.
export class AudioSpectrumData {
audioSpectrumData?: number[];
dataLength?: number;
}
Properties
- audioSpectrumData
- Audio spectrum data. The SDK divides the sound frequency into 256 bands and reports the energy value of each band through this parameter. Each energy value ranges from [-300, 1], in dBFS.
- dataLength
- The length of the audio spectrum data is 256.