Subject:Need a script to subtract one .wav from another
Posted by: shanksworthy
Date:7/7/2008 3:52:43 PM
Maybe somebody smarter than me can help me out with this... All I need is a script that does the following: 1. Open a first file whose name and path are supplied by a script argument 2. Open a second file whose name and path are supplied by a script argument 3. Invert/Flip the entire first file 4. Mix the entire second file with the entire (inverted/flipped) first file, similar to using the menu item Edit=>Paste Special=>Mix. 5. Save the resultant mix to a third file whose name and path are supplied by a script argument 6. Exit SoundForge If somebody could supply me with a sample script that would perform the above actions I would be very grateful... I've been staring at this thing for a while now and I'm just running out of time. **Edit** I'm looking to do this in JScript BTW. Message last edited on7/8/2008 3:06:53 PM byshanksworthy. |
Subject:RE: Need a script to subtract one .wav from a
Reply by: _TJ
Date:7/8/2008 3:18:20 PM
Here's a basic script. It could use some better error handling, but it illustrates the basic steps. Script : "Mix Inverted.cs"
|
Subject:RE: Need a script to subtract one .wav from a
Reply by: shanksworthy
Date:7/8/2008 5:01:21 PM
Thanks for that! It does exactly what I need it to. |