Click here to Skip to main content
15,909,440 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am searching for a c# code on How to make an audio recorder which can insert audio recording in the required position using windows APIs (windows multimedia APIs).

Requirement like:

a) Code has to support to record an audio in .wav or .mp3 format.
b) Code has to support if user want to add (insert or append) new recording at any position of this audio at the mentioned audio play position.

Thanks & Regards,
Ranjith.
Posted
Comments
BillWoodruff 10-Jan-14 4:16am    
CodeProject is your friend:

http://www.codeproject.com/search.aspx?q=c%23+audio+recorder&doctypeid=1%3b2%3b3%3b13%3b9%3b10%3b14

1 solution

A few points to consider:
- start with WAVE PCM format, preferably mono: you do not need to care for encoding/decoding the data.
- Learn how to record one piece of audio into a file.
- For inserting into a defined position, record the sound to be inserted into a new file. Then cut the first file at the insert position into two files, add the data from the new recording at the end of the first part, thereafter add the second part of the original file.
- Instead of files you may use some custom buffer structures / Streams.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900