Mapping triggers to user events can be tricky at times. To make it easier, flock.ugen.valueChangeTrigger should support an option similar to the resetOnNext option in flock.ugen.scheduler, which will reset the trigger's state to 0.0 for one sample, and then back to 1.0 whenever its source input is changed at all.
Mapping triggers to user events can be tricky at times. To make it easier, flock.ugen.valueChangeTrigger should support an option similar to the
resetOnNext
option inflock.ugen.scheduler
, which will reset the trigger's state to0.0
for one sample, and then back to1.0
whenever itssource
input is changed at all.