Attack & Decay with Midi Instrument
Laura Papke
8月 06 2024 | 1:12 午後
Hey everyone,
This might be an easy question but I couldn't really find an answers to this online.
I have set up a keyslider to trigger a vst instrument and now I would like to adjust attack and decay
So far I found the adsr∼ object but not really a way to combine it with my patch.
Someone here has an idea?
Very much appreciated!
TFL
8月 06 2024 | 3:24 午後
If your VST provide attack and decay parameters, you can change them by sending some parameter_name value
messages to it. Send a params
message to the [vst~] object to get a list of all available parameters of your vst from the objects third leftmost outlet.
Otherwise, if you play just one note at a time, you could mimick attack and decay by building a VCA at the output of the VST, although it is not ideal. If you do so, you might need to make the note length sufficiently long to fill the entire decay time you want to set.