Subject:Script to batch convert Wav files to Acid One Shot - possible?
Posted by: knowbody
Date:3/18/2005 10:21:55 PM
Will it be possible to create a script that converts all selected files to Acid One Shots? Perhaps by changing all files in a given directory? Scripting is something fairly new for me and I wonder what the limitations ands possibilities are. Thanks, Chris (Hunt) |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/19/2005 5:01:58 AM
How do you get to "Acid One Shots"? The Batch program I wrote will convert all specified files (i.e. you could select all the files in a specific folder to be modified) and will render them in a specific format to another specified folder. What do you render as? To test my version, simply download the zip file at: http://www.jetdv.com/forge/BatchConvert.zip and extract the two files into the Sound Forge 8.0\Script Menu folder. It should then be selectable by choosing Tools - Scripting - BatchConvert. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/19/2005 6:46:19 AM
Wow, thanks for the reply - that's very interesting. How long does it take to learn to do something like that? When I convert files to Acid One Shots I use: Special, Edit Acid Properties and select the Convert to One Shot Radio button. I then save the file so the file format remains unchanged. The one-shot Acid information is embedded in the original file (not sure if embedded is the right term). When I tried your script with Wav selected as the destination format I found that the choose preset button generated an error message. Also an error message ( Exception from HRESULT: ox80131502) was generated when I selected 18. Scott Studios Wave as the output. Being able to batch process files to Acid One Shot would be very useful. By default Acid tries to loop wav files under 30 seconds in length. As a result Special Effects often sound terrible as the sound is stretched in order to loop. To open up files one at a time and manually add the Acid Type information is very laborious. A way to automate this process would be wonderful. Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/19/2005 1:19:57 PM
I'll have to research some on the Acid One Shot routine you described. As for my Batch script, I need to test it under the release version. It was originally written for one of the betas. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/19/2005 3:54:18 PM
If you find out anything, I'm all ears. Thanks, Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/19/2005 8:46:23 PM
When I tried your script with Wav selected as the destination format I found that the choose preset button generated an error message. Also an error message ( Exception from HRESULT: ox80131502) was generated when I selected 18. Scott Studios Wave as the output. Chris, This error has now been fixed. The script is now compatible with the release version. Just download it again from the same location and try it again. Soon I'll look into whether it is possible to do the rest. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/20/2005 4:18:38 AM
ello again, I'm getting the same error - has the download been changed? The modified date is showing the first of February 2005? Thanks, Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/20/2005 5:03:45 AM
Yes the file has been updated on my website. It was last modified last night (3/19/05). You need to make sure it's not simply downloading the old one from cache instead of pulling the new one. Just in case it IS a cache issue, try downloading it from http://www.jetdv.com/forge/bc2.zip. This is the exact same file - I just gave it a different name. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/20/2005 7:36:46 PM
Thanks, sorry, it was a caching issue. I downloaded from the new link and it now works perfectly. I hope you can find a way to add the ability to choose an Acid One Shot. Best wishes, Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/21/2005 9:10:50 AM
Ok, I've updated http://www.jetdv.com/forge/BatchConvert.zip again. There is now a checkbox for "Edit Acid Properties". When the new checkbox is checked, the Edit Acid Properties dialog will appear and you can check the "Convert to One Shot" option. Unfortunately, it will appear once for EVERY file selected to be converted. So far, that is the closest I have found to making it "automatic". |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/21/2005 5:14:09 PM
That's good, I tried it out and it worked as you described. It is definitely a help, though with a large directory it would be a little tedious to use. Is there anyway to just select and use the one shot button? It would be good to have a fully automated Acid Properties dialogue box which just needed to be set once and then worked for all the files selected but for my own purposes by-passing the dialogue box and only choosing one-shot is sufficient. The only time I really need a batch process is when I am converting to one-shot. Thanks again, Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/21/2005 6:04:47 PM
Have not yet been able to fully automate that aspect. I'll look into it some more but can't guarantee anything. I can tell it to use the "default" on that menu option but the default wasn't "One shot". |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/21/2005 6:57:07 PM
Thanks, I'll keep my fingers crossed that you can find the answer. Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: _TJ
Date:3/22/2005 3:13:20 PM
Unfortunately Acid properties are not yet accessable to scripts. You can get the props dialog to show using DoMenu("Edit.ACIDProperties",false); but at that point, the script has to wait for the user to choose the correct settings and dismiss the dialog. you can automate opening the files and saving them, however, which will save a siginficant amount of time, but fully batching Acid properties is simply not possible at this time. I see that jetdv has a script available to open the files and show the Acid properties dialog. His script is about is good as is possible at present. As a side I would like to encourage people to share code as source rather than pre-compiled dll's. One can learn from source code, but not from a dll. Also, while I happen to know that jetdv can be trusted, in generally you should never run a dll from an untrusted source, it is possible to install a virus using a script. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/22/2005 4:05:43 PM
When the original Batch Converter came out I was surprised and disappointed that it didn't have a function for setting Acid properties. Now it is several years later and automating Acid properties is illusive as ever. Is there any chance that this will be made a priority? Is there any chance that this could appear with an update or are we taking about the next version - or is it just so difficult as to be impossible? Thanks for any feed back on this. Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: _TJ
Date:3/22/2005 6:20:05 PM
Full blown Acid properties are fairly extensive - including markers and other complex data structures. But the basic stuff shoiuld be possible to enable for scripting in an update. Could you be specific about what items you want to be able to access from scripts? tj |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: jetdv
Date:3/22/2005 9:54:42 PM
As a side I would like to encourage people to share code as source rather than pre-compiled dll's. I don't mind sharing some code but in order to make it a full fledged GUI allowing the selection of files and selection of the destination save location requires too much code to post here. If it's just a matter of sharing the main routine (which won't work by itself because of the dependence on the rest of the code) I wouldn't mind doing that. |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: _TJ
Date:3/23/2005 2:07:48 PM
If it's just a matter of sharing the main routine (which won't work by itself because of the dependence on the rest of the code) I wouldn't mind doing that. That would be fine, thank you. Coders can learn from code snippets, and anyone who wants ready-to-go solutions will be better off with the more sophisticated scripts that you can get from using DLL's. Just Remember: only run DLLs that you get from trusted sources like jetdv (or from me of course :) |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: knowbody
Date:3/23/2005 5:58:28 PM
The most important thing for me is to have a batch process to set the Acid Properties to One Shot. It were possible to set the format as loop then also setting tempo and number of beats per measure would also be very useful. But setting to one shot is critical because many non-Sony sound effects sound terrible when set to play as loops and this is the default for Acid when dealing with short files. To be used they require converting to one-shot and doing this by hand is very tedious. I really hope a batch process to set to One Shot can make the next update. Thanks, Chris |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: Erik_Nygaard
Date:3/29/2005 9:21:31 AM
I needed to batch process literally thousands of 'Acidized' files 1-2 years ago and tried several shareware offers wich all had bugs in them. The solution was to use Chickensys' Translator to wich the programmer added Acid One-shot, Loop and Disk-Based options at my request. It will process every file in your chosen folder with the whatever option you've selceted. I use the cheaper cut-down Translator Giga version. Chickensys' creator is present on this forum: http://www.northernsounds.com/forum/forumdisplay.php?f=30 Hope this helps Erik |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: JohnnyRoy
Date:3/29/2005 11:25:53 AM
> Could you be specific about what items you want to be able to access from scripts? I would like to be able to set whether a file is a One-Shot, Loop with root note and number of beats, or Beatmapped with root note and tempo (I’m not so sure how valuable the downbeat offset would be from a script but you could through it in for completeness). The very first script I wanted to write for SoundForge 8 was a batch ACIDize script because people are always asking for one on the ACID forums. I was disappointed to find out this wasn’t possible. ~jr |
Subject:RE: Script to batch convert Wav files to Acid One Shot - possible?
Reply by: _TJ
Date:3/29/2005 2:56:58 PM
I would like to be able to set whether a file is a One-Shot, Loop with root note and number of beats, or Beatmapped with root note and tempo (I’m not so sure how valuable the downbeat offset would be from a script but you could through it in for completeness). Ok, this doesn't look to bad, we should be able to get scriptable access to these in the first update. Thanks for the input, tj |
Subject:RE: Script to batch convert Wav files to Acid
Reply by: nutrapuppy
Date:7/22/2006 4:27:47 PM
Is there a way to batch all my short files into One Shots yet? Does not appear to be possible via latest SF or BC. All these years with Acid Properties in Sound Forge, but no access via Batch Converter? |