T("fft")
ARSTEREOLISTENER Fast Fourier transform
Description
フーリエ変換を行なうリスナーオブジェクトです。処理の結果は real と imag プロパティに格納されます。このプロパティ値は他の T オブジェクトの入力として使用することができ、逆変換オブジェク T("ifft") と合わせてスペクトル合成の用途に使えます。
Properties
real(ReadOnly T Object)- The real part of the Fourier transform.
imag(ReadOnly T Object)- The imaginary part of the Fourier transform.
spectrum(ReadOnly Float32Array)- The frequency-domain data analyzed (dB).
Methods
plot(opts)
Note
スペクトルを表示することが目的の場合は T("spectrum") オブジェクトのほうが適しています。
See Also
- T("ifft")
- Inverse Fast Fourier Transform
- T("spectrum")
- Spectrum Viewer
Source
https://github.com/mohayonao/timbre.js/blob/master/src/objects/fft.js