Comments

Control_Z wrote on 2/9/2003, 7:32 PM
Probably wouldn't work well as any peak in a clip (cough, etc.) will seriously affect the normalization. Only way around this is to manually separate out the peak then normalize to either side.

More useful would be a normalize/wave hammer combo which would ignore the peaks.
rextilleon wrote on 2/9/2003, 7:42 PM
Emmmm---doesn't matter to me----using my PD-150 for sound acquistion is a pain in the ass so I tend to keep the levels down----You could always go back and change the clips that dont need normalization.
SonyPJM wrote on 2/10/2003, 10:03 AM

Indeed, an easy one.

Here it is
flashlight wrote on 2/10/2003, 11:17 AM
I am new to scripting so I might be doing something wrong here.

SonicPJM - I copied the text from your post to notepad and saved it as "Normalize All.js"

I dumped in a bunch of audio files and tried to run the script.

I got this error message:

Error on line 13:
Variable 'Track' has not been declared

What am I doing wrong?
Is there anything that I can read for more information on scripting in Vegas? There isn't much in the V4 manual.

thanks,
Al
SonyPJM wrote on 2/10/2003, 11:47 AM

I tried to reproduce the problem by doing the same thing but I could not.

That message might come up if there is something wrong with the import
statement near the top of the script. The line should read:

import SonicFoundry.Vegas;

It looks like your installation is OK since Vegas is getting far
enough to compile the script. Have you been able to run any of the
other sample scripts available from the Vegas download page?
rextilleon wrote on 2/10/2003, 11:51 AM
Sonic, it worked perfectly---Thanks again!
Grazie wrote on 3/3/2003, 7:37 AM
Flashlight, I notice that you've got a <space> ie : Normalize<space>All.js

I don't think you are allowed to do this. I aint no programmer, but looking at the other "named" scripts there are no spaces. Maybe this is it - dunno . ..

Grazie
Bokoski wrote on 3/25/2003, 4:27 PM
I must be doing something wrong. When I run this script. I notice that the normalize switch is checked but there was no difference to the waveforms or actual sound of all the audio events. If I uncheck the normalize switch on an event and then manually check it...the normalize function works properly on the individual clip.

Is this happening to anyone else?
SonyPJM wrote on 3/26/2003, 11:11 AM
Spaces in script file names should be OK.
kirkdickinson wrote on 10/10/2003, 3:06 PM
Bokoski,

I have had the exact same experiences. The normalize box is checked but the waveform isn't changed.

Kirk
Erni wrote on 10/10/2003, 8:08 PM
Works fine for me.

Thanks for the tool.

Erni
PeterWright wrote on 10/14/2003, 4:17 AM
Just a thought - Those for whom the wav doesn't change - this may be because your wav already contains one or more moments where the level is maxed out - remember, normalize finds the highest part of the wave form and increases this to max, and lifts everything else by the same amount.
If you already have a "max moment", nothing will happen.
adolgin wrote on 7/31/2004, 8:27 PM
I just tried this script, using V5. Some clips are normalized OK, but some go to flat line - no signal. If I use the Norm. switch for this, the same problematic clip is normalized OK.
TIA
Alex