File Duplex/OscClient.lua
Functions
OscClient:__init (osc_host, osc_port) | Initialize the OscClient class |
OscClient:_show_instructions () | Display usage instructions the first time the class is used |
OscClient:trigger_instrument (note_on, instr, track, note, velocity) | Trigger instrument-note |
OscClient:trigger_midi (t) | Internal midi-message function, shared across applications |
Functions
- OscClient:__init (osc_host, osc_port)
-
Initialize the OscClient class
Parameters:
-
osc_host
: (String) the host-address name (can be an IP address) -
osc_port
: (Number) the host port
-
- OscClient:_show_instructions ()
- Display usage instructions the first time the class is used
- OscClient:trigger_instrument (note_on, instr, track, note, velocity)
-
Trigger instrument-note
Parameters:
-
note_on
: (Boolean), true when note-on and false when note-off -
instr
: (Number), the Renoise instrument index -
track
: -
note
: (Number), the desired pitch -
velocity
: (Number), the desired velocity
-
- OscClient:trigger_midi (t)
-
Internal midi-message function, shared across applications
Parameters:
-
t
: (Table/MIDIMessage), a ready-to-send MIDI message
-