Comments

TorS wrote on 4/1/2004, 6:46 AM
You don't set transitions between events. You add them to the overlap. The transition will be exactly as long as the overlap.
Tor
AlanC wrote on 4/1/2004, 7:02 AM
Tor, I am quite new to Vegas. I always add a transition to the end or beginning of a clip. I don't overlap them first. Am I doing it wrong?

Alan
jetdv wrote on 4/1/2004, 7:13 AM
jmo, if you need a precise time - you'll need to set up a selection area of the precise length and then you can snap to the selection edge when overlapping. In an attempt to make this easier, the Overlap Wizard in Neon can do this for you and create an overlap of a precise size.

AlanC, yes, you overlap the clips to create a transition. If you want something other than a dissolve, you then drag and drop that transition on top of the dissolve. How are you doing it? If you don't create the overlap first you have to place to drop the other types of transitions.
jmo wrote on 4/1/2004, 7:21 AM

I was hoping you could take an existing overlap, and modify the length of it. Are there scripts around for doing this?
AlanC wrote on 4/1/2004, 7:28 AM
I just place the transition at the end of the clip and then drag it to the required length. If I have an adjacent clip (one clip butted up to the other) then I suppose by dragging I am creating the overlap but if there is a gap between clips then the transition just applies itself to the clip in question (if you see what I mean). i.e. The Barn Door added to the last clip will just open into blackness.

Alan
TorS wrote on 4/1/2004, 7:46 AM
Well, Alan, the quick way is to drop the transition on an overlap. If you want to set the overlap length quickly first, try zooming out; you get more precise control that way. You zoom by rolling the mouse wheel with the pointer in the timeline area.
Tor
jetdv wrote on 4/1/2004, 7:49 AM
Yes, if you want to transition a fade out or fade in, you still create a fade first and then drop on the transition. Similarly if you want a specific transition between two clips, overlap them first and then drop on the transition. That's the easiest way I know.
beerandchips wrote on 4/1/2004, 7:50 AM
This is one area that Vegas fails IMO. It would be nice to right click and be able to type in an amount an have Vegas snap to that amount.
jmo wrote on 4/1/2004, 8:00 AM

Exactly Beeranndchips (can't believe I just said that!)

That would be ideal.
TorS wrote on 4/1/2004, 9:36 AM
If you'd like that, all right. I don't see the need myself. BTW, I just leanrt from another thread that if you set a time selection first, and then apply generated media, the Gen.med will assume the length of your selection. Rather neat.

(I have an old single [45 rpm] called Two pints of lager and a packet of crisps, please Always reminded of it when I see the beerandchips handle.)
Tor
JohnnyRoy wrote on 4/1/2004, 12:01 PM
> Are there scripts around for doing this?

Right, I’ve always hated the fact that I had to create a selection and then move it over my clip to have it snap to a perfect crossfade. I don’t know why I didn’t think of writing a script before but since you mentioned it. Here it is: If you assign it to ctrl+1 – 0 or as a button on the toolbar, then all you do is highlight the events (both video and audio) that you want to overlap with a crossfade and invoke the script. I’ll work on one that pops up a dialog to prompt for an amount in a little bit. But this one should get you started. I set it for a half second because Vegas does snap to one second pretty well already. Feel free to change the duration if you’d like. Be sure to select contiguous events because it will make then contiguous anyway and this might not be what you wanted.
/** 
* Program: CreateCrossfade.js
* Description: This script will create a half second crossfade between the selected events
* Note: You should only select contiguous events. If you don't the events
* will be moved to be contiguous and this may not be what you want.
* Also don't forget to select both Video and Audio if you want them to
* crossfade together.
*
* Author: Johnny (Roy) Rofrano john_rofrano at hotmail dot com
*
* Date: April 1, 2004 (no foolin')
*
**/
import SonicFoundry.Vegas; 
import System.Windows.Forms;
// This sets the default crossfade to a half second
// You can change it to whatever you want it to be below
var defaultCrossfade : Timecode = new Timecode("00:00:00:15");
try
{
// step through all tracks:
for (var track in Vegas.Project.Tracks)
{
// set up a flag to treat the first event different
var firstSelectedEvent : boolean = true;
var previousEvent : TrackEvent;
        // step through all selected video events:
for (var evnt in track.Events)
{
if( !evnt.Selected) continue;
            if (firstSelectedEvent)
{
previousEvent = evnt;
firstSelectedEvent = false;
}
else
{
var newStartTime : Timecode = previousEvent.Start
+ previousEvent.Length - defaultCrossfade;
evnt.AdjustStartLength(newStartTime, evnt.Length, true);
previousEvent = evnt;
}
}

}
}
catch (errorMsg)
{
MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
/** End of Program **/

~jr