Normalizing Music? 136
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."
WMP9 or 10 (Score:3, Interesting)
Re:WMP9 or 10 (Score:5, Informative)
Re:WMP9 or 10 (Score:3, Informative)
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
Winamp + tomsteady (Score:2, Informative)
Re:WMP9 or 10 (Score:3, Informative)
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
Re:WMP9 or 10 (Score:2)
You used to be able to buy little analog boxes that you plugged between the output of the player and your preferred electro-mechanical
Re:WMP9 or 10 (Score:1)
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
Re:WMP9 or 10 (Score:3, Informative)
I guess it probably depends on the receiver as well.
Re:WMP9 or 10 (Score:2, Informative)
This is what I use and it works like a charm...
wmplayer (Score:2)
Look up information about audio engineering, (Score:5, Informative)
iTunes? (Score:2)
Re:iTunes? (Score:4, Informative)
Re:iTunes? (Score:2)
iTunes calls it Sound Check while WMP calls it Quiet Mode.
Both apps can protect your ears from loud spikes in music [xvsxp.com]
Re:iTunes? (Score:2)
Plugins (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/ [sourceforge.net] for an XMMS plugin, or one of the many Winamp plugins here [winamp.com].
Re:Plugins (Score:1)
Good luck!
Dynamic Compression with Audacity (Score:5, Informative)
Re:Dynamic Compression with Audacity (Score:1, Troll)
Re:Dynamic Compression with Audacity (Score:2)
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*
Re:Dynamic Compression with Audacity (Score:2)
How about hardware? (Score:2)
You might have a product that does this allready, that you could plug in between the computer, CD, player, etc and the amplifier/speakers.
That's not dynamics compression, not normalization (Score:5, Insightful)
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.
Oops, subject is a typo (Score:2)
Re:That's not dynamics compression, not normalizat (Score:3, Insightful)
CoolEdit was bought by Adobe and is now available under the name Adobe Audition [adobe.com]. Perhaps you were referring to the lack of a budget version of the software, however, in which case, yeah, that kinda sucks.
Cool Edit Pro - Audition (Score:2)
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, f
Re:Cool Edit Pro - Audition (Score:1)
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
Classical != Quiet (Score:4, Informative)
Re:Classical != Quiet (Score:3, Insightful)
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.
Re:Classical != Quiet (Score:1)
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 t
Re:Classical != Quiet (Score:3, Funny)
Benjamin Britten had something to say on the subject (A Charm, Op. 41):
A few years ago my Mum was practising this before a concert (s
Re:Classical != Quiet (Score:1)
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.)
Re:Classical != Quiet (Score:2)
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.
Re:Classical != Quiet (Score:1)
Re:Classical != Quiet (Score:4, Informative)
AC/DC - For Those About to Rock
Re:Classical != Quiet (Score:3)
And the looks from other drivers at a stop light are great when that happens in the summer with the windows down!
Anyway...
Re:Classical != Quiet (Score:2)
That's probably a perfect example of classical music with a huge range of quickly changing dynamics.
Re:Classical != Quiet (Score:2)
So, do your doors bulge outward when your windows explode when they're down?
Re:Classical != Quiet (Score:2)
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
Re:Classical != Quiet (Score:1)
Re:Classical != Quiet (Score:2)
Rock Steady (Score:2, Informative)
Re:Rock Steady (Score:3, Informative)
http://mitglied.lycos.de/trucki/ [lycos.de]
The plugin is way at the bottom.
Dynamic Range Compression (Score:1)
One word. (Score:2, Insightful)
Re:One word. (Score:1)
Re:One word. (Score:2)
Re:One word. (Score:2)
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.
Re:One word. (Score:2)
Re:One word. (Score:2)
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 l
Re:One word. (Score:1)
Re:One word. (Score:2)
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.
Compression, not normalization (Score:5, Informative)
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.
http://www.divx-digest.com/software/dedynamic.
Re:Compression, not normalization (Score:2)
(-1 Flamebait) (Score:5, Funny)
Night Mode (Score:4, Interesting)
It's a pretty niffty feature to have, but I've never seen it anywhere else that I can think of...
Compression is a simple task (Score:1)
I'm sorry to hear you can't listen to the stuff with their original dynamic intent
Re:Compression is a simple task (Score:2)
Mod parent UP (Score:2)
Replaygain (Score:2, Informative)
Re:Replaygain (Score:3, Insightful)
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.
Re:Replaygain (Score:1)
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.
The Solution is MP3 Gain (Score:4, Informative)
MP3 Gain at Sourceforge [sourceforge.net]
Sangloth
I'd appreciate any comment with a logical basis...it doesn't even have to agree with me.
Re:The Solution is MP3 Gain (Score:2)
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/
Re:The Solution is MP3 Gain (Score:3, Informative)
plugin (Score:1)
Re:plugin (Score:2)
Many Receivers & DVD Players have this.. (Score:3, Interesting)
I think even my DVD player does this.
Re:Many Receivers & DVD Players have this.. (Score:1)
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
Compression (Score:5, Informative)
Works with most players -- xmms plugin as well.
Ratboy
Volume Logic with Automatic Gain Control (Score:5, Informative)
I recommend the Volume Logic [octiv.com] 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. [michael-forman.com]
Re:Volume Logic with Automatic Gain Control (Score:2)
Despite the above rave review, Volume Logic is not a panacea. It can significan
Use your stereo's natural clipping ability (Score:4, Funny)
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.
Re:Use your stereo's natural clipping ability (Score:1)
LADSPA (Score:2)
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 prog
normalize -m *.wav (Score:2)
Re:normalize -m *.wav (Score:2)
echo ' o PK TO NORMALIZE VOLUME!!'
read
time normalize --mix --fractions -v *wav
cmt use in... (Score:2)
Re:cmt use in... (Score:1)
man sox (Score:2, Informative)
VLevel (Score:1)
From the website:
Foobar2000 & replaygain (Score:1)
'nuff said
This is called compression (Score:4, Informative)
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.
Whatever.. (Score:2)
Thanks for not making me RTFA, but you don't expect me to read the whole question do you?
Low tech (Score:5, Funny)
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.
Re:Low tech (Score:2)
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
easy peasy (Score:1)
here ya go... (Score:1)
foobar2000 ReplayGain (Score:2, Interesting)
You want a compander. (Score:4, Informative)
For winamp, I've found Rocksteady [uni-sofia.bg] 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 [trikuare.cx] 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
will give you VERY hard compression. Change the
$ man sox
will tell you something more.
SOX (Score:3, Informative)
SOX [sourceforge.net] 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
Do you really want to do this? (Score:3, Insightful)
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.
Re:Do you really want to do this? (Score:2)
How about the command line tool, normalize? (Score:2)
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 diff
VLevel (Score:2)
VLevel [sf.net] 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 i
Don't be a wuss... (Score:1)
Decent audio cards do that on the fly... (Score:2)
Cool Edit Pro / Adobe Audition (Score:1)
Headphones (Score:1)
limiter (Score:2)
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/compre