I was hopeful that the new version of Sound Forge would have overcome the bug that appeared in version 15 after build 64. Basically various scripts that compile correctly do nothing when they are run. For example, here is a script I have been using for years:
using System; using System.IO; using System.Windows.Forms; using SoundForge;public class EntryPoint { public void Begin(IScriptableApp app) { app.CurrentFile.DoEffect("Volume", "1 dB Boost (112.20 %)", // 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; }
This works with SF15 build 64 but not with SF16. Nothing happens when the script is run. I'd like to upgrade but I'm stuck as scripts I rely on don't work with the new version. So my feedback is please improve scripting. Thanks.