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

New Post: Using AcmMp3FrameDecompressor on a mp3 stream.

$
0
0
markheath wrote:

DecompressFrame turns MP3 into PCM. You cannot go directly from MP3 to A-law. You must go to PCM first. Also, a-law is almost always 8kHz mono, so you would need to resample as well. And really sure you want to convert it to A-law? Unless you are integrating with some antiquated telephony hardware, I can think of no reason to want to do this. Any music you use this on will sound horrible.

I have written a detailed article on CodeProject about how to convert between any audio formats which you can access here.

Thank you got the explanation. There's no music, only speech, so PCM is used by default in the software. I was hoping it was PCM coming from the DecompressFrame function, so that makes life alot easier for me :).

Again, thank you for the response! I'll check out your article as well. 


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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