We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started December 2nd, 2006 · 16 replies · Latest reply by Vitus.Syndrome 17 years, 10 months ago
I have four short wave blocks. Let's call them Wave1, Wave2, etc.
I can do the following with them in Adobe Audition (or similar):
1. In the Multitrack view, arrange the four blocks in numerical order on one track (Wave1, Wave2, Wave3, Wave4).
2. Mix them down to a single file, which I save as WaveBlock(1234).wav.
3. Reverse the order of the last two, and save it as WaveBlock(1243).wav.
4. Reverse the second and last, and save it as WaveBlock(1324).wav.
5. Continue in a similar manner until I have all 24 possible combinations (4x3x2).
Not so bad to do manually with four pieces, but quickly gets worse when you add a few more.
What I would like to have is software that does the arranging, saving, and filenaming for me. I believe this would require me to learn some sort of programming.
Suggestions?
Many thanks.
This may help, on the file re-naming part. With http://www.irfanview.com/ you can do batch rename of files. Ascending, descending and how it progesses. I use it for images all the time but found out it does any type of file.
roscoetoon
This may help, on the file re-naming part.
Interesting. For this particular task, the naming of the files is the least onerous part. Taking (for example) 8 small files and creating 8! larger ones is the part I'd really like help with. Though if I couldn't get the software to name the files as I choose, your re-naming utility would be helpful.
Many thanks; anyone else got any ideas?
.milanNot so bad to do manually with four pieces, but quickly gets worse when you add a few more.
What I would like to have is software that does the arranging, saving, and filenaming for me. I believe this would require me to learn some sort of programming.
Suggestions?
http://lac.zkm.de/2006/papers/lac2006_martin_rumori.pdf seems to be along the right lines, but it smells like linux, so that might be another barrier if you don't already have that set up. Again, if you've got a bit of time on your hands you might enjoy getting to know linux.
Sorry I can't suggest anything more concrete, hope it all goes well, anyway.
xinaesthete
Sorry I can't suggest anything more concrete, hope it all goes well, anyway.
When I thought "imagemagick for audio", OpenVIP came to mind. I've used the GUI frontend for windows, but at a glance it seems to be nice and scriptable from the commandline. I know it can work with A/V, so it probably works fine with just audio too.
Of course there are probably a number of equally valid ways to do this, you should definitely have a look at Audition scripting for starters.
xinaesthete
there might be some command line tools equivalent to something like imagemagick only for audio, in which case you could use a generic scripting language.
The scripting language in Audition is, as far as I can tell, limited to its commands. So, for example, there's "Insert File", but I have to move the insertion point manually -- it doesn't by default simply insert one wave block after another. Also, I have to manually select which file to insert.
Would a generic scripting language be able to "talk" to Audition and tell it which file to insert, move the insertion point, etc.?
.milanWould a generic scripting language be able to "talk" to Audition and tell it which file to insert, move the insertion point, etc.?
Simulated keystrokes might not be such a bad way to go though. I don't have any direct experience of it, but I've seen my dad do stuff like that from vb before, for fiddlier operations than what you want, I think.
Halleck
I'm sure some of the MTG folks have a more elegant solution...
1. concatenating wave files:
http://www.boutell.com/scripts/catwav.html
2. generating random permutations of a string:
http://mail.python.org/pipermail/tutor/2005-May/038059.html
3. some python code to link it all together
4. *done*!
( You'll need Linux )
- bram
I just tried this and it seems to work:
import os
import sys
def perms (lst):
if lst:
return [[x] + ps
for x in lst
for ps in perms([e for e in lst if e != x])]
else:
return [[]]
files = sys.argv[1:]
for (index, perm) in enumerate(perms(files)):
perm.append(index)
command = "sox %s %s %s %s permutation_%d.wav" % tuple(perm)
os.system(command)
Obviously you'll need to have python and sox.
- bram