From owner-freebsd-multimedia Sat Jan 25 7: 5:38 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9174D37B401 for ; Sat, 25 Jan 2003 07:05:37 -0800 (PST) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFDC943F3F for ; Sat, 25 Jan 2003 07:05:31 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd04.sul.t-online.de by mailout04.sul.t-online.com with smtp id 18cRsA-0005hI-07; Sat, 25 Jan 2003 16:05:30 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.219.235]) by fmrl04.sul.t-online.com with esmtp id 18cRru-1gtskyC; Sat, 25 Jan 2003 16:05:14 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h0PF5DbL042728; Sat, 25 Jan 2003 16:05:13 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.6/8.12.6) with SMTP id h0PF5DG2006282; Sat, 25 Jan 2003 16:05:13 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 25 Jan 2003 16:05:13 +0100 From: Alexander Leidinger 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: References: <20030125113657.GA27262@titan.klemm.apsfilter.org> X-Mailer: Sylpheed version 0.8.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 25 Jan 2003 13:01:37 +0000 (UTC) naddy@mips.inka.de (Christian Weisgerber) wrote: > Andreas Klemm 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