Expression modifier
Posted: Wed Oct 12, 2016 6:17 am
Hello !
I am still trying to get an input selector to select a random input on a beat... Until now, I am able to change the input in a sequence on the MIDI clock beat. But I still want to randomize this sequence.
Would it be possible to use the Expression modifier with something like "rnd * x * 30" ? In this case, x would be a value 0 or 1 triggered by the MIDI clock, rnd would be a random value between 0 and 1 and 30 would be the number of inputs plugged into my input selector. I cannot use the Hold modifier after a Random modifier, because the value of the input selector should change on the MIDI clock beat, not after a duration in seconds. I tried to read the ExprTk engine's documentation, but I could not find any "rnd" function...
BTW, the random generator I would like to use would be awesome if it could generate a new value *only* if the previous modifier changed the parameter's value. But I guess that I could use it with the 0/1 values sent by the MIDI clock...
Thanks again for the great job !
I am still trying to get an input selector to select a random input on a beat... Until now, I am able to change the input in a sequence on the MIDI clock beat. But I still want to randomize this sequence.
Would it be possible to use the Expression modifier with something like "rnd * x * 30" ? In this case, x would be a value 0 or 1 triggered by the MIDI clock, rnd would be a random value between 0 and 1 and 30 would be the number of inputs plugged into my input selector. I cannot use the Hold modifier after a Random modifier, because the value of the input selector should change on the MIDI clock beat, not after a duration in seconds. I tried to read the ExprTk engine's documentation, but I could not find any "rnd" function...
BTW, the random generator I would like to use would be awesome if it could generate a new value *only* if the previous modifier changed the parameter's value. But I guess that I could use it with the 0/1 values sent by the MIDI clock...
Thanks again for the great job !