I would like my controller make a bang depending on how long you press the button.
Could anybody give me a advice ?
Assuming your controller sends a non-zero velocity when pressed and 0 when released, you can route these 2 values to the inlets of a timer object.
You will get, in ms, the duration for which you kept the button pressed.
If you want something to happen only after X ms while holding the button, you’re looking for the clocker object tied to a >= object.
Thanks a lot.
It works great.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.