SpectrumBase frequency bands/buckets

Mar 17, 2015 at 1:53 AM
This is a bit of a noob question... I have been playing with SpectrumBase with a narrow band, eg 20hz to 2000hz + 20 buckets and have noticed that you can quite easily tell when the bass is playing, and some of the buckets go up and down as the melody goes up and down.

What I was hoping to do was map the buckets to the frequencies of actual notes. Is that possible?

For example,
G4 = 392hz
A4 = 440hz
B4 = 494hz

So, could I create a bucket which is something like 420 <-> 460hz which is approximate "A4" and so on for the whole scale?

It doesn't have to be super accurate, just hoping to get a rough idea of what note is playing and how loud?
Coordinator
Mar 17, 2015 at 9:53 AM
Edited Mar 17, 2015 at 9:54 AM
Of course that would be possible. I am currently 2 busy to provide you a sample code. But you can also read about it here: http://www.codeproject.com/Articles/32172/FFT-Guitar-Tuner
You just would have to adapt it to cscore.