Convert any audio file in Ubuntu

Ever wanted to transfer some ogg or flac files to your old mobile phone that supports only mp3 or wav ?
I have!

There are two programs I recommend for these kind of jobs.

1. SoX, the swiss army knife of sound processing, is a command line utility that can convert various formats of audio files in to other formats. It can handle formats like .ogg (vorbis), mp3, wav, aiff, voc, snd, au,
gsm and several more.

Installation

sudo apt-get install sox

Usage

sox file.<old extension> file.<new extension>

Example

user@ubuntu:~/Music$ sox 06\ -\ R.E.M.\ -\ Losing\ My\ Religion.ogg 06\ -\ R.E.M.\ -\ Losing\ My\ Religion.wav
user@ubuntu:~/Music$ ls -la 06\ -\ R.E.M.\ -\ Losing\ My\ Religion.*
-rw-r–r– 1 user user 6986674 2008-04-12 15:41 06 - R.E.M. - Losing My Religion.ogg
-rw-r–r– 1 user user 47451644 2008-04-12 15:42 06 - R.E.M. - Losing My Religion.wav

2. Sound converter is a simple sound converter application for the GNOME environment. It reads anything the GStreamer library can read, and writes WAV, FLAC, MP3, and Ogg Vorbis files.

Installation

sudo apt-get install soundconverter

To enable MP3 output

sudo apt-get install gstreamer0.10-plugins-ugly-multiverse

Usage

Applications > Sound and Video > Sound Convertor

You can add individual files or whole folders.

In Edit > Preferences you can select the output (result) and quality.


If you like this post, please consider buying me a beer.


Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Slashdot
  • Reddit
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Netscape
  • Fark
  • Furl
  • blogmarks
  • IndianPad
  • Spurl
  • Netvouz
  • Wists

5 Responses to “Convert any audio file in Ubuntu”

  1. [...] some ogg or flac files to your old mobile phone that supports only mp3 or wav ? Now you can!read more | digg [...]

  2. Thanks for your your effort.

    But I have a little problem on SoX. When I try to convert ogg files to mp3, it gives me this error:
    SoX was compiled without MP3 encoding support

    Yes, it converts ogg(s) to wav(s).

    Another problem, it doesn’t support multiple convert, I think.

    Anyway, I’ll try the other one.

    See ya :-)

  3. IT WORKS !!!
    Mowahahah

    AND EASY TOO !!!

    You’re great you, Thanks

  4. thank you very much, works perfect!

  5. Looking for a sound clip on the net but can\’t find it anywhere? Check out the http://www.YourListen.com , your new #1 source for everything audio.

Leave a Reply