开发者

Record and save audio in c# .net web application

开发者 https://www.devze.com 2023-01-19 05:48 出处:网络
Is there anyway that I can record sound from a microphone using c# .net What is the best option if i have to sav开发者_如何学Pythone the audio online in terms of the file occupying storage space.

Is there anyway that I can record sound from a microphone using c# .net

  • What is the best option if i have to sav开发者_如何学Pythone the audio online in terms of the file occupying storage space.

  • Any particular format that the file should be saved in for optimum output.


I think you have to use either a small flash application or a silverlight application to do the actual recording. Then you upload the file to your application using a web service or similar.

And mp3 is sort of a standard file format for sound on the web. So I'd go with that.


Have a look at these projects:

  1. http://www.codeproject.com/KB/winsdk/SoundRecord.aspx
  2. http://www.codeproject.com/Articles/67568/Creating-a-Sound-Recorder-in-C-and-Csharp.aspx
  3. http://www.codeproject.com/KB/audio-video/cswavrec.aspx

What is the best option if i have to save the audio online in terms of the file occupying storage space.

  • May be real media (.rm).

Any particular format that the file should be saved in for optimum output.

  • Not sure but I think that depends on your player.

You might also be interested in ffmpeg for converting the media and its c# wrapper library.

0

精彩评论

暂无评论...
验证码 换一张
取 消