i need to cut audio files into small samples of even length. What i need is basically a batch processor for audio which does it, and names the slices numerically. i'm on os x and found Audio Splitter, the shortest possible sample length with it is 1 second though, too long for my purpose. Anyone know an alternative?
An excellent sound converter SoX (also named 'the Swiss Army knife of audio manipulation') works on OS X, so I hope this script will help you:
All lengths are in samples (you can also specify time in 'HH:MM:SS.ddd' format, check SoX manpage); it reads INPUT file and produces files named output-0.wav, output-1.wav and so on.