Input FFT
Materials
Example
This example shows how to use the FFT class to calculate the fast Fourier transform of the audio signal recorded by the microphone.
Connect the microphone to the Ameba board following the diagram.
Next, Open the example, Files -> Examples -> AmebaAudioCodec -> InputFFT
Upload the code and press the reset button on Ameba once the upload is finished.
Open the serial monitor and change the baud rate to 2000000. A stream of FFT results of audio samples will be displayed. Try playing music or use a mobile phone app to generate a sine wave into the microphone, and you should be able to see the FFT output change.

