1

Is there any way to perform an IFFT using the WebAudio Analyser node? I notice there is a getByteTimeDomainData method, but how would I feed it magnitude and phase arrays? Do I connect an AudioBuffer source to it containing interleaved mag and phase values?

1 Answers1

3

Use a PeriodicWave node for IFFT. You can find more information here

sepans
  • 1,372
  • 13
  • 24
Licson
  • 2,231
  • 18
  • 26
  • is PeriodicWave node same as the old Wavetable node? – zya Feb 13 '14 at 20:45
  • Thank you. Can you show a short JSFiddle code example of how to use the PeriodicWave node? – Petrus Theron Oct 04 '18 at 07:48
  • The WebAudio AnalyserNode only seems to support the real part of the Fourier transform? Maybe I'm missing it, but I can't seem to extract the complex phase part from WebAudio's FFT. – Petrus Theron Oct 04 '18 at 07:58