J
Jussi Saily
Guest
Hi, there is a working example on the Texas Instruments DSP support
website. Look for University teaching support, and Richard Sikora's
source code. These were very helpful to me in developing my own code
with a TI C6000 DSP board! I think the guitar tuner example uses IIR
filters to produce the reference sine waves (string pitches), and then
mixes them with the guitar input. You can hear the 'beat-note' or the
frequency error from your headphones and see it on the board leds.
I wrote my own code though which uses FFT. There's still some things to
do with classification of the fundamental frequency, as the results
contains many harmonics. Maybe I should make an algorithm to locate
some local maxima and calculate the difference of the lowest of them.
That should be the fundamental frequency of the string vibration! This
is just a hobby, and I have not too much time to experiment but it's
nice learn some DSP theory in practice!
Good luck,
Jussi
website. Look for University teaching support, and Richard Sikora's
source code. These were very helpful to me in developing my own code
with a TI C6000 DSP board! I think the guitar tuner example uses IIR
filters to produce the reference sine waves (string pitches), and then
mixes them with the guitar input. You can hear the 'beat-note' or the
frequency error from your headphones and see it on the board leds.
I wrote my own code though which uses FFT. There's still some things to
do with classification of the fundamental frequency, as the results
contains many harmonics. Maybe I should make an algorithm to locate
some local maxima and calculate the difference of the lowest of them.
That should be the fundamental frequency of the string vibration! This
is just a hobby, and I have not too much time to experiment but it's
nice learn some DSP theory in practice!
Good luck,
Jussi