Thread: Record From Microphone

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

    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,895
    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 11:07 AM.
    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,195
    Use the IDirectSound8 interfaces , much faster than MCI or PlaySound

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, 09:24 AM
  2. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04: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, 01:27 PM
  5. behind and confused
    By steviecrawf in forum C Programming
    Replies: 1
    Last Post: 11-09-2001, 12:51 PM