Sound Tone Recognition?
Can someone tell me if this is possible to program, and if so, where to start? I am trying to make a Windows program that will recognize sets of sound tones, and then do a number of actions, such as play a sound or so fourth. Any help anyone can give me would be appreciated. Thank you in advance :-)
I cannot stress this enough: "By definition, a 'true' programming language has the abuility to work any possible algorythem". You have stated how this algorythem will work, now its just to put it into C/C++/ASM (they are programming languages, are they not?).
I would suggest using somethingl ike DirectMusic/DirectSoiund (on WIN32 Platform) to retrive tones (if you don't allready have a method), then simply compare digits of the tones to stored patterns (if you want, u can make these patterns by recording values into a file from DM/DS), I would give it a few of leeway, say within 5 tones of the correct tone (depending of "khz" of input :)).
Hope this Helps! ~SPH
P.S. Feel free to contact me Via AIM (or other... but I would suggest AIM currently :)) for more info! :)
You mean record a sound and respond depending on the sound freq ect?
(Not phreaking are we?)
try looking at Waveform Audio at MSDN
(MM_WOM_OPEN ect msg's)
PCM may help
"Pulse code modulation (PCM) is a subclass of the Microsoft waveform (.wav) file format. In PCM, data for .wav files is stored using linear samples. In contrast, ADPCM records the deltas between samples."