Since batch processing sample data with lua is pretty slow, i wrote a new tool, mainly for trimming silence from recorded samples and normalizing.
The “SoX: Normalize (Relative)” preset normalizes all samples relative to the loudest sample in the instrument.
I added a couple more presets, see http://sox.sourceforge.net/sox.html for full documentation, some of the examples didn’t really work for me tho.
You can use other executables than SoX too ofc, @in and @out represent the oringal/processed files, if there is no output file it will load the @in file back into the instrument.
Should work on Windows and Linux (Mac too?) … make sure the PATH ends with a slash!
Thx. No preset editor planned for now. Was thinking about it, but it does the job for me, and putting more effort into the presets, you pretty much end up rewriting the CDP tool. I think it might make more sense to add other executables and batch processing to CDP in the long run.
Are there any plans of implementing similar functionality in the batch tool? Would be great, though seeing this is an old thread I’m necro’ing… probably not…
Last time I checked, the documentation of Sox doesn’t have a good overview for all the options and correct syntax for all the processes, right? + when supplying incorrect arguments/values, it doesn’t return any info on what’s wrong, opposed to the CDP programs. For a boring vacation, might look into hacking the CDP tool or Johann’s commandline thing if presets can be easily produced.
I can’t get it to work, maybe the automatic upgrade did not work properly? It looks like it processes something and i get no error message on the ‘Normalize’, but there are no files written in the output folder and the the actual Renoise instrument has not been changed. Am i doing something wrong perhaps?
Have you downloaded and installed sox to your computer first? Then when the tool is also installed in Renoise, you need to direct the tool to the directory where sox can be found. Do you get some kind of error notice in Renoise?
I can’t get it to install like a typical Renoise tool. I double click it to initiate it and it just opens Renoise and populates itself here:
I cannot drag and drop the file onto Renoise to install either. Not sure if I’m missing something here! I do have SoX installed at least. Thanks for your help @Jonas in trying to get me sorted!!
Ooh that’s weird, I might have just messed up rarring it? Can you check if right clicking a sample in the sample list has an entry for the tool;
It’s an oldie so you might need to change the manifest file in the scripting terminal to the latest api version? But I’m running out of time here, have to run! Good luck