AudioAnalyzer¶
Import: import system.audio;
Read the audio guide for usage, limits, and current platform restrictions.
AudioAnalyzer¶
Computes waveform levels and FFT data without opening an output device.
constructor¶
Creates a 2048-sample analyzer with a Hann window.
set_fft_size¶
Selects a power-of-two FFT size from 32 through 32768; failure preserves the size.
set_window¶
Selects Hann tapering or a rectangular window.
analyze¶
Analyzes the latest FFT-sized block of interleaved mono or stereo samples. Short input is padded at the end; input must be finite with complete frames.