Ogg Vorbis utilities

vorbisgain

vorbisgain (Figure 7) is not packaged with vorbis-tools, but it is a related tool that you might want to download at the same time [3]. The utility is intended to maintain a uniform sound or replay gain across files on the same album.

Figure 7: vorbisgain smooths out the volume levels of both albums and individual files.

To begin using vorbisgain, enter the command

vorbisgain --album ./*.ogg

adding the --recursive option if some of the files to modify are in subdirectories. The command returns the settings for each file with the same directory comment and a recommended setting that is usually the average of all the files. The gain on each file can then be set with the option --album-gain=SETTING. You may want to preserve file attributes with the --preserve-m-time option. Should the results not to be to your liking, you can use --clean to remove the gain comments created by vorbisgain before making adjustments.

Adding Control

When these utilities are added to a system, the Ogg Vorbis format becomes a much more attractive alternative. In particular, ogg123 is a compact music player, while, aside from its specialization, vorbiscomments is one of the most versatile editors for meta-comments that I have found. As for vorbisgain, I can think of no other audio format for which a similar command-line tool is available. You may not always need all the available Ogg utilities, but they make the format more of an option than it is by itself.

The Author

Bruce Byfield is a computer journalist and a freelance writer and editor specializing in free and open source software. In addition to his writing projects, he also teaches live and e-learning courses. In his spare time, Bruce writes about Northwest coast art. You can read more of his work at http://brucebyfield.wordpress.com

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: Music Tools

    You don’t always need a GUI-based tool to play MP3 and Ogg Vorbis tracks. In this month’s column, we look at tools for rocking from the shell.

  • Command Line

    The command line swings. In this

    issue of “Command Line”we investigate

    how you can grab tracks from

    audio CDs and convert sound files to

    other formats. No matter whether

    you choose wav,MP3 or Ogg Vorbis,

    you can rely on the shell to convert

    your files.

  • Free Software Projects

    If you want to convert a bunch of audio files into another format and prefer to steer clear of the command line, the Gnac graphical tool might do the trick. Also, the Gourmet Recipe Manager helps out in the kitchen.

  • File Comparison

    With support for more than 60 file formats, diffoscope extends the power of diff beyond the plain text or HTML file.

  • Sound Conversion

    Transfer the contents of audio CDs to your PC and convert the contents of music folders with soundKonverter and fre:ac.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News