Class AudioSpectrumData

The audio spectrum data.

Hierarchy

  • AudioSpectrumData

Constructors

Properties

Constructors

Properties

audioSpectrumData?: number[]

The audio spectrum data. Agora divides the audio frequency into 256 frequency domains, and reports the energy value of each frequency domain through this parameter. The value range of each energy type is [-300, 1] and the unit is dBFS.

dataLength?: number

The audio spectrum data length is 256.

Generated using TypeDoc