IT Community - Software Programming, Web Development and Technical Support

How to get the audio from MicroPhone?

This is a discussion on How to get the audio from MicroPhone? within the C# Programming forums, part of the Software Development category; HI, I am doing a project of getting the Audio from Microphone and save it into the file in a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-04-2007, 06:50 AM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 182
Balasubramanian.S is on a distinguished road
Default How to get the audio from MicroPhone?

HI,

I am doing a project of getting the Audio from Microphone and save it into the file in a system using c#. Is there any option to do it? Can any one please tell me How to do this?

Thanks...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-05-2007, 06:06 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Thumbs up Re: How to get the audio from MicroPhone?

Media Control Interface(MCI)

The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device.

The recording scenario consists of the following steps:
  1. Open a waveform-audio device with a new file for recording.
  2. Once the device is opened successfully; get the device ID.
  3. Begin recording and record for the specified number of milliseconds. Wait for recording to complete before continuing.
  4. Assume the default time format for the waveform-audio device (milliseconds).
  5. Play the recording and query user to save the file.
  6. Save the recording to a file named TEMPFILE.WAV. Wait for the operation to complete before continuing.

Use MCI library to work with audio file in C#. If anything else let me know.

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2007, 02:57 AM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 182
Balasubramanian.S is on a distinguished road
Default Re: How to get the audio from MicroPhone?

Many thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio Record in ASP.NET kingmaker ASP and ASP.NET Programming 12 01-08-2008 05:45 AM
Full duplex audio conversation in .NET kingmaker C# Programming 0 07-19-2007 10:44 PM
Full duplex audio conversation in .NET kingmaker C# Programming 0 07-18-2007 10:36 PM
Audio Conferencing Balasubramanian.S C# Programming 3 04-19-2007 12:20 AM
How to Add Flash, Video, and Audio to Web Pages killerkev06 Web Design Help 3 03-22-2007 04:46 AM


All times are GMT -7. The time now is 02:18 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0