FFTAudioAnalyzer

A Fast Fourier Transform analyzer for audio bytes.

Use queueInput to add audio bytes, and collect on fftFlow to receive the analyzed frequencies.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fftFlow: Flow<FloatArray>

A flow of frequencies for the audio bytes given through queueInput.

Link copied to clipboard

Functions

Link copied to clipboard
fun configure(inputAudioFormat: AudioFormat)
Link copied to clipboard
fun queueInput(inputBuffer: ByteBuffer)

Add audio bytes to be processed.

Link copied to clipboard
fun release()