Thursday, August 5, 2010

SOX AIN’T LAME

The sox application is a great tool for converting and modifying sound files, but it does not support all formats for all functions. In particular, even though it can read MP3 files, it cannot be used to create MP3 files without additional libraries. To resolve this constraint, you can use the lame package to encode MP3 files from WAV files.

Just as GNU is a recursive acronym, GNU is Not Unix, LAME uses a recursive name: LAME Ain’t an MP3 Encoder. Ignoring the name, lame is a powerful tool for creating MP3 files. First, make sure that the package is installed: sudo apt-get install lame. Then, convert your WAV file to an MP3 file: lame fileIN.wav fileOUT.mp3.


The MP3 file from LAME cannot be used for system sounds (because system sounds do not support MP3 files) but can be used by other audio applications and portable music devices.

Source of Information : Wiley Ubuntu Powerful Hacks And Customizations

No comments: