Gentoo Logo

Decibel Audio Player

Content:

1.  Introduction

What's Decibel?

From the homepage: Decibel Audio Player is a GTK+ open-source (GPL license) audio player designed for GNU/Linux, which aims at being very straightforward to use by means of a very clean and user friendly interface. It is especially targeted at Gnome and will follow as closely as possible the Gnome HIG.

Decibel is a nifty, simple little app. It has as much playback functionality as you want it to have. It's not an audio Swiss Army knife; for that, take a look at Banshee, Exaile, or Amarok. It's intended for easy browsing and playing of your music collection. It supports several audio formats and CD playback, and can keep track of several different music library locations. (A nice improvement over other audio applications that track only one library).

Decibel mostly uses Python, gtk+, and gstreamer, though it also needs a few Gnome libraries. It should still be lightweight even if you don't use Gnome. If you do use Gnome, it will be fully integrated into your desktop.

Decibel has optional additional runtime integration with various Gnome libraries such as gnomeprint, gtksourceview, wnck, gnome-applets, gnome-media, totem-pl-parser, and a few others. More on this later.

Why here? Why not on some overlay collection site?

Because I want to keep it here, that's why. It's much better for development to keep it with the rest of my stuff.

Final warning

Decibel is not yet in the Portage tree. Hopefully this will change, but for now, it means that you get to pick up the pieces if it breaks.

Whatever you do, don't complain to the Gentoo developers if something breaks or doesn't work the way you wanted to. Remember, this is unsupported. That being said, if there's a technical issue that pops up with the decibel-audio-player ebuild, Manifest, etc., email me and I'll take a look.

2.  Gimme!

For Gentoo users

First, download the latest version of decibel-audio-player. Drop it into ${PORTDIR_OVERLAY}/media-sound/decibel-audio-player/. It's marked ~arch, so you'll need to keyword it in /etc/portage/package.keywords before installing.

Code Listing 2.1: Keywording Decibel

# echo "media-sound/decibel-audio-player" >> /etc/portage/package.keywords
# echo "media-plugins/gst-plugins-meta" >> /etc/portage/package.keywords

Next, let's take a look at the available USE flags. Since Decibel uses the modular gstreamer framework, you can choose the kinds of audio formats you want to be able to play. Decibel currently supports WMA (via ffmpeg), mp4 (aac), mp3, FLAC, Musepack, and Ogg Vorbis.

Here are the USE flags available for the Decibel ebuild:

USE flag Description
aac Enables support for MPEG-4 AAC audio (mp4)
cdaudio Adds support for CD audio playback and lookups via CDDB
gnome Enables additional integration with the Gnome desktop
libnotify Enables desktop notification on track change. You'll get a customizable little popup window.
musepack Enables support for the Musepack (mpc) audio codec

Decibel's ebuild depends on gst-plugins-meta, a metapackage that provides most of the audio codecs. You can add support for the desired codec by activating the appropriate USE flag for gst-plugins-meta:

USE flag Description
ffmpeg Adds support for audio formats that use the ASF container, such as Windows Media Audio (WMA)
flac Adds support for FLAC: Free Lossless Audio Codec
mad Adds support for mp3 playback via MAD, a high quality decoder library
vorbis Adds support for the Ogg Vorbis (ogg) audio codec

You can set your desired USE flags globally in /etc/make.conf, or locally in /etc/portage/package.use. For example, to enable support for everything but Musepack, you could do the following:

Code Listing 2.2: Setting USE flags in package.use

# echo "media-plugins/gst-plugins-meta ffmpeg flac mad vorbis" >> /etc/portage/package.use
# echo "media-sound/decibel-audio-player -musepack aac cdaudio gnome libnotify" >> /etc/portage/package.use"

Once your flags are set, install Decibel:

Code Listing 2.3: Installing Decibel

# emerge -avt decibel-audio-player

One thing Decibel doesn't do is edit tags. Its creators believe such functionality is best provided by dedicated tag editing applications. Remember, Decibel focuses on being a real audio player focused on playback. There are plenty of other tagging apps available, such as TagTool.

For everyone else

If you're not running Gentoo, it's possible your distribution already provides packages. Debian and Ubuntu have have .debs available.

Otherwise, you can compile Decibel from source by following the instructions. Be sure to note the dependencies. However, you should also take a look at my ebuild to get a better idea of what's also needed.

3.  Resources

Decibel is new, exciting, and going places, so stay on top of it! Here are a few links to get you started:

  • The Decibel Audio Player homepage. Screenshots, instructions, downloads, and more.
  • Decibel's bug tracker. If you find bugs in the program itself, report them here. (If there's a problem with the Gentoo ebuilds, email me). The bug tracker is also the best way to make feature requests and stay on top of development.


Print

Updated April 29, 2008

Summary: This page contains the ebuilds and instructions for Decibel, a gtk+ audio player.

Joshua Saddler
Author

Donate to support our development efforts.

Support OSL

Support OSL

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

Global Netoptex Inc.

Global Netoptex Inc.

Linux World Expo

Linux World Expo

Copyright 2001-2008 Gentoo Foundation, Inc. Questions, Comments? Contact us.