Skip to content

Instantly share code, notes, and snippets.

@guillaC
Last active June 28, 2025 23:52
Show Gist options
  • Select an option

  • Save guillaC/0b40da8bd3e4e8ad9f44bc55e08fff92 to your computer and use it in GitHub Desktop.

Select an option

Save guillaC/0b40da8bd3e4e8ad9f44bc55e08fff92 to your computer and use it in GitHub Desktop.
Fiverr Order #FO51AC43813C7
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