Included with the Gen~ extension in the examples folder is a patch called the "7 Stage Envelope." All the parameters are set in messages and have no individual control. How do I make each of the parameters react in realtime to number messages? For instance the SUSTAIN control should be able to float between values of 0-1 while it is active. I have a feeling it has something to do with the scale object. I could be wrong.
Thank you in advance.
Do you mean to control them with a signal, or just to control them?
You can control them simply by sending a message in the form of parameterName value. (E.g. attack 150) You can use a flonum with a message box to do this. (Attack $1 in the message box)
it seems to be easier to do this outside gen~.
I need to do this inside Gen~ regardless of whats easier.
Peter, your suggestion works for the attack but when the counter reaches the sustain phase I should be able to adjust the sustain and see it react in realtime. It only uses the next Sustain value on the next trigger cycle.
It’s a factor of the sample and hold. I’m guessing you might try something involving latch instead. Would require a bit of special logic but should be doable.
C74 RSS Feed | © Copyright Cycling '74