Pages: 1 [2]   Go Down
Author Topic: Modified 8bit FFT in c  (Read 55528 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

focalist --

(caveat: this is just my understanding of FTs and music, but I'm not an expert)

I don't think it's 500Hz per band. I think that this is giving a total usable spectrum of 500Hz (half the sampling rate). Each band is 7.8Hz, which is far more useful for analyzing music -- remember that the conversational human voice frequency is mostly below 250Hz.

Although human hearing goes up to about 20kHz, and those extremely high pitches are considered important for sound reproduction, they are mostly the harmonics of the instruments, not the fundamental notes so visualizing them doesn't lead anything intuitive.

The frequency of each band is (sampling rate / samples), in this case 1000 / 128 = 7.8.
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2589
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


 Very good idea, thaks author.
Unfortunately, there is a flow in the code, no FFT performed
if you copy/paste as it is.
 :-[
.
Logged

Pages: 1 [2]   Go Up
Jump to: