Community Forums Archive

Go Back

Subject:Scripting: Save Regions As Files FAILS, SF10a DEMO
Posted by: Jace
Date:10/24/2009 6:41:11 PM

Since this is getting no attention on the Sound Forge product forum, i thought i'd try a cross post. sorry.

Scripting: Save Regions As Files FAILS,
Sound Forge 10a
DEMO

If you use the "Default Template" the status bar complains that it can't open the template. If you use one of the two templates (in my case "44,100 Hz, 16 Bit, Stereo") it asks for a path. i select "D:\Audio\Music Data\Samples\Fairlight IIx Sample Library\Fairlight Disk 1 Keyboards 1" and get this:

Sound Forge Error 0x8004E007 The file could not be opened. Make sure the file exists and that you have access to the file/folder.
while calling SoundForge.ISfGenericPreset RenderAs(System.String, System.String, System.Object, SoundForge.SfAudioSelection, SoundForge.RenderOptions)
--------message----------
You made a method call on a COM+ component that has a transaction that has already committed or aborted. (Exception from HRESULT: 0x8004E007)
--------Stack Trace----------
at SoundForge.ISfFileHost.RenderAs(String strFilename, String strFormatNameorGUID, Object vTemplateNameOrData, SfAudioSelection asel, RenderOptions opt)
at EntryPoint.Begin(IScriptableApp app)
at EntryPoint.FromSoundForge(IScriptableApp app)


i've tried with a shorter path (C:\test) and the same problem happens.

Subject:RE: Scripting: Save Regions As Files FAILS, SF10a DEMO
Reply by: ForumAdmin
Date:10/26/2009 7:26:08 AM

I see the Default Template issue and will see that it is reported. You can work around it by selecting something else, then re-selecting Default Template.

The actual render, however, works fine for me with the same path you provided and a handful of file types. What is the type and format of the source media? Does Tools->Extract Regions work?

J.

Go Back