@jetdv Hi Sir, please, could you guide me in this task;
This is the way I add the Volume audio effect to the audio event;
public void AddVolume() { try { PlugInNode effects = myVegas.AudioFX; foreach (Track myTrack in myVegas.Project.Tracks) { if (myTrack.IsAudio()) { foreach (AudioEvent aEvnt in myTrack.Events) { if (aEvnt.Selected) { Guid effGUID = new Guid("ee38ca88-d78e-4bfb-b05e-577892730c83"); PlugInNode thisEff = effects.GetChildByClassID(effGUID); Effect audioEffect = new Effect(thisEff); aEvnt.Effects.Add(audioEffect); } } } } } catch (Exception ex) { MessageBox.Show("An error occurred: " + ex.Message, "Error"); } }
But, it would be very nice to add the Volume (db) parameter to be set to 1, automatically, every time that I use the Script.
In one of yours tutorials, you teach how to find the name of the Video OFX parameters, thank you very much for that. But, how do we find the name of the parameters to the Volume effect and how to change that specific parameter?