Thread: Audio Processing

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    34

    Audio Processing

    Hi Guys,

    I'm doing a project about audio processing in c++. It shall provide some easy functions such as taking audio input from a microphone and detects its pitch and volume etc.

    As I'm new to this area, I'm wondering if there's any good tutorials for it. And if anyone can give me some suggestions about where to start.

    Many thanks!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    What OS / Compiler?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    34
    I aim to develop it on Windows XP and using Visual C++.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You can record .WAV files with DirectSound. .WAV files are relatively simple to process in your own software (there's a small header containing some information about the recorded format, such as sampling frequency, bits per sample, whether it is stereo or mono, etc, the rest of the file is the actual audio data.

    Whether you can also "record to a buffer", rather than a file, I don't know.

    Figuring the frequency is a case of FFT or similar functions.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    FMOD does this and I found it pretty easy to use. Only problem is, you can't sell a product with this unless you pay up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Libraries for Audio Signal Processing?
    By GOBLIN-85 in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2009, 01:12 AM
  2. Audio Processing Question
    By bobthebullet990 in forum Linux Programming
    Replies: 7
    Last Post: 09-08-2006, 12:36 PM
  3. audio programming (from scratch)
    By simpleid in forum C Programming
    Replies: 6
    Last Post: 07-26-2006, 09:32 AM
  4. audio processing
    By the Wookie in forum C++ Programming
    Replies: 4
    Last Post: 07-10-2003, 08:25 PM
  5. file writing crashes
    By test in forum C Programming
    Replies: 25
    Last Post: 08-13-2002, 08:44 AM