From kde-multimedia Mon Dec 27 16:14:50 2004 From: Felix Berger Date: Mon, 27 Dec 2004 16:14:50 +0000 To: kde-multimedia Subject: patch: normalize effect for noatunarts Message-Id: <200412271714.54484.bflat1 () gmx ! net> X-MARC-Message: https://marc.info/?l=kde-multimedia&m=110416412512721 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_+TD0B2KH54nrP48" --Boundary-00=_+TD0B2KH54nrP48 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm in the process of writing a normalization plugin for Noatun. The plugin reads the relative volume adjustment from the currently played file, either from the id3v2 tags or from the playlist, or it computes it by calling the external programs normalize (http://www.cs.columbia.edu/~cvaill/normalize/) or vorbisgain (http://sjeng.org/vorbisgain.html) depending on the item's mimetype. The retrieved value is passed to an Arts::Effect called Noatun::Normalize which applies the gain adjustments to the samples. I've attached the patch and files which would have to be added to noatunarts to make this approach work. I would like to know if there is any chance of getting this into post-3.4 as long as arts is still the choice of backend. The plugin part can be found at: http://ilist.sourceforge.net/normalize/index.html There is no release yet, it's cvs only. Unfortunately there are quite a few projects which would have to accept my patches to make it releasable, right now I'm using patched versions of vorbisgain and taglib. In taglib for example the bug http://bugs.kde.org/show_bug.cgi?id=95545 would have to be closed to allow reading the RVA2 tag from mp3 files. I also patched vorbisgain to allow storing of gain information in the playlist and I'm waiting for normalize's next release which will support vorbis files. One could also strive for ReplayGain support, the website http://replaygain.org/ describes normalization in media players and proposes a "standard". Looking forward to your feedback, Felix Berger -- Use Debian GNU/Linux! http://www.felix.beldesign.de/ --Boundary-00=_+TD0B2KH54nrP48 Content-Type: application/x-tgz; name="normalize.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="normalize.tar.gz" H4sICCov0EEAA3BMdlFuYy50YXIA7Vhtc9s2EvZX8VfspTdTKjIlUdZLI9tpZFtp3bPjjqS0H64d DUyCMs4gqZKgrDTxf78FQFKkJce5aZrMzXDH5sti8WCxu1juKgg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1ZmfjH84n87Gk/n55c8X48vxm9lI/nhslo8WaiZTwtcuPyqqqKKKKqqooooqqqiiiir6QvRf/g6/ JgAoAAA= --Boundary-00=_+TD0B2KH54nrP48 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-multimedia mailing list kde-multimedia@kde.org https://mail.kde.org/mailman/listinfo/kde-multimedia --Boundary-00=_+TD0B2KH54nrP48--