![]() |
Sound Recognition
Hi. Does anyone know a language that I can use to read in a sound and figure out what note is being played? E.g. like a guitar tuner.
I think the way this is done is by measuring the frequency of the sound wave. Thanks. EDIT: Oh yeah, I should explain why seeing as I put this in the Projects forum. Basically I want to be able to select a note, say C, and then for the user to play/sing a note on a guitar/piano and the program to tell the user whether they got the correct note or not. |
Re: Sound Recognition
Well, that may take some time. Although I haven't been involved with sound editing, I can assure you that this is not as easy as it sounds.
You may want to use C or C++ using an API like OpenAL. But you won't only need programming knowledge to write such a program. You will also need knowledge as to what a sound wave is, and what makes sounds to be interpreted differently than others. One idea is to make a program that will take a sound as an argument, and analyze its highs and lows (a spectrogram?). Then, it must be able to compare that diagram with another. If the two diagrams are close to each other, you will have a match. Look at MIDI specifications, or OpenAL API specifications, to see if it implements something you like. Platform-depended APIs may exist, but I recommended you the most portable one because that's the only one I know! Do you have any experience with programming at all? What language you intend to program in? |
| All times are GMT -5. The time now is 3:54 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC