Hi all, I have a need for a Sound Forge script, but I have zero scripting skills, and I'm wondering if someone can help me? What I need is this:
I have, say, 60 different loop wav files, titled "01.wav" to "60.wav." They are all exactly the same length in samples. What I need to do is incrementally offset them by a specified fraction of that sample length, ie in a typical scenario it would be 1/60th of the sample length of 192,000, or 3200 samples. So, 01 would be unchanged, 02 would have 3200 samples cut from the beginning and shifted to the end, 03 would have 6400 cut from the beginning and shifted to the end, and so on. In other situations, I may want to specify, say, 1/16th of the sample length, so for a sample length of 192,000, the offset would be 12,000 samples, and when it reaches the end of that offset sequence, it would start over, so 01 would have no offset, 17 would have no offset, etc. I hope I'm describing this clearly.
Anyway, I need the script to apply these offsets to all the numbered wav files in a folder, and save the offset wav files into a new subfolder with the same numbers for file names.
Is this possible, and if so, would anyone be willing to write this script for me? I'd really appreciate it, as up til now I've been doing this the brute-force way by making spreadsheets of all the offset numbers and manually editing the sound files one by one. Very tedious, and exactly the sort of job that should be automated as a batch process.
Thanks!
peahix