I'm trialing version 16 and it is working better than v15 build 101 with iZotope RX 9. However it still doesn't process my scripts for changing volume. It works with those using built in system presets eg:
using System; using System.IO; using System.Windows.Forms; using SoundForge;public class EntryPoint { public void Begin(IScriptableApp app) { app.CurrentFile.DoEffect("Volume", "[Sys] 6 dB Cut (50 %)", // this must be the name of a Volume preset. app.ActiveWindow.EditRegion, EffectOptions.EffectOnly); app.CurrentFile.WaitForDoneOrCancel(); }public void FromSoundForge(IScriptableApp app) { ForgeApp = app; //execution begins here app.SetStatusText(String.Format("Script '{0}' is running.", Script.Name)); Begin(app); app.SetStatusText(String.Format("Script '{0}' is done.", Script.Name)); } public static IScriptableApp ForgeApp = null; } //EntryPoint
But for presets I've name myself nothing happens. The scripts compile OK and run without error but just don't change the volume. This problem began with SF15 later builds.
I really need a quick way to change volume. Can anyone suggest changes to my code or alternative code that will allow changes to volume by 1 to 6 decibels? Thanks.