Expert-sleepers Crossfade Loop Synth v3.2.0 Manuel d'utilisateur Page 29

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 38
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 28
E.g.
setOthersParameter( 2, paramID_Pitch, 12.0 )
getOthersParameter( id, param )
As getParameter(), but gets the parameter from another instance of the plug-in. See
setOthersParameter() for a fuller explanation. E.g.
pitch = getOthersParameter( 2, paramID_Pitch )
sendOSC( address, path [, format ] [, values ] )
Sends an OSC message. ‘values’ is an optional array of data items to be sent with the mes-
sage. If ‘values’ is used, then ‘format’ is an optional string that indicates how the items in
the values array should be interpreted. This is required because Lua treats all numbers as
being of the same type, whereas OSC differentiates between integers and floating point
values. The number of characters in ‘format’ should be the same as the number of values.
Each character may be one of ‘i’ (integer), ‘f’ (float) or ‘s’ (string).
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
Vue de la page 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 37 38

Commentaires sur ces manuels

Pas de commentaire