Slashdot Mirror


Normalizing Music?

Beans asks: "I have a couple classical music CD's which I listen to at work, and use for putting the baby to sleep. I can never find the correct volume, I can't hear soft spots, so I turn it up, only to have a rising crescendo rouse the baby, or at work, have co-workers glace over. What is a good way to normalize them (read on for what I mean by normalize)? All of the normalizing software I have seen uses the entire song for the window of normalzing. Basically makes determines a static value required to get the average volume of the song to the user defined level, then applies that value to the entire song. What I need is something that normalizes over a sliding window, or say 5 seconds, or whatever. In effect making soft spots louder, and crescendo's quieter. Not the way the music was intended to be heard, but perfect for music-at-work, or putting kids to sleep. Does anyone know of any software that does this? On a side note, I work for a Seismic processing company, and we do stuff like this all the time on Seismic waves, not sound waves. If I can't find any canned software to do this, I may modify some of our code to work with WAV files, but I don't want to reinvent the wheel."

136 comments

  1. WMP9 or 10 by WhatAmIDoingHere · · Score: 2, Interesting

    They both have a volume equalizer option.

    --
    Not a Twitter sockpuppet... but I wish I was.
    1. Re:WMP9 or 10 by DetrimentalFiend · · Score: 4, Informative

      It sounds like volume equalization is what microsoft calls compression. Compression is where the amplitude of music is altered depending on the average amplitude of the last few moments of music. It's basically like the device/computer has its hand on the volume nob and tries to keep the volume comming out at the same level, which is exactly what the poster described. Any good sound editing program has compression effects and I would be supprised if many audio players didn't offer it as well. I know my creative nomad has the feature available. FYI, audio compression is also what radio stations use to make their station sound louder.

    2. Re:WMP9 or 10 by Anonymous Coward · · Score: 3, Informative

      > It sounds like volume equalization is what microsoft calls compression

      It's pretty much a standard term.

      > FYI, audio compression is also what radio stations use to make their station sound louder.

      It's what TV advertisers do to make their station ads louder. FM transmissions pretty much have to be compressed. Get too loud with AM and you'll just clip and distort. Get too loud with FM, and you'll bleed into a neighboring station. Radio stations don't really like compression all that much, as it tends to cause listener fatigue.

      Typical compression doesn't really need to sample the last few moments of music, it just clamps the volume to a baseline and reduces any positive or negative gains. If the song is highly dynamic, it simply hits a limiter, and just doesn't get any louder -- too soft usually isn't an issue except with classical.

      Good compression normalizes over the entire track, but the term "normalization" usually applies to making the average volume level the same over several tracks of an album.

    3. Re:WMP9 or 10 by thegrassyknowl · · Score: 1

      All these technofangle solutions so far - isn't it easier to get a CD player with a dynamic range compressor? I have one in my portable. It works a treat. My expensive HIFI receiver has a dynamic range mode as well - max, normal, low. That works quite well but it's very noticible when it starts playing with the level. They advertise it as "night mode" in a lot of cases.

      You used to be able to buy little analog boxes that you plugged between the output of the player and your preferred electro-mechanical acoustic actuator to achieve the same task. I don't know if you still can.

      You could digitise all your CDs, pass them through CoolEdit (or Audacity, or other audio software) and use their dynamic range compression. CoolEdit had a graphical tool last time I used it - you could manually define the compression curves to suit your taste. Just save the .wav files and burn them back to CD. Bam - compressed (dynamic range) audio.

      --
      I drink to make other people interesting!
    4. Re:WMP9 or 10 by liquidice5 · · Score: 1

      my reciever has this as well, but i was under the impression that it didnt do what the submitter wanted, they instead block out/ reduce the harmonic RANGE of the sound.

      This would mean, less bass, less extremely high trebles, but not actually changing the volume at all

      its considered night mode because those really high frequences and really low frequencies are more likely to be annoying to others at night time

      --

      Conscience is the inner voice that warns us somebody is looking - H.L. Mencken
    5. Re:WMP9 or 10 by thegrassyknowl · · Score: 2, Informative

      It's a dynamic range control on mine (and actually called that, except in the advertising) - just flattens out the levels so you can hear people talking at a reasonable volume and when explosions and other loud parts of movies happen they are dropped back to "people talking" level so they don't make a racket. It's described in the book for my receiver.

      I guess it probably depends on the receiver as well.

      --
      I drink to make other people interesting!
    6. Re:WMP9 or 10 by SupremeTaco · · Score: 0, Troll

      Could you please speak up? I can't hear you OVER THIS LOUD TV COMMERCIAL!!!

      --
      You have a constitutionally protected right to be wrong, and I the right to ignore you.
    7. Re:WMP9 or 10 by Grab · · Score: 2, Informative

      Compression is a standard audio term, not an MS invention. Good description of what it does though. A compressor effects pedal is often used by guitarists because "turning up the volume" as the note decays away basically makes the note go on for ever (which is good for atmospheric guitar effects).

      For the benefit of the original poster, if you want quiet relaxing classical music, try picking quiet relaxing pieces. If you're looking for a low-volume piece of music, why not just put in Metallica "Creeping Death" and turn the volume way down? Answer: cos it doesn't sound anything like how it's supposed to. So why not treat classical music the same, and listen to the music as it really sounds instead of in some distorted copy?

      If you're having problems finding mellow classical music, buy more and you'll find plenty. Classical CDs are dirt cheap, so no reason not to. Deutsch Grammophon box sets are a good idea, incidentally. If you're still having trouble, much string quartet and chamber music has a fairly constant volume throughout.

      Grab.

    8. Re:WMP9 or 10 by Anonymous Coward · · Score: 0

      It's not what microsoft calls it, it's a quite old name for this. It's a commonly known guitar effect. (Not that I defend microsofts translations.)

    9. Re:WMP9 or 10 by slonkak · · Score: 2, Informative

      MP3Gain is the best program I've found. It doesn't normalize like other programs do. 'Instead, MP3Gain uses David Robinson's Replay Gain algorithm to calculate how loud the file actually sounds to a human's ears.'

      This is what I use and it works like a charm...

    10. Re:WMP9 or 10 by Anonymous Coward · · Score: 0

      Thats because Cable companies have almost all started adding their insert spots via a computer system, and there is no longer a technician to set the input levels, so most of them come out way too loud (I've measured one up to 48dB over the program) and some too soft.

  2. wmplayer by Fr05t · · Score: 1

    This is a feature in the newer versions of Windows Media Player, but I'm not sure if it normalizes over the entire song or not. You might also be able to normalize the volume some by playing with the EQ and lowering the volume of higher pitched sounds.

  3. Look up information about audio engineering, by MoOsEb0y · · Score: 4, Informative

    it seems the music "industry" has been doing a very good job of this. What exactly you want is dynamic compression, not normalization. click here for more information.

  4. iTunes? by Winterblink · · Score: 1

    Doesn't iTunes also have this option? Ir is it as the article poster states, that it takes a value based on the whole song and uses that to scale back the volume?

    --
    "I'm a leaf on the wind. Watch how I soar."
    -Hoban Washburn
    1. Re:iTunes? by nocomment · · Score: 3, Informative

      Yes iTunes calls it "Sound Check", and IIRC it normalizes the entire song.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    2. Re:iTunes? by pg133 · · Score: 1


      iTunes calls it Sound Check while WMP calls it Quiet Mode.
      Both apps can protect your ears from loud spikes in music

    3. Re:iTunes? by NeMon'ess · · Score: 1

      But by normalize, I believe it just adjusts the "volume knob" once for the whole song. This causes clipping on some of the loud parts of an otherwise quiet song.

  5. Plugins by Noah+Adler · · Score: 5, Informative

    I've used normalizer plugins in both XMMS and Winamp. They aren't perfect, but they're generally alright.

    Check out http://volnorm.sourceforge.net/ for an XMMS plugin, or one of the many Winamp plugins here.

    1. Re:Plugins by PC_Freak · · Score: 1

      For WinAmp, I like "RockSteady" by Piettro Pro. You can tune the gain time and amplification levels individually, although the presets it comes with seem pretty good. (I'm on v2.1, don't know if there's a newer version.) You can also set it to control the left-right speakers together or independently, although independent control sometimes has problems on songs where they cycle the L-R balance rapidly, but that shouldn't be a problem with classical music.

      Good luck!

  6. Creative Nomad by BoomerSooner · · Score: 0, Troll

    My MP3 Player does this.

    Better than an iPod for way less (plus the battery is exchangeable).

    1. Re:Creative Nomad by Anonymous Coward · · Score: 0

      so does my ipod that costs more and doesn't look like a slim sony walkman i had back in the late 80's... and no, you don't just throw it out to replace a battery but thanks for the troll.

    2. Re:Creative Nomad by Anonymous Coward · · Score: 0

      shutup numbnuts, the ipod would eat your fucking nomad for lunch

  7. Dynamic Compression with Audacity by mbrubeck · · Score: 5, Informative

    What you want is a compressor. Audacity (GPL software for Linux, Mac, Windows) includes a simple built-in compressor, and also works with compressor plug-ins like SC4 by Steve Harris. (You can get SC4 by installing the swh-plugins collection on Linux or Unix; it's also included with the Windows version of Audacity).

    1. Re:Dynamic Compression with Audacity by n1ywb · · Score: 0, Troll

      audacity's compressor plugin is junk.

      --
      -73, de n1ywb
      www.n1ywb.com
    2. Re:Dynamic Compression with Audacity by orangesquid · · Score: 1

      Here's the easiest thing to do. Use ecasound as a filter for your audio ouput. How? ecasound -i:file.mp3 -eca -o:/dev/dsp
      If you want to adjust the compressor, see the manpage. The default settings for the Advanced-Comp Effect are to kill most (but not all) of the dynamics, but you can adjust that.

      You can probably come up with some clever hack for trapping all audio data and piping it through ecasound if you want.. *shrug*

      --
      --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
    3. Re:Dynamic Compression with Audacity by Matt+Perry · · Score: 1

      You can also use hardware for this if you want to compress everything coming out of your computer. The linked unit is about $80 new.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  8. How about hardware? by GQuon · · Score: 1

    Many products do this in hardware. I have both wireless headphones and a MiniDisc player that does this. The MiniDisc player can be set to manual recording level, so it is fixed to one level, but the headphones can't be switched away from this automatic setting. So I don't use those headphones for classical music listening, for example.

    You might have a product that does this allready, that you could plug in between the computer, CD, player, etc and the amplifier/speakers.

    --
    Irene KHAAAAAAN!
  9. wrong terms by elmegil · · Score: 0, Redundant

    That's not normalization, it's compression.

    --
    7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
  10. That's not dynamics compression, not normalization by waynegoode · · Score: 5, Insightful

    That's not normalizing, that's dynamics compression.

    Normalizing scales the entire file so that the highest sample is the highest value that can be represented. For many sound formats, this is 32768, for 15 bits. (1 bit left for the sign). This lets the sample use the full range. However, the volume of the file is based on the value of one sample.

    What you want is to amplify different parts of the file so that the level of the song is more consistent. For example, sample every 1/4 second and adjust the level based on the average of that sample. A typical value might be 2:1 compression above -10 db. In this case, if the volume is above -10 db, the amount above -10 db is cut in half. -10 stays at -10, but -6 is scaled to -8, 0 to -5. (0 db is the highest value that can be represented.) There is a lot more to it, including look ahead, recovery time, multiple levels, etc.

    It is similar to riding the voume control manually and turning it down for the loud parts and back up for the soft parts, but very quickly.

    After dynamics adjustment, you usually normalize the sample.

    I edit speech audio for my church and deal with this all the time. I use Cool Edit 2000 and it is great at this. However, it is no longer available. But most audio editing programs can do this. Try Audacity.

  11. Classical != Quiet by yasth · · Score: 4, Informative

    Classical music with its large dynamic ranges is meant to be loud at times. People think classical is something nice and calm like a little old lady, but much of it is meant to be exciting, and brash.

    --
    I'd do something interesting, but my server can't handle a slashdotting.
    1. Re:Classical != Quiet by bill_mcgonigle · · Score: 2, Insightful

      True - you don't see scoring for a cannon even in the hardest Metal... but sometimes you want to be able to hear it over road noise and/or not scare the baby.

      You could also argue that we should all set our eq's flat, or at least only for equipment compensation because that's "how the music was intended." Me, I like to boost the mid-bass a bit and don't apologize for it.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    2. Re:Classical != Quiet by Anonymous Coward · · Score: 0
      True - you don't see scoring for a cannon even in the hardest Metal

      Not an AC/DC fan, I see.

    3. Re:Classical != Quiet by dJCL · · Score: 2

      I find it great when O Fortuna comes on to crank the quite part up to a normal volume - then when it suddenly becomes loud my windows explode...

      And the looks from other drivers at a stop light are great when that happens in the summer with the windows down!

      Anyway...

      --
      On Arrakis: early worm gets the bird. Magister mundi sum!
    4. Re:Classical != Quiet by yasth · · Score: 1

      Great line about the cannon.

      It is just that there is a whole section of classical/trad music just for lulling babies to sleep. It is called a lullaby. While some of them have disturbing lyrics the baby doesn't care.

      As for work music, hmmm dance music is probably best, waltzes, etc. Solid beat, and relatively limited dynamic range. Or marches, but marches have all sorts of connotations that you just don't want to get into most likely.

      It isn't so much I have a problem with people doing it, but not really thinking about it before doing it. I mean at work I can understand, but when introducing it to children, well cutting out the extremes is just going to assure that they will grow up thinking it sucks (not that they won't anyways, what songs once inspired, now fall soft, etc).

      --
      I'd do something interesting, but my server can't handle a slashdotting.
    5. Re:Classical != Quiet by Eye+of+the+Frog · · Score: 1

      But the post specifically says: "Not the way the music was intended to be heard, but perfect for music-at-work, or putting kids to sleep." The poster realizes classical doesn't equal quiet, that's why he/she is looking for a solution to change that.

      --
      "Sexy Man" is not a moderation option. -- arose
    6. Re:Classical != Quiet by david+duncan+scott · · Score: 1
      Yeah, he knows that:
      Not the way the music was intended to be heard, but perfect for music-at-work, or putting kids to sleep.
      --

      This next song is very sad. Please clap along. -- Robin Zander

    7. Re:Classical != Quiet by Rude+Turnip · · Score: 1

      FWIW, one of Ice Cube's solo tracks has the sound of a bomb going off. Aptly named, "The Bomb."

    8. Re:Classical != Quiet by Ahnteis · · Score: 1

      Ain't it true?!

      That's probably a perfect example of classical music with a huge range of quickly changing dynamics.

    9. Re:Classical != Quiet by brunson · · Score: 3, Informative

      False:
      AC/DC - For Those About to Rock

      --
      09F911029D74E35BD84156C5635688C0
      Jesus loves you, I think you suck
    10. Re:Classical != Quiet by spaceyhackerlady · · Score: 2, Funny
      It is just that there is a whole section of classical/trad music just for lulling babies to sleep. It is called a lullaby. While some of them have disturbing lyrics the baby doesn't care.

      Benjamin Britten had something to say on the subject (A Charm, Op. 41):

      Quiet!
      Sleep! or I will make
      Erinnys whip thee with a snake,
      And cruel Rhadamanthus take
      Thy body to the boiling lake,
      Where fire and brimstones never slake;...

      A few years ago my Mum was practising this before a concert (she's an accomplished musician) and heard a little girl, shaking, ask her Mum afterwards "Sh-sh-sh'e's k-k-kidding, isn't she?"

      ...laura

    11. Re:Classical != Quiet by Anonymous Coward · · Score: 0

      > The poster realizes classical doesn't equal quiet, that's why he/she is looking for a solution to change that.

      Yes, and most of us are suggesting alternate music. Anything by Debussy or Satie, most any Sonata (watch out, some of 'em get pretty loud), etc. I hear John Cage's repertoire has a piece that's real quiet :^)

    12. Re:Classical != Quiet by yasth · · Score: 1

      Hehe, and some parents wonder what the alternative to threatening spanking is. :-P

      Seriously this is why I like Slashdot. I mean anywhere else it would be "cradle will rock and cradle will fall...". So thank you for boosting my faith in it.

      Hmmm and Thomas Randolph is not so bad a tutor of children (Though On Sixe Cambridge Lasses... would probably cause way too much explaning.)

      --
      I'd do something interesting, but my server can't handle a slashdotting.
    13. Re:Classical != Quiet by daeley · · Score: 1

      I find it great when O Fortuna comes on to crank the quite part up to a normal volume - then when it suddenly becomes loud my windows explode... And the looks from other drivers at a stop light are great when that happens in the summer with the windows down!

      So, do your doors bulge outward when your windows explode when they're down? ;D

      --
      I watched C-beams glitter in the dark near the Tannhauser gate.
    14. Re:Classical != Quiet by Anonymous Coward · · Score: 0

      is it too difficult to allow for the concept that some people use things other than intended.

    15. Re:Classical != Quiet by Muad'Dave · · Score: 1

      Benjamin Britten was a nut job, or at least set the words of a nut job to music. That would be Rejoice in the Lamb, the lyrics of which were taken from Jubilate Agno, written by Christopher Smart while in a mental institution. Strange indeed. I've performed Rejoice and A ceremony of Carols, both odd. Ceremony is hauntingly addictive to listen to.

      --
      Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
    16. Re:Classical != Quiet by Zork+the+Almighty · · Score: 1

      The best alternative to spanking is to have a family friend who is a dentist :)

      --

      In Soviet America the banks rob you!
    17. Re:Classical != Quiet by Anonymous Coward · · Score: 0

      AC/DC isn't even close to metal, it's pop-ish hard rock.

    18. Re:Classical != Quiet by dJCL · · Score: 1

      Unspecified fact - I'm Canadian - it's cold round here these days - I don't drive with the windows down all year...

      But yes I totally messed up the logic on that, it was a typed out train of thought - and I don't prefer to proofread...

      Oh well

      --
      On Arrakis: early worm gets the bird. Magister mundi sum!
    19. Re:Classical != Quiet by Anonymous Coward · · Score: 1, Informative

      you don't see scoring for a cannon even in the hardest Metal

      You must not listen to a lot of metal. Lots of songs are about war, so you definately get cannons, artillery, gunfire (often replaced by fast drumming), helicopters, airplanes and even sometimes nuclear bombs.

      Metal actually does have a lot in common with classical, once you get past the surface.

      Vendetta - System Of Death (features planes dropping nuclear bombs)
      Metallica - One (features gunfire and helicopters)
      Slayer - War Ensamble (features a marching army)

  12. Oops, subject is a typo by waynegoode · · Score: 1

    On the parent, I copied the subject from the message, rearranged it and go it wrong. I meant "That's dynamics compression, not normalization."

    1. Re:Oops, subject is a typo by Anonymous Coward · · Score: 0

      Don't sweat it. My brain automatically skipped the first "not" and I wouldn't have even known if you hadn't pointed it out.

  13. Rock Steady by FreshlyShornBalls · · Score: 2, Informative

    Give this plug-in for Winamp a try. It's called Rock Steady and I've been using it for a year or two at the office without a hitch.

    --
    This space intentionally left blank.
    1. Re:Rock Steady by gothzilla · · Score: 2, Informative

      Redirect...actual url here:
      http://mitglied.lycos.de/trucki/
      The plugin is way at the bottom.

  14. Dynamic Range Compression by MarkLewis · · Score: 1

    That's the name of the feature you're looking for.

  15. One word. by Solder+Fumes · · Score: 1, Insightful

    Headphones.

    1. Re:One word. by graphicsguy · · Score: 1

      My baby is not a big fan of your word.

    2. Re:One word. by Solder+Fumes · · Score: 1

      Quit forcing your baby to listen to classical music, it probably just wants to get one fucking night of decent sleep. Or maybe your baby is more into rap, or Norwegian death metal.

    3. Re:One word. by sonamchauhan · · Score: 1
      One word. (Score:0)
      by Solder Fumes (797270) Alter Relationship on Friday March 11, @06:58AM (#11902972)

      Headphones.
      Someone mod 'Solder Fumes' back up as 'Insightful' please.

      To the original story poster: headphones are your answer. If co-workers can hear your music even faintly, it's not fair to them (unless you have the approval of everyone who can hear it).

      There is a level of irritation before co-workers get bugged enough to "glance over" - don't impose it on your colleagues. Silence is better.
    4. Re:One word. by moonbender · · Score: 1

      I sometimes wear headphones at work (just a temp, though) but I think some people will consider that to be rude. It's just that headphones have this fuck-off attitude associated with them, like an in your face version of a DND label. I mean, that's not what I feel like when wearing them, I don't mind people interrupting me at all, but I know it's what it looks like. I often wear only one side of the headphones so that I at least notice people "sneaking" up to me and start the conversation myself if necessary...

      I'm not saying that imposing your music on others is a good alternative, of course, but maybe they've told him they don't mind as long as the volume is low enough.

      --
      Switch back to Slashdot's D1 system.
    5. Re:One word. by pyros · · Score: 1

      but he was told he could listen at a reasonable volume.

    6. Re:One word. by sonamchauhan · · Score: 1

      but the slashdot article makes no such claim.

      Even if his boss told him, it's still irritating to co-workers - as i said, there is a level of irritation that occurs before someone is forced to glance over.

    7. Re:One word. by sonamchauhan · · Score: 1

      The fuck-off attitude is bad - I have experienced it too. The solution is to fix the attitude, not to impose music on others (as you point out below also).

      To better notice people, one could use loose-fitting headphones (so you can hear ambient noise), or not listen to music at work at all.

      > I'm not saying that imposing your music on others
      > is a good alternative, of course, but maybe they've
      > told him they don't mind as long as the volume is low enough.

      Even if the boss Ok-ed it, the low volume level may still irritate some coworkers was my point - it's not fair to them.

  16. Compression, not normalization by ChadN · · Score: 4, Informative

    What you want is 'compression', not normalization. I don't mean data compression (ie. making smaller file), btw.

    Music studio use "compressors" to reduce the dynamic range of sound. Ones that work in real time have to be a bit sophisticated (sliding window, like you said), but doing it offline is easier, since you can know the max and min sound values beforehand.

    I don't know what tools are out there in PC land, hopefully someone will answer. But I will mention that I used to have a portable CD player with a built in compressor (to help keep your music above the ambient background noise, espicially when driving) and it was GREAT! It is a feature that I don't see much in portable devices anymore, which surprises me...

    Anyway, hopefully this might give you a new term to google for, at least. Try searching for "dynamic range compressor", or something...

    Alright, I found some windows plugins that might help; Anyone with some Linux/MacOs/Unix equivalents?

    http://www.divx-digest.com/software/tfm_filter.h tm l
    http://www.divx-digest.com/software/dedynamic.h tml

    --
    "It's overkill, of course. But you can never have too much overkill." - Anonymous Slashdot Coward
    1. Re:Compression, not normalization by m50d · · Score: 1

      You don't see it anymore because top 40 stuff is compressed the hell out of already to make it sound louder.

      --
      I am trolling
  17. (-1 Flamebait) by Knights+who+say+'INT · · Score: 5, Funny

    You want quiet, listen to Enya. But don't go around raping the masters because of mundane utilitarian reasons.

    1. Re:(-1 Flamebait) by Anonymous Coward · · Score: 0

      Hear, Hear! Just because Top 10 radio lacks dynamics these days, doesn't mean it's a good thing. While you're at it, you might as well EQ out the mids and stick on phatty, farty subwoofer.

  18. Night Mode by Wiwi+Jumbo · · Score: 3, Interesting

    On my nForce 2 motherboard, the sound applet has a "Night Mode" which um... "compresses" the sound so you don't have to turn it up as loud to hear the soft notes...

    It's a pretty niffty feature to have, but I've never seen it anywhere else that I can think of...

    --
    Wiwi
    "I trust in my abilities,
    but I want more then they offer"
    1. Re:Night Mode by Anonymous Coward · · Score: 0

      Windows Media Player has this too, though I also prefer night mode.

  19. Compression is a simple task by SocialEngineer · · Score: 1

    Google for Audacity - it's a free multitrack recording program for Linux and Windows. It'll have a compression effect/filter that can accomplish what you are asking with minimal effort. I'm sure you can find other stuff that does the same thing though.

    I'm sorry to hear you can't listen to the stuff with their original dynamic intent :/ I am a huge fan of dynamic contrast.

    --
    "Better to be vulgar than non-existent" -Bev Henson
    1. Re:Compression is a simple task by hey! · · Score: 1

      Yeah, I settled on the same solution for remastering CDs to play in my car. Not an issue for rock, which is mostly just loud, but I also listen to opera. If you crank up opera CDs so you can hear the recitatives over the road noise, your ears drums will bleed when the fat lady belts out her aria.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    2. Re:Compression is a simple task by Anonymous Coward · · Score: 0

      To: hey! (Slashdot user 33014)
      From: RIAA
      Re: Cease and Desist

      Dear Sir or Madam:

      I am contacting you on behalf of the Recording Industry Association of America, Inc. (RIAA) and its member record companies. The RIAA is a trade association whose member companies create, manufacture, and distribute approximately ninety (90) percent of all legitimate sound recordings sold in the United States. Under penalty of perjury, we submit that the RIAA is authorized to act on behalf of its member companies in matters involving the infringement of their sound recordings, including enforcing their copyrights and common law rights on the Internet.

      We have read your post #11903603, and we have determined that you have participated in unlawful copyright infringement by making unauthorized derivative works.

      We have a good faith belief that this activity is not authorized by copyright owners, their agent, or the law. We are asking for your immediate assistance in stopping this unauthorized activity. Specifically, we request that you destroy all copies of the infringing derivative work.

      We believe it is in everyone's interest for music consumers to be better educated about the subject of copyright law and music. In addition to taking steps to notify this network user about the illegal nature of this activity, we encourage you to refer him/her to the MUSIC Coalition's website at www.musicunited.org. The site contains valuable information about what's legal and what's not when it comes to copying music.

      This letter does not constitute a waiver of any right to recover damages incurred by virtue of any such unauthorized activities, and such rights as well as claims for other relief are expressly retained. Moreover, this letter does not constitute a waiver of our members' right to sue the user at issue for copyright infringement.

      Thank you in advance for your prompt assistance in this matter. If you have any questions, please feel free to contact me via e-mail at antipiracy2@riaasucks.com, via telephone at (915) 699-6745, or via mail at RIAA, 1600 Pennsylvania Ave., Washington, D.C., 20036. Please reference Case ID T77-395A89L, in any response or communication regarding this infringement.

      Sincerely,

      Your friendly neighborhood extortionist
      On behalf of the RIAA

  20. Replaygain by phej · · Score: 2, Informative

    Have you tried using Replay Gain? It finds the psychoacoustic level of the music and calculates an appropriate gain correction. Replay gain is supported by foobar2000. MP3Gain is a tool that computes the replay gain for a track and changes the overall gain of the file.

    1. Re:Replaygain by Vaevictis666 · · Score: 2, Insightful
      Replaygain does kick ass, and more people should use it, but as others have mentioned, this isn't what he wants.

      Replay Gain is designed to level all the tracks from a CD (and infact many different CDs if you do it to all of them) so that they all have a mean volume of about the same, but it works on the track level, not a 5-second floating window level.

    2. Re:Replaygain by DavidTC · · Score: 1
      While Replaygain isn't the solution, foobar2000 does have the ability to do 'dynamic compression' that is exactly this, called foo_dynamics. I don't know if it came with foobar2000 or not, but it would be easy enough to find if not.

      If you just want to kill loud sounds, there's also a 'soft clipping limiter' that will just not let sounds get any louder than a certain volume.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  21. The Solution is MP3 Gain by Sangloth · · Score: 3, Informative

    Geez...I'm surprised nobody brought this up yet. MP3gain normalizes MP3's, but it NOT based on an average of the entire song. Read the site for more info. This is exactly the solution you are looking for.

    MP3 Gain at Sourceforge

    Sangloth
    I'd appreciate any comment with a logical basis...it doesn't even have to agree with me.

    1. Re:The Solution is MP3 Gain by Goo.cc · · Score: 1

      Check out Replay Gain. In addition to the above mentioned MP3 Gain, Wavegain also exists. Also, if you use Flac, Flac can compute a Replay Gain as well.

      http://replaygain.hydrogenaudio.org/

    2. Re:The Solution is MP3 Gain by Webmonger · · Score: 2, Informative

      Normalization isn't what's wanted here. This isn't a case of "I want all my mp3s to have the same volume", it's "inside a given file, there's too much volumne variation".

  22. No quality loss by Anonymous Coward · · Score: 0

    The best thing about ReplayGain is not only does it prevent clipping artifacts when managing volumes, it is also lossless. There is no re-encoding of the file like some volume normalizers. The quality will be the same (or better if you are able to remove clipping from your track).

  23. Wave Hammer by Eclipce · · Score: 0

    Sony's Sound Forge has a filter called Wave Hammer which will bring up the soft spots. Note: Wave Hammer does not come with the studio version.

  24. you want a compressor/limiter by Anonymous Coward · · Score: 0

    Subject says it all.

  25. plugin by Eternal_Flame · · Score: 1

    There is an XMMS plugin I stumbled on a while ago called simply 'volnorm' that you might find useful. Not exactly perfect, but it works for me... get it here. Or emerge xmms-volnorm in gentoo ;)

    --
    ~You laugh because I'm different, I laugh because I'm insane~
    1. Re:plugin by silicon+not+in+the+v · · Score: 1

      Heh, I was reading along thinking, "Oh, OK. Good--informative...D'oh! Gentoo troll!"

      --
      We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
    2. Re:plugin by Anonymous Coward · · Score: 0

      emerge audiocompress and you'll be even happier - it's much better than volnorm

  26. Many Receivers & DVD Players have this.. by cybrthng · · Score: 2, Interesting

    Some home theater receivers and tv's have "Night Mode" which is used to do this. Feature is great in that you don't have to crank it to hear all of the dynamic ranges of a movie thus not loosing too much when you watch at lower volumes. (perfect for those with kids..)

    I think even my DVD player does this.

    1. Re:Many Receivers & DVD Players have this.. by HTL2001 · · Score: 1

      most DVD players do this.... mostly so when you want to hear that wisper you dont blow your ears out when something explodes in the middle of the people talking :p

      also, audio CD burning progs do almost the same thing, they actually normalize the whole CD, so when you change tracks you dont loose your hearing either

      --
      By reading this, you have given me brief control of your mind.
  27. Compression by ratboy666 · · Score: 4, Informative

    http://trikuare.cx/code/AudioCompress.html

    Works with most players -- xmms plugin as well.

    Ratboy

    --
    Just another "Cubible(sic) Joe" 2 17 3061
  28. Re:That's not dynamics compression, not normalizat by oskillator · · Score: 2, Insightful
    I use Cool Edit 2000 and it is great at this. However, it is no longer available.

    CoolEdit was bought by Adobe and is now available under the name Adobe Audition. Perhaps you were referring to the lack of a budget version of the software, however, in which case, yeah, that kinda sucks.

  29. Automatic Gain Control - AGC by Anonymous Coward · · Score: 0

    Is not the same thing as normalizing.

  30. Reply and question........ by ZosX · · Score: 0

    My reply would be to look at some winamp plugins that do dynamic compression, like audio stocker pro. I've found that if totally flat volume is what you are looking for it does an ok job. There are also some gaining sort of DSPs you can get for XMMS. None of this stuff can replace a good hardware compressor, or even a good software compressor for that matter. Wavelab is probably one of the best audio editors out there if you are a Windows user, also Sound Forge is pretty decent and has some really nice features. I always loved the pop and click removal tool. Audacity is also pretty decent. You just need something to flatten out your volume amplitude. It will make the mix (especially a symphony) sound a lot more flatter however because part of the arrangement is so dependant upon the individual volume levels of the different sections.

    As someone has pointed out radio stations do this very well. (with real hardware of course!)

    I was going to ask slashdot something similar as well.....

    I have all sorts of MP3s and OGGs. What I would like to do is run some sort of gaining program across all of them at once. I already know of mp3gain and oggain. My question is that when such things are run how much of the original mix does it destroy? I mean I just want to generally raise the volume of the files to the be at least within a closer range, but I don't wan't say quiet parts of the mix to be automatically increased in amplitude. I've tried a few plugins for Winamp and XMMS which all claim to normalize as they play, but they are instead compressing the sound dynamically which alters every nearly aspect of the original in many ways, and is not what I'm really looking for (unlike this guy).

  31. Volume Logic with Automatic Gain Control by Michael.Forman · · Score: 4, Informative


    I recommend the Volume Logic plugin for iTunes. It provides dynamic automatic gain control (AGC) over multiple bands. I find it really brings out the nuances in quiet music without blowing me away, when things get loud.

    Michael.

    --
    Linux : Mac :: VW : Mercedes
    1. Re:Volume Logic with Automatic Gain Control by __david__ · · Score: 1

      I also give a big thumbs up for Volume Logic. I use it at home and at work and it is great. It has a so many settings that you can make the compression subtle or completely over the top. It evens out classical music very well and it also makes my ripped records sound good (they are very quiet without it). I also have some audience recorded live concert material (ahem) and it improves the sound of those by an unbelievable amount.

      Despite the above rave review, Volume Logic is not a panacea. It can significantly change the balance of certain songs, especially songs that have rather sparse instrumentation. For instance, New Order's "Blue Monday" sounds really bad during the opening drum part. It ends up boosting the volume of the tape hiss which makes it sound like a really bad recording. It corrects itself once the song starts, but it ruins the intro.

      You can turn the processing off in one click if that becomes an issue. Mostly it just makes listening great. I bought it especially for work so that I can keep everything at a constant level--audible, but not annoying to coworkers.

      -David

  32. Cool Edit Pro - Audition by waynegoode · · Score: 1

    Adobe bought the company and turned Cool Edit Pro into Audition. They dropped Cool Edit 2000. It sold for $70 or $100 with the 4 track plug-in. The audio cleanup plug-in was $50 and it was great. It could clean room noise, tape hiss, clicks, pops, etc.

    The program and the plug-in did more than everything I needed. But now I'm stuck. I'd like to buy another license for it, but I can't. Audition costs $300. There is no upgrade except the $170 upgrade to Audition, more than I paid to start with. So, for now, I'll just stick with what I have.

    Are you listening, Adobe?

    1. Re:Cool Edit Pro - Audition by ibennetch · · Score: 1

      You're right - it *is* annoying to be stuck in that situation. We use CEP (well, we recently went for Audition[1]) for exactly the same thing -- editing speaking recordings at church (and some editing of individual music tracks, too; but most of that is handled from inside our multitrack application).

      They also seem to have gotten rid of a lot of the "extras" that CEP used to have...like free downloadable clips and free plugins (or am I just remembering wrong?)

      Cheers!

      [1] - don't bother, Audition is pretty much CEP with the Adobe splash screen at startup. I have yet to notice any worthwhile feature enhancements.

    2. Re:Cool Edit Pro - Audition by Anonymous Coward · · Score: 0

      does it still have the excellent "pong" implementation?

    3. Re:Cool Edit Pro - Audition by ibennetch · · Score: 1

      Unfortunatly no, but neither does CEP 2.1. CEP has a ball bouncing game (which is kind of lame, especially compared to pong) and Audition supposedly has that included but I haven't been able to find it yet. Not that I've looked *too* hard, though.

  33. Use your stereo's natural clipping ability by Anonymous Coward · · Score: 4, Funny

    What you need to take advantage of is called "clipping" by sound experts.

    Let's say your stereo can play a waveform that varies between -1.0 and 1.0. If you send it a peak of +/- 2 for instance, it will clip to +/- 1.

    What you need to do is find the lowest peak in your music. Even the "silent" parts have a little noise.

    Let's assume that it goes +/- 0.01 in those parts. Find the recipricol (1/0.01) = 100 and set your gain to that.

    The quiet parts will range +/- 1, and the loud parts will be clipped to also be +/- 1. Voila! You've "expanded" and "compressed" without all that fancy professional equipment.

    Note: if you don't have an easy way to estimate the gain you need, just use a round estimate like 1000. You can find op-amps at your local Radio Shack that will amplify even higher than this! Just be sure to leave off the "feedback" part of the circuit. We all know that feedback is bad, right?

    And as an added advantage, your child will grow up with a love of music by the Japanese artist Merzbow. It's a win-win-win.

    1. Re:Use your stereo's natural clipping ability by DavidTC · · Score: 1

      Trust him, he's a music industry professional.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  34. LADSPA by runswithd6s · · Score: 1

    Package: cmt
    Priority: optional
    Section: sound
    Installed-Size: 232
    Maintainer: Anand Kumria
    Architecture: i386
    Version: 1.15-1
    Provides: ladspa-plugin
    Depends: libc6 (>= 2.3.1-1), libgcc1 (>= 1:3.2.3-0pre6), libstdc++5 (>= 1:3.2.3-0pre6)
    Filename: pool/main/c/cmt/cmt_1.15-1_i386.deb
    Size: 58704
    MD5sum: ccff75c4945cd4cf1e12bf37cb7b7930
    Description: Computer Music Toolkit (cmt) a collection of LADSPA plugins
    cmt -- Computer Music Toolkit -- is a collection of LADSPA compatible
    plugins that any conforming program may take advantage of.
    .
    Plugins available are: low/high pass filters, echo/feedback delay filters
    with configurable delays from 0.01 to 60 seconds, amplifies, white and
    ping noise generators, compressors, expanders, limiters, b/fmh encoders,
    drum synthesizers, lofi (low fidelity), phase modulator (phasemod) and
    many more
    .
    These plugins are only usable in host applications, of which glame,
    sweep and others can be found in Debian.
    .
    For further information on cmt see http://www.ladspa.org/cmt/

    --
    assert(expired(knowledge)); /* core dump */
  35. normalize -m *.wav by Quinn · · Score: 1

    I use the `normalize' Debian package. -m takes the average from all files specified. There's also normalize-mp3 and normalize-ogg.

    --
    #19845
    1. Re:normalize -m *.wav by Wolfrider · · Score: 1

      Here's what I use for normalize syntax:

      echo ' o PK TO NORMALIZE VOLUME!!'
      read

      time normalize --mix --fractions -v *wav

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  36. cmt use in... by runswithd6s · · Score: 1

    The cmt plugins are used with the following audio editor programs: gnusound, beast, sweep, muse, and jack-rack.

    --
    assert(expired(knowledge)); /* core dump */
    1. Re:cmt use in... by silicon+not+in+the+v · · Score: 1
      The cmt plugins are used with the following audio editor programs: gnusound, beast, sweep, muse, and jack-rack.
      But does it work on music other than country?
      --
      We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
  37. man sox by rsw · · Score: 1, Informative

    see subject

    1. Re:man sox by Anonymous Coward · · Score: 0


      $ man sox
      No manual entry for sox
      $

  38. Do what scientists do by Anonymous Coward · · Score: 0

    Take the mean of all the songs and divide each song by it.

  39. VLevel by Christopheles · · Score: 1
    The LADSPA plugin VLevel seems to be precisely what you want.

    From the website:
    VLevel keeps your music from making you jump out of your seat, and it keeps you from having to fiddle with the volume constantly. It's different from other dynamic compressors because it looks ahead. You can think of VLevel as someone who knows your music by heart, and turns the volume up during quiet passages, but smoothly turns it back down when he knows a loud part is coming. It's great for making CDs to listen to in your car, or to play background music on your computer.
  40. Foobar2000 & replaygain by ralphus · · Score: 0
    http://www.foobar2000.org & http://replaygain.hydrogenaudio.org/

    'nuff said

    --
    Revolutions are never about freedom or justice. They're about who's going to be top dog. -- Kilgore Trout
  41. This is called compression by c0d3h4x0r · · Score: 3, Informative

    The audio processing algorithm being requested here is called "compression", and it's a standard feature of most audio editing package such as SoundForge. You can also buy hardware compressors for under $100 (dbx and Alesis make stereo compressors) that are good for hooking into a home stereo/theater system.

    I keep an Alesis digital stereo compressor hooked into my home stereo system so that when loud spots (commercials, action scenece, etc) come on it doesn't suddenly get orders of magnitude louder and drive my apartment neighbors nuts.

    Some DVD players have audio compression built-in as a feature. Some newer TV sets have it built-in also.

    --
    Moderator hint: a comment is neither "Flamebait" nor "Troll" if it is true.
  42. Whatever.. by Curtman · · Score: 1

    (read on for what I mean by normalize)

    Thanks for not making me RTFA, but you don't expect me to read the whole question do you?

  43. Low tech by k4_pacific · · Score: 4, Funny
    The low tech solution is to wire a small light bulb in series with your headphones. As you may know, electrical resistance increases with temperature. Thus, when the sound is louder, and more current is flowing to the headphones through the lightbulb, the filament gets hotter and glows brighter. This increases the resistance which limits the current flow and softens the louder sounds. Conversely, during quieter periods, there is less current, the lamp filament does not get as hot, and more current flows, making them louder.

    Similarly, you can increase the dynamic range of the sound by putting the bulb in parallel to your headphones. Loud sounds increase the temperature (and thus the resistance) of the bulb filament, which diverts more current through the headphones. Quieter sounds don'y heat the filament as much and allow more current to take that route, thus making them even quieter.

    You may have to experiment with different types of lamps to find which works best.

    --
    Unknown host pong.
    1. Re:Low tech by TheTomcat · · Score: 1

      I was running sound a couple weeks ago, on a Sunday afternoon.

      We got pretty loud, and our speakers started glowing. I thought we had a fire, at first, but it turns out that these speakers implement exactly what you describe (and in-line light bulb) to prevent overloading (protection).

      Pretty smart -- we didn't blow the speakers... yet.

      S

  44. easy peasy by serialhex · · Score: 1

    it's called a compressor/limiter - it's accually 2 seperate processes, one that squashes the high volumes (if ya have any) and the other that boosts low volumes. you can find something like this in prettymuch any audio editing software. i cant think of any free programs that do this but on windoze you can use adobe audition or cool edit (96, 2000 whatever) - i used to use cool edit but they got bought by adobe and so i use that now. by far the best program for general audio editing. although, you may not want to shell out $300 for that - so just search online for something and play with it. sorry i cant reccomend anything free or cheaper :\ hex

    --
    ---- The first point-and-click interface was a Smith & Wesson
  45. here ya go... by nilbog · · Score: 1

    This plugin for winamp does what you are talking about. It automatically moved the volume up and down to maintain and constant volume. It works quite well, but I'm not sure how much you can fine tune it.

    --
    or else!
  46. Winamp + tomsteady by shadowmas · · Score: 2, Informative

    for winamp there is a dsp plugin called tomsteady which does exactly this. i use it when i play mp3's at night.

  47. Don't by Anonymous Coward · · Score: 0

    Music is an artform, not a waveform.

  48. foobar2000 ReplayGain by Black+Acid · · Score: 1, Interesting
    Not all CDs sound equally loud. The perceived loudness of mp3s is even more variable. Whilst different musical moods require that some tracks should sound louder than others, the loudness of a given CD has more to do with the year of issue or the whim of the producer than the intended emotional effect. If we add to this chaos the inconsistent quality of mp3 encoding, it's no wonder that a random play through your music collection can have you leaping for the volume control every other track. As the website says, The Replay Gain proposal sets out a simple way of calculating and representing the ideal replay gain for every track and album.

    The foobar2000 audio player includes built-in support for ReplayGain. MP3 Gain was mentioned in another thread, for the differences, see Difference between Mp3gain and Replaygain.

  49. You want a compander. by klaws · · Score: 4, Informative

    What you want is a compander. (compressor/expander). It is so called because it compresses or expands the dynamic range of the input audio. Sox includes one, if you like command lines.

    For winamp, I've found Rocksteady is beautiful, and does separate compression for several frequency bands (i can't begin to express how good this is for pop/rock).

    For XMMS, AudioCompress does a sufficient job, although the windowing is somewhat stupid (not predictive == you'll get pops if things suddenly get loud) and it doesn't separate into multiple frequency bands, so it won't sound so good if you're playing something where the bass is really pushed (like Fiona Apple) next to something where it's not (classical).

    Neither allow you specify complex transfer functions (of input volume to output volume).

    For your purposes, sox is really the right thing, although it may feel a bit like "ack! drowning in sea of unexplained options!". You could start off trying:

    $ sox infile.wav outfile.wav compand .1,.1 -60,-10 0 0 .1

    will give you VERY hard compression. Change the .1s to specify how fast it changes the volume; change the -60,-10 (always negative) to more similar values to make the compression less severe.

    $ man sox
    will tell you something more.

    --
    - KLS
  50. SOX by Midnight+Warrior · · Score: 2, Informative

    SOX has a compand operator that lets you tune this stuff and parameters that let you tweak how fast it responds, how hard it attempts to correct the sound, and how fast it "lets go." Put this in line with your CD RIP process after you run a few through a test bed.

    Don't forget to specify settings for each channel (normally two).

    If you're willing to forego ID3 tags, or can hack them in yourself with mp3info, you can use cdda2wav to do sox processing: cdda2wav -O wav -t 7 -D /dev/cdrom - | sox [sox options] | lame - foo.mp3

  51. Do you really want to do this? by gvc · · Score: 2, Insightful

    I acknowledge that not everybody (including me) is an audiophile, but the recording engineer went to some effort to make a recording that, when played, would reproduce the original performance as closely as possible.

    If you ride the volume control (or use automatic gain control to do it for you) or use dynamic range compression (a different animal from digital compression), you're compromising the music.

    I'd no sooner do this than bleach my favourite painting.

    1. Re:Do you really want to do this? by Anonymous Coward · · Score: 0

      That, and low frequencies have more energy so just sticking a standard compressor on a track continually alters the tonality depending on the bass amplitude. A multiband compressor can help a little but the type of brick wall limiting this guy wants will always, unavoidably sound crap on classical music.

    2. Re:Do you really want to do this? by Detritus · · Score: 1

      That's one reason that I rarely listen to music on the radio anymore. Commercial, and many public, radio stations use multi-band compressors, euphemistically called modulation optimizers, to eliminate all traces of dynamic range. The suits insist on 100% modulation, all the time.

      --
      Mea navis aericumbens anguillis abundat
    3. Re:Do you really want to do this? by Anonymous Coward · · Score: 0

      Use a plugin on your mp3 player to do the compression, and you can turn it on or off as you like. No damage done to the sound file whatsoever.

  52. How about the command line tool, normalize? by Linuxathome · · Score: 1

    Would you believe that there is a tool in Linux called normalize? It's a command line tool written by Chris Vaill. You may have to break up your wav file into different files. Here's the man page (sorry for the mashed-up text, but you get the picture):

    NAME normalize adjusts volume levels of audio files. SYNOPSIS normalize [ options ][-- ] file... DESCRIPTION normalize is used to adjust the volume of wav audio files to a standard volume level. This is useful for things like creating mp3 mixes, where different recording levels on different albums can cause the volume to vary greatly from song to song. normalize operates in two phases. In the first phase, it analyzes the specified files as wav audio files, and computes the volume of each file. In the second phase, it applies a volume adjustment to each file to set each file s volume to a standard level. OPTIONS -a, --amplitude=AMPLITUDE Adjust the RMS volume to the target amplitude AMPLITUDE; must be between 0.0 and 1.0. If a number suffixed by "dB" or "dBFS" is specified, the amplitude is assumed to be in decibels from full scale. The default is -12dBFS. -b, --batch Enable batch mode: see BATCH MODE, below. -c, --compression Deprecated.In previous versions, this enabled the limiter,but now the limiter is enabled by default. --clipping Disable the limiter,and just clip any samples that are too large. Same effect as -l 0dBFS. --fractions Display all values as decimal fractions instead of in decibels. By default, volume adjustments are shown in decibels, and volume levels in dBFS, where 0 dBFS is the level of a square wave of max-imum amplitude. -g, --gain=GAIN Skip the volume computation phase: don t compute the volume adjustment from the current vol-umes of the files. Instead, just apply the given gain as a volume adjustment to all files. As a plain number this is just a multiplier applied to all samples, If a number suffixed by "dB" is specified, all volumes are adjusted by that many decibels. --id3-compat Use this option when adjusting MPEG audio files if your MP3 player does not recognize ID3v2.4 tags. See MPEG AUDIO ADJUSTMENT,below, for details. --id3-unsync Use this option when adjusting MPEG audio files if your MP3 player does not recognize ID3v2 tags and has trouble playing some ID3v2 tagged MP3 files. See MPEG AUDIO ADJUSTMENT, below, for details. -l, --limiter=LEVEL This controls the behavior of the limiter.By default, all samples above -6dBFS (0.5) are limited, but this option sets the limiting level toLEVEL.Setting LEVEL to 1 (or 0dBFS) does no limiting (clipping is done instead); setting LEVEL to 0 does limiting on all samples. The default value is recommended unless you know what you re doing. -m, --mix Enable mix mode: see MIX MODE, below. Batch mode and mix mode are mutually exclusive. -n, --no-adjust Compute and output the volume adjustment that would set the volume to the target, but don t apply it to any of the files (i.e. skip the second phase). If you use this option, your files will not be altered in any way. --no-progress Don t print any progress information. All other messages are printed as normal according to the verbosity level. --peak Adjust using peak levels instead of RMS levels. Each file will be adjusted so that its maximum sample is at full scale. This just gives a file the maximum volume possible without clipping; no normalization is done. -q, --quiet Don t output progress information. Only error messages are printed. -t, --average-threshold=THRESHOLD When averaging volume levels for batch mode or mix mode, throw out any volumes that are more than THRESHOLD decibels from the average. A high value here (say,50) will make sure that the volumes of all files are considered in the average. -T,--adjust-threshold=THRESHOLD If an adjustment to be made to a file is smaller than THRESHOLD decibels, consider the file already normalized and don t do the adjustment. This is 0.125 by default, or 0 if the -g option is given. -v,--verbose Increase verbosity.This option can be repeated

  53. VLevel by BillyBlaze · · Score: 1
    What follows is an incredibly shameless plug for my project...

    VLevel is exactly what you want. It works by continuously but gradually changing the gain throughout the file. It has a lookahead buffer of a few seconds, so unlike a compressor, it never has to change the gain too quickly. This preserves "contrast," so for example if a quiet part was being made loud, the gain will decrease a little while before the big bombastic crescendo, so you'll still get the effect.

    For Windows, the best way to use it is with the plugin for Foobar2000, an awesome windows audio player. On Linux, you can use it as a LADSPA filter, which can be plugged into XMMS.

  54. Don't be a wuss... by aeselvenor · · Score: 1

    ...embrace dynamics! Compression was invented by suit-wearing big-label whores! --- (I.e., I happen to run a home studio and my most-used digital effect is compression. *shrug*)

  55. Mod parent UP by Wolfrider · · Score: 1

    ...Audacity is a solution for Linux.

    --
    .
    == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  56. Decent audio cards do that on the fly... by ponos · · Score: 1
    Just buy an Audigy card or any card that can do digital signal processing (has a processor on-board) and have it run a compression filter/effect all the time. It is trivial to do and it works without taxing your CPU. Furthermore, it does NOT alter your original music files (compression is not good for classical music--you are supposed to appreciate the range from pianissimo to fortissimo with all the intermediate steps). Otherwise, you may use an output plugin, such as these offered by foobar2000 (an excellent audio player for Win32). Foobar2000 includes a software plugin compressor, but it will run off your CPU. Not a bad idea, though.

    P.

  57. Cool Edit Pro / Adobe Audition by MikeDawg · · Score: 0

    I know Cool Edit Pro would normalize the music how you stated in your post (find an average throughout the whole song), but I believe there is a way you can normalize in spots. I use Cool Edit Pro all the time to take out noise of my music files. If all else, you can NOT choose the normalize option (if in fact in will only calculate the average for the whole song, and not just a snippet) and manually normalize it by hand by adjusting the values for a small section of a song (which I know you can do).

    --

    YOU'RE WINNER !
    Another lame blog

  58. Headphones by faqmaster · · Score: 1

    What you want is a nice set of headphone.

    --
    Are you...Are you some kind of genius?
    No, ma'am, I'm just a regular Slashdot reader.
  59. XMMS Compress is much better by Anonymous Coward · · Score: 0

    XMMS Compress is much better for the very reasons explained on the website:
    http://trikuare.cx/code/AudioCompress.html

    I know very little about compression (or sound editing in general) but even I could notice a clear improvement over volnorm.

  60. Isn't it funny what record companies do... by Anonymous Coward · · Score: 0

    Most of the geeks who mentioned compression/limiting are about there - it's compression/limiting that you're after not normalization.

    The funny thing I find is that our aesthetic of what makes a good piece of music has changed soooo much. In the 80's/90's we had reasonable dynamics, reverb was perhaps a little overused - but the tracks were great. These days I compare stuff done in the last 5 years and it's very very dry and the levels are a good detectable 10db higher. If they actually had the same space/reverb as the 80's they wouldn't be able to compress/limit so much because the track would sound washed out.

    I'm a musician and part time recording artist and I really struggle to bring my tracks up to the same level as others - it's just that it doesn't need to be that loud and that lacking in real dynamics. One of the worst I saw recently was Maroon 5 - if you load one of these tracks into a wave editor it is fucking flat the entire way. This leaves NO room for real dynamics - I've compared it with stuff thats been mastered by Bernie Grundman (arguably one of the worlds best mastering engineers) - his stuff was about 13db quiter but so rich in terms of harmonics and dynamics because he had room to move. The Maroon 5 stuff - whilst radio-friendly scared the living shit out of me. I don't want my music to be a square wave but in order to compete I have to do that :/ If you're interested in technical, psycho-acoustics and philosophical approaches look at http://www.digido.com/. Bob Katz has a nice list of what he regards to be the best mastered CD's ever.

    I know you're looking for something thats aimed at desktop speakers etc.. (oh. btw - WMP, Winamp, Foobar2000, Audacity, JAMin can all do what you want) but I've decided over the course of the last year or two that I'm not compromising my listening to compete with the latest Sony, BMG pop release - give me my DYNAMICS! This is where world/classical music will always have the advantage - to preserve that wonderful sound they need the full dynamic range. Even Trent Reznor gets this - NIN - whilst fucking loud industrial music has some good dynamics..

  61. limiter by smoon · · Score: 1

    If you don't mind a hardware 'solution', look for a 'limiter' at your local musicians equipment shop. I got one about 10 years ago (rocksonics -- appear to be out of business now) which works great. I think it cost about $100, plus I needed some 1/4" -->RCA adapters.

    On the other hand there's lots of software that does the same thing -- main benefit of hardware is you could hook it up in front of some powered speakers and use any audio source (e.g. plain cd player).

    One other problem with limiting/compression is that cheaper ones aren't sensitive to frequency -- a big bass beat will kick in the limiter more than it should in terms of perceived loudness. In general you can fiddle with it and get it to sound reasonably good while eliminating 'the loud bits'.

    --
    "But actually trying to use m4 as a general-purpose langage would be deeply perverse" --ESR
  62. mplayer easily does this by Anonymous Coward · · Score: 0

    just use the volnorm audio plugin (or put "aop=list=volnorm" in /etc/mplayer/mplayer.conf), it will play every audio normalizing it on the fly.

  63. Linux solutions by perapuikkonen · · Score: 1

    In case you happen to use Linux, there are a couple of solutions:
    If using KDE, the ARTS soundserver comes with a stereo compressor. Just turn it on with artscontrol: use the environment tool to add an effect rack and then add the compressor there.
    If KDE is not an option, there's also the jack daemon. jack-rack can be used to plug LADSPA effects into the signal path. Of course, the playback software you're using needs to be aware of the sound daemons. XMMS has output plugins for both arts and jack, and all the KDE apps should support arts. Others, YMMV.