31 |
<email>schoenebeck at software minus engineering dot org</email> |
<email>schoenebeck at software minus engineering dot org</email> |
32 |
</address> |
</address> |
33 |
</author> |
</author> |
34 |
<date month="July" year="2005"/> |
<date month="September" year="2005"/> |
35 |
<workgroup>LinuxSampler Developers</workgroup> |
<workgroup>LinuxSampler Developers</workgroup> |
36 |
<keyword>LSCP</keyword> |
<keyword>LSCP</keyword> |
37 |
<abstract> |
<abstract> |
3329 |
<section title="Global commands"> |
<section title="Global commands"> |
3330 |
<t>The following commands have global impact on the sampler.</t> |
<t>The following commands have global impact on the sampler.</t> |
3331 |
|
|
3332 |
|
<section title="Current number of active voices" anchor="GET TOTAL_VOICE_COUNT"> |
3333 |
|
<t>The front-end can ask for the current number of active voices on |
3334 |
|
the sampler by sending the following command:</t> |
3335 |
|
<t> |
3336 |
|
<list> |
3337 |
|
<t>GET TOTAL_VOICE_COUNT</t> |
3338 |
|
</list> |
3339 |
|
</t> |
3340 |
|
|
3341 |
|
<t>Possible Answers:</t> |
3342 |
|
<t> |
3343 |
|
<list> |
3344 |
|
<t>LinuxSampler will answer by returning the number of all active |
3345 |
|
voices on the sampler.</t> |
3346 |
|
</list> |
3347 |
|
</t> |
3348 |
|
</section> |
3349 |
|
|
3350 |
|
<section title="Maximum amount of active voices" anchor="GET TOTAL_VOICE_COUNT_MAX"> |
3351 |
|
<t>The front-end can ask for the maximum number of active voices |
3352 |
|
by sending the following command:</t> |
3353 |
|
<t> |
3354 |
|
<list> |
3355 |
|
<t>GET TOTAL_VOICE_COUNT_MAX</t> |
3356 |
|
</list> |
3357 |
|
</t> |
3358 |
|
|
3359 |
|
<t>Possible Answers:</t> |
3360 |
|
<t> |
3361 |
|
<list> |
3362 |
|
<t>LinuxSampler will answer by returning the maximum number |
3363 |
|
of active voices.</t> |
3364 |
|
</list> |
3365 |
|
</t> |
3366 |
|
</section> |
3367 |
|
|
3368 |
<section title="Reset sampler" anchor="RESET"> |
<section title="Reset sampler" anchor="RESET"> |
3369 |
<t>The front-end can reset the whole sampler by sending the following command:</t> |
<t>The front-end can reset the whole sampler by sending the following command:</t> |
3370 |
<t> |
<t> |
3528 |
</t> |
</t> |
3529 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
3530 |
</t> |
</t> |
3531 |
|
<t>/ TOTAL_VOICE_COUNT |
3532 |
|
</t> |
3533 |
</list> |
</list> |
3534 |
</t> |
</t> |
3535 |
<t>unsubscribe_event = |
<t>unsubscribe_event = |
3546 |
</t> |
</t> |
3547 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
3548 |
</t> |
</t> |
3549 |
|
<t>/ TOTAL_VOICE_COUNT |
3550 |
|
</t> |
3551 |
</list> |
</list> |
3552 |
</t> |
</t> |
3553 |
<t>get_instruction = |
<t>get_instruction = |
3600 |
</t> |
</t> |
3601 |
<t>/ SERVER SP INFO |
<t>/ SERVER SP INFO |
3602 |
</t> |
</t> |
3603 |
|
<t>/ TOTAL_VOICE_COUNT |
3604 |
|
</t> |
3605 |
|
<t>/ TOTAL_VOICE_COUNT_MAX |
3606 |
|
</t> |
3607 |
</list> |
</list> |
3608 |
</t> |
</t> |
3609 |
<t>set_instruction = |
<t>set_instruction = |
3920 |
message is sufficient here.</t> |
message is sufficient here.</t> |
3921 |
</section> |
</section> |
3922 |
|
|
3923 |
|
<section title="Total number of active voices changed" anchor="SUBSCRIBE TOTAL_VOICE_COUNT"> |
3924 |
|
<t>Client may want to be notified when the total number of voices on the |
3925 |
|
back-end changes by issuing the following command:</t> |
3926 |
|
<t> |
3927 |
|
<list> |
3928 |
|
<t>SUBSCRIBE TOTAL_VOICE_COUNT</t> |
3929 |
|
</list> |
3930 |
|
</t> |
3931 |
|
<t>Server will start sending the following notification messages:</t> |
3932 |
|
<t> |
3933 |
|
<list> |
3934 |
|
<t>"NOTIFY:TOTAL_VOICE_COUNT:<voices></t> |
3935 |
|
</list> |
3936 |
|
</t> |
3937 |
|
<t>where <voices> will be replaced by the new number of |
3938 |
|
all currently active voices.</t> |
3939 |
|
</section> |
3940 |
|
|
3941 |
<section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS"> |
<section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS"> |
3942 |
<t>Client may want to be notified of miscellaneous and debugging events occurring at |
<t>Client may want to be notified of miscellaneous and debugging events occurring at |
3943 |
the server by issuing the following command:</t> |
the server by issuing the following command:</t> |