tags:

views:

367

answers:

2

Does anyone know how to convert GSM audio into PCM WAV via C#? I have tried to find a viable solution on the Internet to no avail.

+1  A: 

Here is a link to a C library that encodes and decodes GSM files:

http://user.cs.tu-berlin.de/~jutta/gsm/gsm-1.0.13.tar.gz

and a link to more information on the subject:

http://user.cs.tu-berlin.de/~jutta/toast.html

It should be possible to either compile the C code as a DLL and call it from a C# application using PInvoke, or else incorporate the methods directly into your C# app.

Once you have the GSM data decoded into sample data, writing it out to a WAV file is very simple.

MusiGenesis
A: 

Another alternative is SoX (Command line/library)

Alex K.
wow resurrected
Alex K.