I find that when learning something, it is best to have a practical use for what you are doing. So, I keep thinking of what I can do to save myself time when working. I then like to add to this, considering if other users would ever use the tool. (Previously I programmed a lot of automation in various proprietary languages) but now getting back into c# and of course this means I can use the Vegas API.
The challenge:
Every time I finish recording with OBS there are certain things I always do when pulling the resulting files into Vegas. I use all 7 of OBS's streams (1 video and 6 audio). So I always need to name the tracks accordingly. I also need to Mute or Delete audio 1 as it is a mix of all other channels. I also need to mute my Bleep marker channel. etc. Then I need to normalize all events on certain tracks.
So, I wrote a script that does all this:
It will rename the tracks according to the settings file and also Normalize + Mute, Solo or Delete them.
It should only be run once! After importing all your recorded OBS files into a new Vegas Project.
OBS Supports 1 video tracks and 6 audio tracks, but you can use this script to add as many track names and actions as you like.
Usage: Simply edit the Settings.txt file to show the names of your desired tracks. For example:
First line MUST BE "Normalization=0.0" where 0.0 is your Normalization Offset. It is better to leave this at 0.0 unless you really know what you are doing.
Normalization=0.0 Main Video=X Stream Audio=MN Dialogue=N DAW Audio=N Effects=N Beep Marker=M OBS Track 6=S
If there is character after the = the following action will be taken
- M = Mute the track
- S = Solo the track
- D = Delete the track
- N = Normalize all events on the track
- X or any other character or BLANK = No action
You can combine settings, although in some cases this is useless.
For example "=MN" will Mute the track and normalize the events on that track.
It would be useless to do "=DN" as this will Normalize and Delete the track.
Copy the entire Phil P OBS Rename folder to the folder:
YourUserName\Documents\Vegas Script Menu
(If this folder does not exist you can create it).
Open Vegas and go to Menu > Tools > Rescan Script Menu Folder
You can then either run the script from the menu or add it to a shortcut (Otter Bar is great for this)
You can get this from my GumRoad and of course if anyone wants to see the source code or parts of it please let me know:
https://everythingcreative.gumroad.com/l/qxexo