473,326 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

i wanna record a sound in .net app

Hi,

I want my app's user to be able to record sound through my app and save it
to the/some file. How can I do that? Are there any classes in the .net
framework that let us do this? Or will I have to buy some thirdparty
components, in which case plz suggest some cool n tested links.

Regards,

...ab
Feb 7 '07 #1
2 1996
Hello Abubakar,

You can use the MCI device to do this. Here is an example in C++:

http://www.codeproject.com/audio/Voi...select=1252516

The basic commands send to the device are the same in C#. There is other
stuff on the MCI device on the Code Project such as:

http://www.codeproject.com/useritems...dia_player.asp

Basically I think that to record sound alls you have to do is send the
correct strings to the MCI device.

You may be able to this with DirectShow (google on that) and it may do the
same thing with less code (you will have to add a reference to the library in
your .NET project).

This is one of my projects I have to do later this year :~}

Hope this helps,

Rob

"Abubakar" wrote:
Hi,

I want my app's user to be able to record sound through my app and save it
to the/some file. How can I do that? Are there any classes in the .net
framework that let us do this? Or will I have to buy some thirdparty
components, in which case plz suggest some cool n tested links.

Regards,

...ab
Feb 7 '07 #2
Thanks for the information.

Regards,

...ab

"RobKinney1" <Ro********@discussions.microsoft.comwrote in message
news:CA**********************************@microsof t.com...
Hello Abubakar,

You can use the MCI device to do this. Here is an example in C++:

http://www.codeproject.com/audio/Voi...select=1252516

The basic commands send to the device are the same in C#. There is other
stuff on the MCI device on the Code Project such as:

http://www.codeproject.com/useritems...dia_player.asp

Basically I think that to record sound alls you have to do is send the
correct strings to the MCI device.

You may be able to this with DirectShow (google on that) and it may do the
same thing with less code (you will have to add a reference to the library
in
your .NET project).

This is one of my projects I have to do later this year :~}

Hope this helps,

Rob

"Abubakar" wrote:
>Hi,

I want my app's user to be able to record sound through my app and save
it
to the/some file. How can I do that? Are there any classes in the .net
framework that let us do this? Or will I have to buy some thirdparty
components, in which case plz suggest some cool n tested links.

Regards,

...ab

Feb 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Udipta | last post by:
I am making a java application where I am required to record voice in a-law format. The program i have written starts perfectly without giving any error or warning, but as soon as i start recording...
2
by: Olivier Ravard | last post by:
Hi everybody, What is the best way to record sound from the sound card with python ? The method I am looking for must but portable. Actually, I use snack tk package, but is there a best way ?...
1
by: rubbishemail | last post by:
Hello, do you know any way to record a sound from the soundcard on winXP to a numarray? many thanks Daniel
0
by: MLH | last post by:
Edit, Insert Object & choose Wave Object, the following OLE object thing gets inserted onto the form... Microsoft Sound Recorder Version 5.1 (Build 2600.xpsp2.030422-1633: Service Pack 1)...
9
by: Joshua.Buss | last post by:
I am trying to move a record from one linked table to another within access, but I'm a complete beginner to VBA and don't know exactly where to begin. I have an access file that has the two...
2
by: positivebalance41m | last post by:
I have been searching how to do sound capture (record audio input) in VB.NET for days now. I find some references to "winmm.dll" calls, but they give VB5 or VB6 examples which won't code convert...
0
by: anjupt | last post by:
Hi, Can somebody tell me how to record sound files in asp.net 2003 .I tried to load windows recorder in the application but for that to work so many settings need to be changed ,when the settings...
0
by: Karthik | last post by:
Hi, I want to record a sound wave from a mic and at the same time invert it and play the inverted wave.My code goes as follows, however nothing is written into the E:\inverted.wav file.Thanks in...
2
by: Ian | last post by:
I am trying to save the current record on a form before opening a report, doesn’t sound to hard does it? The code on a buttons on click event goes like this: DoCmd.DoMenuItem acFormBar,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.