Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Normalize items to RMS level (using the info from "get peak info" command #60
From email@example.com on March 09, 2010 02:06:52
Xenakios's command "get peak info" (that also gets rms info from an item)
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=60
From swstim on August 18, 2011 11:01:30
Ok! Added actions:
If you want to make them as loud as possible without peaking then follow with native "normalize multiple items to common gain". r534 v22.214.171.124
From firstname.lastname@example.org on August 18, 2011 11:29:36
BLOODY GENIUS!!!! :) THANKS!!!!!!!
Tim, question, is there a difference then between using different window sizes when not in a real-time environment? I didn't look into this closer after my last comment and be good to know if you found there was a reason? :)
I guess choosing an RMS allows us to calibrate to other meters that respond close to say human ears or to say the K-metering system but as far as I know taking the value over the whole item is the most accurate but may differ from real-time (well within a "window") meters.
Anyway, bloody cool stuff! :)
From swstim on August 18, 2011 11:51:26
Well, windowed vs full-windowed are kind of different concepts here. Non windowed takes the RMS of the entire item, windowed takes the RMS many times, for small-sized chunks, then picks the highest.
The best was to describe is with an example. Say you have an item that's a drum hit, 1s long. Pretty much all of the energy is in the first 100ms. If you calculate the RMS for the entire item, it ends up being pretty low because 90% of the item is quiet. If you do a windowed RMS with window of 100ms, the first window is large (where the energy is) and the rest get progressively smaller, so the first window's RMS is used.
Which action you pick depends entirely on what you're doing! I can see both being useful.
From email@example.com on August 18, 2011 13:00:35
Just been testing it and so far it seems to work really well :)
had a question, does the "analyse" action now work on the RMS settings to get it's window size from or does it do the whole file? I guess it's the whole file which is probably the most useful for looking at say the overall crest factor of a track? :)
From firstname.lastname@example.org on August 18, 2011 13:09:07
cool, no probs just good to know, this is seriously useful! :) I often have to compare files for lots of reasons and balance things up and although you still have to tweak a little by ear this makes the process so much faster! :)