--- linuxsampler/trunk/Documentation/lscp.xml 2008/04/29 15:44:09 1727
+++ linuxsampler/trunk/Documentation/lscp.xml 2008/09/10 15:02:24 1771
@@ -3711,6 +3711,63 @@
+
+ The front-end can send MIDI events to specific sampler channel
+ by sending the following command:
+
+
+ SEND CHANNEL MIDI_DATA <midi-msg> <sampler-chan> <arg1> <arg2>
+
+
+ Where <sampler-chan> is the sampler channel number
+ as returned by the "ADD CHANNEL"
+ or "LIST CHANNELS" command,
+ <arg1> and <arg2> arguments depend on the <midi-msg> argument, which
+ specifies the MIDI message type. Currently, the following MIDI messages are supported:
+
+
+ "NOTE_ON" -
+
+ For turning on MIDI notes, where <arg1>
+ specifies the key number and <arg2> the velocity
+ as described in the MIDI specification.
+
+
+ "NOTE_OFF" -
+
+ For turning a currently playing MIDI note off, where <arg1>
+ specifies the key number and <arg2> the velocity
+ as described in the MIDI specification.
+
+
+
+
+ CAUTION: This command is provided for implementations of virtual MIDI keyboards
+ and no realtime guarantee whatsoever will be made!
+ Possible Answers:
+
+
+ "OK" -
+
+ on success
+
+
+ "ERR:<error-code>:<error-message>" -
+
+ in case it failed, providing an appropriate error code and error message
+
+
+
+
+ Example:
+
+
+ C: "SEND CHANNEL MIDI_DATA NOTE_ON 0 56 112"
+ S: "OK"
+
+
+
+
The front-end can reset a particular sampler channel by sending the following command:
@@ -6307,6 +6364,20 @@
vendor of the instrument
+ KEY_BINDINGS -
+
+ comma separated list of integer values representing
+ the instrument's key mapping in the range between 0 .. 127,
+ reflecting the analog meaning of the MIDI specification.
+
+
+ KEYSWITCH_BINDINGS -
+
+ comma separated list of integer values representing
+ the instrument's keyswitch mapping in the range between 0 .. 127,
+ reflecting the analog meaning of the MIDI specification.
+
+
@@ -6413,7 +6484,9 @@
/ EDIT SP edit_instruction
- / FORMAT SP format_instruction
+ / FORMAT SP format_instruction
+
+ SEND SP send_instruction
/ RESET
@@ -6903,6 +6976,12 @@
+send_instruction =
+
+ CHANNEL SP MIDI_DATA SP string SP sampler_channel SP number SP number
+
+
+
load_instr_args =
filename SP instrument_index SP sampler_channel