Search code examples
c#audiotcpcodecspeech

Which Audio Codec should I use?


Which audio codec should I choose for my C# software development project where the raw audio to be transcoded/transported/used is based on the following:

  1. For encoding Speech only
  2. Audio can be stereo or mono
  3. Able to support live streaming
  4. Good tradeoff between file size and quality
  5. To be transported over TCP/IP in its encoded form
  6. Can be played back by a readily available free player without further processing

Note that whether there is a readily available free codec library for performing transcoding does not need to be taken into consideration.


Solution

  • Speex is free open-source codec, designed for encoding speech in realtime solutions that need low latency. General-purpose compression schemes such as WMA or MP3 are likely to cause more delay and they also may not be able to operate well at very low bitrates. http://www.speex.org/