Although MP3 is the most commonly used format for the audio files around the world, but sometimes there are circumstances where we need a WAV format for a application, for example “Kalarm”. Now, this can be simply accomplished using “mpg321” utility. If your system does not have this utility installed, then it can be easily installed with YUM or APT-GET tools.

So, here we begin….

Step 1: Install mpg321 utility using YUM

# yum install mpg321

OR

On Debian based systems, use APT-GET tool

# apt-get install mpg321

Step 2: Use mpg321 or mpg123 utility to convert a mp3 file to wav format.

# mpg123 -w test.wav abc.mp3

OR

# mpg321 -w test.wav abc.mp3

That’s it.

Wasn’t it easy :)

If you enjoyed this post, make sure you subscribe to my RSS feed!!!!

No related content found.