A better way to "hold" LFO?
So I'm trying to modulate some sample parameters such that every time I hit a MIDI note, the current value of parameters modulated by the LFO is frozen. I want different values on notes but don't want the values moving while the note is held.
This is similar to the functionality of Elektron boxes, where setting the LFO to "HOLD" will simply hold the current value when the note is on, while the LFO itself continues running in the background. I want to maintain the periodic nature of a sine or saw wave, so I'm not looking for a S&H wave either.
Currently, I have two velocity devices and an expression control with the LFO. Velocity 1 simply sets the velocity incoming to 127. Velocity 2 has a low out of 1, and the high out is modulated by the LFO.
Then, expression control is set to Velocity, and it modulates the parameter.
You can see how this holds the current value, because expression control only gets a Velocity input on note on, so the LFO moving the velocity doesn't effect the parameter. But there must be an easier way! In this method, I also have to put the sample or instrument in another chain so I can still use note velocities. It's super annoying.
Please help!