Music Encoding


This document briefly describes some of the programs that can be used to create various formats of music files.

Converting MP3 to ogg

Under Linux use mp32ogg - you can also use sox in combination with oggenc (debian package vorbis-tools)

Converting ogg to mp3

Under Linux use sox in combination with lame

Installing lame

See list of mirrors at

Converting WMA To MP3

You need to install mplayer and lame and probably w32codes. See 'Installing lame' above for links to install these packages.

This converts the WMA to a WAV file:

  • mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader input.wma

This converts the WAV file to an MP3:

  • lame -m s audiodump.wav result.mp3

Other Useful Tools

  • easytag - ID3 tag editor
  • grip - ripper
  • k3b - create audio and data CDs
  • xcdroast - cd burning
  • audacity
  • helm - a free polyphonic synth with lots of modulation
  • glyr - a music related metadata searchengine, both with commandline interface and C API
  • fdkaac - command line encoder frontend for libfdk-aac


-- Frank Dean - 24 Feb 2005

Related Topics: abcde