16 |
to an annoying "missing Normative/Informative References" error message --> |
to an annoying "missing Normative/Informative References" error message --> |
17 |
<?rfc strict="no" ?> |
<?rfc strict="no" ?> |
18 |
|
|
19 |
<rfc category="std" ipr="full3978" docName="LSCP 1.2cvs"> |
<rfc category="std" ipr="full3978" docName="LSCP 1.2"> |
20 |
<front> |
<front> |
21 |
<title>LinuxSampler Control Protocol (draft)</title> |
<title>LinuxSampler Control Protocol</title> |
22 |
<author initials='C.S.' surname="Schoenebeck" fullname='C. |
<author initials='C.S.' surname="Schoenebeck" fullname='C. |
23 |
Schoenebeck'> |
Schoenebeck'> |
24 |
<organization> |
<organization> |
3924 |
</t> |
</t> |
3925 |
</section> |
</section> |
3926 |
|
|
3927 |
|
<section title="Current number of active disk streams" anchor="GET TOTAL_STREAM_COUNT"> |
3928 |
|
<t>The front-end can ask for the current number of active disk streams on |
3929 |
|
the sampler by sending the following command:</t> |
3930 |
|
<t> |
3931 |
|
<list> |
3932 |
|
<t>GET TOTAL_STREAM_COUNT</t> |
3933 |
|
</list> |
3934 |
|
</t> |
3935 |
|
|
3936 |
|
<t>Possible Answers:</t> |
3937 |
|
<t> |
3938 |
|
<list> |
3939 |
|
<t>LinuxSampler will answer by returning the number of all active |
3940 |
|
disk streams on the sampler.</t> |
3941 |
|
</list> |
3942 |
|
</t> |
3943 |
|
</section> |
3944 |
|
|
3945 |
<section title="Reset sampler" anchor="RESET"> |
<section title="Reset sampler" anchor="RESET"> |
3946 |
<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> |
3947 |
<t> |
<t> |
6236 |
</t> |
</t> |
6237 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
6238 |
</t> |
</t> |
6239 |
|
<t>/ TOTAL_STREAM_COUNT |
6240 |
|
</t> |
6241 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
6242 |
</t> |
</t> |
6243 |
<t>/ GLOBAL_INFO |
<t>/ GLOBAL_INFO |
6288 |
</t> |
</t> |
6289 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
6290 |
</t> |
</t> |
6291 |
|
<t>/ TOTAL_STREAM_COUNT |
6292 |
|
</t> |
6293 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
6294 |
</t> |
</t> |
6295 |
<t>/ GLOBAL_INFO |
<t>/ GLOBAL_INFO |
6380 |
</t> |
</t> |
6381 |
<t>/ SERVER SP INFO |
<t>/ SERVER SP INFO |
6382 |
</t> |
</t> |
6383 |
|
<t>/ TOTAL_STREAM_COUNT |
6384 |
|
</t> |
6385 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
6386 |
</t> |
</t> |
6387 |
<t>/ TOTAL_VOICE_COUNT_MAX |
<t>/ TOTAL_VOICE_COUNT_MAX |
6416 |
</t> |
</t> |
6417 |
<t>/ VOLUME |
<t>/ VOLUME |
6418 |
</t> |
</t> |
6419 |
|
<t>/ FILE SP INSTRUMENTS SP filename |
6420 |
|
</t> |
6421 |
|
<t>/ FILE SP INSTRUMENT SP INFO SP filename SP instrument_index |
6422 |
|
</t> |
6423 |
</list> |
</list> |
6424 |
</t> |
</t> |
6425 |
<t>set_instruction = |
<t>set_instruction = |
6634 |
</t> |
</t> |
6635 |
<t>/ DB_INSTRUMENTS SP db_path |
<t>/ DB_INSTRUMENTS SP db_path |
6636 |
</t> |
</t> |
6637 |
|
<t>/ FILE SP INSTRUMENTS SP filename |
6638 |
|
</t> |
6639 |
</list> |
</list> |
6640 |
</t> |
</t> |
6641 |
<t>load_instr_args = |
<t>load_instr_args = |
6759 |
<t>filename = |
<t>filename = |
6760 |
<list> |
<list> |
6761 |
<t>path |
<t>path |
6762 |
|
#if WIN32 |
6763 |
|
$$ = $1.toWindows(); |
6764 |
|
#else |
6765 |
|
|
6766 |
|
$$ = $1.toPosix(); |
6767 |
|
#endif |
6768 |
|
|
6769 |
</t> |
</t> |
6770 |
</list> |
</list> |
6771 |
</t> |
</t> |
7182 |
all currently active voices.</t> |
all currently active voices.</t> |
7183 |
</section> |
</section> |
7184 |
|
|
7185 |
|
<section title="Total number of active disk streams changed" anchor="SUBSCRIBE TOTAL_STREAM_COUNT"> |
7186 |
|
<t>Client may want to be notified when the total number of disk streams on the |
7187 |
|
back-end changes by issuing the following command:</t> |
7188 |
|
<t> |
7189 |
|
<list> |
7190 |
|
<t>SUBSCRIBE TOTAL_STREAM_COUNT</t> |
7191 |
|
</list> |
7192 |
|
</t> |
7193 |
|
<t>Server will start sending the following notification messages:</t> |
7194 |
|
<t> |
7195 |
|
<list> |
7196 |
|
<t>"NOTIFY:TOTAL_STREAM_COUNT:<streams>"</t> |
7197 |
|
</list> |
7198 |
|
</t> |
7199 |
|
<t>where <streams> will be replaced by the new number of |
7200 |
|
all currently active disk streams.</t> |
7201 |
|
</section> |
7202 |
|
|
7203 |
<section title="Number of MIDI instrument maps changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"> |
<section title="Number of MIDI instrument maps changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"> |
7204 |
<t>Client may want to be notified when the number of MIDI instrument maps on the |
<t>Client may want to be notified when the number of MIDI instrument maps on the |
7205 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |