Last active
June 28, 2025 23:52
-
-
Save guillaC/0b40da8bd3e4e8ad9f44bc55e08fff92 to your computer and use it in GitHub Desktop.
Fiverr Order #FO51AC43813C7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace NormalizeAll | |
| { | |
| using ScriptPortal.Vegas; | |
| using System.Windows.Forms; | |
| using System.Collections.Generic; | |
| public class EntryPoint | |
| { | |
| public void FromVegas(Vegas vegas) | |
| { | |
| Project proj = vegas.Project; | |
| foreach (Track track in proj.Tracks) | |
| { | |
| List<TrackEvent> trackEvents = new List<TrackEvent>(); | |
| foreach (TrackEvent trackEvent in track.Events) | |
| { | |
| if (trackEvent.IsAudio()) | |
| { | |
| AudioEvent audioEvent = (AudioEvent)trackEvent; | |
| audioEvent.Normalize = true; | |
| } | |
| } | |
| } | |
| MessageBox.Show("Done."); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment