Encoding an audio file to GSM 06.10
Purpose. Encodes a PCM audio file, writes the result as a GSM 06.10 file.
java GSMEncoder pcmfile gsmfile
Bugs, limitations. To work cleanly, this program requires JDK 1.5.0 or the latest version of Tritonus. The input file has to be 8 kHz, 16 bit linear signed, mono. GSM 06.10 can only be handled natively by Tritonus. If you want to use this format with the Sun jdk1.3/1.4, you have to install the respective plug-in from Tritonus Plug-ins.
Source code. GSMEncoder.java