[LAU] rubberband and batch processing

Jan Weil Jan.Weil at web.de
Fri Jun 6 08:52:52 EDT 2008


Hi Dave,

Am Freitag, den 06.06.2008, 08:42 -0400 schrieb Dave Phillips:
> I want to convert an entire directory of 80 bpm loops to 100 bpm loops. 
> Alas, rubberband does not have a nice simple "change to tempo X" 
> function (AFAICT) so I need to know:
> 
> 1. What formula should I use for either the -t or -T options ?
> 
> 2. How do I use rubberband to process the whole directory ?
> 
> Actually I can figure out #2, but I'm open to suggestions for the most 
> efficient shell script. I'd like to keep the names and append "-100" so 
> that "80bpm-loop.wav" becomes "80bpm-loop-100.wav".

using Bash:

for i in *.wav; do rubberband -T1.25 $i ${i%.wav}-100.wav; done

Cheers,

Jan




More information about the Linux-audio-user mailing list