On Mon, Sep 20, 2010 at 17:13, Siju George <sgeorge...@gmail.com> wrote:

> On Mon, Sep 20, 2010 at 5:05 PM, Kumar Appaiah
> <a.ku...@alumni.iitm.ac.in> wrote:
> > Dear Siju,
> >
> > On Mon, Sep 20, 2010 at 03:19:09PM +0530, Siju George wrote:
> >> I followed
> >>
> >>
> http://wiki.audacityteam.org/index.php?title=Recording_audio_playing_on_the_computer#Using_the_ALSA_PCM_file
> >>
> >> and got the
> >>
> >> /tmp/out.raw file
> >>
> >> How do I convert it to wav or mp3?
> >
> > You would need an MP3 encoder, such as LAME. LAME is not available in
> > Debian, but is available from unofficial repositories, such as Debian
> > Multimedia (see http://debian-multimedia.org/ for details)
> >
>
> thanks i found out
>
> $lame -r out.raw out.wav
>
> to convert to wave and
>
> $ffmpeg-i out.wav out.mp3
>
> to convert to mp3
>
> thanks :-)
>
> --Siju
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/aanlktim1gjnf2w5nyv3r8v6gttl7k6jqem+e7smp0...@mail.gmail.com
>
>
Wave is nothing but raw PCM in littile endian (intel) format with generally
44 bytes of header which contains sample rate, number of channels, total
number of samples etc.
Since it is raw PCM data, while creating either wave or mp3, you will have
to specify your sample rate, number of channel and format (number of bits,
little/big endian etc.)

Reply via email to