Page tree
Skip to end of metadata
Go to start of metadata

onUnhandledEvent(event)

Description

This callback function is called when the script module receives an event that is not handled by the specific event callback functions, e.g., onNoteonRelease, onController and onNoteExpression. If none of the specific callback functions are defined, onUnhandledEvent will receive all incoming events.

Available in: Processor.

Arguments

eventThe Event object.Event

Example

-- print unhandled events
function onUnhandledEvent(event)
    print(event)
    postEvent(event)
end

1 Comment