[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MP3 to WAV converter???



Pere Camps writes:
>> >> Does anyone know of a MP3 to WAV converter?
>
>I use mpg123 (there's a debianized package) with sox. The command line is
>the following:
>
>#!/bin/bash
># mp32wav
>mpg123 -b 10000 -s "$1" | sox -t raw -r 44100 -s -w -c2 - "$2"
>
>And the use is:
>
>mp32wav file.mp3 file.wav
>

That's a pretty impressive command line, but I just found out that it
could be done with just 'amp -w mp3name'. (Amp is also available as a
deb package). However, that doesn't work with the mp3 I wanna do it
with (the file is kind of bad). Anyway, the issue is no longer
relevant (for me). The reason I brought this up is that a user on my
system wants to play an mp3 at X startup, but the MP3 was bad, so I
thought I could convert it to wav and play it w/ 'play'. But amp could 
handle the buggy MP3, so I didn't have to.


Reply to: