Skip to content

dakeryas/deadbeef-dr-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Description

Adds a "Dynamic Range" context menu to the selected playlist items. Upon clicking, the dynamic range, peak, and total RMS for each selection item is computed and a GTK dialogue is opened with results. The computation for each item is made in parallel (see Runtime configuration). The log can be saved and is compatible with the DR online database.

Installation

Arch Linux

See the Arch User Repository.

Other Linux distributions

Download the latest Ubuntu builds from Releases or from the slightly out-of-sync DeaDBeeF sourceforge, and uncompress the plugin archive to ~/.local/lib/deadbeef/. Alternatively build from source (see Building from source).

Windows

Download the latest builds from Releases or from the slightly out-of-sync DeaDBeeF sourceforge, and uncompress the plugin archive to %APPDATA%/deadbeef/. Alternatively, build from source using mingw-w64.

Building from source

Requirements

The build relies upon GNU make. By default, GTK is picked up via pkg-config and the GTK3 version of the GUI plugin is built.

On Debian/Ubuntu, you should thus be covered with

sudo apt-get install build-essential pkg-config libgtk-3-dev

For non-standard GTK installs, the build configuration can be overriden via the GTKCFLAGS and GTKLIBS variables.

Installation

After having installed the aforementionned requirements and cloned this repository, in the root folder of your local copy of the repository, type

make install

Custom installation

The default installation location of the plugins is ${HOME}/.local/lib/deadbeef, this may be overridden with the PREFIX GNUmake variable, e.g.

make install PREFIX=/path/where/deadbeef/finds/plugins

You can also combine it with DESTDIR whilst retaining the RUNPATH (which is set so that the plugins can find libdrmeter.so) set from the PREFIX value, e.g.

make install DESTDIR=$PWD/temp PREFIX=/usr/lib/x86_64-linux-gnu

If you insist on using GTK2, try from the root folder

make install GTK=2

Runtime configuration

DR value formatting

The printing of the dynamic range values can be customised by changing the default formatting string dr_meter.format in the DeaDBeeF config file (or graphically under "Plugins/Dynamic Range Meter"), e.g.

DR%-5.2f %10.2f dB %8.2f dB

would print a left-justified five-character wide DR value with two digits after the decimal point.

Number of parallel threads

The maximum number of DR computing threads in the pool can be changed via the dr_meter.threads variable in the DeaDBeeF config file ~/.config/deadbeef/config (or graphically under "Plugins/Dynamic Range Meter").