+1 for extending the fft features.
you could implement this in the qtz patch, counting the "overflows" where the slider jumps back to 0. on every second increment pass you could instruct the patch variables to be decreased instead on increasing. Would require just a few modules.
edit:
put this into a javaScript patch after the published input, that should do the trick, assuming your input is 0-1f:
Code: Select all
__number lastValue=0;
__boolean direction=false;
function (__number output) main (__number input)
{
if(input < lastValue){
direction=!direction;
}
lastValue=input;
var result = new Object();
if(direction){
result.output = input;
}else {
result.output = 1 - input;
}
return result;
}
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free:
http://programs.palffyzoltan.hu