Is there an easy method of making all of the narration clips I have fade in and out at the end. I know how to do it on a per-clip basis, but can I apply it to all of them at once?
This will show you a track that is the automation of the the buses. So it will show you a track for the master bus. Select that bus track and hit the "V" key. This will show a volume envelope that you can add points to. You can add as many points that you want and create a fade out or fade in for everything being routed through the master bus.
/**
* Program: FadeAllAudio.js
* Description: This script will fade in and out all audio events for 1 sec.
* Author: Rich
*
* Date: Apr 18, 2005
**/
import System;
import System.Windows.Forms;
import SonicFoundry.Vegas; // --- for V4
import Sony.Vegas; // --- for V5 and up
try
{
// ---- time interval for fade events ----
var FadeTime : Double = 1000; // --- time in milliseconds ---
for (var track in Vegas.Project.Tracks) {
for (var evnt in track.Events) {
if (evnt.IsAudio()) {
evnt.FadeIn.Length = new Timecode(FadeTime);
evnt.FadeOut.Length = new Timecode(FadeTime);
}
}
}
}
catch (errorMsg)
{
MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
/** end of script **
There is an option to enable fade in and out in Vegas, you can set the duration in tools:properties. every time a clip is put on the time line the audio has the fades in it atomically.
You can add the feature as a button and turn it on and off as desired.
If you have Excalibur, you can use the Select Events script to select the events on your narration track and then use the Fade wizard to set the type of your fades in/out for all the selected events.