Requestallnoteon( function ), Requestallnoteoff( function ), Requestallcc( function ) – Expert Sleepers Augustus Loop v2.3.0 User Manual

Page 61: Requestallnrpn( function ), Requestallprogramchange( function )

Advertising
background image

E.g.

sendOSC( "osc.udp://localhost:7001", "/foo" )
sendOSC( "osc.udp://localhost:7001", "/foo", { 3, 5.2, "hello" } )
sendOSC( "osc.udp://localhost:7001", "/foo", "ifs", { 3, 5.2, "hello" } )

Note that the second example sends two floats and a string; the third sends an integer, a
float and a string.

requestAllNoteOn( function )

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

local function handleNoteOn( channel, noteNumber, velocity )

-- do stuff

end
requestAllNoteOn( handleNoteOn )

requestAllNoteOff( function )

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

local function handleNoteOff( channel, noteNumber, velocity )

-- do stuff

end
requestAllNoteOff( handleNoteOff )

requestAllCC( function )

Request that the given function be called in response to any MIDI continuous controller
(CC) event. E.g.

local function handleCC( channel, cc, value )

-- do stuff

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 )

Advertising