AudioSpectrumData
Audio spectrum data.
public struct AudioSpectrumData
{
public float[] audioSpectrumData;
public int dataLength;
};
Properties
- audioSpectrumData
- Audio spectrum data. Agora divides the audio frequency into 256 frequency bands and reports the energy value of each band through this parameter. The value range of each energy is [-300, 1], in dBFS.
- dataLength
- The length of the audio spectrum data is 256.