MPEG-FAQ 4.0:

Mpegaudio
[ You can find this under the name MPEGAUDI or ftp it from the IUMA- ]
[ server
URL=ftp://sunsite.unc.edu/pub/electronic-publications/IUMA
[ For a further description of IUMA look into the WHERE-INFOS section. ]
Last updated 1/5/94
The good news is that source is now available. Look in /IUMA/mpeg_players
for the file mpegaudio.tar.Z
We will continue to gather source and executables and hope that some
enterprising shareware authors or academics will provide various platforms
with real-time players. According to Jared V Boone below, the Xing
real-time player for Windows plays only the lower half of each subband of
only one of the two channels. By my ears, that's pretty good.
Another worthy undertaking would be porting the source to the DSPs
increasingly being found on motherboards and add-in cards, such as the Mac
AV series' AT&T 3210 or the Turtle Beach MultiSound's Motorola 56001, for
real-time full-quality encoding and playback.
That would be cool. =)
-IUMA staff
Here's the latest word on other non-commercial MPEG audio players for Unix
workstations.
I found this in a zip file, the test suite missing, as well as the Makefile.
I hacked together a quick makefile, and altered the musicout code so that if
the destination filename is "stdout" it writes the song to stdout so you can
pipeline it into sox then into /dev/audio or your equivilant. (Handling
30 meg files takes mucho diskspace I dont have :)
Basically, all you need to do is run it in a pipeline:
decode snd.mp2 stdout | sox [your favorite opts] > /dev/audio (or equiv)
>Some of those favorite opts:
>sox -t .raw -r 44100 -s -w -c 2 file.mp2.dec -t .au -r 8000 file1.au
>sox -t .au -c 2 -w -s file1.au -t .au -c 1 -b -u file2.au avg
I have both encoded and decoded with this. I decoded a song off the IUMA
archives, and encoded a topgun soundtrack I digitzed myself. One thing to
note, at the default encoding bitrate of 384 bits, things dont compress hardly
at all, you'll want to input something like 128 bits, which does on average
8-10:x1 compression.
Encoding takes a *LONG* time... :)
-Crh
Charles Henrich Michigan State University henrich@crh.cl.msu.edu
http://rs560.msu.edu/~henrich/