These programs decode and encode various audio formats from and
to 16–bit stereo PCM (little endian). The decoders read the compressed
audio data from standard input and produce PCM on standard output
at a sampling frequency of 44.1KHz.

Pcmconv is a helper program used to convert various PCM sample
formats. The –i and –o options specify the input and output format
fmt of the conversion. Fmt is a concatenated string of the following
parts:s# sample format is little–endian signed integer where # specifies
the number of bitsu# unsigned little–endian integer formatS# singed big–endian integer formatU# unsigned big–endian integer formatf# floating point format where # has to be 32 or 64 for single–
or double–precisiona8 8–bit a–law format
µ8 8–bit µ–law formatc# specifies the number of channelsr# gives the samplerate in Hz

The program reads samples from standard input converting the data
and writes the result to standard output until it reached end
of file or, if –l was given, a number of length bytes have been
consumed from input.

Mixfs is a fileserver serving a single audio file which allows
simultaneous playback of audio streams. When run, it binds over
/dev/audio and mixes the audio samples that are written to it.
A service name srvname can be given with the –s option which gets
posted to /srv. By default, mixfs mounts itself on
/mnt/mix and then binds /mnt/mix/audio over /dev. A alternative
mountpoint mtpt can be specified with the –m option. The –D option
causes 9p debug messages to be written to file–descriptor 2.