From: Elvis D. <elv...@ma...> - 2010-02-07 10:48:20
|
Hi, On Feb 7, 2010, at 5:25 AM, sonu2die4 wrote: > I thought to build a program which would recognise the > input frequency of the audio so that it may be coverted to the correct > mapping of the relavant note. I have gumstix Overo.Any thoughts? There are devices that can recognize the pitch of a single note, e.g. C4, but not sure about a chord, say Cmaj (C, E, G). Doing an FFT (Fast Fourier Transform) analysis comes to mind, but then that would only yield all the frequencies that contribute to the instrument's timbre. Perhaps you could try to use an FFT analyzer, to see the response for a piano sound for individual notes, C, E, G, and then for the chord, and see if you can find a dominant charateristic that you can latch on to, to identify the chord. Then, you can test it again on another instrument, e.g. Trumpet or Woodwind, and see if the algorithm can still recognize the Cmaj chord. Best regards, Elvis Dowson |