examples/sound/soundPlayerFFTExample/README.md
This openFrameworks example demonstrates how to visualize an FFT analysis of the sound that is currently being played.
Studying this example will help you understand:
ofSoundPlayer to load and play sound files. (see also soundPlayerExample)mouseDragged())update() function.ofSoundGetSpectrum() to get a frequency spectrum sample for the FFT.Whenever the white circle collides with the border of the window, a sound should play. Each border (top, bottom, left, and right) corresponds to a different sound file.
In the center of the window, you should see an FFT visualization of the sounds that are currently played.
Instructions for use:
This example uses the following classes:
ofSoundPlayer