New to the MPC production world? Got a music production question that's not really specific to any particular MPC? Try your luck here and get help from our experienced members.
By FwuffyTheBunny Wed Mar 17, 2010 6:08 am
Hey, is there any way to normalize all my samples? About half a gb worth? All at once?

I want to load them all into my mpc, but they all come out too quiet. Even though I crank up the db on the samples in the mpc, they still are usually too quiet.

I just wanna no if there is maybe a program to normalize a whole folder of wav samples.

I need to do them all, and that would take forever.
User avatar
By Pastor-of-Muppets Wed Mar 17, 2010 1:34 pm
http://sox.sourceforge.net/

You can run it once with the 'stat' effect to print out statistics about the input file. Filter that output to get the 'Volume Adjustment', then run sox again with that value as an argument to the -v option to increase the volume to the maximum possible without clipping (i.e. normalise)

Pretty simple if you have a real operating system, not that piece of crap from Microsoft

Code: Select allmkdir new
for i in *.WAV
do
  sox $i -e stat 2>&1 | awk '/^Volume adjustment:/{print $3}' | xargs -I {} sox -v {} $i new/$i
done


This will normalise every WAV file in the current directory, putting a normalised copy of the file in the directory 'new'
By FwuffyTheBunny Wed Mar 17, 2010 9:17 pm
Wow, awesome!

Now, I downloaded sox, but I have no clue on what to do next.

All the files are just texts, pdf's, dll's, or applications, that open for a split second then close.

I'm using windows vista unfortunately, but can you walk me through what to do?
User avatar
By Pastor-of-Muppets Thu Mar 18, 2010 10:44 am
FwuffyTheBunny wrote:All the files are just texts, pdf's, dll's, or applications, that open for a split second then close.


I would guess you need to run it from the command prompt, with the right options, not just click it in windows explorer.

FwuffyTheBunny wrote:I'm using windows vista unfortunately, but can you walk me through what to do?


Format your hard drive and install a real operating system ;)

Seriously: I don't remember how to write scripts (batch files?) for Windows, so I don't know how to write a loop like the one I showed earlier to convert all files