I dont understand but is this possible?

PipelineAudio wrote on 1/31/2003, 12:45 AM
I am not sure I get what scripting is about. Can I use it for something like this?
Usually I will go to my tom tracks, split after the tom hit is long gone, then fade back about 1.25 seconds

can I use scripting to make a keyboard command to do this for me? at least the " split then fade" part?

I am very ignorant of this

Comments

SonyPJM wrote on 1/31/2003, 2:45 PM

I think what you're describing is possible. The scripting API does not
currently have a direct "split event" command but you can do the same
thing. I'll give a brief description:

Start by finding the current selection point (or region), the selected
track, and the event in that track that lies beneath the
selection. Then add a new event to the selected track and adjust the
selected event's Length property. You can adjust the event's start
time to meet your needs for a 1.25 second overlap and adjust the new
event's fade properties to suit your needs. Then add a take with the
same media stream as the original. Then adjust the new take's offset
to match the point where you made the split in the original take.
PipelineAudio wrote on 1/31/2003, 7:56 PM
wouldnt that create more events?
I amy be wrong but I swear that the more events in a project, whether used or not, seem to be the more finicky, sticky, and strange vegas gets

but Im willing to give it a try...is it even possible for a NON programmer? Do I just pick up a copy of Visual basic.net? where can I learn about this stuff?

the thing I mentioned would save me SOOOOOOO much time on a project!
SonyPJM wrote on 2/2/2003, 2:32 PM

Yes, it will create more events but, if I understand the issue
correctly, so would doing it manually.

Honestly, I think writing a script like this from scratch will be
tough for someone without programming experience. And I'm afraid
debugging scripts, at this point, can sometimes be quite difficult.

You can write scripts with any plain text editor, even Notepad. The
Microsoft developer's web site (msdn.microsoft.com) probably has the
most authoritative reference for the .NET scripting languages but
there are other tutorials available on the web. There are also
several books on JScript .NET and Visual Basic .NET.
CDM wrote on 2/2/2003, 3:15 PM
Aaron -
Just an aside:
mutliple events on one track does start to bog down Vegas (I haven't really noticed it unless there are 1,000+ events on a track) but I found that you can save a lot of resources by simply creating a new track and adding more events on that track. It kind of resets things that way and things are a lot snappier.

FWIW
PipelineAudio wrote on 2/3/2003, 9:31 PM
cool thanks charles :)

looks like I am just gonna have to hope that someone writes some scripts that will work right? I think I still dont understand scripting. I mean can you create a script where you for example click "ctrl-shift s" and then it will perform some editing task, almost like making macros ?
PipelineAudio wrote on 2/3/2003, 10:14 PM
btw is there any plan to add a "split events" function ?
MikeWhy wrote on 2/4/2003, 12:03 AM
Scripting works at a different level. What you're thinking is better described as a keyboard macro. Vegas does scripts; the public beta version does not do keyboard macros. Jscript is similar to java. The earlier comment about debugging referred to the sparseness of feedback in the script envirionment. It's really not very suitable for non-programmers or beginners. Heck, even experienced programmers can have a tough time of it.
SonyPJM wrote on 2/4/2003, 9:22 AM

Your request for event splitting has been noted. It makes sense to me
to add it but I'm afraid it did not make this release.
sacherjj wrote on 2/11/2003, 1:19 PM
You might want to look at macros. This might get done what you need with a little less effort. Take a look a Marty's tutorial (click on Macros):

http://www.martyhedler.com/homepage/Vegas_Tutorials.html
PipelineAudio wrote on 2/12/2003, 9:55 PM
thanks!