AudioAnalysis¶
Import: import system.audio;
Read the audio guide for usage, limits, and current platform restrictions.
AudioAnalysis¶
A mono waveform and its single-sided frequency spectrum.
waveform¶
Mono samples before window weighting; short input is padded with silence.
real¶
Unnormalized real FFT components, including DC and Nyquist.
imaginary¶
Unnormalized imaginary FFT components, including DC and Nyquist.
magnitudes¶
Window-compensated single-sided amplitudes; a unit sine has amplitude one.
magnitudes_db¶
Amplitudes in dBFS, floored at -120 dBFS.
peak¶
Largest absolute sample in the unweighted waveform.
rms¶
Root mean square of the unweighted waveform, including zero padding.
frequency_hz¶
Returns the frequency in Hz for a valid bin; invalid indices return EINVAL.