onNoteOff()
Set up a function to call whenever a note is released on the device.
midiin.onNoteOff(action)
Parameters
midiin.onNoteOff(action)
| Parameter | Type | Default | Description |
|---|---|---|---|
action |
function |
required | The function to call; it receives four parameters: eventType (128), channel (0 to 15), data1 (the pitch, 0 to 127), and data2 (unused). |