Thread: Sound Tone Recognition?

  1. #1

    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 :-)

  2. #2
    Registered User minime6696's Avatar
    Join Date
    Aug 2001

    Smile :)

    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!

  3. #3
    train spotter
    Join Date
    Aug 2001
    near a computer
    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
    from MSDN
    "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."
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sound lags in multi-thread version
    By VirtualAce in forum Game Programming
    Replies: 23
    Last Post: 08-27-2008, 11:54 AM
  2. Low latency sound effects
    By VirtualAce in forum Game Programming
    Replies: 0
    Last Post: 12-21-2004, 01:58 AM
  3. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  4. DirectSound - multiple sounds
    By Magos in forum Game Programming
    Replies: 9
    Last Post: 03-03-2004, 04:33 PM
  5. sounds?
    By BODYBUILDNERD in forum C++ Programming
    Replies: 6
    Last Post: 12-06-2002, 03:34 PM