Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "note off" support for buttons #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

xou
Copy link

@xou xou commented Jul 21, 2015

I've added "note off" support for the "button" control, by adding a $1 parameter to the OSC string
which will be set to 1 or 0, depending on whether the button was pressed or released.

If $1 is not present in the OSC string, only the "pressed" event will be sent.

xou added 2 commits July 21, 2015 11:03
This commit introduces a note off event. If the OSC string
includes the token "$1",
- an additional OSC event will be sent when the button is released,
- $1 will be replaced with '1' when the button is pressed and '0'
  when it is released.

Additionally, i have added '$1' to the default OSC string.
Additionally, i've made the buttons in the templates distinct by
changing the first parameter from "1" to a different number for
each button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant