Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 16:05:13 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        naddy@mips.inka.de (Christian Weisgerber)
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: need mp3 to wav converter, is there already a FreeBSD port ?
Message-ID:  <20030125160513.1ad70e13.Alexander@Leidinger.net>
In-Reply-To: <b0u1rh$dgc$1@kemoauc.mips.inka.de>
References:  <20030125113657.GA27262@titan.klemm.apsfilter.org> <b0u1rh$dgc$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jan 2003 13:01:37 +0000 (UTC)
naddy@mips.inka.de (Christian Weisgerber) wrote:

> Andreas Klemm <andreas@klemm.apsfilter.org> wrote:
> 
> > Best would be something for the commandline, for "batch mode".
> 
> An MP3->WAV converter is just an MP3 player that can direct its
> output to a file and prepend a trivial WAV header.  madplay and
> mpg321 can do this.  mpg123 can also write the decoded audio to
> stdout, and you could use a tool such as sox to convert the raw
> audio to WAV.

madplay can also be used to prevent clipping in the output: First make a
dummy decoding run and look what it tells you about peak amplitude and
then use "-a" with this value (see the man age for more).

> > Is it better to normalize the mp3 file ?
> > Or better to do it after mp3 to wav convertion ??
> 
> Can you even do this in MP3 format?  Just convert to WAV or raw
> audio and use sox on that.

In a limited way yes (1.5dB steps, lossless): audio/mp3gain

Bye,
Alexander.

-- 
                           Reboot America.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030125160513.1ad70e13.Alexander>