LFO Ramp With Retriggering

Noah Mitchell's icon

Not sure if anyone is familiar with the serum synthesizer by xfer records...

In the synth it allows for the LFO envelopes to be retriggered/sustained every time a key is pressed/held respectively

Was wondering if I could recreate this type of system using the "function" object in max. I'm looking to only have the function be executed if I am holding down a key instead of executing the entire thing when pressed

👽'tW∆s ∆lienz👽's icon

ya, you can do this most simply by what's described under the 'sustain' tab of the 'function' help-file. but if you need more specificity, there are other options, too: check out zigzag~
searching the forums for "xfer serum sustain" gave me many like this, too:
https://cycling74.com/forums/function-object-and-sustain
(edit: although, i doubt the forum search here does much with the "xfer serum" part, but you never know! 😂)

Noah Mitchell's icon

Hmmm...I looked at the sustain and zig zag and I am not sure that is what I am looking to do...

I am looking to be able to press a button and have that scroll through the ramp corresponding to the time length of the ramp.

Is there a way to remap input value data to correspond to the Y values of the function over time?