Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Recording audio and save as Raw data (A-Law)

$
0
0

Hi,

I'm working with the naudio c# example. I'm trying to record some audio from the mic, using the NAudioDemo RecordingDemo (recordingPanel.cs).

The process works fine.

My question is: how do I convert the produced wav to an a-Law raw byte array?

I suppose I could also write to a memorystream instead of writing to the disk, but this looks easy to me to be done.

I found this link

http://naudio.codeplex.com/discussions/83068

containing something I considered helpfull, but I couldn't come up with a solution.

Thanks in advance for any kind of help


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>