Ubuntu/Debian/Mint news and tutorials | Linux gaming
facebook.png
twitter.png
feed.png
Quick Tip
Disable Overlay Scrollbars in GNOME
gsettings set com.canonical.desktop.interface scrollbar-mode normal
Quick Tip
Find Files Containing a Text Pattern
find . -iname "*.txt" -exec grep -l "hello" {} +
Categories
Online Readers
Advertise on TuxArena
Linux Cheat Sheet

Have a look at our Linux Cheat Sheet for quick one-liners, commands and tips.

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.

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

Laurencio says:

Hello. I want to convert .flac files to .ogg.
Following this guide i’ve installed vorbis-tools and flac.

then when i type the following command line “oggenc Track01.flac -q 6 -o Here_to_stay.ogg”

i get the this error message:

ERROR: El fichero de entrada “Track01.flac” no está en ningún formato soportado.

Craciun Dan says:

Try to first convert the FLAC file to WAV and then the WAV to Ogg.

Leave a Reply to anonymous Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.