Community Forums Archive

Go Back

Subject:MixAudio
Posted by: korigan
Date:4/4/2006 4:18:02 AM

Hello,
Is it possible to use MixAudio with a preset ?
if not is there a way to modifiy parameters ?

Subject:RE: MixAudio
Reply by: _TJ
Date:4/4/2006 11:59:27 PM

No presets are necessary because everything that can be changed is required to be passed in as an argument to the MixAudio function.

You might be confused by the fact that Sound Forge has a Mix function that you can choose from the menu. ISfFileHost.MixAudio(...) is NOT just a wrapper around that menu command. The Mix command from the menu is really a set of Fade calls and MixAudio() calls all specified from a single dialog box.

But in script, the way to get total contol isn't to have a complex mix / fade command with a complex preset, The way to get control is to give the script access to mix and fade primatives and let the script combine them as it chooses.

So, in script. the way you get a Mix with fades, is to first apply the fades (using FadeIn and FadeOut, for instance), then MixAudio() to mix the parts together.

tj

Go Back