- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] editing a wav or mp3
- From: david <david@xxxxxxxxxxxxx>
- Date: Tue, 03 Jun 2008 23:32:42 +1000
- Reply-to: david@xxxxxxxxxxxxx
On Tue, 2008-06-03 at 20:57 +1000, Erik de Castro Lopo wrote:
> david wrote:
>
> > I've got a .wav voice file recorded on a JNC mp3 player.
>
> Thats probably MP3 audio data inside a WAV container (much
> like you can have vorbis, speex or flac data inside an Ogg
> conatiner).
>
> > I can play it in mplayer, amarok, vlc media player and others, but
> > Audacity and Sweep don't like it, and I need to edit it.
>
> Audacity and sweep both use libsndfile which sees a WAV file header,
> but isn't able to read the MP3 data [0].
>
> > After some googling, I discovered that by changing *.wav to *.mp3, other
> > programs (banshee for instance) will now play the file as an mp3 file,
> > so it seems the JNC plays strange tricks. However sweep and audacity
> > still don't like it :(
> >
> > I need to import the file into an editor. Any suggestions?
>
> Use mplayer to export it to a standard PCM WAV file and then
> edit it in Sweep or Audacity. When you are done editing it, you
> can re-encode it as Ogg (or even mp3).
>
> Erik
Thanks heaps Eric
$ mplayer -ao pcm test.mp3
produced an output file generically called <audiodump.wav> which then
opened in audacity.
Reading <man mplayer> is like reading the tax act. You know it's doing
you good... but..... I never did figure out the right options from the
man page.
Based on your email I googled and found:
http://www.linuxtutorialblog.com/post/tutorial-playing-around-with-mplayer
which was also a big help.
David.