Ubuntu/Debian/Mint news and tutorials | Linux stuff
facebook.png
twitter.png
feed.png
Quick Tip
Find Files Containing a Text Pattern
find . -iname "*.txt" -exec grep -l "hello" {} +
Quick Tip
Disable Overlay Scrollbars in GNOME
gsettings set com.canonical.desktop.interface scrollbar-mode normal
This should enable the normal scrollbars. This method works in Ubuntu 12.10 and above.
Categories
Online Readers
Advertise on TuxArena
Linux Cheat Sheet
Have a look at our Linux Cheat Sheet for quick one-liners, commands and tips.
Get UbuTricks, a graphical program which allows you to install the latest versions of several applications in Ubuntu.

TuxArena is proud to announce the second free PDF giveaway: Command-Line Guide to Audio Files in Ubuntu. You can read it online here or download the PDF from here.

The guide explains the basics of manipulating audio files in command-line mode, as well as converting to and from various audio formats, with an accent on the free formats FLAC and Ogg Vorbis. Here are the topics covered:


Introduction to Audio Manipulation on Linux
The Setup: Tools That We Need
Converting FLAC to WAV and Vice-Versa
Converting FLAC or WAV to Ogg Vorbis
Editing Ogg Vorbis Tags
Converting FLAC or WAV to MP3
Ripping Audio CDs
Split FLAC, WAV or APE With a CUE File
Converting WMA to Ogg Vorbis
Converting APE to Ogg Vorbis or MP3
Converting AC3 to WAV Using MPlayer
Music Players

Please feel free to use the comments below for suggestions or corrections and help me improve this guide.

Share this!Share on RedditShare on StumbleUponShare on FacebookTweet about this on TwitterShare on TumblrShare on Google+
anonymous says:

Great article :)

Maybe you could mention flack, which is a command line tool for editing FLAC files:

http://sourceforge.net/projects/flack/

I find it really useful.

Craciun Dan says:

Thanks for the suggestion. I’ll give it a try, and maybe it will go in the next revision of the guide, especially since it’s command-line.

Linerd says:

Nice job on the guide. abcde is an awesome tool for ripping CD’s. I’d just like to mention a few posts on by blog about converting audio with GStreamer.

http://tuxtweaks.com/2010/12/converting-audio-files-with-gstreamer/
http://tuxtweaks.com/2010/12/converting-audio-to-mp3-with-gstreamer/

The big advantage to using GStreamer to do the conversion is that if you have your high bitrate files tagged, when you convert or down-sample them, GStreamer automagically takes care of the tagging for you. So if you archive your music in FLAC and want to convert to medium quality Ogg Vorbis or MP3, your new files will be properly tagged. I believe that GStreamer has plugins to handle all the formats you listed above.

I like the Iron Maiden reference. :->

Craciun Dan says:

Thank you!

I’ve never used GStreamer before for converting between files, I’ll give it a try, thanks for the links, I’ll find some time to try these two tutorials.

And yeah, up the irons :)

Cae says:

After using this guide for the past 2 years, finally found something that you can improve on

wma to flac/wav conversion

ogg to flac/wav conversion

Leave a Comment

Sponsors