We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all & seasons greetings from London. I have a problem with ControlP5 button. I want to be able to send a midi note on message when the button is pressed and a note off when it is released but at the moment all i can do is send a note on when I have pressed it and the note on message is sent when I let go of the button. I am using controlP5 on Processing for android bu the principle is the same... I just press the button with my finger instead of the mouse. So like I say, when I put my finger on the button it only sends the note on message when I let go of the button. Could anyone help me get it so when I PRESS the button, the note on is sent & when I let go of the button the note off message is sent? I am puzzled. Thanks all. Steve.
Answers
Hi Steve,
It would be more helpful if you posted your code in here. :)
Hi, you can use a callback, see example below: