Converting ulaw to VBR mp3

Lars Rasmussen lars.rasmussen at
Wed Mar 16 15:46:36 MST 2005

On Wed, 16 Mar 2005 15:15:51 -0700, Hans Fugal <hans at> wrote:
> On Wed, 16 Mar 2005 at 15:08 -0700, Lars Rasmussen wrote:
> > I have several files I need to convert from ulaw to VBR mp3.
> You are of course welcome to use mplayer if you like, but I'd do this
> with sox.
> sox foo.wav <options to get it into the format lame wants> temp.wav
> lame --r3mix temp.wav foo.mp3
> Lame may even take a wave on stdin and sox could output to stdout, so
> you could pipe them together without the temporary file. That's not
> going to make as much difference as using sox instead of mplayer, I'm
> guessing.

I've been unable to get sox to work with ulaw - I tried sox first.

'sox: wave header missing FmtExt chunk'

> Insert obligatory plug for ogg instead of mp3 here. I'm assuming you
> really do want mp3 for some real, if unfathomable, reason.

My clients are mortgage & credit couseling offices via a browser.  I
have no control over their systems.

If I really had a choice, I'd use speex, not ogg or mp3.


More information about the PLUG mailing list