Requestallnrpn( function ), Requestallprogramchange( function ), Requestallpolypressure( function ) – Expert Sleepers Oomingmak v1.0.0 User Manual

Page 31: Requestnoteon( note, function ), Requestnoteoff( note, function )

Advertising
background image

end
requestAllCC( handleCC )

requestAllNRPN( function )

Request that the given function be called in response to any MIDI non-registered parame-
ter number (NRPN) event. E.g.

local function handleNRPN( channel, nrpn, value )

-- do stuff

end
requestAllNRPN( handleNRPN )

requestAllProgramChange( function )

Request that the given function be called in response to any MIDI program change event.
E.g.

local function handlePC( channel, value )

-- do stuff

end
requestAllProgramChange( handlePC )

requestAllPolyPressure( function )

Request that the given function be called in response to any MIDI poly pressure (poly-
phonic aftertouch) event. E.g.

local function handlePolyPressure( channel, key, value )

-- do stuff

end
requestAllPolyPressure( handlePolyPressure )

requestNoteOn( note, function )

Request that the given function be called in response to a MIDI note on event matching the
given note number. E.g.

local function handleNoteOn( channel, noteNumber, velocity )

-- do stuff

end
requestNoteOn( 60, handleNoteOn )

requestNoteOff( note, function )

Request that the given function be called in response to a MIDI note off event matching
the given note number. E.g.

local function handleNoteOff( channel, noteNumber, velocity )

-- do stuff

end
requestNoteOff( 60, handleNoteOff )

Advertising