FFT

JS Bin on jsbin.com

Experiment with the mode

Use the change_settings methode to change the cmode. Add the line fft_plot.change_settings({cmode: #}); to the code and change the value of # to one of the following:

  • 1 or "magnitude"
  • 2 or "phase"
  • 3 or "real"
  • 4 or "imaginary"
  • 5 or "real/imag" or "imag/real"
  • 6 or "10*log10"
  • 7 or "20*log10"