Re: mp3gain (was: CDbakeOven issue(s))

From: David Magda (dmagda+trace030823_at_ee.ryerson.ca)
Date: 09/14/03


Date: 14 Sep 2003 17:31:57 -0400

Henrik Herranen <leopold@assari.cc.tut.fi> writes:

> Unfortunately mp3gain only works directly with MP3 files, but the
> algorithm it uses is no secret, so applying it to other kinds of
> files is just a matter of programming. (I know, this might not be
> very helpful.)
>
> However, if interested, have a look at the ports collection, or
> http://www.geocities.com/mp3gain/

There is a vorbisgain utility (audio/vorbisgain/) that adds headers
to Ogg Vorbis files.

The algorithm in question is called "ReplayGain":

    http://replaygain.hydrogenaudio.org/

It cannot be done to WAV files since they are 'raw data': there is no
meta-data about the audio stream available.

For a high quality format you may want to look at FLAC:

    http://flac.sourceforge.net/

It is a lossless compression format (you can convert FLAC<->WAV/CD
many times without any degradation). It also has headers so that you
can store artist, track, etc. information.

-- 
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI


Relevant Pages

  • Re: Theodore Adorno, a prophet of data systems design
    ... > correct algorithm proof is a rarity. ... > to hinge on how one reads the bit about actual programming experience. ... > Perhaps Mr Nilges doesn't read those threads ... >> to people as a way of asserting authority easily. ...
    (comp.programming)
  • Re: Theodore Adorno, a prophet of data systems design
    ... with the idea of "proving" an algorithm to be correct. ... Perhaps Mr Nilges doesn't read those threads ... this newsgroup isn't about "asserting authority". ... since (in the context of a programming discussion) colour only ...
    (comp.programming)
  • Re: Computer Programming Career
    ... a great image-recognition algorithm won't be ... >> evidence I offer the vast stretches of extant crap C code publically ... This problem is not limited to C, of course, but that's the language ... Arithmetic is a fundamental programming concept. ...
    (comp.programming)
  • Re: Aspiring highest-order programmer
    ... An NP algorithm, as Ian reminded us, is ... one whose execution time formula is not a polynomial. ... >>his own goddamn programming and is man enough to admit error) it was ... > reason to suspect that no such algorithm exists. ...
    (comp.programming)
  • Re: Letter to US Sen. Byron Dorgan re unpaid overtime
    ... > This is nonsense: the generallisation, and why it is bad, isn't about ... > using strlen but using an Oalgorithm when there is a trivial O ... stuff and believes it will be programming in mud hits in third ...
    (comp.programming)