Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 6

...

Info

isNoteHeld can only be called inside the the onNote callback function.

 

Available in: processor.

Return Values

Returns true, if onNote has received a note is held. Returns -on event, and false, if the script onNote has received a corresponding note-off with the same pitch as the note-onevent.

Example

Code Block
print("Put your example code here!")--detect if a note is held
function onNote(event)
    print(isNoteHeld())
    waitForRelease()
    print(isNoteHeld())
end
Panel

See Also: onNote