![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Feb 2005
Posts: 45
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 234
Rep Power: 3
![]() |
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?
__________________
Project::Soulstorm (personal homepage) |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Sound Driver Issues (Creative Cards) | Ghost | Coder's Corner Lounge | 3 | May 31st, 2007 2:36 PM |
| Streaming Sound Over a Socket | King | C++ | 3 | Apr 7th, 2007 5:29 PM |
| No Sound | Kilo | Coder's Corner Lounge | 39 | Jun 12th, 2006 12:59 AM |
| Questions about extra Sound and Graphics libraries | Soulstorm | C++ | 2 | May 15th, 2006 10:42 AM |
| turning integers into sound? | clam | Visual Basic .NET | 2 | Aug 23rd, 2005 1:28 PM |