Randomise

One question - the functions that get attached to controls have ValueObject and value passed in as parameters. What was the thought behind ValueObject and can these be replaced/overridden?

1 Like

The function is actually bound to the ValueObject not the control itself. The majority of controls have just one value (and therefore just one ValueObject), but, for example envelopes have more of them.

The idea of values, in general, was to allow creating controls with more values, like XY pads, envelopes, etc. Passing the ValueObject as the parameter was meant to provide the details about (min, max, etc) to the function when it gets called.