Subject: Re: mpg123 on alpha
To: Feico Dillema <dillema@acm.org>
From: Andreas Johansson <ajo@wopr.campus.luth.se>
List: port-alpha
Date: 08/14/1999 23:54:42
On Sat, 14 Aug 1999, Feico Dillema wrote:

> On Sat, Aug 14, 1999 at 03:33:54PM -0400, Charles M. Hannum wrote:
> > 
> > Are you sure it's mpg123 losing?  We don't currently deal with all of
> > the WSS mixer controls on the Alpha, and this can cause rather bad
> > output (e.g. on my AS200).  I keep meaning to fix this, but since I
> > made all my other sound cards work in it, there hasn't been much
> > incentive.  B-)
> 
> Pretty sure. Made .wav file with mpg123 on alpha and played it  on intel
> machine. same bad effect. and tried amp, which decodes just fine on 
> alpha (but misses a lot of mpg123's features)... I noticed with amp
> that WSS is not optimal quality, but... mpg123 decoding is a totally 
> different level of badness (track is barely recognizable)...
> 
> I also send a mail to the author of mpg123, but no reply yet. 
> 
> Feico.

I have no problem with mpg123-0.59q from pkgsrc. What I don't get is how
you got mpg123 to create a wav file, I can't find any such option. Here's
what I did to create a working wav: 

mpg123 -s file.mp3 | sox -t raw -r 44100 -c 2 -s -w - -t wav file.wav

By the way, sox takes more cpu time piping data through it than mpg123
does while decoding the mpeg. Way to go sox!

 8216 ajo       42    0   352K  904K run     0:08 50.02% 28.66% sox
 8215 ajo        2    0   480K 2992K sleep   0:07 41.92% 24.02% mpg123

/Andreas