JorenSix / TarsosDSP

A Real-Time Audio Processing Framework in Java
http://0110.be/tag/TarsosDSP
GNU General Public License v3.0
1.97k stars 472 forks source link

Question about FFT #189

Closed LowLevelSubmarine closed 4 years ago

LowLevelSubmarine commented 4 years ago

I'd like to create a Audio Spectrum with my LED Stripe. Every new Frame I do a forward transform on the latest Audio Buffer and then put the values with the modulus function to my led stripe (After deviding them by 50000 to, and skipping some values to decrease the modulus result to the amount of my leds). I'd expect, that the first leds would represent the lower tones of the audio signal, and the last ones the higher tones, but I can't see a difference when playing different notes into the microphone. Am I misinterpreting the results of the modulus function?