Expert-sleepers MIDI & OSC Scripting v1.1.0 Manuale Utente Pagina 10

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 16
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 9
local function handleNoteOff( channel, noteNumber, velocity )
! -- do stuff
end
requestNoteOff( 60, handleNoteOff )
requestCC( cc, function )
Request that the given function be called in response to the given MIDI continuous con-
troller (CC) event. E.g.
local function handleCC( channel, cc, value )
! -- do stuff
end
requestCC( 20, handleCC )
requestNRPN( nrpn, function )
Request that the given function be called in response to the given MIDI non-registered pa-
rameter number (NRPN) event. E.g.
local function handleNRPN( channel, nrpn, value )
! -- do stuff
end
requestNRPN( 1000, handleNRPN )
requestProgramChange( pc, function )
Request that the given function be called in response to the given MIDI program change
event. E.g.
local function handlePC( channel, value )
! -- do stuff
end
requestProgramChange( 2, handlePC )
requestPolyPressure( key, function )
Request that the given function be called in response to a MIDI poly pressure (polyphonic
aftertouch) event on the given key. E.g.
local function handlePolyPressure( channel, key, value )
! -- do stuff
end
requestPolyPressure( 60, handlePolyPressure )
requestPitchWheel( function )
Request that the given function be called in response to a MIDI pitch wheel event. NB the
value passed to the handler function is the raw 14 bit MIDI value, not e.g. a normalised
±1.0 value. E.g.
local function handlePitchWheel( channel, value )
! -- do stuff
end
requestPitchWheel( handlePitchWheel )
Vedere la pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 16

Commenti su questo manuale

Nessun commento