Encoding an audio file to μ-law
Purpose. Encodes a PCM audio file, writes the result as an .au-file, μ-law encoded.
java UlawEncoder pcmfile ulawfile
Bugs, limitations. Does not work with the Sun jdk1.3 (see bug #4391108). According to Florian, this bug is fixed in jdk1.4.
Source code. UlawEncoder.java