On Wed, Jun 28, 2017 at 08:51:08AM +1000, [email protected] wrote:
> For any music I download, I convert it to an ogg file with Audacity
> but first use Effect>Amplify to normalise the gain, in order to get a
> reasonably close range of loudness. I use Audacity rather than one of
> the converter programs particularly for its Amplify command.

See also python-rgain:

Package: python-rgain
Source: rgain
Version: 1.3.4-1
Installed-Size: 93
Maintainer: Debian Python Modules Team 
<[email protected]>
Architecture: all
Depends: python-gi, gir1.2-gstreamer-1.0, python-mutagen, 
gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, python (>= 2.7), python 
(<< 2.8), python:any (>= 2.6.6-7~)
Recommends: gstreamer1.0-plugins-ugly | gstreamer1.0-libav
Description-en: Replay Gain volume normalization Python tools
 This package provides a Python package to calculate the Replay Gain values of
 audio files and normalize the volume of those files according to the values.
 Two basic scripts exploiting these capabilities are shipped as well.
 .
 Replay Gain is a proposed standard designed to solve the very problem of
 varying volumes across audio files. Its specifications are available at
 http://replaygain.org/ .
Description-md5: 48f1f68a3520e4a1beab32f395c121b8
Homepage: https://bitbucket.org/fk/rgain/
Section: python
Priority: optional
Filename: pool/main/r/rgain/python-rgain_1.3.4-1_all.deb
Size: 25982
MD5sum: 86fea888aca88affb359b6564477cc4d
SHA256: 1cd58c4525d0b70a6c358c655f8e82573a30a2fbbce2d7070028f8b26d4decca


I haven't used this, so don't know how well it works.  The description sounds
useful and relevant.

It contains two scripts:

1. replaygain - read, calculate, and write Replay Gain for 1 or more
   files. works for several formats: ogg, flac, wavpack, mp4, mp3

2. collectiongain - does the same for an entire collection of music,
   just give it a path rather than filenames.



Also, here's a list of packages in debian that mention replay gain
somewhere in the package info:


$ apt-cache search replay.?gain  | awk -F' - ' '{printf "%-25s %s\n", $1, $2}'
bs1770gain                measure and adjust audio and video sound loudness
crip                      terminal-based ripper/encoder/tagger tool
groovebasin               music player server with a web-based user interface
libebur128-1              implementation of the EBU R128 loudness standard
libebur128-dev            implementation of the EBU R128 loudness standard 
(development files)
libmpcdec-dev             MusePack decoder
libreplaygain-dev         Calculate ReplayGain information
libreplaygain1            Calculate ReplayGain information
rhythmbox-plugins         plugins for rhythmbox music player
soundkonverter            audio converter frontend for KDE
vorbisgain                add Replay Gain volume tags to Ogg Vorbis files
bluemindo                 ergonomic and modern music player designed for 
audiophiles
aacgain                   Lossless mp4 normalizer with statistical analysis
libgrooveloudness4        loudness scanner for libgroove
libgrooveloudness-dev     loudness scanner sink for libgroove (development 
files)
qmmp                      Feature-rich audio player with support of many formats
python-rgain              Replay Gain volume normalization Python tools






PS: as is fairly common with python (and gem and ruby and node.js etc)
programs, the web page for rgain gives instructions to first install the
dependencies with apt-get (unneccessary but not actively harmful), and then
cretinously tells you to run an installer script for rgain as root.

Don't do that, it's extremely bad advice from programmers who don't care about
the operating systems their code is running on, who see the OS as an obstacle
to be worked around and trashed rather something to use and work with.  Even
without any malicious surprises in the installer script, that kind of advice
breaks systems.

Worse, it's an incredibly bad habit to get into especially for people who
actually need instructions like that (they're exactly the people who should
NEVER be encouraged to follow unsafe, insecure instructions).  Ditto for
instructions that do things like tell you pipe the output of wget or curl into
a root sh or bash or whatever.

Instead, just run 'apt-get install python-rgain'.  All the dependencies will
be resolved automatically by apt-get.  That's its job.

craig

--
craig sanders <[email protected]>
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to