--- linuxsampler/trunk/Documentation/lscp.xml 2005/07/21 09:36:52 709
+++ linuxsampler/trunk/Documentation/lscp.xml 2005/09/23 06:58:26 778
@@ -31,7 +31,7 @@
schoenebeck at software minus engineering dot org
-
+
LinuxSampler Developers
LSCP
@@ -3329,6 +3329,42 @@
The following commands have global impact on the sampler.
+
+ The front-end can ask for the current number of active voices on
+ the sampler by sending the following command:
+
+
+ GET TOTAL_VOICE_COUNT
+
+
+
+ Possible Answers:
+
+
+ LinuxSampler will answer by returning the number of all active
+ voices on the sampler.
+
+
+
+
+
+ The front-end can ask for the maximum number of active voices
+ by sending the following command:
+
+
+ GET TOTAL_VOICE_COUNT_MAX
+
+
+
+ Possible Answers:
+
+
+ LinuxSampler will answer by returning the maximum number
+ of active voices.
+
+
+
+
The front-end can reset the whole sampler by sending the following command:
@@ -3492,6 +3528,8 @@
/ MISCELLANEOUS
+ / TOTAL_VOICE_COUNT
+
unsubscribe_event =
@@ -3508,6 +3546,8 @@
/ MISCELLANEOUS
+ / TOTAL_VOICE_COUNT
+
get_instruction =
@@ -3560,6 +3600,10 @@
/ SERVER SP INFO
+ / TOTAL_VOICE_COUNT
+
+ / TOTAL_VOICE_COUNT_MAX
+
set_instruction =
@@ -3876,6 +3920,24 @@
message is sufficient here.
+
+ Client may want to be notified when the total number of voices on the
+ back-end changes by issuing the following command:
+
+
+ SUBSCRIBE TOTAL_VOICE_COUNT
+
+
+ Server will start sending the following notification messages:
+
+
+ "NOTIFY:TOTAL_VOICE_COUNT:<voices>
+
+
+ where <voices> will be replaced by the new number of
+ all currently active voices.
+
+
Client may want to be notified of miscellaneous and debugging events occurring at
the server by issuing the following command: