Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 8th, 2008, 10:39 AM   #1
gj15987
Programmer
 
Join Date: Feb 2005
Posts: 40
Rep Power: 0 gj15987 is on a distinguished road
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.
gj15987 is offline   Reply With Quote
Old Apr 16th, 2008, 10:31 AM   #2
Soulstorm
Hobbyist Programmer
 
Soulstorm's Avatar
 
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 230
Rep Power: 3 Soulstorm is on a distinguished road
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)
Soulstorm is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:22 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC