--- linuxsampler/trunk/Documentation/lscp.xml 2008/02/14 14:58:50 1686
+++ linuxsampler/trunk/Documentation/lscp.xml 2008/02/16 01:09:33 1695
@@ -6393,6 +6393,8 @@
/ CHANNEL_MIDI
+ / DEVICE_MIDI
+
/ VOICE_COUNT
/ STREAM_COUNT
@@ -6447,6 +6449,8 @@
/ CHANNEL_MIDI
+ / DEVICE_MIDI
+
/ VOICE_COUNT
/ STREAM_COUNT
@@ -7267,6 +7271,31 @@
thread unaffected by this feature.
+
+ Client may want to be notified when MIDI data arrive on MIDI input devices by issuing the following command:
+
+
+ SUBSCRIBE DEVICE_MIDI
+
+
+ Server will start sending one of the the following notification messages:
+
+
+ "NOTIFY:CHANNEL_MIDI:<device-id> <port-id> NOTE_ON <note> <velocity>"
+ "NOTIFY:CHANNEL_MIDI:<device-id> <port-id> NOTE_OFF <note> <velocity>"
+
+
+ where <device-id> <port-id> will be replaced
+ by the IDs of the respective MIDI input device and the device's MIDI port where the MIDI
+ data arrived. <note> and <velocity> are integer values in the range between
+ 0 .. 127, reflecting the analog meaning of the MIDI specification.
+
+ CAUTION: no guarantee whatsoever will be made that MIDI events are actually all
+ delivered by this mechanism! With other words: events could be lost at any time!
+ This restriction was made to keep the RT-safeness of the backend's MIDI and audio
+ thread unaffected by this feature.
+
+
Client may want to be notified when the number of voices on the
back-end changes by issuing the following command: