Record From Microphone

This is a discussion on Record From Microphone within the Windows Programming forums, part of the Platform Specific Boards category; Can anyone tell me how I would go about recording audio form a microphone? How can I send audio to ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    197

    Record From Microphone

    Can anyone tell me how I would go about recording audio form a microphone? How can I send audio to a sound card? I'm on a Windows computer.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Since you can't access the device directly, I'm moving this to Windows Programming. You have to go through the API.

    Now the simplest way to do this is probably through MCI.

    If you want to be more flexible, look for functions starting with the waveIn prefix.

    Another place to look is DirectMusic, it may have a recording part.
    Last edited by CornedBee; 05-03-2007 at 12:07 PM.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Use the IDirectSound8 interfaces , much faster than MCI or PlaySound
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with binary file c++
    By lucky_mutani in forum C++ Programming
    Replies: 4
    Last Post: 06-05-2009, 10:24 AM
  2. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 05:14 AM
  3. String sorthing, file opening and saving.
    By j0hnb in forum C Programming
    Replies: 9
    Last Post: 01-23-2003, 01:18 AM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 02:27 PM
  5. behind and confused
    By steviecrawf in forum C Programming
    Replies: 1
    Last Post: 11-09-2001, 12:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21