T("spectrum")
ARSTEREOLISTENER Spectrum Viewer
Properties
size
(Number)- The size of the FFT. This must be a power of two. Default value is 512.
interval
(Number or timevalue)- The interval to analyze. Default value is 500msec.
spectrum
(ReadOnly Float32Array)- The frequency-domain data analyzed (dB).
real
(ReadOnly Float32Array)- The real part of the Fourier transform.
imag
(ReadOnly Float32Array)- The imaginary part of the Fourier transform.
Methods
plot(opts)
Events
fft
See Also
Source
https://github.com/mohayonao/timbre.js/blob/master/src/objects/spectrum.js