AudioData

data class AudioData(val samplingRate: Int, val channels: Int, val data: FloatArray)

Synthesized audio.

Constructors

Link copied to clipboard
constructor(samplingRate: Int, channels: Int, data: FloatArray)

Properties

Link copied to clipboard

Number of channels.

Link copied to clipboard

PCM data (interleaved if multi channel).

Link copied to clipboard

Sampling rate (Hz).