By "nesting" FOR loops, it is possible to iterate through more than one loop.
Mention of this possibility is made here:
http://www.robvanderwoude.com/for.phpUsing your example with DISTORT REPEAT, we might do something like this to generate a lot of files:
FOR /L %A IN (1,1,10) DO FOR /L %B IN (1,1,128) DO FOR /L %C IN (1,1,20) DO distort repeat input.wav output%A-%B-%C.wav %A -c%B -s%C
Remember that within a batch file, there must be two "%" for each variable substitution (e.g.,
%%A). Entered directly from the command-line, one substitution character is fine.
While not a whole lot more complex, techniques like this make it easy to generate more files than you will possibly need (or bother listening to). It might be better to take one or two parameters at a time, stepping through with larger increments--as 1 will be very fine for some processes--and try to systematically identify "zones" of interest. Having identified a zone between, say, 350 and 500 for a process, you can step through with more precision with a single loop and audition the results.