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.6"> |
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> |
25 |
Interessengemeinschaft Software Engineering e. V. |
LinuxSampler.org |
26 |
</organization> |
</organization> |
27 |
<address> |
<address> |
28 |
<postal> |
<postal> |
29 |
<street>Max-Planck-Str. 39</street> |
<street>Crudebyte Engineering</street> |
30 |
|
<street>Hofgartenstr. 3</street> |
31 |
<!-- <code>74081</code> --> |
<!-- <code>74081</code> --> |
32 |
<city>74081 Heilbronn</city> |
<city>74189 Weinsberg</city> |
33 |
<country>Germany</country> |
<country>Germany</country> |
34 |
</postal> |
</postal> |
35 |
<email>schoenebeck at software minus engineering dot org</email> |
<phone>+49 7134 911614</phone> |
36 |
|
<email>cuse@users.sf.net</email> |
37 |
</address> |
</address> |
38 |
</author> |
</author> |
39 |
<date month="October" year="2007"/> |
<date month="January" year="2014"/> |
40 |
<workgroup>LinuxSampler Developers</workgroup> |
<workgroup>LinuxSampler Developers</workgroup> |
41 |
<keyword>LSCP</keyword> |
<keyword>LSCP</keyword> |
42 |
<abstract> |
<abstract> |
516 |
what parameters drivers are offering, how to retrieve their |
what parameters drivers are offering, how to retrieve their |
517 |
possible values, etc.</t> |
possible values, etc.</t> |
518 |
|
|
519 |
<section title="Getting amount of available audio output drivers" anchor="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"> |
<section title="Getting amount of available audio output drivers" anchor="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS" lscp_cmd="true"> |
520 |
<t>Use the following command to get the number of |
<t>Use the following command to get the number of |
521 |
audio output drivers currently available for the |
audio output drivers currently available for the |
522 |
LinuxSampler instance:</t> |
LinuxSampler instance:</t> |
541 |
</t> |
</t> |
542 |
</section> |
</section> |
543 |
|
|
544 |
<section title="Getting all available audio output drivers" anchor="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"> |
<section title="Getting all available audio output drivers" anchor="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS" lscp_cmd="true"> |
545 |
<t>Use the following command to list all audio output |
<t>Use the following command to list all audio output |
546 |
drivers currently available for the LinuxSampler |
drivers currently available for the LinuxSampler |
547 |
instance:</t> |
instance:</t> |
568 |
</section> |
</section> |
569 |
|
|
570 |
<section title="Getting information about a specific audio |
<section title="Getting information about a specific audio |
571 |
output driver" anchor="GET AUDIO_OUTPUT_DRIVER INFO"> |
output driver" anchor="GET AUDIO_OUTPUT_DRIVER INFO" lscp_cmd="true"> |
572 |
<t>Use the following command to get detailed information |
<t>Use the following command to get detailed information |
573 |
about a specific audio output driver:</t> |
about a specific audio output driver:</t> |
574 |
<t> |
<t> |
641 |
</section> |
</section> |
642 |
|
|
643 |
<section title="Getting information about specific audio |
<section title="Getting information about specific audio |
644 |
output driver parameter" anchor="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"> |
output driver parameter" anchor="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO" lscp_cmd="true"> |
645 |
<t>Use the following command to get detailed information |
<t>Use the following command to get detailed information |
646 |
about a specific audio output driver parameter:</t> |
about a specific audio output driver parameter:</t> |
647 |
<t> |
<t> |
829 |
</t> |
</t> |
830 |
</section> |
</section> |
831 |
|
|
832 |
<section title="Creating an audio output device" anchor="CREATE AUDIO_OUTPUT_DEVICE"> |
<section title="Creating an audio output device" anchor="CREATE AUDIO_OUTPUT_DEVICE" lscp_cmd="true"> |
833 |
<t>Use the following command to create a new audio output device for the desired audio output system:</t> |
<t>Use the following command to create a new audio output device for the desired audio output system:</t> |
834 |
|
|
835 |
<t> |
<t> |
889 |
</t> |
</t> |
890 |
</section> |
</section> |
891 |
|
|
892 |
<section title="Destroying an audio output device" anchor="DESTROY AUDIO_OUTPUT_DEVICE"> |
<section title="Destroying an audio output device" anchor="DESTROY AUDIO_OUTPUT_DEVICE" lscp_cmd="true"> |
893 |
<t>Use the following command to destroy a created output device:</t> |
<t>Use the following command to destroy a created output device:</t> |
894 |
<t> |
<t> |
895 |
<list> |
<list> |
958 |
</t> |
</t> |
959 |
</section> |
</section> |
960 |
|
|
961 |
<section title="Getting all created audio output device list" anchor="LIST AUDIO_OUTPUT_DEVICES"> |
<section title="Getting all created audio output device list" anchor="LIST AUDIO_OUTPUT_DEVICES" lscp_cmd="true"> |
962 |
<t>Use the following command to list all created audio output devices:</t> |
<t>Use the following command to list all created audio output devices:</t> |
963 |
<t> |
<t> |
964 |
<list> |
<list> |
981 |
</t> |
</t> |
982 |
</section> |
</section> |
983 |
|
|
984 |
<section title="Getting current settings of an audio output device" anchor="GET AUDIO_OUTPUT_DEVICE INFO"> |
<section title="Getting current settings of an audio output device" anchor="GET AUDIO_OUTPUT_DEVICE INFO" lscp_cmd="true"> |
985 |
<t>Use the following command to get current settings of a specific, created audio output device:</t> |
<t>Use the following command to get current settings of a specific, created audio output device:</t> |
986 |
<t> |
<t> |
987 |
<list> |
<list> |
1054 |
</section> |
</section> |
1055 |
|
|
1056 |
|
|
1057 |
<section title="Changing settings of audio output devices" anchor="SET AUDIO_OUTPUT_DEVICE_PARAMETER"> |
<section title="Changing settings of audio output devices" anchor="SET AUDIO_OUTPUT_DEVICE_PARAMETER" lscp_cmd="true"> |
1058 |
<t>Use the following command to alter a specific setting of a created audio output device:</t> |
<t>Use the following command to alter a specific setting of a created audio output device:</t> |
1059 |
<t> |
<t> |
1060 |
<list> |
<list> |
1099 |
</t> |
</t> |
1100 |
</section> |
</section> |
1101 |
|
|
1102 |
<section title="Getting information about an audio channel" anchor="GET AUDIO_OUTPUT_CHANNEL INFO"> |
<section title="Getting information about an audio channel" anchor="GET AUDIO_OUTPUT_CHANNEL INFO" lscp_cmd="true"> |
1103 |
<t>Use the following command to get information about an audio channel:</t> |
<t>Use the following command to get information about an audio channel:</t> |
1104 |
<t> |
<t> |
1105 |
<list> |
<list> |
1199 |
</t> |
</t> |
1200 |
</section> |
</section> |
1201 |
|
|
1202 |
<section title="Getting information about specific audio channel parameter" anchor="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"> |
<section title="Getting information about specific audio channel parameter" anchor="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO" lscp_cmd="true"> |
1203 |
<t>Use the following command to get detailed information about specific audio channel parameter:</t> |
<t>Use the following command to get detailed information about specific audio channel parameter:</t> |
1204 |
|
|
1205 |
<t> |
<t> |
1305 |
</t> |
</t> |
1306 |
</section> |
</section> |
1307 |
|
|
1308 |
<section title="Changing settings of audio output channels" anchor="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"> |
<section title="Changing settings of audio output channels" anchor="SET AUDIO_OUTPUT_CHANNEL_PARAMETER" lscp_cmd="true"> |
1309 |
<t>Use the following command to alter a specific setting of an audio output channel:</t> |
<t>Use the following command to alter a specific setting of an audio output channel:</t> |
1310 |
<t> |
<t> |
1311 |
<list> |
<list> |
1383 |
showing how to retrieve what parameters drivers are offering, how to retrieve their |
showing how to retrieve what parameters drivers are offering, how to retrieve their |
1384 |
possible values, etc.</t> |
possible values, etc.</t> |
1385 |
|
|
1386 |
<section title="Getting amount of available MIDI input drivers" anchor="GET AVAILABLE_MIDI_INPUT_DRIVERS"> |
<section title="Getting amount of available MIDI input drivers" anchor="GET AVAILABLE_MIDI_INPUT_DRIVERS" lscp_cmd="true"> |
1387 |
<t>Use the following command to get the number of |
<t>Use the following command to get the number of |
1388 |
MIDI input drivers currently available for the |
MIDI input drivers currently available for the |
1389 |
LinuxSampler instance:</t> |
LinuxSampler instance:</t> |
1408 |
</t> |
</t> |
1409 |
</section> |
</section> |
1410 |
|
|
1411 |
<section title="Getting all available MIDI input drivers" anchor="LIST AVAILABLE_MIDI_INPUT_DRIVERS"> |
<section title="Getting all available MIDI input drivers" anchor="LIST AVAILABLE_MIDI_INPUT_DRIVERS" lscp_cmd="true"> |
1412 |
<t>Use the following command to list all MIDI input drivers currently available |
<t>Use the following command to list all MIDI input drivers currently available |
1413 |
for the LinuxSampler instance:</t> |
for the LinuxSampler instance:</t> |
1414 |
<t> |
<t> |
1432 |
</t> |
</t> |
1433 |
</section> |
</section> |
1434 |
|
|
1435 |
<section title="Getting information about a specific MIDI input driver" anchor="GET MIDI_INPUT_DRIVER INFO"> |
<section title="Getting information about a specific MIDI input driver" anchor="GET MIDI_INPUT_DRIVER INFO" lscp_cmd="true"> |
1436 |
<t>Use the following command to get detailed information about a specific MIDI input driver:</t> |
<t>Use the following command to get detailed information about a specific MIDI input driver:</t> |
1437 |
<t> |
<t> |
1438 |
<list> |
<list> |
1488 |
</t> |
</t> |
1489 |
</section> |
</section> |
1490 |
|
|
1491 |
<section title="Getting information about specific MIDI input driver parameter" anchor="GET MIDI_INPUT_DRIVER_PARAMETER INFO"> |
<section title="Getting information about specific MIDI input driver parameter" anchor="GET MIDI_INPUT_DRIVER_PARAMETER INFO" lscp_cmd="true"> |
1492 |
<t>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver:</t> |
<t>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver:</t> |
1493 |
<t> |
<t> |
1494 |
<list> |
<list> |
1643 |
</t> |
</t> |
1644 |
</section> |
</section> |
1645 |
|
|
1646 |
<section title="Creating a MIDI input device" anchor="CREATE MIDI_INPUT_DEVICE"> |
<section title="Creating a MIDI input device" anchor="CREATE MIDI_INPUT_DEVICE" lscp_cmd="true"> |
1647 |
<t>Use the following command to create a new MIDI input device for the desired MIDI input system:</t> |
<t>Use the following command to create a new MIDI input device for the desired MIDI input system:</t> |
1648 |
<t> |
<t> |
1649 |
<list> |
<list> |
1693 |
</t> |
</t> |
1694 |
</section> |
</section> |
1695 |
|
|
1696 |
<section title="Destroying a MIDI input device" anchor="DESTROY MIDI_INPUT_DEVICE"> |
<section title="Destroying a MIDI input device" anchor="DESTROY MIDI_INPUT_DEVICE" lscp_cmd="true"> |
1697 |
<t>Use the following command to destroy a created MIDI input device:</t> |
<t>Use the following command to destroy a created MIDI input device:</t> |
1698 |
<t> |
<t> |
1699 |
<list> |
<list> |
1735 |
</t> |
</t> |
1736 |
</section> |
</section> |
1737 |
|
|
1738 |
<section title="Getting all created MIDI input device count" anchor="GET MIDI_INPUT_DEVICES"> |
<section title="Getting all created MIDI input device count" anchor="GET MIDI_INPUT_DEVICES" lscp_cmd="true"> |
1739 |
<t>Use the following command to count all created MIDI input devices:</t> |
<t>Use the following command to count all created MIDI input devices:</t> |
1740 |
<t> |
<t> |
1741 |
<list> |
<list> |
1759 |
</section> |
</section> |
1760 |
|
|
1761 |
|
|
1762 |
<section title="Getting all created MIDI input device list" anchor="LIST MIDI_INPUT_DEVICES"> |
<section title="Getting all created MIDI input device list" anchor="LIST MIDI_INPUT_DEVICES" lscp_cmd="true"> |
1763 |
<t>Use the following command to list all created MIDI input devices:</t> |
<t>Use the following command to list all created MIDI input devices:</t> |
1764 |
<t> |
<t> |
1765 |
<list> |
<list> |
1788 |
</t> |
</t> |
1789 |
</section> |
</section> |
1790 |
|
|
1791 |
<section title="Getting current settings of a MIDI input device" anchor="GET MIDI_INPUT_DEVICE INFO"> |
<section title="Getting current settings of a MIDI input device" anchor="GET MIDI_INPUT_DEVICE INFO" lscp_cmd="true"> |
1792 |
<t>Use the following command to get current settings of a specific, created MIDI input device:</t> |
<t>Use the following command to get current settings of a specific, created MIDI input device:</t> |
1793 |
<t> |
<t> |
1794 |
<list> |
<list> |
1854 |
</t> |
</t> |
1855 |
</section> |
</section> |
1856 |
|
|
1857 |
<section title="Changing settings of MIDI input devices" anchor="SET MIDI_INPUT_DEVICE_PARAMETER"> |
<section title="Changing settings of MIDI input devices" anchor="SET MIDI_INPUT_DEVICE_PARAMETER" lscp_cmd="true"> |
1858 |
<t>Use the following command to alter a specific setting of a created MIDI input device:</t> |
<t>Use the following command to alter a specific setting of a created MIDI input device:</t> |
1859 |
<t> |
<t> |
1860 |
<list> |
<list> |
1900 |
</t> |
</t> |
1901 |
</section> |
</section> |
1902 |
|
|
1903 |
<section title="Getting information about a MIDI port" anchor="GET MIDI_INPUT_PORT INFO"> |
<section title="Getting information about a MIDI port" anchor="GET MIDI_INPUT_PORT INFO" lscp_cmd="true"> |
1904 |
<t>Use the following command to get information about a MIDI port:</t> |
<t>Use the following command to get information about a MIDI port:</t> |
1905 |
<t> |
<t> |
1906 |
<list> |
<list> |
1944 |
</t> |
</t> |
1945 |
</section> |
</section> |
1946 |
|
|
1947 |
<section title="Getting information about specific MIDI port parameter" anchor="GET MIDI_INPUT_PORT_PARAMETER INFO"> |
<section title="Getting information about specific MIDI port parameter" anchor="GET MIDI_INPUT_PORT_PARAMETER INFO" lscp_cmd="true"> |
1948 |
<t>Use the following command to get detailed information about specific MIDI port parameter:</t> |
<t>Use the following command to get detailed information about specific MIDI port parameter:</t> |
1949 |
<t> |
<t> |
1950 |
<list> |
<list> |
2049 |
</t> |
</t> |
2050 |
</section> |
</section> |
2051 |
|
|
2052 |
<section title="Changing settings of MIDI input ports" anchor="SET MIDI_INPUT_PORT_PARAMETER"> |
<section title="Changing settings of MIDI input ports" anchor="SET MIDI_INPUT_PORT_PARAMETER" lscp_cmd="true"> |
2053 |
<t>Use the following command to alter a specific setting of a MIDI input port:</t> |
<t>Use the following command to alter a specific setting of a MIDI input port:</t> |
2054 |
<t> |
<t> |
2055 |
<list> |
<list> |
2109 |
sampler channel with a sampler engine, load instruments and connect sampler channels to |
sampler channel with a sampler engine, load instruments and connect sampler channels to |
2110 |
MIDI and audio devices.</t> |
MIDI and audio devices.</t> |
2111 |
|
|
2112 |
<section title="Loading an instrument" anchor="LOAD INSTRUMENT"> |
<section title="Loading an instrument" anchor="LOAD INSTRUMENT" lscp_cmd="true"> |
2113 |
<t>An instrument file can be loaded and assigned to a sampler channel by one of the following commands:</t> |
<t>An instrument file can be loaded and assigned to a sampler channel by one of the following commands:</t> |
2114 |
<t> |
<t> |
2115 |
<list> |
<list> |
2164 |
</t> |
</t> |
2165 |
</list> |
</list> |
2166 |
</t> |
</t> |
2167 |
<t>Example:</t> |
<t>Example (Unix):</t> |
2168 |
<t> |
<t> |
2169 |
<list> |
<list> |
2170 |
<t></t> |
<t>C: LOAD INSTRUMENT '/home/joe/gigs/cello.gig' 0 0</t> |
2171 |
|
<t>S: OK</t> |
2172 |
|
</list> |
2173 |
|
</t> |
2174 |
|
<t>Example (Windows):</t> |
2175 |
|
<t> |
2176 |
|
<list> |
2177 |
|
<t>C: LOAD INSTRUMENT 'D:/MySounds/cello.gig' 0 0</t> |
2178 |
|
<t>S: OK</t> |
2179 |
</list> |
</list> |
2180 |
</t> |
</t> |
2181 |
</section> |
</section> |
2235 |
</t> |
</t> |
2236 |
</section> |
</section> |
2237 |
|
|
2238 |
<section title="Getting all created sampler channel count" anchor="GET CHANNELS"> |
<section title="Getting all created sampler channel count" anchor="GET CHANNELS" lscp_cmd="true"> |
2239 |
<t>The number of sampler channels can change on runtime. To get the |
<t>The number of sampler channels can change on runtime. To get the |
2240 |
current amount of sampler channels, the front-end can send the |
current amount of sampler channels, the front-end can send the |
2241 |
following command:</t> |
following command:</t> |
2259 |
</t> |
</t> |
2260 |
</section> |
</section> |
2261 |
|
|
2262 |
<section title="Getting all created sampler channel list" anchor="LIST CHANNELS"> |
<section title="Getting all created sampler channel list" anchor="LIST CHANNELS" lscp_cmd="true"> |
2263 |
<t>The number of sampler channels can change on runtime. To get the |
<t>The number of sampler channels can change on runtime. To get the |
2264 |
current list of sampler channels, the front-end can send the |
current list of sampler channels, the front-end can send the |
2265 |
following command:</t> |
following command:</t> |
2284 |
</t> |
</t> |
2285 |
</section> |
</section> |
2286 |
|
|
2287 |
<section title="Adding a new sampler channel" anchor="ADD CHANNEL"> |
<section title="Adding a new sampler channel" anchor="ADD CHANNEL" lscp_cmd="true"> |
2288 |
<t>A new sampler channel can be added to the end of the sampler |
<t>A new sampler channel can be added to the end of the sampler |
2289 |
channel list by sending the following command:</t> |
channel list by sending the following command:</t> |
2290 |
<t> |
<t> |
2336 |
</t> |
</t> |
2337 |
</section> |
</section> |
2338 |
|
|
2339 |
<section title="Removing a sampler channel" anchor="REMOVE CHANNEL"> |
<section title="Removing a sampler channel" anchor="REMOVE CHANNEL" lscp_cmd="true"> |
2340 |
<t>A sampler channel can be removed by sending the following command:</t> |
<t>A sampler channel can be removed by sending the following command:</t> |
2341 |
<t> |
<t> |
2342 |
<list> |
<list> |
2382 |
</t> |
</t> |
2383 |
</section> |
</section> |
2384 |
|
|
2385 |
<section title="Getting amount of available engines" anchor="GET AVAILABLE_ENGINES"> |
<section title="Getting amount of available engines" anchor="GET AVAILABLE_ENGINES" lscp_cmd="true"> |
2386 |
<t>The front-end can ask for the number of available engines by sending the following command:</t> |
<t>The front-end can ask for the number of available engines by sending the following command:</t> |
2387 |
<t> |
<t> |
2388 |
<list> |
<list> |
2404 |
</t> |
</t> |
2405 |
</section> |
</section> |
2406 |
|
|
2407 |
<section title="Getting all available engines" anchor="LIST AVAILABLE_ENGINES"> |
<section title="Getting all available engines" anchor="LIST AVAILABLE_ENGINES" lscp_cmd="true"> |
2408 |
<t>The front-end can ask for a list of all available engines by sending the following command:</t> |
<t>The front-end can ask for a list of all available engines by sending the following command:</t> |
2409 |
<t> |
<t> |
2410 |
<list> |
<list> |
2424 |
<t> |
<t> |
2425 |
<list> |
<list> |
2426 |
<t>C: "LIST AVAILABLE_ENGINES"</t> |
<t>C: "LIST AVAILABLE_ENGINES"</t> |
2427 |
<t>S: "'GigEngine','AkaiEngine','DLSEngine','JoesCustomEngine'"</t> |
<t>S: "'gig','sfz','sf2'"</t> |
2428 |
</list> |
</list> |
2429 |
</t> |
</t> |
2430 |
</section> |
</section> |
2431 |
|
|
2432 |
<section title="Getting information about an engine" anchor="GET ENGINE INFO"> |
<section title="Getting information about an engine" anchor="GET ENGINE INFO" lscp_cmd="true"> |
2433 |
<t>The front-end can ask for information about a specific engine by |
<t>The front-end can ask for information about a specific engine by |
2434 |
sending the following command:</t> |
sending the following command:</t> |
2435 |
<t> |
<t> |
2453 |
<list> |
<list> |
2454 |
<t>DESCRIPTION - |
<t>DESCRIPTION - |
2455 |
<list> |
<list> |
2456 |
<t>arbitrary description text about the engine</t> |
<t>arbitrary description text about the engine |
2457 |
|
(note that the character string may contain |
2458 |
|
<xref target="character_set">escape sequences</xref>)</t> |
2459 |
</list> |
</list> |
2460 |
</t> |
</t> |
2461 |
<t>VERSION - |
<t>VERSION - |
2470 |
|
|
2471 |
<t>The mentioned fields above don't have to be in particular order.</t> |
<t>The mentioned fields above don't have to be in particular order.</t> |
2472 |
|
|
2473 |
<t>Example:</t> |
<t>Examples:</t> |
2474 |
<t> |
<t> |
2475 |
<list> |
<list> |
2476 |
<t>C: "GET ENGINE INFO JoesCustomEngine"</t> |
<t>C: "GET ENGINE INFO gig"</t> |
2477 |
<t>S: "DESCRIPTION: this is Joe's custom sampler engine"</t> |
<t>S: "DESCRIPTION: GigaSampler Format Engine"</t> |
2478 |
<t> "VERSION: testing-1.0"</t> |
<t> "VERSION: 1.110"</t> |
2479 |
|
<t> "."</t> |
2480 |
|
<t>C: "GET ENGINE INFO sf2"</t> |
2481 |
|
<t>S: "DESCRIPTION: SoundFont Format Engine"</t> |
2482 |
|
<t> "VERSION: 1.4"</t> |
2483 |
|
<t> "."</t> |
2484 |
|
<t>C: "GET ENGINE INFO sfz"</t> |
2485 |
|
<t>S: "DESCRIPTION: SFZ Format Engine"</t> |
2486 |
|
<t> "VERSION: 1.11"</t> |
2487 |
<t> "."</t> |
<t> "."</t> |
2488 |
</list> |
</list> |
2489 |
</t> |
</t> |
2490 |
</section> |
</section> |
2491 |
|
|
2492 |
<section title="Getting sampler channel information" anchor="GET CHANNEL INFO"> |
<section title="Getting sampler channel information" anchor="GET CHANNEL INFO" lscp_cmd="true"> |
2493 |
<t>The front-end can ask for the current settings of a sampler channel |
<t>The front-end can ask for the current settings of a sampler channel |
2494 |
by sending the following command:</t> |
by sending the following command:</t> |
2495 |
<t> |
<t> |
2522 |
<list> |
<list> |
2523 |
<t>numerical ID of the audio output device which is |
<t>numerical ID of the audio output device which is |
2524 |
currently connected to this sampler channel to output |
currently connected to this sampler channel to output |
2525 |
the audio signal, "NONE" if there's no device |
the audio signal, "-1" if there's no device |
2526 |
connected to this sampler channel</t> |
connected to this sampler channel</t> |
2527 |
</list> |
</list> |
2528 |
</t> |
</t> |
2547 |
<list> |
<list> |
2548 |
<t>the file name of the loaded instrument, "NONE" if |
<t>the file name of the loaded instrument, "NONE" if |
2549 |
there's no instrument yet loaded for this sampler |
there's no instrument yet loaded for this sampler |
2550 |
channel</t> |
channel (note: since LSCP 1.2 this path may contain |
2551 |
|
<xref target="character_set">escape sequences</xref>)</t> |
2552 |
</list> |
</list> |
2553 |
</t> |
</t> |
2554 |
<t>INSTRUMENT_NR - |
<t>INSTRUMENT_NR - |
2555 |
<list> |
<list> |
2556 |
<t>the instrument index number of the loaded instrument</t> |
<t>the instrument index number of the loaded instrument, |
2557 |
|
"-1" if there's no instrument loaded for this sampler |
2558 |
|
channel</t> |
2559 |
</list> |
</list> |
2560 |
</t> |
</t> |
2561 |
<t>INSTRUMENT_NAME - |
<t>INSTRUMENT_NAME - |
2562 |
<list> |
<list> |
2563 |
<t>the instrument name of the loaded instrument</t> |
<t>the instrument name of the loaded instrument |
2564 |
|
(note: since LSCP 1.2 this character string may contain |
2565 |
|
<xref target="character_set">escape sequences</xref>)</t> |
2566 |
</list> |
</list> |
2567 |
</t> |
</t> |
2568 |
<t>INSTRUMENT_STATUS - |
<t>INSTRUMENT_STATUS - |
2569 |
<list> |
<list> |
2570 |
<t>integer values 0 to 100 indicating loading progress percentage for the instrument. Negative |
<t>Integer values 0 to 100 indicating loading progress |
2571 |
value indicates a loading exception. Value of 100 indicates that the instrument is fully |
percentage for the instrument. Negative |
2572 |
|
value indicates a loading exception (also returns "-1" in case no |
2573 |
|
instrument was yet to be loaded on the sampler channel). |
2574 |
|
Value of 100 indicates that the instrument is fully |
2575 |
loaded.</t> |
loaded.</t> |
2576 |
</list> |
</list> |
2577 |
</t> |
</t> |
2578 |
<t>MIDI_INPUT_DEVICE - |
<t>MIDI_INPUT_DEVICE - |
2579 |
<list> |
<list> |
2580 |
|
<t>DEPRECATED: THIS FIELD WILL DISAPPEAR!</t> |
2581 |
<t>numerical ID of the MIDI input device which is |
<t>numerical ID of the MIDI input device which is |
2582 |
currently connected to this sampler channel to deliver |
currently connected to this sampler channel to deliver |
2583 |
MIDI input commands, "NONE" if there's no device |
MIDI input commands, "-1" if there's no device |
2584 |
connected to this sampler channel</t> |
connected to this sampler channel</t> |
2585 |
|
<t>Should not be used anymore as of LSCP v1.6 and younger. |
2586 |
|
This field is currently only preserved for backward compatibility. |
2587 |
|
</t> |
2588 |
|
<t>This field a relict from times where only one MIDI input per |
2589 |
|
sampler channel was allowed. Use <xref target="LIST CHANNEL MIDI_INPUTS">"GET CHANNEL MIDI_INPUTS"</xref> |
2590 |
|
instead.</t> |
2591 |
</list> |
</list> |
2592 |
</t> |
</t> |
2593 |
<t>MIDI_INPUT_PORT - |
<t>MIDI_INPUT_PORT - |
2594 |
<list> |
<list> |
2595 |
<t>port number of the MIDI input device</t> |
<t>DEPRECATED: THIS FIELD WILL DISAPPEAR!</t> |
2596 |
|
<t>port number of the MIDI input device (in case a |
2597 |
|
MIDI device was already assigned to the sampler |
2598 |
|
channel)</t> |
2599 |
|
<t>Should not be used anymore as of LSCP v1.6 and younger. |
2600 |
|
This field is currently only preserved for backward compatibility. |
2601 |
|
</t> |
2602 |
|
<t>This field a relict from times where only one MIDI input per |
2603 |
|
sampler channel was allowed. Use <xref target="LIST CHANNEL MIDI_INPUTS">"GET CHANNEL MIDI_INPUTS"</xref> |
2604 |
|
instead.</t> |
2605 |
</list> |
</list> |
2606 |
</t> |
</t> |
2607 |
<t>MIDI_INPUT_CHANNEL - |
<t>MIDI_INPUT_CHANNEL - |
2650 |
<t> |
<t> |
2651 |
<list> |
<list> |
2652 |
<t>C: "GET CHANNEL INFO 34"</t> |
<t>C: "GET CHANNEL INFO 34"</t> |
2653 |
<t>S: "ENGINE_NAME: GigEngine"</t> |
<t>S: "ENGINE_NAME: gig"</t> |
2654 |
<t> "VOLUME: 1.0"</t> |
<t> "VOLUME: 1.0"</t> |
2655 |
<t> "AUDIO_OUTPUT_DEVICE: 0"</t> |
<t> "AUDIO_OUTPUT_DEVICE: 0"</t> |
2656 |
<t> "AUDIO_OUTPUT_CHANNELS: 2"</t> |
<t> "AUDIO_OUTPUT_CHANNELS: 2"</t> |
2671 |
</t> |
</t> |
2672 |
</section> |
</section> |
2673 |
|
|
2674 |
<section title="Current number of active voices" anchor="GET CHANNEL VOICE_COUNT"> |
<section title="Current number of active voices" anchor="GET CHANNEL VOICE_COUNT" lscp_cmd="true"> |
2675 |
<t>The front-end can ask for the current number of active voices on a |
<t>The front-end can ask for the current number of active voices on a |
2676 |
sampler channel by sending the following command:</t> |
sampler channel by sending the following command:</t> |
2677 |
<t> |
<t> |
2698 |
</t> |
</t> |
2699 |
</section> |
</section> |
2700 |
|
|
2701 |
<section title="Current number of active disk streams" anchor="GET CHANNEL STREAM_COUNT"> |
<section title="Current number of active disk streams" anchor="GET CHANNEL STREAM_COUNT" lscp_cmd="true"> |
2702 |
<t>The front-end can ask for the current number of active disk streams |
<t>The front-end can ask for the current number of active disk streams |
2703 |
on a sampler channel by sending the following command:</t> |
on a sampler channel by sending the following command:</t> |
2704 |
<t> |
<t> |
2727 |
</t> |
</t> |
2728 |
</section> |
</section> |
2729 |
|
|
2730 |
<section title="Current fill state of disk stream buffers" anchor="GET CHANNEL BUFFER_FILL"> |
<section title="Current fill state of disk stream buffers" anchor="GET CHANNEL BUFFER_FILL" lscp_cmd="true"> |
2731 |
<t>The front-end can ask for the current fill state of all disk streams |
<t>The front-end can ask for the current fill state of all disk streams |
2732 |
on a sampler channel by sending the following command:</t> |
on a sampler channel by sending the following command:</t> |
2733 |
<t> |
<t> |
2780 |
</t> |
</t> |
2781 |
</section> |
</section> |
2782 |
|
|
2783 |
<section title="Setting audio output device" anchor="SET CHANNEL AUDIO_OUTPUT_DEVICE"> |
<section title="Setting audio output device" anchor="SET CHANNEL AUDIO_OUTPUT_DEVICE" lscp_cmd="true"> |
2784 |
<t>The front-end can set the audio output device on a specific sampler |
<t>The front-end can set the audio output device on a specific sampler |
2785 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
2786 |
<t> |
<t> |
2826 |
</t> |
</t> |
2827 |
</section> |
</section> |
2828 |
|
|
2829 |
<section title="Setting audio output type" anchor="SET CHANNEL AUDIO_OUTPUT_TYPE"> |
<section title="Setting audio output type" anchor="SET CHANNEL AUDIO_OUTPUT_TYPE" lscp_cmd="true"> |
2830 |
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!</t> |
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR!</t> |
2831 |
|
|
2832 |
<t>The front-end can alter the audio output type on a specific sampler |
<t>The front-end can alter the audio output type on a specific sampler |
2833 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
2867 |
<t></t> |
<t></t> |
2868 |
</list> |
</list> |
2869 |
</t> |
</t> |
2870 |
|
<t>Deprecated:</t> |
2871 |
|
<t> |
2872 |
|
<list> |
2873 |
|
<t>Should not be used anymore. This command is currently only preserved for backward compatibility.</t> |
2874 |
|
<t>This command is a relict from times where there was no sophisticated driver management yet. Use <xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> and <xref target="SET CHANNEL AUDIO_OUTPUT_DEVICE">"SET CHANNEL AUDIO_OUTPUT_DEVICE"</xref> instead.</t> |
2875 |
|
</list> |
2876 |
|
</t> |
2877 |
</section> |
</section> |
2878 |
|
|
2879 |
<section title="Setting audio output channel" anchor="SET CHANNEL AUDIO_OUTPUT_CHANNEL"> |
<section title="Setting audio output channel" anchor="SET CHANNEL AUDIO_OUTPUT_CHANNEL" lscp_cmd="true"> |
2880 |
<t>The front-end can alter the audio output channel on a specific |
<t>The front-end can alter the audio output channel on a specific |
2881 |
sampler channel by sending the following command:</t> |
sampler channel by sending the following command:</t> |
2882 |
<t> |
<t> |
2921 |
</t> |
</t> |
2922 |
</section> |
</section> |
2923 |
|
|
2924 |
<section title="Setting MIDI input device" anchor="SET CHANNEL MIDI_INPUT_DEVICE"> |
<section title="Add MIDI input to sampler channel" anchor="ADD CHANNEL MIDI_INPUT" lscp_cmd="true"> |
2925 |
|
<t>The front-end can add a MIDI input on a specific sampler |
2926 |
|
channel by sending the following command:</t> |
2927 |
|
<t> |
2928 |
|
<list> |
2929 |
|
<t>ADD CHANNEL MIDI_INPUT <sampler-channel> <midi-device-id> [<midi-input-port>]</t> |
2930 |
|
</list> |
2931 |
|
</t> |
2932 |
|
<t>Where <sampler-channel> is the sampler channel number |
2933 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
2934 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command |
2935 |
|
and <midi-device-id> is the numerical ID of the MIDI input |
2936 |
|
device as returned by the |
2937 |
|
<xref target="CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"</xref> |
2938 |
|
or <xref target="LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"</xref> command, |
2939 |
|
and <midi-input-port> is an optional MIDI input port number of that |
2940 |
|
MIDI input device. If <midi-input-port> is omitted, |
2941 |
|
then the MIDI input device's first port (port number 0) is |
2942 |
|
used. |
2943 |
|
</t> |
2944 |
|
|
2945 |
|
<t>Possible Answers:</t> |
2946 |
|
<t> |
2947 |
|
<list> |
2948 |
|
<t>"OK" - |
2949 |
|
<list> |
2950 |
|
<t>on success</t> |
2951 |
|
</list> |
2952 |
|
</t> |
2953 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
2954 |
|
<list> |
2955 |
|
<t>if MIDI input port was connected, but there are noteworthy |
2956 |
|
issue(s) related, providing an appropriate warning code and |
2957 |
|
warning message</t> |
2958 |
|
</list> |
2959 |
|
</t> |
2960 |
|
<t>"ERR:<error-code>:<error-message>" - |
2961 |
|
<list> |
2962 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
2963 |
|
</list> |
2964 |
|
</t> |
2965 |
|
</list> |
2966 |
|
</t> |
2967 |
|
<t>Examples:</t> |
2968 |
|
<t> |
2969 |
|
<list> |
2970 |
|
<t>C: "ADD CHANNEL MIDI_INPUT 0 0"</t> |
2971 |
|
<t>S: "OK"</t> |
2972 |
|
<t>C: "ADD CHANNEL MIDI_INPUT 1 0"</t> |
2973 |
|
<t>S: "OK"</t> |
2974 |
|
<t>C: "ADD CHANNEL MIDI_INPUT 1 1 1"</t> |
2975 |
|
<t>S: "OK"</t> |
2976 |
|
<t>C: "ADD CHANNEL MIDI_INPUT 1 2 0"</t> |
2977 |
|
<t>S: "OK"</t> |
2978 |
|
</list> |
2979 |
|
</t> |
2980 |
|
<t>Since:</t> |
2981 |
|
<t> |
2982 |
|
<list> |
2983 |
|
<t>Introduced with LSCP v1.6</t> |
2984 |
|
</list> |
2985 |
|
</t> |
2986 |
|
</section> |
2987 |
|
|
2988 |
|
<section title="Remove MIDI input(s) from sampler channel" anchor="REMOVE CHANNEL MIDI_INPUT" lscp_cmd="true"> |
2989 |
|
<t>The front-end can remove one ore more MIDI input(s) on a |
2990 |
|
specific sampler channel by sending the following command:</t> |
2991 |
|
<t> |
2992 |
|
<list> |
2993 |
|
<t>REMOVE CHANNEL MIDI_INPUT <sampler-channel> [<midi-device-id> [<midi-input-port>]]</t> |
2994 |
|
</list> |
2995 |
|
</t> |
2996 |
|
<t>Where <sampler-channel> is the sampler channel number |
2997 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
2998 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command |
2999 |
|
and <midi-device-id> and <midi-input-port> are |
3000 |
|
optional numerical IDs defining the MIDI input device and |
3001 |
|
one of its MIDI ports as returned by the |
3002 |
|
<xref target="LIST CHANNEL MIDI_INPUTS">"LIST CHANNEL MIDI_INPUTS"</xref> command. |
3003 |
|
</t> |
3004 |
|
|
3005 |
|
<t> |
3006 |
|
If <midi-input-port> is omitted, then all MIDI input |
3007 |
|
ports of <midi-device-id> are disconnected from this |
3008 |
|
sampler channel. |
3009 |
|
</t> |
3010 |
|
|
3011 |
|
<t> |
3012 |
|
If both, <midi-device-id> and <midi-input-port> |
3013 |
|
are omitted, then all MIDI input ports currently connected |
3014 |
|
to this sampler channel are disconnected from this sampler |
3015 |
|
channel. |
3016 |
|
</t> |
3017 |
|
|
3018 |
|
<t>Possible Answers:</t> |
3019 |
|
<t> |
3020 |
|
<list> |
3021 |
|
<t>"OK" - |
3022 |
|
<list> |
3023 |
|
<t>on success</t> |
3024 |
|
</list> |
3025 |
|
</t> |
3026 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
3027 |
|
<list> |
3028 |
|
<t>if MIDI input porst were disconnected, but there are noteworthy |
3029 |
|
issue(s) related, providing an appropriate warning code and |
3030 |
|
warning message</t> |
3031 |
|
</list> |
3032 |
|
</t> |
3033 |
|
<t>"ERR:<error-code>:<error-message>" - |
3034 |
|
<list> |
3035 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
3036 |
|
</list> |
3037 |
|
</t> |
3038 |
|
</list> |
3039 |
|
</t> |
3040 |
|
<t>Examples:</t> |
3041 |
|
<t> |
3042 |
|
<list> |
3043 |
|
<t>C: "REMOVE CHANNEL MIDI_INPUT 0"</t> |
3044 |
|
<t>S: "OK"</t> |
3045 |
|
<t>C: "REMOVE CHANNEL MIDI_INPUT 1"</t> |
3046 |
|
<t>S: "OK"</t> |
3047 |
|
<t>C: "REMOVE CHANNEL MIDI_INPUT 1 2 0"</t> |
3048 |
|
<t>S: "OK"</t> |
3049 |
|
</list> |
3050 |
|
</t> |
3051 |
|
<t>Since:</t> |
3052 |
|
<t> |
3053 |
|
<list> |
3054 |
|
<t>Introduced with LSCP v1.6</t> |
3055 |
|
</list> |
3056 |
|
</t> |
3057 |
|
</section> |
3058 |
|
|
3059 |
|
<section title="Getting all MIDI inputs of a sampler channel" anchor="LIST CHANNEL MIDI_INPUTS" lscp_cmd="true"> |
3060 |
|
<t>The front-end can query a list of all currently connected |
3061 |
|
MIDI inputs of a certain sampler channel by sending the following |
3062 |
|
command:</t> |
3063 |
|
<t> |
3064 |
|
<list> |
3065 |
|
<t>LIST CHANNEL MIDI_INPUTS <sampler-channel></t> |
3066 |
|
</list> |
3067 |
|
</t> |
3068 |
|
<t>Where <sampler-channel> is the sampler channel number |
3069 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
3070 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command. |
3071 |
|
</t> |
3072 |
|
|
3073 |
|
<t>Possible Answers:</t> |
3074 |
|
<t> |
3075 |
|
<list> |
3076 |
|
<t>The sampler will answer by sending a comma separated |
3077 |
|
list of MIDI input device ID - MIDI input port number pairs, where |
3078 |
|
each pair is encapsulated into curly braces. The |
3079 |
|
list is returned in one single line. The MIDI input |
3080 |
|
device ID corresponds to the number returned by |
3081 |
|
<xref target="LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"</xref> |
3082 |
|
and the port number is the index of the respective MIDI |
3083 |
|
port of that MIDI input device.</t> |
3084 |
|
</list> |
3085 |
|
</t> |
3086 |
|
|
3087 |
|
<t>Example:</t> |
3088 |
|
<t> |
3089 |
|
<list> |
3090 |
|
<t>C: "LIST CHANNEL MIDI_INPUTS 0"</t> |
3091 |
|
<t>S: "{0,0},{1,3},{2,0}"</t> |
3092 |
|
</list> |
3093 |
|
</t> |
3094 |
|
|
3095 |
|
<t>Since:</t> |
3096 |
|
<t> |
3097 |
|
<list> |
3098 |
|
<t>Introduced with LSCP v1.6</t> |
3099 |
|
</list> |
3100 |
|
</t> |
3101 |
|
</section> |
3102 |
|
|
3103 |
|
<section title="Setting MIDI input device" anchor="SET CHANNEL MIDI_INPUT_DEVICE" lscp_cmd="true"> |
3104 |
|
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR!</t> |
3105 |
|
|
3106 |
<t>The front-end can set the MIDI input device on a specific sampler |
<t>The front-end can set the MIDI input device on a specific sampler |
3107 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
3108 |
<t> |
<t> |
3117 |
<xref target="CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"</xref> |
<xref target="CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"</xref> |
3118 |
or <xref target="LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"</xref> command.</t> |
or <xref target="LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"</xref> command.</t> |
3119 |
|
|
3120 |
|
<t> |
3121 |
|
If more than 1 MIDI inputs are currently connected to this |
3122 |
|
sampler channel: Sending this command will disconnect ALL |
3123 |
|
currently connected MIDI input ports connected to this |
3124 |
|
sampler channel before establishing the new MIDI input |
3125 |
|
connection. So this command does NOT add the connection, |
3126 |
|
it replaces all existing ones instead. This behavior is due |
3127 |
|
to preserving full behavior backward compatibility. |
3128 |
|
</t> |
3129 |
|
|
3130 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
3131 |
<t> |
<t> |
3132 |
<list> |
<list> |
3155 |
<t></t> |
<t></t> |
3156 |
</list> |
</list> |
3157 |
</t> |
</t> |
3158 |
|
<t>Deprecated:</t> |
3159 |
|
<t> |
3160 |
|
<list> |
3161 |
|
<t>Should not be used anymore as of LSCP v1.6 and younger. This command is currently only preserved for backward compatibility.</t> |
3162 |
|
<t>This command is a relict from times where only one MIDI input per sampler channel was allowed. Use <xref target="ADD CHANNEL MIDI_INPUT">"ADD CHANNEL MIDI_INPUT"</xref> and <xref target="REMOVE CHANNEL MIDI_INPUT">"REMOVE CHANNEL MIDI_INPUT"</xref> instead.</t> |
3163 |
|
</list> |
3164 |
|
</t> |
3165 |
</section> |
</section> |
3166 |
|
|
3167 |
<section title="Setting MIDI input type" anchor="SET CHANNEL MIDI_INPUT_TYPE"> |
<section title="Setting MIDI input type" anchor="SET CHANNEL MIDI_INPUT_TYPE" lscp_cmd="true"> |
3168 |
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!</t> |
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR!</t> |
3169 |
|
|
3170 |
<t>The front-end can alter the MIDI input type on a specific sampler |
<t>The front-end can alter the MIDI input type on a specific sampler |
3171 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
3177 |
<t>Where <midi-input-type> is currently only "ALSA" and |
<t>Where <midi-input-type> is currently only "ALSA" and |
3178 |
<sampler-channel> is the respective sampler channel number.</t> |
<sampler-channel> is the respective sampler channel number.</t> |
3179 |
|
|
3180 |
|
<t> |
3181 |
|
If more than 1 MIDI inputs are currently connected to this |
3182 |
|
sampler channel: Sending this command will disconnect ALL |
3183 |
|
currently connected MIDI input ports connected to this |
3184 |
|
sampler channel before establishing the new MIDI input |
3185 |
|
connection. So this command does NOT add the connection, |
3186 |
|
it replaces all existing ones instead. This behavior is due |
3187 |
|
to preserving full behavior backward compatibility. |
3188 |
|
</t> |
3189 |
|
|
3190 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
3191 |
<t> |
<t> |
3192 |
<list> |
<list> |
3215 |
<t></t> |
<t></t> |
3216 |
</list> |
</list> |
3217 |
</t> |
</t> |
3218 |
|
<t>Deprecated:</t> |
3219 |
|
<t> |
3220 |
|
<list> |
3221 |
|
<t>Should not be used anymore. This command is currently only preserved for backward compatibility.</t> |
3222 |
|
<t>This command is a relict from times where only 1 MIDI input per sampler channels was allowed and where no sophisticated driver management existed yet. Use <xref target="ADD CHANNEL MIDI_INPUT">"ADD CHANNEL MIDI_INPUT"</xref> and <xref target="REMOVE CHANNEL MIDI_INPUT">"REMOVE CHANNEL MIDI_INPUT"</xref> instead.</t> |
3223 |
|
</list> |
3224 |
|
</t> |
3225 |
</section> |
</section> |
3226 |
|
|
3227 |
<section title="Setting MIDI input port" anchor="SET CHANNEL MIDI_INPUT_PORT"> |
<section title="Setting MIDI input port" anchor="SET CHANNEL MIDI_INPUT_PORT" lscp_cmd="true"> |
3228 |
|
<t>DEPRECATED: THIS COMMAND WILL DISAPPEAR!</t> |
3229 |
|
|
3230 |
<t>The front-end can alter the MIDI input port on a specific sampler |
<t>The front-end can alter the MIDI input port on a specific sampler |
3231 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
3232 |
<t> |
<t> |
3237 |
<t>Where <midi-input-port> is a MIDI input port number of the |
<t>Where <midi-input-port> is a MIDI input port number of the |
3238 |
MIDI input device connected to the sampler channel given by |
MIDI input device connected to the sampler channel given by |
3239 |
<sampler-channel>.</t> |
<sampler-channel>.</t> |
3240 |
|
|
3241 |
|
<t> |
3242 |
|
If more than 1 MIDI inputs are currently connected to this |
3243 |
|
sampler channel: Sending this command will switch the |
3244 |
|
connection of the first (and only the first) MIDI input port |
3245 |
|
currently being connected to this sampler channel, to |
3246 |
|
another port of the same MIDI input device. Or in other |
3247 |
|
words: the first MIDI input port currently connected to |
3248 |
|
this sampler channel will be disconnected, and the requested |
3249 |
|
other port of its MIDI input device will be connected to |
3250 |
|
this sampler channel instead. This behavior is due |
3251 |
|
to preserving full behavior backward compatibility. |
3252 |
|
</t> |
3253 |
|
|
3254 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
3255 |
<t> |
<t> |
3279 |
<t></t> |
<t></t> |
3280 |
</list> |
</list> |
3281 |
</t> |
</t> |
3282 |
|
<t>Deprecated:</t> |
3283 |
|
<t> |
3284 |
|
<list> |
3285 |
|
<t>Should not be used anymore. This command is currently only preserved for backward compatibility.</t> |
3286 |
|
<t>This command is a relict from times where only one MIDI input per sampler channel was allowed. Use <xref target="ADD CHANNEL MIDI_INPUT">"ADD CHANNEL MIDI_INPUT"</xref> and <xref target="REMOVE CHANNEL MIDI_INPUT">"REMOVE CHANNEL MIDI_INPUT"</xref> instead.</t> |
3287 |
|
</list> |
3288 |
|
</t> |
3289 |
</section> |
</section> |
3290 |
|
|
3291 |
<section title="Setting MIDI input channel" anchor="SET CHANNEL MIDI_INPUT_CHANNEL"> |
<section title="Setting MIDI input channel" anchor="SET CHANNEL MIDI_INPUT_CHANNEL" lscp_cmd="true"> |
3292 |
<t>The front-end can alter the MIDI channel a sampler channel should |
<t>The front-end can alter the MIDI channel a sampler channel should |
3293 |
listen to by sending the following command:</t> |
listen to by sending the following command:</t> |
3294 |
<t> |
<t> |
3296 |
<t>SET CHANNEL MIDI_INPUT_CHANNEL <sampler-channel> <midi-input-chan></t> |
<t>SET CHANNEL MIDI_INPUT_CHANNEL <sampler-channel> <midi-input-chan></t> |
3297 |
</list> |
</list> |
3298 |
</t> |
</t> |
3299 |
<t>Where <midi-input-chan> is the number of the new MIDI input channel where |
<t>Where <midi-input-chan> is the number |
3300 |
<sampler-channel> should listen to or "ALL" to listen on all 16 MIDI |
of the new MIDI input channel (zero indexed!) where |
3301 |
|
<sampler-channel> should listen to, or "ALL" to listen on all 16 MIDI |
3302 |
channels.</t> |
channels.</t> |
3303 |
|
|
3304 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
3326 |
<t>Examples:</t> |
<t>Examples:</t> |
3327 |
<t> |
<t> |
3328 |
<list> |
<list> |
3329 |
<t></t> |
<t>C: "SET CHANNEL MIDI_INPUT_CHANNEL 0 0"</t> |
3330 |
|
<t>S: "OK"</t> |
3331 |
|
<t>C: "SET CHANNEL MIDI_INPUT_CHANNEL 1 ALL"</t> |
3332 |
|
<t>S: "OK"</t> |
3333 |
</list> |
</list> |
3334 |
</t> |
</t> |
3335 |
</section> |
</section> |
3336 |
|
|
3337 |
<section title="Setting channel volume" anchor="SET CHANNEL VOLUME"> |
<section title="Setting channel volume" anchor="SET CHANNEL VOLUME" lscp_cmd="true"> |
3338 |
<t>The front-end can alter the volume of a sampler channel by sending |
<t>The front-end can alter the volume of a sampler channel by sending |
3339 |
the following command:</t> |
the following command:</t> |
3340 |
<t> |
<t> |
3377 |
</t> |
</t> |
3378 |
</section> |
</section> |
3379 |
|
|
3380 |
<section title="Muting a sampler channel" anchor="SET CHANNEL MUTE"> |
<section title="Muting a sampler channel" anchor="SET CHANNEL MUTE" lscp_cmd="true"> |
3381 |
<t>The front-end can mute/unmute a specific sampler |
<t>The front-end can mute/unmute a specific sampler |
3382 |
channel by sending the following command:</t> |
channel by sending the following command:</t> |
3383 |
<t> |
<t> |
3421 |
</t> |
</t> |
3422 |
</section> |
</section> |
3423 |
|
|
3424 |
<section title="Soloing a sampler channel" anchor="SET CHANNEL SOLO"> |
<section title="Soloing a sampler channel" anchor="SET CHANNEL SOLO" lscp_cmd="true"> |
3425 |
<t>The front-end can solo/unsolo a specific sampler channel |
<t>The front-end can solo/unsolo a specific sampler channel |
3426 |
by sending the following command:</t> |
by sending the following command:</t> |
3427 |
<t> |
<t> |
3465 |
</t> |
</t> |
3466 |
</section> |
</section> |
3467 |
|
|
3468 |
<section title="Assigning a MIDI instrument map to a sampler channel" anchor="SET CHANNEL MIDI_INSTRUMENT_MAP"> |
<section title="Assigning a MIDI instrument map to a sampler channel" anchor="SET CHANNEL MIDI_INSTRUMENT_MAP" lscp_cmd="true"> |
3469 |
<t>The front-end can assign a MIDI instrument map to a specific sampler channel |
<t>The front-end can assign a MIDI instrument map to a specific sampler channel |
3470 |
by sending the following command:</t> |
by sending the following command:</t> |
3471 |
<t> |
<t> |
3533 |
</t> |
</t> |
3534 |
</section> |
</section> |
3535 |
|
|
3536 |
<section title="Adding an effect send to a sampler channel" anchor="CREATE FX_SEND"> |
<section title="Adding an effect send to a sampler channel" anchor="CREATE FX_SEND" lscp_cmd="true"> |
3537 |
<t>The front-end can create an additional effect send on a specific sampler channel |
<t>The front-end can create an additional effect send on a specific sampler channel |
3538 |
by sending the following command:</t> |
by sending the following command:</t> |
3539 |
<t> |
<t> |
3603 |
</t> |
</t> |
3604 |
</section> |
</section> |
3605 |
|
|
3606 |
<section title="Removing an effect send from a sampler channel" anchor="DESTROY FX_SEND"> |
<section title="Removing an effect send from a sampler channel" anchor="DESTROY FX_SEND" lscp_cmd="true"> |
3607 |
<t>The front-end can remove an existing effect send on a specific sampler channel |
<t>The front-end can remove an existing effect send on a specific sampler channel |
3608 |
by sending the following command:</t> |
by sending the following command:</t> |
3609 |
<t> |
<t> |
3645 |
</t> |
</t> |
3646 |
</section> |
</section> |
3647 |
|
|
3648 |
<section title="Getting amount of effect sends on a sampler channel" anchor="GET FX_SENDS"> |
<section title="Getting amount of effect sends on a sampler channel" anchor="GET FX_SENDS" lscp_cmd="true"> |
3649 |
<t>The front-end can ask for the amount of effect sends on a specific sampler channel |
<t>The front-end can ask for the amount of effect sends on a specific sampler channel |
3650 |
by sending the following command:</t> |
by sending the following command:</t> |
3651 |
<t> |
<t> |
3674 |
</t> |
</t> |
3675 |
</section> |
</section> |
3676 |
|
|
3677 |
<section title="Listing all effect sends on a sampler channel" anchor="LIST FX_SENDS"> |
<section title="Listing all effect sends on a sampler channel" anchor="LIST FX_SENDS" lscp_cmd="true"> |
3678 |
<t>The front-end can ask for a list of effect sends on a specific sampler channel |
<t>The front-end can ask for a list of effect sends on a specific sampler channel |
3679 |
by sending the following command:</t> |
by sending the following command:</t> |
3680 |
<t> |
<t> |
3710 |
</t> |
</t> |
3711 |
</section> |
</section> |
3712 |
|
|
3713 |
<section title="Getting effect send information" anchor="GET FX_SEND INFO"> |
<section title="Getting effect send information" anchor="GET FX_SEND INFO" lscp_cmd="true"> |
3714 |
<t>The front-end can ask for the current settings of an effect send entity |
<t>The front-end can ask for the current settings of an effect send entity |
3715 |
by sending the following command:</t> |
by sending the following command:</t> |
3716 |
<t> |
<t> |
3739 |
<list> |
<list> |
3740 |
<t>NAME - |
<t>NAME - |
3741 |
<list> |
<list> |
3742 |
<t>name of the effect send entity</t> |
<t>name of the effect send entity |
3743 |
|
(note that this character string may contain |
3744 |
|
<xref target="character_set">escape sequences</xref>)</t> |
3745 |
</list> |
</list> |
3746 |
</t> |
</t> |
3747 |
<t>MIDI_CONTROLLER - |
<t>MIDI_CONTROLLER - |
3767 |
channel 1 is routed to the channel 3 of the audio |
channel 1 is routed to the channel 3 of the audio |
3768 |
output device (see |
output device (see |
3769 |
<xref target="SET FX_SEND AUDIO_OUTPUT_CHANNEL">"SET FX_SEND AUDIO_OUTPUT_CHANNEL"</xref> |
<xref target="SET FX_SEND AUDIO_OUTPUT_CHANNEL">"SET FX_SEND AUDIO_OUTPUT_CHANNEL"</xref> |
3770 |
for details)</t> |
for details), if an internal send |
3771 |
|
effect is assigned to the effect |
3772 |
|
send, then this setting defines the |
3773 |
|
audio channel routing to that |
3774 |
|
effect instance respectively</t> |
3775 |
|
</list> |
3776 |
|
</t> |
3777 |
|
<t>EFFECT - |
3778 |
|
<list> |
3779 |
|
<t>destination send effect chain ID |
3780 |
|
and destination effect chain |
3781 |
|
position, separated by comma in the |
3782 |
|
form "<effect-chain>,<chain-pos>" |
3783 |
|
or "NONE" if there is no send effect |
3784 |
|
assigned to the effect send</t> |
3785 |
</list> |
</list> |
3786 |
</t> |
</t> |
3787 |
</list> |
</list> |
3798 |
<t> "MIDI_CONTROLLER: 91"</t> |
<t> "MIDI_CONTROLLER: 91"</t> |
3799 |
<t> "LEVEL: 0.3"</t> |
<t> "LEVEL: 0.3"</t> |
3800 |
<t> "AUDIO_OUTPUT_ROUTING: 2,3"</t> |
<t> "AUDIO_OUTPUT_ROUTING: 2,3"</t> |
3801 |
|
<t> "EFFECT: NONE"</t> |
3802 |
|
<t> "."</t> |
3803 |
|
</list> |
3804 |
|
</t> |
3805 |
|
<t> |
3806 |
|
<list> |
3807 |
|
<t>C: "GET FX_SEND INFO 0 1"</t> |
3808 |
|
<t>S: "NAME: Delay Send (Internal)"</t> |
3809 |
|
<t> "MIDI_CONTROLLER: 93"</t> |
3810 |
|
<t> "LEVEL: 0.51"</t> |
3811 |
|
<t> "AUDIO_OUTPUT_ROUTING: 1,2"</t> |
3812 |
|
<t> "EFFECT: 2,0"</t> |
3813 |
<t> "."</t> |
<t> "."</t> |
3814 |
</list> |
</list> |
3815 |
</t> |
</t> |
3816 |
</section> |
</section> |
3817 |
|
|
3818 |
<section title="Changing effect send's name" anchor="SET FX_SEND NAME"> |
<section title="Changing effect send's name" anchor="SET FX_SEND NAME" lscp_cmd="true"> |
3819 |
<t>The front-end can alter the current name of an effect |
<t>The front-end can alter the current name of an effect |
3820 |
send entity by sending the following command:</t> |
send entity by sending the following command:</t> |
3821 |
<t> |
<t> |
3859 |
</t> |
</t> |
3860 |
</section> |
</section> |
3861 |
|
|
3862 |
<section title="Altering effect send's audio routing" anchor="SET FX_SEND AUDIO_OUTPUT_CHANNEL"> |
<section title="Altering effect send's audio routing" anchor="SET FX_SEND AUDIO_OUTPUT_CHANNEL" lscp_cmd="true"> |
3863 |
<t>The front-end can alter the destination of an effect send's audio channel on a specific |
<t>The front-end can alter the destination of an effect send's audio channel on a specific |
3864 |
sampler channel by sending the following command:</t> |
sampler channel by sending the following command:</t> |
3865 |
<t> |
<t> |
3876 |
<audio-src> is the numerical ID of the effect send's audio channel |
<audio-src> is the numerical ID of the effect send's audio channel |
3877 |
which should be rerouted and <audio-dst> is the numerical ID of |
which should be rerouted and <audio-dst> is the numerical ID of |
3878 |
the audio channel of the selected audio output device where <audio-src> |
the audio channel of the selected audio output device where <audio-src> |
3879 |
should be routed to.</t> |
should be routed to. If an internal send effect is assigned |
3880 |
|
to the effect send, then this setting defines the audio |
3881 |
|
channel routing to that effect instance respectively.</t> |
3882 |
|
|
3883 |
<t>Note that effect sends can only route audio to the same audio output |
<t>Note that effect sends can only route audio to the same audio output |
3884 |
device as assigned to the effect send's sampler channel. Also note that an |
device as assigned to the effect send's sampler channel. Also note that an |
3921 |
</t> |
</t> |
3922 |
</section> |
</section> |
3923 |
|
|
3924 |
<section title="Altering effect send's MIDI controller" anchor="SET FX_SEND MIDI_CONTROLLER"> |
<section title="Assigning destination effect to an effect send" anchor="SET FX_SEND EFFECT" lscp_cmd="true"> |
3925 |
|
<t>The front-end can (re-)assign a destination effect to an |
3926 |
|
effect send by sending the following command:</t> |
3927 |
|
<t> |
3928 |
|
<list> |
3929 |
|
<t>SET FX_SEND EFFECT <sampler-chan> <fx-send-id> <effect-chain> <chain-pos></t> |
3930 |
|
</list> |
3931 |
|
</t> |
3932 |
|
<t>Where <sampler-chan> is the sampler channel number |
3933 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
3934 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, |
3935 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
3936 |
|
as returned by the <xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref> |
3937 |
|
or <xref target="LIST FX_SENDS">"LIST FX_SENDS"</xref> command, |
3938 |
|
<effect-chain> by the numerical ID of the destination |
3939 |
|
effect chain as returned by the |
3940 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
3941 |
|
or |
3942 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
3943 |
|
command and <chain-pos> reflects the exact effect |
3944 |
|
chain position in the effect chain which hosts the actual |
3945 |
|
destination effect.</t> |
3946 |
|
|
3947 |
|
<t>Possible Answers:</t> |
3948 |
|
<t> |
3949 |
|
<list> |
3950 |
|
<t>"OK" - |
3951 |
|
<list> |
3952 |
|
<t>on success</t> |
3953 |
|
</list> |
3954 |
|
</t> |
3955 |
|
<t>"ERR:<error-code>:<error-message>" - |
3956 |
|
<list> |
3957 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
3958 |
|
</list> |
3959 |
|
</t> |
3960 |
|
</list> |
3961 |
|
</t> |
3962 |
|
<t>Example:</t> |
3963 |
|
<t> |
3964 |
|
<list> |
3965 |
|
<t>C: "SET FX_SEND EFFECT 0 0 2 5"</t> |
3966 |
|
<t>S: "OK"</t> |
3967 |
|
</list> |
3968 |
|
</t> |
3969 |
|
</section> |
3970 |
|
|
3971 |
|
<section title="Removing destination effect from an effect send" anchor="REMOVE FX_SEND EFFECT" lscp_cmd="true"> |
3972 |
|
<t>The front-end can (re-)assign a destination effect to an |
3973 |
|
effect send by sending the following command:</t> |
3974 |
|
<t> |
3975 |
|
<list> |
3976 |
|
<t>REMOVE FX_SEND EFFECT <sampler-chan> <fx-send-id></t> |
3977 |
|
</list> |
3978 |
|
</t> |
3979 |
|
<t>Where <sampler-chan> is the sampler channel number |
3980 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
3981 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, |
3982 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
3983 |
|
as returned by the <xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref> |
3984 |
|
or <xref target="LIST FX_SENDS">"LIST FX_SENDS"</xref> command.</t> |
3985 |
|
|
3986 |
|
<t>After the destination effect has been removed from the |
3987 |
|
effect send, the audio signal of the effect send will be |
3988 |
|
routed directly to the audio output device, according to the |
3989 |
|
audio channel routing setting of the effect send. |
3990 |
|
</t> |
3991 |
|
|
3992 |
|
<t>Possible Answers:</t> |
3993 |
|
<t> |
3994 |
|
<list> |
3995 |
|
<t>"OK" - |
3996 |
|
<list> |
3997 |
|
<t>on success</t> |
3998 |
|
</list> |
3999 |
|
</t> |
4000 |
|
<t>"ERR:<error-code>:<error-message>" - |
4001 |
|
<list> |
4002 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4003 |
|
</list> |
4004 |
|
</t> |
4005 |
|
</list> |
4006 |
|
</t> |
4007 |
|
<t>Example:</t> |
4008 |
|
<t> |
4009 |
|
<list> |
4010 |
|
<t>C: "REMOVE FX_SEND EFFECT 0 0"</t> |
4011 |
|
<t>S: "OK"</t> |
4012 |
|
</list> |
4013 |
|
</t> |
4014 |
|
</section> |
4015 |
|
|
4016 |
|
<section title="Altering effect send's MIDI controller" anchor="SET FX_SEND MIDI_CONTROLLER" lscp_cmd="true"> |
4017 |
<t>The front-end can alter the MIDI controller of an effect |
<t>The front-end can alter the MIDI controller of an effect |
4018 |
send entity by sending the following command:</t> |
send entity by sending the following command:</t> |
4019 |
<t> |
<t> |
4061 |
</t> |
</t> |
4062 |
</section> |
</section> |
4063 |
|
|
4064 |
<section title="Altering effect send's send level" anchor="SET FX_SEND LEVEL"> |
<section title="Altering effect send's send level" anchor="SET FX_SEND LEVEL" lscp_cmd="true"> |
4065 |
<t>The front-end can alter the current send level of an effect |
<t>The front-end can alter the current send level of an effect |
4066 |
send entity by sending the following command:</t> |
send entity by sending the following command:</t> |
4067 |
<t> |
<t> |
4110 |
</t> |
</t> |
4111 |
</section> |
</section> |
4112 |
|
|
4113 |
<section title="Resetting a sampler channel" anchor="RESET CHANNEL"> |
<section title="Sending MIDI messages to sampler channel" anchor="SEND CHANNEL MIDI_DATA" lscp_cmd="true"> |
4114 |
|
<t>The front-end can send MIDI events to a specific sampler channel |
4115 |
|
by sending the following command:</t> |
4116 |
|
<t> |
4117 |
|
<list> |
4118 |
|
<t>SEND CHANNEL MIDI_DATA <midi-msg> <sampler-chan> <arg1> <arg2></t> |
4119 |
|
</list> |
4120 |
|
</t> |
4121 |
|
<t>Where <sampler-chan> is the sampler channel number |
4122 |
|
as returned by the <xref target="ADD CHANNEL">"ADD CHANNEL"</xref> |
4123 |
|
or <xref target="LIST CHANNELS">"LIST CHANNELS"</xref> command, |
4124 |
|
<arg1> and <arg2> arguments depend on the <midi-msg> argument, which |
4125 |
|
specifies the MIDI message type. Currently, the following MIDI messages are supported:</t> |
4126 |
|
<t> |
4127 |
|
<list> |
4128 |
|
<t>"NOTE_ON" - |
4129 |
|
<list> |
4130 |
|
<t>For turning on MIDI notes, where <arg1> |
4131 |
|
specifies the key number and <arg2> the velocity |
4132 |
|
as described in the MIDI specification.</t> |
4133 |
|
</list> |
4134 |
|
</t> |
4135 |
|
<t>"NOTE_OFF" - |
4136 |
|
<list> |
4137 |
|
<t>For turning a currently playing MIDI note off, where <arg1> |
4138 |
|
specifies the key number and <arg2> the velocity |
4139 |
|
as described in the MIDI specification.</t> |
4140 |
|
</list> |
4141 |
|
</t> |
4142 |
|
<t>"CC" - |
4143 |
|
<list> |
4144 |
|
<t>For changing a MIDI controller, where <arg1> |
4145 |
|
specifies the controller number and <arg2> the |
4146 |
|
new value of the controller as described in the Control |
4147 |
|
Change section of the MIDI specification.</t> |
4148 |
|
</list> |
4149 |
|
</t> |
4150 |
|
</list> |
4151 |
|
</t> |
4152 |
|
<t>CAUTION: This command is provided for implementations of virtual MIDI keyboards |
4153 |
|
and no realtime guarantee whatsoever will be made!</t> |
4154 |
|
<t>Possible Answers:</t> |
4155 |
|
<t> |
4156 |
|
<list> |
4157 |
|
<t>"OK" - |
4158 |
|
<list> |
4159 |
|
<t>on success</t> |
4160 |
|
</list> |
4161 |
|
</t> |
4162 |
|
<t>"ERR:<error-code>:<error-message>" - |
4163 |
|
<list> |
4164 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4165 |
|
</list> |
4166 |
|
</t> |
4167 |
|
</list> |
4168 |
|
</t> |
4169 |
|
<t>Example:</t> |
4170 |
|
<t> |
4171 |
|
<list> |
4172 |
|
<t>C: "SEND CHANNEL MIDI_DATA NOTE_ON 0 56 112"</t> |
4173 |
|
<t>S: "OK"</t> |
4174 |
|
</list> |
4175 |
|
</t> |
4176 |
|
</section> |
4177 |
|
|
4178 |
|
<section title="Resetting a sampler channel" anchor="RESET CHANNEL" lscp_cmd="true"> |
4179 |
<t>The front-end can reset a particular sampler channel by sending the following command:</t> |
<t>The front-end can reset a particular sampler channel by sending the following command:</t> |
4180 |
<t> |
<t> |
4181 |
<list> |
<list> |
4223 |
<section title="Controlling connection"> |
<section title="Controlling connection"> |
4224 |
<t>The following commands are used to control the connection to LinuxSampler.</t> |
<t>The following commands are used to control the connection to LinuxSampler.</t> |
4225 |
|
|
4226 |
<section title="Register front-end for receiving event messages" anchor="SUBSCRIBE"> |
<section title="Register front-end for receiving event messages" anchor="SUBSCRIBE" lscp_cmd="true"> |
4227 |
<t>The front-end can register itself to the LinuxSampler application to |
<t>The front-end can register itself to the LinuxSampler application to |
4228 |
be informed about noteworthy events by sending this command:</t> |
be informed about noteworthy events by sending this command:</t> |
4229 |
<t> |
<t> |
4265 |
</t> |
</t> |
4266 |
</section> |
</section> |
4267 |
|
|
4268 |
<section title="Unregister front-end for not receiving event messages" anchor="UNSUBSCRIBE"> |
<section title="Unregister front-end for not receiving event messages" anchor="UNSUBSCRIBE" lscp_cmd="true"> |
4269 |
<t>The front-end can unregister itself if it doesn't want to receive event |
<t>The front-end can unregister itself if it doesn't want to receive event |
4270 |
messages anymore by sending the following command:</t> |
messages anymore by sending the following command:</t> |
4271 |
<t> |
<t> |
4307 |
</t> |
</t> |
4308 |
</section> |
</section> |
4309 |
|
|
4310 |
<section title="Enable or disable echo of commands" anchor="SET ECHO"> |
<section title="Enable or disable echo of commands" anchor="SET ECHO" lscp_cmd="true"> |
4311 |
<t>To enable or disable back sending of commands to the client the following command can be used:</t> |
<t>To enable or disable back sending of commands to the client the following command can be used:</t> |
4312 |
<t> |
<t> |
4313 |
<list> |
<list> |
4345 |
</t> |
</t> |
4346 |
</section> |
</section> |
4347 |
|
|
4348 |
<section title="Close client connection" anchor="QUIT"> |
<section title="Close client connection" anchor="QUIT" lscp_cmd="true"> |
4349 |
<t>The client can close its network connection to LinuxSampler by sending the following command:</t> |
<t>The client can close its network connection to LinuxSampler by sending the following command:</t> |
4350 |
<t> |
<t> |
4351 |
<list> |
<list> |
4360 |
<section title="Global commands"> |
<section title="Global commands"> |
4361 |
<t>The following commands have global impact on the sampler.</t> |
<t>The following commands have global impact on the sampler.</t> |
4362 |
|
|
4363 |
<section title="Current number of active voices" anchor="GET TOTAL_VOICE_COUNT"> |
<section title="Current number of active voices" anchor="GET TOTAL_VOICE_COUNT" lscp_cmd="true"> |
4364 |
<t>The front-end can ask for the current number of active voices on |
<t>The front-end can ask for the current number of active voices on |
4365 |
the sampler by sending the following command:</t> |
the sampler by sending the following command:</t> |
4366 |
<t> |
<t> |
4378 |
</t> |
</t> |
4379 |
</section> |
</section> |
4380 |
|
|
4381 |
<section title="Maximum amount of active voices" anchor="GET TOTAL_VOICE_COUNT_MAX"> |
<section title="Maximum amount of active voices" anchor="GET TOTAL_VOICE_COUNT_MAX" lscp_cmd="true"> |
4382 |
<t>The front-end can ask for the maximum number of active voices |
<t>The front-end can ask for the maximum number of active voices |
4383 |
by sending the following command:</t> |
by sending the following command:</t> |
4384 |
<t> |
<t> |
4396 |
</t> |
</t> |
4397 |
</section> |
</section> |
4398 |
|
|
4399 |
|
<section title="Current number of active disk streams" anchor="GET TOTAL_STREAM_COUNT" lscp_cmd="true"> |
4400 |
|
<t>The front-end can ask for the current number of active disk streams on |
4401 |
|
the sampler by sending the following command:</t> |
4402 |
|
<t> |
4403 |
|
<list> |
4404 |
|
<t>GET TOTAL_STREAM_COUNT</t> |
4405 |
|
</list> |
4406 |
|
</t> |
4407 |
|
|
4408 |
|
<t>Possible Answers:</t> |
4409 |
|
<t> |
4410 |
|
<list> |
4411 |
|
<t>LinuxSampler will answer by returning the number of all active |
4412 |
|
disk streams on the sampler.</t> |
4413 |
|
</list> |
4414 |
|
</t> |
4415 |
|
</section> |
4416 |
|
|
4417 |
<section title="Reset sampler" anchor="RESET"> |
<section title="Reset sampler" anchor="RESET"> |
4418 |
<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> |
4419 |
<t> |
<t> |
4440 |
</t> |
</t> |
4441 |
</section> |
</section> |
4442 |
|
|
4443 |
<section title="General sampler informations" anchor="GET SERVER INFO"> |
<section title="General sampler informations" anchor="GET SERVER INFO" lscp_cmd="true"> |
4444 |
<t>The client can ask for general informations about the LinuxSampler |
<t>The client can ask for general informations about the LinuxSampler |
4445 |
instance by sending the following command:</t> |
instance by sending the following command:</t> |
4446 |
<t> |
<t> |
4489 |
</t> |
</t> |
4490 |
<t>The mentioned fields above don't have to be in particular order. |
<t>The mentioned fields above don't have to be in particular order. |
4491 |
Other fields might be added in future.</t> |
Other fields might be added in future.</t> |
4492 |
|
|
4493 |
|
<t>Example:</t> |
4494 |
|
<t> |
4495 |
|
<list> |
4496 |
|
<t>C: "GET SERVER INFO"</t> |
4497 |
|
<t>S: "DESCRIPTION: LinuxSampler - modular, streaming capable sampler"</t> |
4498 |
|
<t> "VERSION: 1.0.0.svn23"</t> |
4499 |
|
<t> "PROTOCOL_VERSION: 1.5"</t> |
4500 |
|
<t> "INSTRUMENTS_DB_SUPPORT: no"</t> |
4501 |
|
<t> "."</t> |
4502 |
|
</list> |
4503 |
|
</t> |
4504 |
</section> |
</section> |
4505 |
|
|
4506 |
<section title="Getting global volume attenuation" anchor="GET VOLUME"> |
<section title="Getting global volume attenuation" anchor="GET VOLUME" lscp_cmd="true"> |
4507 |
<t>The client can ask for the current global sampler-wide volume |
<t>The client can ask for the current global sampler-wide volume |
4508 |
attenuation by sending the following command:</t> |
attenuation by sending the following command:</t> |
4509 |
<t> |
<t> |
4525 |
use this parameter.</t> |
use this parameter.</t> |
4526 |
</section> |
</section> |
4527 |
|
|
4528 |
<section title="Setting global volume attenuation" anchor="SET VOLUME"> |
<section title="Setting global volume attenuation" anchor="SET VOLUME" lscp_cmd="true"> |
4529 |
<t>The client can alter the current global sampler-wide volume |
<t>The client can alter the current global sampler-wide volume |
4530 |
attenuation by sending the following command:</t> |
attenuation by sending the following command:</t> |
4531 |
<t> |
<t> |
4561 |
</list> |
</list> |
4562 |
</t> |
</t> |
4563 |
</section> |
</section> |
4564 |
|
|
4565 |
|
<section title="Getting global voice limit" anchor="GET VOICES" lscp_cmd="true"> |
4566 |
|
<t>The client can ask for the current global sampler-wide limit |
4567 |
|
for maximum voices by sending the following command:</t> |
4568 |
|
<t> |
4569 |
|
<list> |
4570 |
|
<t>GET VOICES</t> |
4571 |
|
</list> |
4572 |
|
</t> |
4573 |
|
<t>Possible Answers:</t> |
4574 |
|
<t> |
4575 |
|
<list> |
4576 |
|
<t>LinuxSampler will answer by returning the number for |
4577 |
|
the current limit of maximum voices.</t> |
4578 |
|
</list> |
4579 |
|
</t> |
4580 |
|
|
4581 |
|
<t>The voice limit setting defines how many voices should maximum |
4582 |
|
be processed by the sampler at the same time. If the user |
4583 |
|
triggers new notes which would exceed that voice limit, the |
4584 |
|
sampler engine will react by stealing old voices for those |
4585 |
|
newly triggered notes. Note that the amount of voices triggered |
4586 |
|
by a new note can be larger than one and is dependent to the |
4587 |
|
respective instrument and probably further criterias.</t> |
4588 |
|
</section> |
4589 |
|
|
4590 |
|
<section title="Setting global voice limit" anchor="SET VOICES" lscp_cmd="true"> |
4591 |
|
<t>The client can alter the current global sampler-wide limit |
4592 |
|
for maximum voices by sending the following command:</t> |
4593 |
|
<t> |
4594 |
|
<list> |
4595 |
|
<t>SET VOICES <max-voices></t> |
4596 |
|
</list> |
4597 |
|
</t> |
4598 |
|
<t>Where <max-voices> should be replaced by the integer |
4599 |
|
value, reflecting the new global amount limit of maximum voices. |
4600 |
|
This value has to be larger than 0.</t> |
4601 |
|
|
4602 |
|
<t>Possible Answers:</t> |
4603 |
|
<t> |
4604 |
|
<list> |
4605 |
|
<t>"OK" - |
4606 |
|
<list> |
4607 |
|
<t>on success</t> |
4608 |
|
</list> |
4609 |
|
</t> |
4610 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
4611 |
|
<list> |
4612 |
|
<t>if the voice limit was set, but there are noteworthy |
4613 |
|
issue(s) related, providing an appropriate warning code and |
4614 |
|
warning message</t> |
4615 |
|
</list> |
4616 |
|
</t> |
4617 |
|
<t>"ERR:<error-code>:<error-message>" - |
4618 |
|
<list> |
4619 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4620 |
|
</list> |
4621 |
|
</t> |
4622 |
|
</list> |
4623 |
|
</t> |
4624 |
|
|
4625 |
|
<t>Note: the given value will be passed to all sampler engine instances. |
4626 |
|
The total amount of maximum voices on the running system might thus |
4627 |
|
be as big as the given value multiplied by the current amount of engine |
4628 |
|
instances.</t> |
4629 |
|
|
4630 |
|
<t>Caution: when adjusting the voice limit, you SHOULD also |
4631 |
|
adjust the disk stream limit respectively and vice versa.</t> |
4632 |
|
</section> |
4633 |
|
|
4634 |
|
<section title="Getting global disk stream limit" anchor="GET STREAMS" lscp_cmd="true"> |
4635 |
|
<t>The client can ask for the current global sampler-wide limit |
4636 |
|
for maximum disk streams by sending the following command:</t> |
4637 |
|
<t> |
4638 |
|
<list> |
4639 |
|
<t>GET STREAMS</t> |
4640 |
|
</list> |
4641 |
|
</t> |
4642 |
|
<t>Possible Answers:</t> |
4643 |
|
<t> |
4644 |
|
<list> |
4645 |
|
<t>LinuxSampler will answer by returning the number for |
4646 |
|
the current limit of maximum disk streams.</t> |
4647 |
|
</list> |
4648 |
|
</t> |
4649 |
|
|
4650 |
|
<t>The disk stream limit setting defines how many disk streams should |
4651 |
|
maximum be processed by a sampler engine at the same time. The |
4652 |
|
higher this value, the more memory (RAM) will be occupied, since |
4653 |
|
every disk streams allocates a certain buffer size for being able |
4654 |
|
to perform its streaming operations.</t> |
4655 |
|
</section> |
4656 |
|
|
4657 |
|
<section title="Setting global disk stream limit" anchor="SET STREAMS" lscp_cmd="true"> |
4658 |
|
<t>The client can alter the current global sampler-wide limit |
4659 |
|
for maximum disk streams by sending the following command:</t> |
4660 |
|
<t> |
4661 |
|
<list> |
4662 |
|
<t>SET STREAMS <max-streams></t> |
4663 |
|
</list> |
4664 |
|
</t> |
4665 |
|
<t>Where <max-streams> should be replaced by the integer |
4666 |
|
value, reflecting the new global amount limit of maximum disk streams. |
4667 |
|
This value has to be positive.</t> |
4668 |
|
|
4669 |
|
<t>Possible Answers:</t> |
4670 |
|
<t> |
4671 |
|
<list> |
4672 |
|
<t>"OK" - |
4673 |
|
<list> |
4674 |
|
<t>on success</t> |
4675 |
|
</list> |
4676 |
|
</t> |
4677 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
4678 |
|
<list> |
4679 |
|
<t>if the disk stream limit was set, but there are noteworthy |
4680 |
|
issue(s) related, providing an appropriate warning code and |
4681 |
|
warning message</t> |
4682 |
|
</list> |
4683 |
|
</t> |
4684 |
|
<t>"ERR:<error-code>:<error-message>" - |
4685 |
|
<list> |
4686 |
|
<t>in case it failed, providing an appropriate error code and error message</t> |
4687 |
|
</list> |
4688 |
|
</t> |
4689 |
|
</list> |
4690 |
|
</t> |
4691 |
|
|
4692 |
|
<t>Note: the given value will be passed to all sampler engine instances. |
4693 |
|
The total amount of maximum disk streams on the running system might |
4694 |
|
thus be as big as the given value multiplied by the current amount of |
4695 |
|
engine instances.</t> |
4696 |
|
|
4697 |
|
<t>Caution: when adjusting the disk stream limit, you SHOULD also |
4698 |
|
adjust the voice limit respectively and vice versa.</t> |
4699 |
|
</section> |
4700 |
|
|
4701 |
</section> |
</section> |
4702 |
|
|
4703 |
|
|
4728 |
cause the sampler to switch to the respective instrument as |
cause the sampler to switch to the respective instrument as |
4729 |
reflected by the current MIDI instrument map.</t> |
reflected by the current MIDI instrument map.</t> |
4730 |
|
|
4731 |
<section title="Create a new MIDI instrument map" anchor="ADD MIDI_INSTRUMENT_MAP"> |
<section title="Create a new MIDI instrument map" anchor="ADD MIDI_INSTRUMENT_MAP" lscp_cmd="true"> |
4732 |
<t>The front-end can add a new MIDI instrument map by sending |
<t>The front-end can add a new MIDI instrument map by sending |
4733 |
the following command:</t> |
the following command:</t> |
4734 |
<t> |
<t> |
4784 |
</t> |
</t> |
4785 |
</section> |
</section> |
4786 |
|
|
4787 |
<section title="Delete one particular or all MIDI instrument maps" anchor="REMOVE MIDI_INSTRUMENT_MAP"> |
<section title="Delete one particular or all MIDI instrument maps" anchor="REMOVE MIDI_INSTRUMENT_MAP" lscp_cmd="true"> |
4788 |
<t>The front-end can delete a particular MIDI instrument map |
<t>The front-end can delete a particular MIDI instrument map |
4789 |
by sending the following command:</t> |
by sending the following command:</t> |
4790 |
<t> |
<t> |
4834 |
</t> |
</t> |
4835 |
</section> |
</section> |
4836 |
|
|
4837 |
<section title="Get amount of existing MIDI instrument maps" anchor="GET MIDI_INSTRUMENT_MAPS"> |
<section title="Get amount of existing MIDI instrument maps" anchor="GET MIDI_INSTRUMENT_MAPS" lscp_cmd="true"> |
4838 |
<t>The front-end can retrieve the current amount of MIDI |
<t>The front-end can retrieve the current amount of MIDI |
4839 |
instrument maps by sending the following command:</t> |
instrument maps by sending the following command:</t> |
4840 |
<t> |
<t> |
4860 |
</t> |
</t> |
4861 |
</section> |
</section> |
4862 |
|
|
4863 |
<section title="Getting all created MIDI instrument maps" anchor="LIST MIDI_INSTRUMENT_MAPS"> |
<section title="Getting all created MIDI instrument maps" anchor="LIST MIDI_INSTRUMENT_MAPS" lscp_cmd="true"> |
4864 |
<t>The number of MIDI instrument maps can change on runtime. To get the |
<t>The number of MIDI instrument maps can change on runtime. To get the |
4865 |
current list of MIDI instrument maps, the front-end can send the |
current list of MIDI instrument maps, the front-end can send the |
4866 |
following command:</t> |
following command:</t> |
4885 |
</t> |
</t> |
4886 |
</section> |
</section> |
4887 |
|
|
4888 |
<section title="Getting MIDI instrument map information" anchor="GET MIDI_INSTRUMENT_MAP INFO"> |
<section title="Getting MIDI instrument map information" anchor="GET MIDI_INSTRUMENT_MAP INFO" lscp_cmd="true"> |
4889 |
<t>The front-end can ask for the current settings of a MIDI |
<t>The front-end can ask for the current settings of a MIDI |
4890 |
instrument map by sending the following command:</t> |
instrument map by sending the following command:</t> |
4891 |
<t> |
<t> |
4912 |
<t>NAME - |
<t>NAME - |
4913 |
<list> |
<list> |
4914 |
<t>custom name of the given map, |
<t>custom name of the given map, |
4915 |
which does not have to be unique</t> |
which does not have to be unique |
4916 |
|
(note that this character string may contain |
4917 |
|
<xref target="character_set">escape sequences</xref>)</t> |
4918 |
</list> |
</list> |
4919 |
</t> |
</t> |
4920 |
<t>DEFAULT - |
<t>DEFAULT - |
4940 |
</t> |
</t> |
4941 |
</section> |
</section> |
4942 |
|
|
4943 |
<section title="Renaming a MIDI instrument map" anchor="SET MIDI_INSTRUMENT_MAP NAME"> |
<section title="Renaming a MIDI instrument map" anchor="SET MIDI_INSTRUMENT_MAP NAME" lscp_cmd="true"> |
4944 |
<t>The front-end can alter the custom name of a MIDI |
<t>The front-end can alter the custom name of a MIDI |
4945 |
instrument map by sending the following command:</t> |
instrument map by sending the following command:</t> |
4946 |
<t> |
<t> |
4980 |
</t> |
</t> |
4981 |
</section> |
</section> |
4982 |
|
|
4983 |
<section title="Create or replace a MIDI instrument map entry" anchor="MAP MIDI_INSTRUMENT"> |
<section title="Create or replace a MIDI instrument map entry" anchor="MAP MIDI_INSTRUMENT" lscp_cmd="true"> |
4984 |
<t>The front-end can create a new or replace an existing entry |
<t>The front-end can create a new or replace an existing entry |
4985 |
in a sampler's MIDI instrument map by sending the following |
in a sampler's MIDI instrument map by sending the following |
4986 |
command:</t> |
command:</t> |
5153 |
</t> |
</t> |
5154 |
</section> |
</section> |
5155 |
|
|
5156 |
<section title="Getting ammount of MIDI instrument map entries" anchor="GET MIDI_INSTRUMENTS"> |
<section title="Getting amount of MIDI instrument map entries" anchor="GET MIDI_INSTRUMENTS" lscp_cmd="true"> |
5157 |
<t>The front-end can query the amount of currently existing |
<t>The front-end can query the amount of currently existing |
5158 |
entries in a MIDI instrument map by sending the following |
entries in a MIDI instrument map by sending the following |
5159 |
command:</t> |
command:</t> |
5193 |
</t> |
</t> |
5194 |
</section> |
</section> |
5195 |
|
|
5196 |
<section title="Getting indeces of all entries of a MIDI instrument map" anchor="LIST MIDI_INSTRUMENTS"> |
<section title="Getting indeces of all entries of a MIDI instrument map" anchor="LIST MIDI_INSTRUMENTS" lscp_cmd="true"> |
5197 |
<t>The front-end can query a list of all currently existing |
<t>The front-end can query a list of all currently existing |
5198 |
entries in a certain MIDI instrument map by sending the following |
entries in a certain MIDI instrument map by sending the following |
5199 |
command:</t> |
command:</t> |
5236 |
</t> |
</t> |
5237 |
</section> |
</section> |
5238 |
|
|
5239 |
<section title="Remove an entry from the MIDI instrument map" anchor="UNMAP MIDI_INSTRUMENT"> |
<section title="Remove an entry from the MIDI instrument map" anchor="UNMAP MIDI_INSTRUMENT" lscp_cmd="true"> |
5240 |
<t>The front-end can delete an entry from a MIDI instrument |
<t>The front-end can delete an entry from a MIDI instrument |
5241 |
map by sending the following command:</t> |
map by sending the following command:</t> |
5242 |
<t> |
<t> |
5278 |
</t> |
</t> |
5279 |
</section> |
</section> |
5280 |
|
|
5281 |
<section title="Get current settings of MIDI instrument map entry" anchor="GET MIDI_INSTRUMENT INFO"> |
<section title="Get current settings of MIDI instrument map entry" anchor="GET MIDI_INSTRUMENT INFO" lscp_cmd="true"> |
5282 |
<t>The front-end can retrieve the current settings of a certain |
<t>The front-end can retrieve the current settings of a certain |
5283 |
instrument map entry by sending the following command:</t> |
instrument map entry by sending the following command:</t> |
5284 |
<t> |
<t> |
5311 |
name for this mapped instrument. It can be set and |
name for this mapped instrument. It can be set and |
5312 |
changed with the |
changed with the |
5313 |
<xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref> |
<xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref> |
5314 |
command and does not have to be unique.</t> |
command and does not have to be unique. |
5315 |
|
(note that this character string may contain |
5316 |
|
<xref target="character_set">escape sequences</xref>)</t> |
5317 |
</list> |
</list> |
5318 |
</t> |
</t> |
5319 |
<t>"ENGINE_NAME" - |
<t>"ENGINE_NAME" - |
5324 |
</t> |
</t> |
5325 |
<t>"INSTRUMENT_FILE" - |
<t>"INSTRUMENT_FILE" - |
5326 |
<list> |
<list> |
5327 |
<t>File name of the instrument.</t> |
<t>File name of the instrument |
5328 |
|
(note that this path may contain |
5329 |
|
<xref target="character_set">escape sequences</xref>).</t> |
5330 |
</list> |
</list> |
5331 |
</t> |
</t> |
5332 |
<t>"INSTRUMENT_NR" - |
<t>"INSTRUMENT_NR" - |
5338 |
<list> |
<list> |
5339 |
<t>Name of the loaded instrument as reflected by its file. |
<t>Name of the loaded instrument as reflected by its file. |
5340 |
In contrast to the "NAME" field, the "INSTRUMENT_NAME" field |
In contrast to the "NAME" field, the "INSTRUMENT_NAME" field |
5341 |
cannot be changed.</t> |
cannot be changed (note that this character string may contain |
5342 |
|
<xref target="character_set">escape sequences</xref>).</t> |
5343 |
</list> |
</list> |
5344 |
</t> |
</t> |
5345 |
<t>"LOAD_MODE" - |
<t>"LOAD_MODE" - |
5375 |
</t> |
</t> |
5376 |
</section> |
</section> |
5377 |
|
|
5378 |
<section title="Clear MIDI instrument map" anchor="CLEAR MIDI_INSTRUMENTS"> |
<section title="Clear MIDI instrument map" anchor="CLEAR MIDI_INSTRUMENTS" lscp_cmd="true"> |
5379 |
<t>The front-end can clear a whole MIDI instrument map, that |
<t>The front-end can clear a whole MIDI instrument map, that |
5380 |
is delete all its entries by sending the following command:</t> |
is delete all its entries by sending the following command:</t> |
5381 |
<t> |
<t> |
5440 |
</list> |
</list> |
5441 |
</t> |
</t> |
5442 |
|
|
5443 |
<section title="Creating a new instrument directory" anchor="ADD DB_INSTRUMENT_DIRECTORY"> |
<section title="Creating a new instrument directory" anchor="ADD DB_INSTRUMENT_DIRECTORY" lscp_cmd="true"> |
5444 |
<t>The front-end can add a new instrument directory to the |
<t>The front-end can add a new instrument directory to the |
5445 |
instruments database by sending the following command:</t> |
instruments database by sending the following command:</t> |
5446 |
<t> |
<t> |
5478 |
</t> |
</t> |
5479 |
</section> |
</section> |
5480 |
|
|
5481 |
<section title="Deleting an instrument directory" anchor="REMOVE DB_INSTRUMENT_DIRECTORY"> |
<section title="Deleting an instrument directory" anchor="REMOVE DB_INSTRUMENT_DIRECTORY" lscp_cmd="true"> |
5482 |
<t>The front-end can delete a particular instrument directory |
<t>The front-end can delete a particular instrument directory |
5483 |
from the instruments database by sending the following command:</t> |
from the instruments database by sending the following command:</t> |
5484 |
<t> |
<t> |
5517 |
</t> |
</t> |
5518 |
</section> |
</section> |
5519 |
|
|
5520 |
<section title="Getting amount of instrument directories" anchor="GET DB_INSTRUMENT_DIRECTORIES"> |
<section title="Getting amount of instrument directories" anchor="GET DB_INSTRUMENT_DIRECTORIES" lscp_cmd="true"> |
5521 |
<t>The front-end can retrieve the current amount of |
<t>The front-end can retrieve the current amount of |
5522 |
directories in a specific directory by sending the following command:</t> |
directories in a specific directory by sending the following command:</t> |
5523 |
<t> |
<t> |
5552 |
</t> |
</t> |
5553 |
</section> |
</section> |
5554 |
|
|
5555 |
<section title="Listing all directories in specific directory" anchor="LIST DB_INSTRUMENT_DIRECTORIES"> |
<section title="Listing all directories in specific directory" anchor="LIST DB_INSTRUMENT_DIRECTORIES" lscp_cmd="true"> |
5556 |
<t>The front-end can retrieve the current list of directories |
<t>The front-end can retrieve the current list of directories |
5557 |
in specific directory by sending the following command:</t> |
in specific directory by sending the following command:</t> |
5558 |
<t> |
<t> |
5592 |
</t> |
</t> |
5593 |
</section> |
</section> |
5594 |
|
|
5595 |
<section title="Getting instrument directory information" anchor="GET DB_INSTRUMENT_DIRECTORY INFO"> |
<section title="Getting instrument directory information" anchor="GET DB_INSTRUMENT_DIRECTORY INFO" lscp_cmd="true"> |
5596 |
<t>The front-end can ask for the current settings of an |
<t>The front-end can ask for the current settings of an |
5597 |
instrument directory by sending the following command:</t> |
instrument directory by sending the following command:</t> |
5598 |
<t> |
<t> |
5651 |
</t> |
</t> |
5652 |
</section> |
</section> |
5653 |
|
|
5654 |
<section title="Renaming an instrument directory" anchor="SET DB_INSTRUMENT_DIRECTORY NAME"> |
<section title="Renaming an instrument directory" anchor="SET DB_INSTRUMENT_DIRECTORY NAME" lscp_cmd="true"> |
5655 |
<t>The front-end can alter the name of a specific |
<t>The front-end can alter the name of a specific |
5656 |
instrument directory by sending the following command:</t> |
instrument directory by sending the following command:</t> |
5657 |
<t> |
<t> |
5689 |
</t> |
</t> |
5690 |
</section> |
</section> |
5691 |
|
|
5692 |
<section title="Moving an instrument directory" anchor="MOVE DB_INSTRUMENT_DIRECTORY"> |
<section title="Moving an instrument directory" anchor="MOVE DB_INSTRUMENT_DIRECTORY" lscp_cmd="true"> |
5693 |
<t>The front-end can move a specific |
<t>The front-end can move a specific |
5694 |
instrument directory by sending the following command:</t> |
instrument directory by sending the following command:</t> |
5695 |
<t> |
<t> |
5731 |
</t> |
</t> |
5732 |
</section> |
</section> |
5733 |
|
|
5734 |
<section title="Copying instrument directories" anchor="COPY DB_INSTRUMENT_DIRECTORY"> |
<section title="Copying instrument directories" anchor="COPY DB_INSTRUMENT_DIRECTORY" lscp_cmd="true"> |
5735 |
<t>The front-end can copy a specific |
<t>The front-end can copy a specific |
5736 |
instrument directory by sending the following command:</t> |
instrument directory by sending the following command:</t> |
5737 |
<t> |
<t> |
5773 |
</t> |
</t> |
5774 |
</section> |
</section> |
5775 |
|
|
5776 |
<section title="Changing the description of directory" anchor="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"> |
<section title="Changing the description of directory" anchor="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION" lscp_cmd="true"> |
5777 |
<t>The front-end can alter the description of a specific |
<t>The front-end can alter the description of a specific |
5778 |
instrument directory by sending the following command:</t> |
instrument directory by sending the following command:</t> |
5779 |
<t> |
<t> |
5811 |
</t> |
</t> |
5812 |
</section> |
</section> |
5813 |
|
|
5814 |
<section title="Finding directories" anchor="FIND DB_INSTRUMENT_DIRECTORIES"> |
<section title="Finding directories" anchor="FIND DB_INSTRUMENT_DIRECTORIES" lscp_cmd="true"> |
5815 |
<t>The front-end can search for directories |
<t>The front-end can search for directories |
5816 |
in specific directory by sending the following command:</t> |
in specific directory by sending the following command:</t> |
5817 |
<t> |
<t> |
5901 |
</t> |
</t> |
5902 |
</section> |
</section> |
5903 |
|
|
5904 |
<section title="Adding instruments to the instruments database" anchor="ADD DB_INSTRUMENTS"> |
<section title="Adding instruments to the instruments database" anchor="ADD DB_INSTRUMENTS" lscp_cmd="true"> |
5905 |
<t>The front-end can add one or more instruments |
<t>The front-end can add one or more instruments |
5906 |
to the instruments database by sending the following command:</t> |
to the instruments database by sending the following command:</t> |
5907 |
<t> |
<t> |
5908 |
<list> |
<list> |
5909 |
<t>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>] <db_dir> <file_path> [<instr_index>]</t> |
<t>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>[ FILE_AS_DIR]] <db_dir> <file_path> [<instr_index>]</t> |
5910 |
</list> |
</list> |
5911 |
</t> |
</t> |
5912 |
<t>Where <db_dir> is the absolute path name of a directory |
<t>Where <db_dir> is the absolute path name of a directory |
5951 |
</list> |
</list> |
5952 |
</t> |
</t> |
5953 |
|
|
5954 |
|
<t> If FILE_AS_DIR argument is supplied, all instruments in an instrument |
5955 |
|
file will be added to a separate directory in the instruments database, which |
5956 |
|
name will be the name of the instrument file with the file extension stripped off. |
5957 |
|
</t> |
5958 |
<t>The difference between regular and NON_MODAL versions of the command |
<t>The difference between regular and NON_MODAL versions of the command |
5959 |
is that the regular command returns when the scanning is finished |
is that the regular command returns when the scanning is finished |
5960 |
while NON_MODAL version returns immediately and a background process is launched. |
while NON_MODAL version returns immediately and a background process is launched. |
5994 |
</t> |
</t> |
5995 |
</section> |
</section> |
5996 |
|
|
5997 |
<section title="Removing an instrument" anchor="REMOVE DB_INSTRUMENT"> |
<section title="Removing an instrument" anchor="REMOVE DB_INSTRUMENT" lscp_cmd="true"> |
5998 |
<t>The front-end can remove a particular instrument |
<t>The front-end can remove a particular instrument |
5999 |
from the instruments database by sending the following command:</t> |
from the instruments database by sending the following command:</t> |
6000 |
<t> |
<t> |
6031 |
</t> |
</t> |
6032 |
</section> |
</section> |
6033 |
|
|
6034 |
<section title="Getting amount of instruments" anchor="GET DB_INSTRUMENTS"> |
<section title="Getting amount of instruments" anchor="GET DB_INSTRUMENTS" lscp_cmd="true"> |
6035 |
<t>The front-end can retrieve the current amount of |
<t>The front-end can retrieve the current amount of |
6036 |
instruments in a specific directory by sending the following command:</t> |
instruments in a specific directory by sending the following command:</t> |
6037 |
<t> |
<t> |
6066 |
</t> |
</t> |
6067 |
</section> |
</section> |
6068 |
|
|
6069 |
<section title="Listing all instruments in specific directory" anchor="LIST DB_INSTRUMENTS"> |
<section title="Listing all instruments in specific directory" anchor="LIST DB_INSTRUMENTS" lscp_cmd="true"> |
6070 |
<t>The front-end can retrieve the current list of instruments |
<t>The front-end can retrieve the current list of instruments |
6071 |
in specific directory by sending the following command:</t> |
in specific directory by sending the following command:</t> |
6072 |
<t> |
<t> |
6106 |
</t> |
</t> |
6107 |
</section> |
</section> |
6108 |
|
|
6109 |
<section title="Getting instrument information" anchor="GET DB_INSTRUMENT INFO"> |
<section title="Getting instrument information" anchor="GET DB_INSTRUMENT INFO" lscp_cmd="true"> |
6110 |
<t>The front-end can ask for the current settings of an |
<t>The front-end can ask for the current settings of an |
6111 |
instrument by sending the following command:</t> |
instrument by sending the following command:</t> |
6112 |
<t> |
<t> |
6231 |
</t> |
</t> |
6232 |
</section> |
</section> |
6233 |
|
|
6234 |
<section title="Renaming an instrument" anchor="SET DB_INSTRUMENT NAME"> |
<section title="Renaming an instrument" anchor="SET DB_INSTRUMENT NAME" lscp_cmd="true"> |
6235 |
<t>The front-end can alter the name of a specific |
<t>The front-end can alter the name of a specific |
6236 |
instrument by sending the following command:</t> |
instrument by sending the following command:</t> |
6237 |
<t> |
<t> |
6269 |
</t> |
</t> |
6270 |
</section> |
</section> |
6271 |
|
|
6272 |
<section title="Moving an instrument" anchor="MOVE DB_INSTRUMENT"> |
<section title="Moving an instrument" anchor="MOVE DB_INSTRUMENT" lscp_cmd="true"> |
6273 |
<t>The front-end can move a specific instrument to another directory by |
<t>The front-end can move a specific instrument to another directory by |
6274 |
sending the following command:</t> |
sending the following command:</t> |
6275 |
<t> |
<t> |
6309 |
</t> |
</t> |
6310 |
</section> |
</section> |
6311 |
|
|
6312 |
<section title="Copying instruments" anchor="COPY DB_INSTRUMENT"> |
<section title="Copying instruments" anchor="COPY DB_INSTRUMENT" lscp_cmd="true"> |
6313 |
<t>The front-end can copy a specific instrument to another directory by |
<t>The front-end can copy a specific instrument to another directory by |
6314 |
sending the following command:</t> |
sending the following command:</t> |
6315 |
<t> |
<t> |
6349 |
</t> |
</t> |
6350 |
</section> |
</section> |
6351 |
|
|
6352 |
<section title="Changing the description of instrument" anchor="SET DB_INSTRUMENT DESCRIPTION"> |
<section title="Changing the description of instrument" anchor="SET DB_INSTRUMENT DESCRIPTION" lscp_cmd="true"> |
6353 |
<t>The front-end can alter the description of a specific |
<t>The front-end can alter the description of a specific |
6354 |
instrument by sending the following command:</t> |
instrument by sending the following command:</t> |
6355 |
<t> |
<t> |
6358 |
</list> |
</list> |
6359 |
</t> |
</t> |
6360 |
<t>Where <instr> is the absolute path name of the instrument and |
<t>Where <instr> is the absolute path name of the instrument and |
6361 |
<desc> is the new description for the instrument |
<desc> is the new description for the instrument |
6362 |
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
6363 |
"<xref target="character_set">Character Set and Escape Sequences</xref>").</t> |
"<xref target="character_set">Character Set and Escape Sequences</xref>").</t> |
6364 |
|
|
6387 |
</t> |
</t> |
6388 |
</section> |
</section> |
6389 |
|
|
6390 |
<section title="Finding instruments" anchor="FIND DB_INSTRUMENTS"> |
<section title="Finding instruments" anchor="FIND DB_INSTRUMENTS" lscp_cmd="true"> |
6391 |
<t>The front-end can search for instruments |
<t>The front-end can search for instruments |
6392 |
in specific directory by sending the following command:</t> |
in specific directory by sending the following command:</t> |
6393 |
<t> |
<t> |
6528 |
</t> |
</t> |
6529 |
</section> |
</section> |
6530 |
|
|
6531 |
<section title="Getting job status information" anchor="GET DB_INSTRUMENTS_JOB INFO"> |
<section title="Getting job status information" anchor="GET DB_INSTRUMENTS_JOB INFO" lscp_cmd="true"> |
6532 |
<t>The front-end can ask for the current status of a |
<t>The front-end can ask for the current status of a |
6533 |
particular database instruments job by sending the following command:</t> |
particular database instruments job by sending the following command:</t> |
6534 |
<t> |
<t> |
6592 |
</t> |
</t> |
6593 |
</section> |
</section> |
6594 |
|
|
6595 |
<section title="Formatting the instruments database" anchor="FORMAT INSTRUMENTS_DB"> |
<section title="Formatting the instruments database" anchor="FORMAT INSTRUMENTS_DB" lscp_cmd="true"> |
6596 |
<t>The front-end can remove all instruments and directories and re-create |
<t>The front-end can remove all instruments and directories and re-create |
6597 |
the instruments database structure (e.g., in case of a database corruption) |
the instruments database structure (e.g., in case of a database corruption) |
6598 |
by sending the following command:</t> |
by sending the following command:</t> |
6601 |
<t>FORMAT INSTRUMENTS_DB</t> |
<t>FORMAT INSTRUMENTS_DB</t> |
6602 |
</list> |
</list> |
6603 |
</t> |
</t> |
6604 |
|
|
6605 |
<t>Possible Answers:</t> |
<t>Possible Answers:</t> |
6606 |
<t> |
<t> |
6607 |
<list> |
<list> |
6620 |
</t> |
</t> |
6621 |
</section> |
</section> |
6622 |
|
|
6623 |
|
<section title="Checking for lost instrument files" anchor="FIND LOST DB_INSTRUMENT_FILES" lscp_cmd="true"> |
6624 |
|
<t>The front-end can retrieve the list of all instrument files in the instruments database |
6625 |
|
that don't exist in the filesystem by sending the following command:</t> |
6626 |
|
<t> |
6627 |
|
<list> |
6628 |
|
<t>FIND LOST DB_INSTRUMENT_FILES</t> |
6629 |
|
</list> |
6630 |
|
</t> |
6631 |
|
|
6632 |
|
<t>Possible Answers:</t> |
6633 |
|
<t> |
6634 |
|
<list> |
6635 |
|
<t>A comma separated list with the absolute path names |
6636 |
|
(encapsulated into apostrophes) of all lost instrument files.</t> |
6637 |
|
<t>"ERR:<error-code>:<error-message>" - |
6638 |
|
<list> |
6639 |
|
<t>in case it failed, providing an appropriate error code and error message.</t> |
6640 |
|
</list> |
6641 |
|
</t> |
6642 |
|
</list> |
6643 |
|
</t> |
6644 |
|
<t>Example:</t> |
6645 |
|
<t> |
6646 |
|
<list> |
6647 |
|
<t>C: "FIND LOST DB_INSTRUMENT_FILES"</t> |
6648 |
|
<t>S: "'/gigs/Bosendorfer 290.gig','/gigs/Steinway D.gig','/gigs/Free Piano.gig'"</t> |
6649 |
|
</list> |
6650 |
|
</t> |
6651 |
|
</section> |
6652 |
|
|
6653 |
|
<section title="Replacing an instrument file" anchor="SET DB_INSTRUMENT FILE_PATH" lscp_cmd="true"> |
6654 |
|
<t>The front-end can substitute all occurrences of an instrument file |
6655 |
|
in the instruments database with a new one by sending the following command:</t> |
6656 |
|
<t> |
6657 |
|
<list> |
6658 |
|
<t>SET DB_INSTRUMENT FILE_PATH <old_path> <new_path></t> |
6659 |
|
</list> |
6660 |
|
</t> |
6661 |
|
<t>Where <old_path> is the absolute path name of the instrument file |
6662 |
|
to substitute with <new_path>.</t> |
6663 |
|
|
6664 |
|
<t>Possible Answers:</t> |
6665 |
|
<t> |
6666 |
|
<list> |
6667 |
|
<t>"OK" - |
6668 |
|
<list> |
6669 |
|
<t>on success</t> |
6670 |
|
</list> |
6671 |
|
</t> |
6672 |
|
<t>"ERR:<error-code>:<error-message>" - |
6673 |
|
<list> |
6674 |
|
<t>in case it failed, providing an appropriate error code and error message.</t> |
6675 |
|
</list> |
6676 |
|
</t> |
6677 |
|
</list> |
6678 |
|
</t> |
6679 |
|
|
6680 |
|
<t>Example:</t> |
6681 |
|
<t> |
6682 |
|
<list> |
6683 |
|
<t>C: "SET DB_INSTRUMENT FILE_PATH '/gigs/Bosendorfer 290.gig' '/gigs/pianos/Bosendorfer 290.gig'"</t> |
6684 |
|
<t>S: "OK"</t> |
6685 |
|
</list> |
6686 |
|
</t> |
6687 |
|
</section> |
6688 |
|
|
6689 |
</section> |
</section> |
6690 |
|
|
6691 |
|
|
6701 |
<t>At the moment there is only one command for this feature set, |
<t>At the moment there is only one command for this feature set, |
6702 |
but this will most probably change in future.</t> |
but this will most probably change in future.</t> |
6703 |
|
|
6704 |
<section title="Opening an appropriate instrument editor application" anchor="EDIT INSTRUMENT"> |
<section title="Opening an appropriate instrument editor application" anchor="EDIT INSTRUMENT" lscp_cmd="true"> |
6705 |
<t>The front-end can request to open an appropriate instrument |
<t>The front-end can request to open an appropriate instrument |
6706 |
editor application by sending the following command:</t> |
editor application by sending the following command:</t> |
6707 |
<t> |
<t> |
6708 |
<list> |
<list> |
6709 |
<t>EDIT INSTRUMENT <sampler-channel></t> |
<t>EDIT CHANNEL INSTRUMENT <sampler-channel></t> |
6710 |
</list> |
</list> |
6711 |
</t> |
</t> |
6712 |
<t>Where <sampler-channel> should be replaced by the |
<t>Where <sampler-channel> should be replaced by the |
6758 |
<t>Examples:</t> |
<t>Examples:</t> |
6759 |
<t> |
<t> |
6760 |
<list> |
<list> |
6761 |
<t>C: "EDIT INSTRUMENT 0"</t> |
<t>C: "EDIT CHANNEL INSTRUMENT 0"</t> |
6762 |
<t>S: "OK"</t> |
<t>S: "OK"</t> |
6763 |
</list> |
</list> |
6764 |
</t> |
</t> |
6765 |
</section> |
</section> |
6766 |
</section> |
</section> |
|
</section> |
|
6767 |
|
|
6768 |
|
<section title="Managing Files" anchor="file_management"> |
6769 |
|
<t>You can query detailed informations about files located |
6770 |
|
at the same system where the sampler instance is running on. |
6771 |
|
Using this command set allows to retrieve file informations |
6772 |
|
even remotely from another machine.</t> |
6773 |
|
|
6774 |
|
<section title="Retrieving amount of instruments of a file" anchor="GET FILE INSTRUMENTS" lscp_cmd="true"> |
6775 |
|
<t>The front-end can retrieve the amount of instruments |
6776 |
|
within a given instrument file by sending the |
6777 |
|
following command:</t> |
6778 |
|
<t> |
6779 |
|
<list> |
6780 |
|
<t>GET FILE INSTRUMENTS <filename></t> |
6781 |
|
</list> |
6782 |
|
</t> |
6783 |
|
<t>Where <filename> is the name of the instrument |
6784 |
|
file (encapsulated into apostrophes, supporting escape |
6785 |
|
sequences as described in chapter |
6786 |
|
"<xref target="character_set">Character Set and Escape |
6787 |
|
Sequences</xref>").</t> |
6788 |
|
|
6789 |
|
<t>The sampler will try to ask all sampler engines, |
6790 |
|
whether they support the given file and ask the first |
6791 |
|
engine with a positive answer for the amount of |
6792 |
|
instruments.</t> |
6793 |
|
|
6794 |
|
<t>Possible Answers:</t> |
6795 |
|
<t> |
6796 |
|
<list> |
6797 |
|
<t>On success, the sampler will answer by |
6798 |
|
returning the amount of instruments. |
6799 |
|
</t> |
6800 |
|
<t>"ERR:<error-code>:<error-message>" - |
6801 |
|
<list> |
6802 |
|
<t>if the file could not be handled</t> |
6803 |
|
</list> |
6804 |
|
</t> |
6805 |
|
</list> |
6806 |
|
</t> |
6807 |
|
|
6808 |
|
<t>Examples:</t> |
6809 |
|
<t> |
6810 |
|
<list> |
6811 |
|
<t>C: "GET FILE INSTRUMENTS 'D:/Sounds/Foo.gig'"</t> |
6812 |
|
<t>S: "10"</t> |
6813 |
|
</list> |
6814 |
|
</t> |
6815 |
|
</section> |
6816 |
|
|
6817 |
|
<section title="Retrieving all instruments of a file" anchor="LIST FILE INSTRUMENTS" lscp_cmd="true"> |
6818 |
|
<t>The front-end can retrieve a list of all instruments |
6819 |
|
within a given instrument file by sending the |
6820 |
|
following command:</t> |
6821 |
|
<t> |
6822 |
|
<list> |
6823 |
|
<t>LIST FILE INSTRUMENTS <filename></t> |
6824 |
|
</list> |
6825 |
|
</t> |
6826 |
|
<t>Where <filename> is the name of the instrument |
6827 |
|
file (encapsulated into apostrophes, supporting escape |
6828 |
|
sequences as described in chapter |
6829 |
|
"<xref target="character_set">Character Set and Escape |
6830 |
|
Sequences</xref>").</t> |
6831 |
|
|
6832 |
|
<t>The sampler will try to ask all sampler engines, |
6833 |
|
whether they support the given file and ask the first |
6834 |
|
engine with a positive answer for a list of IDs for the |
6835 |
|
instruments in the given file.</t> |
6836 |
|
|
6837 |
|
<t>Possible Answers:</t> |
6838 |
|
<t> |
6839 |
|
<list> |
6840 |
|
<t>On success, the sampler will answer by |
6841 |
|
returning a comma separated list of |
6842 |
|
instrument IDs. |
6843 |
|
</t> |
6844 |
|
<t>"ERR:<error-code>:<error-message>" - |
6845 |
|
<list> |
6846 |
|
<t>if the file could not be handled</t> |
6847 |
|
</list> |
6848 |
|
</t> |
6849 |
|
</list> |
6850 |
|
</t> |
6851 |
|
|
6852 |
|
<t>Examples:</t> |
6853 |
|
<t> |
6854 |
|
<list> |
6855 |
|
<t>C: "LIST FILE INSTRUMENTS 'D:/Sounds/Foo.gig'"</t> |
6856 |
|
<t>S: "0,1,2,3,4,5,6,7,8,9"</t> |
6857 |
|
</list> |
6858 |
|
</t> |
6859 |
|
</section> |
6860 |
|
|
6861 |
|
<section title="Retrieving informations about one instrument in a file" anchor="GET FILE INSTRUMENT INFO" lscp_cmd="true"> |
6862 |
|
<t>The front-end can retrieve detailed informations |
6863 |
|
about a specific instrument within a given instrument |
6864 |
|
file by sending the following command:</t> |
6865 |
|
<t> |
6866 |
|
<list> |
6867 |
|
<t>GET FILE INSTRUMENT INFO <filename> |
6868 |
|
<instr-id></t> |
6869 |
|
</list> |
6870 |
|
</t> |
6871 |
|
<t>Where <filename> is the name of the instrument |
6872 |
|
file (encapsulated into apostrophes, supporting escape |
6873 |
|
sequences as described in chapter |
6874 |
|
"<xref target="character_set">Character Set and Escape |
6875 |
|
Sequences</xref>") and <instr-id> is the numeric |
6876 |
|
instrument ID as returned by the |
6877 |
|
<xref target="LIST FILE INSTRUMENTS"> |
6878 |
|
"LIST FILE INSTRUMENTS"</xref> command.</t> |
6879 |
|
|
6880 |
|
<t>The sampler will try to ask all sampler engines, |
6881 |
|
whether they support the given file and ask the first |
6882 |
|
engine with a positive answer for informations about the |
6883 |
|
specific instrument in the given file.</t> |
6884 |
|
|
6885 |
|
<t>Possible Answers:</t> |
6886 |
|
<t> |
6887 |
|
<list> |
6888 |
|
<t>LinuxSampler will answer by sending a <CRLF> separated list. |
6889 |
|
Each answer line begins with the settings category name |
6890 |
|
followed by a colon and then a space character <SP> and finally |
6891 |
|
the info character string to that setting category. At the |
6892 |
|
moment the following categories are defined:</t> |
6893 |
|
|
6894 |
|
<t> |
6895 |
|
<list> |
6896 |
|
<t>NAME - |
6897 |
|
<list> |
6898 |
|
<t>name of the instrument as |
6899 |
|
stored in the instrument file</t> |
6900 |
|
</list> |
6901 |
|
</t> |
6902 |
|
<t>FORMAT_FAMILY - |
6903 |
|
<list> |
6904 |
|
<t>name of the sampler format |
6905 |
|
of the given instrument</t> |
6906 |
|
</list> |
6907 |
|
</t> |
6908 |
|
<t>FORMAT_VERSION - |
6909 |
|
<list> |
6910 |
|
<t>version of the sampler format |
6911 |
|
the instrumen is stored as</t> |
6912 |
|
</list> |
6913 |
|
</t> |
6914 |
|
<t>PRODUCT - |
6915 |
|
<list> |
6916 |
|
<t>official product name of the |
6917 |
|
instrument as stored in the file |
6918 |
|
</t> |
6919 |
|
</list> |
6920 |
|
</t> |
6921 |
|
<t>ARTISTS - |
6922 |
|
<list> |
6923 |
|
<t>artists / sample library |
6924 |
|
vendor of the instrument</t> |
6925 |
|
</list> |
6926 |
|
</t> |
6927 |
|
<t>KEY_BINDINGS - |
6928 |
|
<list> |
6929 |
|
<t>comma separated list of integer values representing |
6930 |
|
the instrument's key mapping in the range between 0 .. 127, |
6931 |
|
reflecting the analog meaning of the MIDI specification.</t> |
6932 |
|
</list> |
6933 |
|
</t> |
6934 |
|
<t>KEYSWITCH_BINDINGS - |
6935 |
|
<list> |
6936 |
|
<t>comma separated list of integer values representing |
6937 |
|
the instrument's keyswitch mapping in the range between 0 .. 127, |
6938 |
|
reflecting the analog meaning of the MIDI specification.</t> |
6939 |
|
</list> |
6940 |
|
</t> |
6941 |
|
</list> |
6942 |
|
</t> |
6943 |
|
</list> |
6944 |
|
</t> |
6945 |
|
<t>The mentioned fields above don't have to be in particular order.</t> |
6946 |
|
|
6947 |
|
<t>Example:</t> |
6948 |
|
<t> |
6949 |
|
<list> |
6950 |
|
<t>C: "GET FILE INSTRUMENT INFO 'D:/Sounds/Foo.gig' 0"</t> |
6951 |
|
<t>S: "NAME: Lunatic Loops"</t> |
6952 |
|
<t> "FORMAT_FAMILY: GIG"</t> |
6953 |
|
<t> "FORMAT_VERSION: 3"</t> |
6954 |
|
<t> "PRODUCT: The Backbone Bongo Beats"</t> |
6955 |
|
<t> "ARTISTS: Jimmy the Fish"</t> |
6956 |
|
<t> "."</t> |
6957 |
|
</list> |
6958 |
|
</t> |
6959 |
|
</section> |
6960 |
|
</section> |
6961 |
|
<section title="Managing Effects" anchor="effects"> |
6962 |
|
<t>Audio effects (e.g. reverb, delay, compression) can be |
6963 |
|
applied to the audio signals generated by the sampler. The |
6964 |
|
sampler usually provides a set of internal audio effects for |
6965 |
|
this task. The exact set of effects depends on the availability |
6966 |
|
of third party effect plugins installed on the system where the |
6967 |
|
sampler runs on.</t> |
6968 |
|
<t>At the moment only "send effects" are supported. Support for |
6969 |
|
"insert effects" and "master effects" is planned to be added at |
6970 |
|
a later point.</t> |
6971 |
|
<t>The following commands allow to retrieve the set of internal |
6972 |
|
effects available to the sampler, detailed informations about |
6973 |
|
those effects and to create and destroy instances of such |
6974 |
|
effects. After an instance of an effect is created, the effect |
6975 |
|
instance can be inserted into the audio signal path of the |
6976 |
|
sampler, e.g. as send effect.</t> |
6977 |
|
<t>The sampler allows to create an arbitrary amount of so called |
6978 |
|
send effect chains. Each effect chain can host an arbitrary |
6979 |
|
amount of effect instances. The output of the first effect |
6980 |
|
instance in an effect chain is fed to the input of the second |
6981 |
|
effect instance of the chain and so on. So effects in one chain |
6982 |
|
are processed sequentially. Send effect chains however are |
6983 |
|
processed in parallel to other send effect chains. Audio signals |
6984 |
|
of sampler channels are fed to send effects by creating FX sends |
6985 |
|
to the respective sampler channel and assigning a destination |
6986 |
|
send effect to that FX by using the |
6987 |
|
<xref target="SET FX_SEND EFFECT">"SET FX_SEND EFFECT"</xref> |
6988 |
|
command. The latter allows to route the FX send to the beginning |
6989 |
|
of a send effect chain, as well as directly to any other |
6990 |
|
position of the send effect chain.</t> |
6991 |
|
|
6992 |
|
<section title="Retrieve amount of available effects" anchor="GET AVAILABLE_EFFECTS" lscp_cmd="true"> |
6993 |
|
<t>The front-end can retrieve the amount of internal |
6994 |
|
effects, available to the sampler by sending |
6995 |
|
the following command:</t> |
6996 |
|
<t> |
6997 |
|
<list> |
6998 |
|
<t>GET AVAILABLE_EFFECTS</t> |
6999 |
|
</list> |
7000 |
|
</t> |
7001 |
|
|
7002 |
|
<t>Possible Answers:</t> |
7003 |
|
<t> |
7004 |
|
<list> |
7005 |
|
<t>The sampler will answer by returning the current |
7006 |
|
number of effects available to the sampler.</t> |
7007 |
|
</list> |
7008 |
|
</t> |
7009 |
|
|
7010 |
|
<t>Examples:</t> |
7011 |
|
<t> |
7012 |
|
<list> |
7013 |
|
<t>C: "GET AVAILABLE_EFFECTS"</t> |
7014 |
|
<t>S: "129"</t> |
7015 |
|
</list> |
7016 |
|
</t> |
7017 |
|
</section> |
7018 |
|
|
7019 |
|
<section title="Get list of available effects" anchor="LIST AVAILABLE_EFFECTS" lscp_cmd="true"> |
7020 |
|
<t>The set of available internal effects can change at |
7021 |
|
runtime. The front-end can retrieve the list of internal |
7022 |
|
effects, available to the sampler by sending the following |
7023 |
|
command:</t> |
7024 |
|
<t> |
7025 |
|
<list> |
7026 |
|
<t>LIST AVAILABLE_EFFECTS</t> |
7027 |
|
</list> |
7028 |
|
</t> |
7029 |
|
|
7030 |
|
<t>Possible Answers:</t> |
7031 |
|
<t> |
7032 |
|
<list> |
7033 |
|
<t>The sampler will answer by returning a comma |
7034 |
|
separated list with numerical IDs of effects. Note: |
7035 |
|
the numercial ID of an effect is generated by the |
7036 |
|
sampler for the current moment. The numerical ID of |
7037 |
|
the same effect can change at runtime, e.g. when the |
7038 |
|
user requests a rescan of available effect plugins. |
7039 |
|
</t> |
7040 |
|
</list> |
7041 |
|
</t> |
7042 |
|
<t>Example:</t> |
7043 |
|
<t> |
7044 |
|
<list> |
7045 |
|
<t>C: "LIST AVAILABLE_EFFECTS"</t> |
7046 |
|
<t>S: "5,6,7,120,121,122,123,124"</t> |
7047 |
|
</list> |
7048 |
|
</t> |
7049 |
|
</section> |
7050 |
|
|
7051 |
|
<section title="Retrieving general information about an effect" anchor="GET EFFECT INFO" lscp_cmd="true"> |
7052 |
|
<t>The front-end can ask for general informations about an |
7053 |
|
effect by sending the following command:</t> |
7054 |
|
<t> |
7055 |
|
<list> |
7056 |
|
<t>GET EFFECT INFO <effect-index></t> |
7057 |
|
</list> |
7058 |
|
</t> |
7059 |
|
<t>Where <effect-index> is the numerical ID of an |
7060 |
|
effect as returned by the |
7061 |
|
<xref target="LIST AVAILABLE_EFFECTS">"LIST AVAILABLE_EFFECTS"</xref> |
7062 |
|
command.</t> |
7063 |
|
<t>Possible Answers:</t> |
7064 |
|
<t> |
7065 |
|
<list> |
7066 |
|
<t>LinuxSampler will answer by sending a <CRLF> separated list. |
7067 |
|
Each answer line begins with the effect information |
7068 |
|
category name, followed by a colon and then a space |
7069 |
|
character <SP> and finally the info character |
7070 |
|
string to that effect information category. At the |
7071 |
|
moment the following categories are defined:</t> |
7072 |
|
<t> |
7073 |
|
<list> |
7074 |
|
<t>SYSTEM - |
7075 |
|
<list> |
7076 |
|
<t>name of the effect plugin system |
7077 |
|
the effect is based on |
7078 |
|
(e.g. "LADSPA")</t> |
7079 |
|
</list> |
7080 |
|
</t> |
7081 |
|
<t>MODULE - |
7082 |
|
<list> |
7083 |
|
<t>module of the effect plugin |
7084 |
|
system that contains this effect, |
7085 |
|
the module is usually the |
7086 |
|
dynamic-linked library (DLL) |
7087 |
|
filename of the effect plugin, |
7088 |
|
including full path (note that this |
7089 |
|
filename may contain |
7090 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7091 |
|
</list> |
7092 |
|
</t> |
7093 |
|
<t>NAME - |
7094 |
|
<list> |
7095 |
|
<t>character string defining the |
7096 |
|
unique name of the effect within its |
7097 |
|
module (note that the character |
7098 |
|
string may contain |
7099 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7100 |
|
</list> |
7101 |
|
</t> |
7102 |
|
<t>DESCRIPTION - |
7103 |
|
<list> |
7104 |
|
<t>human readable name of the |
7105 |
|
effect, intended to be displayed in |
7106 |
|
user interfaces (note that the |
7107 |
|
character string may contain |
7108 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7109 |
|
</list> |
7110 |
|
</t> |
7111 |
|
</list> |
7112 |
|
</t> |
7113 |
|
</list> |
7114 |
|
</t> |
7115 |
|
<t>The mentioned fields above don't have to be in particular order.</t> |
7116 |
|
|
7117 |
|
<t>Example:</t> |
7118 |
|
<t> |
7119 |
|
<list> |
7120 |
|
<t>C: "GET EFFECT INFO 121"</t> |
7121 |
|
<t>S: "SYSTEM: LADSPA"</t> |
7122 |
|
<t> "MODULE: /usr/lib/ladspa/lowpass_iir_1891.so"</t> |
7123 |
|
<t> "NAME: lowpass_iir"</t> |
7124 |
|
<t> "DESCRIPTION: Glame Lowpass Filter"</t> |
7125 |
|
<t> "."</t> |
7126 |
|
</list> |
7127 |
|
</t> |
7128 |
|
</section> |
7129 |
|
|
7130 |
|
<section title="Creating an instance of an effect by its portable ID" anchor="CREATE EFFECT_INSTANCE" lscp_cmd="true"> |
7131 |
|
<t>The front-end can spawn an instance of the desired |
7132 |
|
effect by sending the following command:</t> |
7133 |
|
<t> |
7134 |
|
<list> |
7135 |
|
<t>CREATE EFFECT_INSTANCE <effect-system> <module> <effect-name></t> |
7136 |
|
</list> |
7137 |
|
</t> |
7138 |
|
<t>Where <effect-system> is the "SYSTEM" field, |
7139 |
|
<module> the "MODULE" field and <effect-name> |
7140 |
|
the "NAME" field as returned by the |
7141 |
|
<xref target="GET EFFECT INFO">"GET EFFECT INFO"</xref> |
7142 |
|
command. The filename of argument <module> and the |
7143 |
|
character string of argument <effect-name> may contain |
7144 |
|
<xref target="character_set">escape sequences</xref>.</t> |
7145 |
|
|
7146 |
|
<t>The sampler will try to load the requested effect and to |
7147 |
|
create an instance of it. To allow loading the same effect |
7148 |
|
on a different machine, probably even running a completely |
7149 |
|
different operating system (e.g. Linux vs. Windows), the |
7150 |
|
sampler tries to match <module> "softly". That means |
7151 |
|
it first tries to find an effect that exactly matches the |
7152 |
|
given <module> argument. If there is no exact match, |
7153 |
|
the sampler will try to lower the restrictions on matching |
7154 |
|
the <module> argument more and more, e.g. by ignoring |
7155 |
|
upper / lower case differences and by ignoring the path of |
7156 |
|
the DLL filename and file extension. If there is still no |
7157 |
|
match at the end, the sampler will try to ignore the |
7158 |
|
<module> argument completely and as a last resort |
7159 |
|
search for an effect that only matches the given |
7160 |
|
<effect-system> and <effect-name> arguments.</t> |
7161 |
|
|
7162 |
|
<t>Possible Answers:</t> |
7163 |
|
<t> |
7164 |
|
<list> |
7165 |
|
<t>"OK[<effect-instance>]" - |
7166 |
|
<list> |
7167 |
|
<t>in case the effect instance was |
7168 |
|
successfully created, where |
7169 |
|
<effect-instance> is the numerical ID |
7170 |
|
of the new effect instance</t> |
7171 |
|
</list> |
7172 |
|
</t> |
7173 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
7174 |
|
<list> |
7175 |
|
<t>in case the effect instance was spawned |
7176 |
|
successfully, but there are noteworthy |
7177 |
|
issue(s) related, providing an appropriate |
7178 |
|
warning code and warning message</t> |
7179 |
|
</list> |
7180 |
|
</t> |
7181 |
|
<t>"ERR:<error-code>:<error-message>" - |
7182 |
|
<list> |
7183 |
|
<t>if the effect could not be instantiated</t> |
7184 |
|
</list> |
7185 |
|
</t> |
7186 |
|
</list> |
7187 |
|
</t> |
7188 |
|
|
7189 |
|
<t>Examples:</t> |
7190 |
|
<t> |
7191 |
|
<list> |
7192 |
|
<t>C: "CREATE EFFECT_INSTANCE LADSPA '/usr/lib/ladspa/mod_delay_1419.so' 'modDelay'"</t> |
7193 |
|
<t>S: "OK[0]"</t> |
7194 |
|
</list> |
7195 |
|
</t> |
7196 |
|
</section> |
7197 |
|
|
7198 |
|
<section title="Creating an instance of an effect by its numerical ID" anchor="CREATE EFFECT_INSTANCE (non-portable)"> |
7199 |
|
<t>The front-end can spawn an instance of the desired |
7200 |
|
effect by sending the following command:</t> |
7201 |
|
<t> |
7202 |
|
<list> |
7203 |
|
<t>CREATE EFFECT_INSTANCE <effect-index></t> |
7204 |
|
</list> |
7205 |
|
</t> |
7206 |
|
<t>Where <effect-index> is the numerical ID of the |
7207 |
|
effect as returned by the |
7208 |
|
<xref target="LIST AVAILABLE_EFFECTS">"LIST AVAILABLE_EFFECTS"</xref> |
7209 |
|
command.</t> |
7210 |
|
|
7211 |
|
<t>The sampler will try to load the requested effect and to |
7212 |
|
create an instance of it.</t> |
7213 |
|
|
7214 |
|
<t>Note: Since the numerical ID of a certain effect can |
7215 |
|
change at any time, you should not use this command in |
7216 |
|
LSCP files to restore a certain effect at a later time! To |
7217 |
|
store a sampler session including all its effects, use the |
7218 |
|
<xref target="CREATE EFFECT_INSTANCE">portable text-based |
7219 |
|
version of "CREATE EFFECT_INSTANCE"</xref> instead! This |
7220 |
|
allows to restore a sampler session with all its effects |
7221 |
|
also on other machines, possibly even running a completely |
7222 |
|
different operating system (e.g. Linux vs. Windows), with |
7223 |
|
different plugin directories or plugin DLL names.</t> |
7224 |
|
|
7225 |
|
<t>Possible Answers:</t> |
7226 |
|
<t> |
7227 |
|
<list> |
7228 |
|
<t>"OK[<effect-instance>]" - |
7229 |
|
<list> |
7230 |
|
<t>in case the effect instance was |
7231 |
|
successfully created, where |
7232 |
|
<effect-instance> is the numerical ID |
7233 |
|
of the new effect instance</t> |
7234 |
|
</list> |
7235 |
|
</t> |
7236 |
|
<t>"WRN:<warning-code>:<warning-message>" - |
7237 |
|
<list> |
7238 |
|
<t>in case the effect instance was spawned |
7239 |
|
successfully, but there are noteworthy |
7240 |
|
issue(s) related, providing an appropriate |
7241 |
|
warning code and warning message</t> |
7242 |
|
</list> |
7243 |
|
</t> |
7244 |
|
<t>"ERR:<error-code>:<error-message>" - |
7245 |
|
<list> |
7246 |
|
<t>if the effect could not be instantiated</t> |
7247 |
|
</list> |
7248 |
|
</t> |
7249 |
|
</list> |
7250 |
|
</t> |
7251 |
|
|
7252 |
|
<t>Examples:</t> |
7253 |
|
<t> |
7254 |
|
<list> |
7255 |
|
<t>C: "CREATE EFFECT_INSTANCE 72"</t> |
7256 |
|
<t>S: "OK[5]"</t> |
7257 |
|
</list> |
7258 |
|
</t> |
7259 |
|
</section> |
7260 |
|
|
7261 |
|
<section title="Destroy an effect instance" anchor="DESTROY EFFECT_INSTANCE" lscp_cmd="true"> |
7262 |
|
<t>The front-end can destroy an unusued effect instance and |
7263 |
|
thus freeing it from memory by sending the following command:</t> |
7264 |
|
<t> |
7265 |
|
<list> |
7266 |
|
<t>DESTROY EFFECT_INSTANCE <effect-instance></t> |
7267 |
|
</list> |
7268 |
|
</t> |
7269 |
|
<t>Where <effect-instance> is the numerical ID of the |
7270 |
|
effect instance as returned by the |
7271 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> or |
7272 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7273 |
|
command.</t> |
7274 |
|
|
7275 |
|
<t>The effect instance can only be destroyed if it's not |
7276 |
|
used in any part of the sampler's audio signal path anymore. |
7277 |
|
If the effect instance is still in use somewhere, trying to |
7278 |
|
destroy the effect instance will result in an error |
7279 |
|
message.</t> |
7280 |
|
|
7281 |
|
<t>Possible Answers:</t> |
7282 |
|
<t> |
7283 |
|
<list> |
7284 |
|
<t>"OK" - |
7285 |
|
<list> |
7286 |
|
<t>in case the effect instance was successfully destroyed</t> |
7287 |
|
</list> |
7288 |
|
</t> |
7289 |
|
<t>"ERR:<error-code>:<error-message>" - |
7290 |
|
<list> |
7291 |
|
<t>in case it failed, providing an appropriate error code and |
7292 |
|
error message</t> |
7293 |
|
</list> |
7294 |
|
</t> |
7295 |
|
</list> |
7296 |
|
</t> |
7297 |
|
|
7298 |
|
<t>Examples:</t> |
7299 |
|
<t> |
7300 |
|
<list> |
7301 |
|
<t>C: "DESTROY EFFECT_INSTANCE 5"</t> |
7302 |
|
<t>S: "OK"</t> |
7303 |
|
</list> |
7304 |
|
</t> |
7305 |
|
</section> |
7306 |
|
|
7307 |
|
<section title="Retrieve amount of effect instances" anchor="GET EFFECT_INSTANCES" lscp_cmd="true"> |
7308 |
|
<t>The front-end can retrieve the current amount of effect |
7309 |
|
instances by sending the following command:</t> |
7310 |
|
<t> |
7311 |
|
<list> |
7312 |
|
<t>GET EFFECT_INSTANCES</t> |
7313 |
|
</list> |
7314 |
|
</t> |
7315 |
|
|
7316 |
|
<t>Possible Answers:</t> |
7317 |
|
<t> |
7318 |
|
<list> |
7319 |
|
<t>The sampler will answer by returning the current |
7320 |
|
number of effect instances created and not yet |
7321 |
|
destroyed in the current sampler session.</t> |
7322 |
|
</list> |
7323 |
|
</t> |
7324 |
|
|
7325 |
|
<t>Examples:</t> |
7326 |
|
<t> |
7327 |
|
<list> |
7328 |
|
<t>C: "GET EFFECT_INSTANCES"</t> |
7329 |
|
<t>S: "14"</t> |
7330 |
|
</list> |
7331 |
|
</t> |
7332 |
|
</section> |
7333 |
|
|
7334 |
|
<section title="Get list of effect instances" anchor="LIST EFFECT_INSTANCES" lscp_cmd="true"> |
7335 |
|
<t>The front-end can retrieve the current list of effect |
7336 |
|
instances by sending the following command:</t> |
7337 |
|
<t> |
7338 |
|
<list> |
7339 |
|
<t>LIST EFFECT_INSTANCES</t> |
7340 |
|
</list> |
7341 |
|
</t> |
7342 |
|
|
7343 |
|
<t>Possible Answers:</t> |
7344 |
|
<t> |
7345 |
|
<list> |
7346 |
|
<t>The sampler will answer by returning a comma |
7347 |
|
separated list with numerical IDs of effects |
7348 |
|
instances. |
7349 |
|
</t> |
7350 |
|
</list> |
7351 |
|
</t> |
7352 |
|
<t>Example:</t> |
7353 |
|
<t> |
7354 |
|
<list> |
7355 |
|
<t>C: "LIST EFFECT_INSTANCES"</t> |
7356 |
|
<t>S: "9,11,14,15,16,17,25"</t> |
7357 |
|
</list> |
7358 |
|
</t> |
7359 |
|
</section> |
7360 |
|
|
7361 |
|
<section title="Retrieving current information about an effect instance" anchor="GET EFFECT_INSTANCE INFO" lscp_cmd="true"> |
7362 |
|
<t>The front-end can ask for the current informations about |
7363 |
|
a particular effect instance by sending the following command:</t> |
7364 |
|
<t> |
7365 |
|
<list> |
7366 |
|
<t>GET EFFECT_INSTANCE INFO <effect-instance></t> |
7367 |
|
</list> |
7368 |
|
</t> |
7369 |
|
<t>Where <effect-instance> is the numerical ID of an |
7370 |
|
effect instance as returned by the |
7371 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> |
7372 |
|
or |
7373 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7374 |
|
command.</t> |
7375 |
|
|
7376 |
|
<t>Possible Answers:</t> |
7377 |
|
<t> |
7378 |
|
<list> |
7379 |
|
<t>LinuxSampler will answer by sending a <CRLF> separated list. |
7380 |
|
Each answer line begins with the information |
7381 |
|
category name, followed by a colon and then a space |
7382 |
|
character <SP> and finally the info character |
7383 |
|
string to that information category. At the |
7384 |
|
moment the following categories are defined:</t> |
7385 |
|
<t> |
7386 |
|
<list> |
7387 |
|
<t>SYSTEM - |
7388 |
|
<list> |
7389 |
|
<t>name of the effect plugin system |
7390 |
|
the effect is based on |
7391 |
|
(e.g. "LADSPA")</t> |
7392 |
|
</list> |
7393 |
|
</t> |
7394 |
|
<t>MODULE - |
7395 |
|
<list> |
7396 |
|
<t>module of the effect plugin |
7397 |
|
system that contains this effect, |
7398 |
|
the module is usually the |
7399 |
|
dynamic-linked library (DLL) |
7400 |
|
filename of the effect plugin, |
7401 |
|
including full path (note that this |
7402 |
|
filename may contain |
7403 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7404 |
|
</list> |
7405 |
|
</t> |
7406 |
|
<t>NAME - |
7407 |
|
<list> |
7408 |
|
<t>character string defining the |
7409 |
|
unique name of the effect within its |
7410 |
|
module (note that the character |
7411 |
|
string may contain |
7412 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7413 |
|
</list> |
7414 |
|
</t> |
7415 |
|
<t>DESCRIPTION - |
7416 |
|
<list> |
7417 |
|
<t>human readable name of the |
7418 |
|
effect, intended to be displayed in |
7419 |
|
user interfaces (note that the |
7420 |
|
character string may contain |
7421 |
|
<xref target="character_set">escape sequences</xref>)</t> |
7422 |
|
</list> |
7423 |
|
</t> |
7424 |
|
<t>INPUT_CONTROLS - |
7425 |
|
<list> |
7426 |
|
<t>amount of input controls the |
7427 |
|
effect instance provides, to allow |
7428 |
|
controlling the effect parameters in |
7429 |
|
realtime</t> |
7430 |
|
</list> |
7431 |
|
</t> |
7432 |
|
</list> |
7433 |
|
</t> |
7434 |
|
</list> |
7435 |
|
</t> |
7436 |
|
<t>The mentioned fields above don't have to be in particular order.</t> |
7437 |
|
|
7438 |
|
<t>Example:</t> |
7439 |
|
<t> |
7440 |
|
<list> |
7441 |
|
<t>C: "GET EFFECT_INSTANCE INFO 3"</t> |
7442 |
|
<t>S: "SYSTEM: LADSPA"</t> |
7443 |
|
<t> "MODULE: /usr/lib/ladspa/mod_delay_1419.so"</t> |
7444 |
|
<t> "NAME: modDelay"</t> |
7445 |
|
<t> "DESCRIPTION: Modulatable delay"</t> |
7446 |
|
<t> "INPUT_CONTROLS: 1"</t> |
7447 |
|
<t> "."</t> |
7448 |
|
</list> |
7449 |
|
</t> |
7450 |
|
</section> |
7451 |
|
|
7452 |
|
<section title="Retrieving information about an effect parameter" anchor="GET EFFECT_INSTANCE_INPUT_CONTROL INFO" lscp_cmd="true"> |
7453 |
|
<t>Effects typically provide a certain set of effect |
7454 |
|
parameters which can be altered by the user in realtime |
7455 |
|
(e.g. depth of a reverb effect, duration of a delay effect, |
7456 |
|
dry / wet signal ratio). Those controllable effect parameters |
7457 |
|
are called "input controls". The front-end can ask for the |
7458 |
|
current informations of an effect instance's input control |
7459 |
|
by sending the following command:</t> |
7460 |
|
<t> |
7461 |
|
<list> |
7462 |
|
<t>GET EFFECT_INSTANCE_INPUT_CONTROL INFO <effect-instance> <input-control></t> |
7463 |
|
</list> |
7464 |
|
</t> |
7465 |
|
<t>Where <effect-instance> is the numerical ID of an |
7466 |
|
effect instance as returned by the |
7467 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> |
7468 |
|
or |
7469 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7470 |
|
command and <input-control> is the index of the input |
7471 |
|
control within the numerical bounds as returned by the |
7472 |
|
"INPUT_CONTROLS" field of the |
7473 |
|
<xref target="GET EFFECT_INSTANCE INFO">"GET EFFECT_INSTANCE INFO"</xref> |
7474 |
|
command.</t> |
7475 |
|
|
7476 |
|
<t>Possible Answers:</t> |
7477 |
|
<t> |
7478 |
|
<list> |
7479 |
|
<t>LinuxSampler will answer by sending a <CRLF> separated list. |
7480 |
|
Each answer line begins with the information |
7481 |
|
category name, followed by a colon and then a space |
7482 |
|
character <SP> and finally the info character |
7483 |
|
string to that information category. There are |
7484 |
|
information categories which are always returned, |
7485 |
|
independent of the respective effect parameter and |
7486 |
|
there are optional information categories |
7487 |
|
which are only shown for certain effect parameters. |
7488 |
|
At the moment the following categories are defined:</t> |
7489 |
|
<t> |
7490 |
|
<list> |
7491 |
|
<t>DESCRIPTION - |
7492 |
|
<list> |
7493 |
|
<t>(always returned) |
7494 |
|
human readable name of the |
7495 |
|
effect parameter, intended to be |
7496 |
|
displayed in user interfaces (note |
7497 |
|
that the character string may |
7498 |
|
contain <xref target="character_set">escape sequences</xref>)</t> |
7499 |
|
</list> |
7500 |
|
</t> |
7501 |
|
<t>VALUE - |
7502 |
|
<list> |
7503 |
|
<t> |
7504 |
|
(always returned) |
7505 |
|
current (optional dotted) |
7506 |
|
floating point value of this effect |
7507 |
|
parameter</t> |
7508 |
|
</list> |
7509 |
|
</t> |
7510 |
|
<t>RANGE_MIN - |
7511 |
|
<list> |
7512 |
|
<t> |
7513 |
|
(optionally returned) |
7514 |
|
minimum allowed value for this |
7515 |
|
effect parameter</t> |
7516 |
|
</list> |
7517 |
|
</t> |
7518 |
|
<t>RANGE_MAX - |
7519 |
|
<list> |
7520 |
|
<t> |
7521 |
|
(optionally returned) |
7522 |
|
maximum allowed value for this |
7523 |
|
effect parameter</t> |
7524 |
|
</list> |
7525 |
|
</t> |
7526 |
|
<t>POSSIBILITIES - |
7527 |
|
<list> |
7528 |
|
<t> |
7529 |
|
(optionally returned) |
7530 |
|
comma separated list of |
7531 |
|
(optional dotted) floating point |
7532 |
|
numbers, reflecting the exact set of |
7533 |
|
possible values for this effect |
7534 |
|
parameter</t> |
7535 |
|
</list> |
7536 |
|
</t> |
7537 |
|
<t>DEFAULT - |
7538 |
|
<list> |
7539 |
|
<t> |
7540 |
|
(optionally returned) |
7541 |
|
default value of this effect |
7542 |
|
parameter</t> |
7543 |
|
</list> |
7544 |
|
</t> |
7545 |
|
</list> |
7546 |
|
</t> |
7547 |
|
</list> |
7548 |
|
</t> |
7549 |
|
<t>The mentioned fields above don't have to be in particular order.</t> |
7550 |
|
|
7551 |
|
<t>Example:</t> |
7552 |
|
<t> |
7553 |
|
<list> |
7554 |
|
<t>C: "GET EFFECT_INSTANCE_INPUT_CONTROL INFO 1 0"</t> |
7555 |
|
<t>S: "DESCRIPTION: Base delay (s)"</t> |
7556 |
|
<t> "VALUE: 0.500"</t> |
7557 |
|
<t> "RANGE_MIN: 0.000"</t> |
7558 |
|
<t> "."</t> |
7559 |
|
</list> |
7560 |
|
</t> |
7561 |
|
</section> |
7562 |
|
|
7563 |
|
<section title="Altering an effect parameter" anchor="SET EFFECT_INSTANCE_INPUT_CONTROL VALUE" lscp_cmd="true"> |
7564 |
|
<t>The front-end can alter the current value of an effect |
7565 |
|
parameter by sending the following command:</t> |
7566 |
|
<t> |
7567 |
|
<list> |
7568 |
|
<t>SET EFFECT_INSTANCE_INPUT_CONTROL VALUE <effect-instance> <input-control> <value></t> |
7569 |
|
</list> |
7570 |
|
</t> |
7571 |
|
<t>Where <effect-instance> is the numerical ID of the |
7572 |
|
effect instance as returned by the |
7573 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> or |
7574 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7575 |
|
command, <input-control> is the index of the input |
7576 |
|
control within the numerical bounds as returned by the |
7577 |
|
"INPUT_CONTROLS" field of the |
7578 |
|
<xref target="GET EFFECT_INSTANCE INFO">"GET EFFECT_INSTANCE INFO"</xref> |
7579 |
|
command and <value> is the new (optional dotted) |
7580 |
|
floating point value for this effect parameter.</t> |
7581 |
|
|
7582 |
|
<t>Possible Answers:</t> |
7583 |
|
<t> |
7584 |
|
<list> |
7585 |
|
<t>"OK" - |
7586 |
|
<list> |
7587 |
|
<t>in case the effect was altered successfully</t> |
7588 |
|
</list> |
7589 |
|
</t> |
7590 |
|
<t>"ERR:<error-code>:<error-message>" - |
7591 |
|
<list> |
7592 |
|
<t>in case it failed, providing an appropriate error code and |
7593 |
|
error message</t> |
7594 |
|
</list> |
7595 |
|
</t> |
7596 |
|
</list> |
7597 |
|
</t> |
7598 |
|
|
7599 |
|
<t>Examples:</t> |
7600 |
|
<t> |
7601 |
|
<list> |
7602 |
|
<t>C: "SET EFFECT_INSTANCE_INPUT_CONTROL VALUE 0 1 0.5"</t> |
7603 |
|
<t>S: "OK"</t> |
7604 |
|
</list> |
7605 |
|
</t> |
7606 |
|
</section> |
7607 |
|
|
7608 |
|
<section title="Retrieve amount of send effect chains" anchor="GET SEND_EFFECT_CHAINS" lscp_cmd="true"> |
7609 |
|
<t>The front-end can retrieve the current amount of send |
7610 |
|
effect chains of an audio output device by sending the |
7611 |
|
following command:</t> |
7612 |
|
<t> |
7613 |
|
<list> |
7614 |
|
<t>GET SEND_EFFECT_CHAINS <audio-device></t> |
7615 |
|
</list> |
7616 |
|
</t> |
7617 |
|
<t>Where <audio-device> should be replaced by the |
7618 |
|
numerical ID of the audio output device as given by the |
7619 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7620 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7621 |
|
command.</t> |
7622 |
|
|
7623 |
|
<t>Possible Answers:</t> |
7624 |
|
<t> |
7625 |
|
<list> |
7626 |
|
<t>The sampler will answer by returning the current |
7627 |
|
number of send effect chains of the supplied audio |
7628 |
|
output device.</t> |
7629 |
|
</list> |
7630 |
|
</t> |
7631 |
|
|
7632 |
|
<t>Examples:</t> |
7633 |
|
<t> |
7634 |
|
<list> |
7635 |
|
<t>C: "GET SEND_EFFECT_CHAINS 0"</t> |
7636 |
|
<t>S: "4"</t> |
7637 |
|
</list> |
7638 |
|
</t> |
7639 |
|
</section> |
7640 |
|
|
7641 |
|
<section title="Retrieve list of send effect chains" anchor="LIST SEND_EFFECT_CHAINS" lscp_cmd="true"> |
7642 |
|
<t>The front-end can retrieve the current list of send |
7643 |
|
effect chains of an audio output device by sending the |
7644 |
|
following command:</t> |
7645 |
|
<t> |
7646 |
|
<list> |
7647 |
|
<t>LIST SEND_EFFECT_CHAINS <audio-device></t> |
7648 |
|
</list> |
7649 |
|
</t> |
7650 |
|
<t>Where <audio-device> should be replaced by the |
7651 |
|
numerical ID of the audio output device as given by the |
7652 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7653 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7654 |
|
command.</t> |
7655 |
|
|
7656 |
|
<t>Possible Answers:</t> |
7657 |
|
<t> |
7658 |
|
<list> |
7659 |
|
<t>The sampler will answer by returning a comma |
7660 |
|
separated list with numerical IDs of send effect |
7661 |
|
chains of the supplied audio output device. |
7662 |
|
</t> |
7663 |
|
</list> |
7664 |
|
</t> |
7665 |
|
|
7666 |
|
<t>Examples:</t> |
7667 |
|
<t> |
7668 |
|
<list> |
7669 |
|
<t>C: "LIST SEND_EFFECT_CHAINS 0"</t> |
7670 |
|
<t>S: "3,4,7"</t> |
7671 |
|
</list> |
7672 |
|
</t> |
7673 |
|
</section> |
7674 |
|
|
7675 |
|
<section title="Add send effect chain" anchor="ADD SEND_EFFECT_CHAIN" lscp_cmd="true"> |
7676 |
|
<t>The front-end can add a send effect chain by sending the |
7677 |
|
following command:</t> |
7678 |
|
<t> |
7679 |
|
<list> |
7680 |
|
<t>ADD SEND_EFFECT_CHAIN <audio-device></t> |
7681 |
|
</list> |
7682 |
|
</t> |
7683 |
|
<t>Where <audio-device> should be replaced by the |
7684 |
|
numerical ID of the audio output device as given by the |
7685 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7686 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7687 |
|
command.</t> |
7688 |
|
|
7689 |
|
<t>Possible Answers:</t> |
7690 |
|
<t> |
7691 |
|
<list> |
7692 |
|
<t>"OK[<effect-chain>]" - |
7693 |
|
<list> |
7694 |
|
<t>in case the send effect chain was |
7695 |
|
added successfully, where |
7696 |
|
<effect-chain> is the numerical ID |
7697 |
|
of the new send effect chain</t> |
7698 |
|
</list> |
7699 |
|
</t> |
7700 |
|
<t>"ERR:<error-code>:<error-message>" - |
7701 |
|
<list> |
7702 |
|
<t>if the send effect chain could not be added</t> |
7703 |
|
</list> |
7704 |
|
</t> |
7705 |
|
</list> |
7706 |
|
</t> |
7707 |
|
|
7708 |
|
<t>Examples:</t> |
7709 |
|
<t> |
7710 |
|
<list> |
7711 |
|
<t>C: "ADD SEND_EFFECT_CHAIN 0"</t> |
7712 |
|
<t>S: "OK[2]"</t> |
7713 |
|
</list> |
7714 |
|
</t> |
7715 |
|
</section> |
7716 |
|
|
7717 |
|
<section title="Remove send effect chain" anchor="REMOVE SEND_EFFECT_CHAIN" lscp_cmd="true"> |
7718 |
|
<t>The front-end can remove a send effect chain by sending |
7719 |
|
the following command:</t> |
7720 |
|
<t> |
7721 |
|
<list> |
7722 |
|
<t>REMOVE SEND_EFFECT_CHAIN <audio-device> <effect-chain></t> |
7723 |
|
</list> |
7724 |
|
</t> |
7725 |
|
<t>Where <audio-device> should be replaced by the |
7726 |
|
numerical ID of the audio output device as given by the |
7727 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7728 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7729 |
|
command and <effect-chain> by the numerical ID as |
7730 |
|
returned by the |
7731 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
7732 |
|
or |
7733 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
7734 |
|
command.</t> |
7735 |
|
|
7736 |
|
<t>Possible Answers:</t> |
7737 |
|
<t> |
7738 |
|
<list> |
7739 |
|
<t>"OK" - |
7740 |
|
<list> |
7741 |
|
<t>in case the send effect chain was |
7742 |
|
removed successfully</t> |
7743 |
|
</list> |
7744 |
|
</t> |
7745 |
|
<t>"ERR:<error-code>:<error-message>" - |
7746 |
|
<list> |
7747 |
|
<t>if the send effect chain could not be removed</t> |
7748 |
|
</list> |
7749 |
|
</t> |
7750 |
|
</list> |
7751 |
|
</t> |
7752 |
|
|
7753 |
|
<t>Examples:</t> |
7754 |
|
<t> |
7755 |
|
<list> |
7756 |
|
<t>C: "REMOVE SEND_EFFECT_CHAIN 0 2"</t> |
7757 |
|
<t>S: "OK"</t> |
7758 |
|
</list> |
7759 |
|
</t> |
7760 |
|
</section> |
7761 |
|
|
7762 |
|
<section title="Retrieving information about a send effect chain" anchor="GET SEND_EFFECT_CHAIN INFO" lscp_cmd="true"> |
7763 |
|
<t>The front-end can ask for informations of a send effect |
7764 |
|
chain by sending the following command:</t> |
7765 |
|
<t> |
7766 |
|
<list> |
7767 |
|
<t>GET SEND_EFFECT_CHAIN INFO <audio-device> <effect-chain></t> |
7768 |
|
</list> |
7769 |
|
</t> |
7770 |
|
<t>Where <audio-device> should be replaced by the |
7771 |
|
numerical ID of the audio output device as given by the |
7772 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7773 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7774 |
|
command and <effect-chain> by the numerical ID as |
7775 |
|
returned by the |
7776 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
7777 |
|
or |
7778 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
7779 |
|
command.</t> |
7780 |
|
|
7781 |
|
<t>Possible Answers:</t> |
7782 |
|
<t> |
7783 |
|
<list> |
7784 |
|
<t>LinuxSampler will answer by sending a <CRLF> separated list. |
7785 |
|
Each answer line begins with the information |
7786 |
|
category name, followed by a colon and then a space |
7787 |
|
character <SP> and finally the info character |
7788 |
|
string to that information category. |
7789 |
|
At the moment the following categories are defined:</t> |
7790 |
|
<t> |
7791 |
|
<list> |
7792 |
|
<t>EFFECT_COUNT - |
7793 |
|
<list> |
7794 |
|
<t>amount of effects in this send |
7795 |
|
effect chain</t> |
7796 |
|
</list> |
7797 |
|
</t> |
7798 |
|
<t>EFFECT_SEQUENCE - |
7799 |
|
<list> |
7800 |
|
<t>comma separated list of the |
7801 |
|
numerical IDs of the effect |
7802 |
|
instances in this send effect chain, |
7803 |
|
in the order as they are procssed in |
7804 |
|
the effect chain</t> |
7805 |
|
</list> |
7806 |
|
</t> |
7807 |
|
</list> |
7808 |
|
</t> |
7809 |
|
</list> |
7810 |
|
</t> |
7811 |
|
<t>The mentioned fields above don't have to be in particular order.</t> |
7812 |
|
|
7813 |
|
<t>Example:</t> |
7814 |
|
<t> |
7815 |
|
<list> |
7816 |
|
<t>C: "GET SEND_EFFECT_CHAIN INFO 0 2"</t> |
7817 |
|
<t>S: "EFFECT_COUNT: 3"</t> |
7818 |
|
<t> "EFFECT_SEQUENCE: 31,4,7"</t> |
7819 |
|
<t> "."</t> |
7820 |
|
</list> |
7821 |
|
</t> |
7822 |
|
</section> |
7823 |
|
|
7824 |
|
<section title="Append effect instance to a send effect chain" anchor="APPEND SEND_EFFECT_CHAIN EFFECT" lscp_cmd="true"> |
7825 |
|
<t>The front-end can add an unused effect instance to the |
7826 |
|
end of a send effect chain by sending the following command:</t> |
7827 |
|
<t> |
7828 |
|
<list> |
7829 |
|
<t>APPEND SEND_EFFECT_CHAIN EFFECT <audio-device> <effect-chain> <effect-instance></t> |
7830 |
|
</list> |
7831 |
|
</t> |
7832 |
|
<t>Where <audio-device> should be replaced by the |
7833 |
|
numerical ID of the audio output device as given by the |
7834 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7835 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7836 |
|
command and <effect-chain> by the numerical ID as |
7837 |
|
returned by the |
7838 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
7839 |
|
or |
7840 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
7841 |
|
command and <effect-instance> as returned by the |
7842 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> or |
7843 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7844 |
|
command.</t> |
7845 |
|
<t>Only unused effect instances can be added to the effect |
7846 |
|
chain. Trying to add an effect instance which is already in |
7847 |
|
use somewhere in the audio signal path of the sampler will |
7848 |
|
result in an error.</t> |
7849 |
|
|
7850 |
|
<t>Possible Answers:</t> |
7851 |
|
<t> |
7852 |
|
<list> |
7853 |
|
<t>"OK" - |
7854 |
|
<list> |
7855 |
|
<t>in case the effect instance was |
7856 |
|
added successfully to the chain</t> |
7857 |
|
</list> |
7858 |
|
</t> |
7859 |
|
<t>"ERR:<error-code>:<error-message>" - |
7860 |
|
<list> |
7861 |
|
<t>if the effect instance could not be added</t> |
7862 |
|
</list> |
7863 |
|
</t> |
7864 |
|
</list> |
7865 |
|
</t> |
7866 |
|
|
7867 |
|
<t>Examples:</t> |
7868 |
|
<t> |
7869 |
|
<list> |
7870 |
|
<t>C: "APPEND SEND_EFFECT_CHAIN EFFECT 0 2 38"</t> |
7871 |
|
<t>S: "OK"</t> |
7872 |
|
</list> |
7873 |
|
</t> |
7874 |
|
</section> |
7875 |
|
|
7876 |
|
<section title="Insert effect instance to a send effect chain" anchor="INSERT SEND_EFFECT_CHAIN EFFECT" lscp_cmd="true"> |
7877 |
|
<t>The front-end can add an unused effect instance to a |
7878 |
|
certain position of a send effect chain by sending the |
7879 |
|
following command:</t> |
7880 |
|
<t> |
7881 |
|
<list> |
7882 |
|
<t>INSERT SEND_EFFECT_CHAIN EFFECT <audio-device> <effect-chain> <chain-pos> <effect-instance></t> |
7883 |
|
</list> |
7884 |
|
</t> |
7885 |
|
<t>Where <audio-device> should be replaced by the |
7886 |
|
numerical ID of the audio output device as given by the |
7887 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7888 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7889 |
|
command, <effect-chain> by the numerical ID as |
7890 |
|
returned by the |
7891 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
7892 |
|
or |
7893 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
7894 |
|
command, <effect-instance> as returned by the |
7895 |
|
<xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref> or |
7896 |
|
<xref target="LIST EFFECT_INSTANCES">"LIST EFFECT_INSTANCES"</xref> |
7897 |
|
command and <chain-pos> the exact position of the |
7898 |
|
effect chain where the supplied effect shall be inserted |
7899 |
|
to.</t> |
7900 |
|
<t>Only unused effect instances can be added to the effect |
7901 |
|
chain. Trying to add an effect instance which is already in |
7902 |
|
use somewhere in the audio signal path of the sampler will |
7903 |
|
result in an error.</t> |
7904 |
|
|
7905 |
|
<t>Possible Answers:</t> |
7906 |
|
<t> |
7907 |
|
<list> |
7908 |
|
<t>"OK" - |
7909 |
|
<list> |
7910 |
|
<t>in case the effect instance was |
7911 |
|
added successfully to the chain</t> |
7912 |
|
</list> |
7913 |
|
</t> |
7914 |
|
<t>"ERR:<error-code>:<error-message>" - |
7915 |
|
<list> |
7916 |
|
<t>if the effect instance could not be added</t> |
7917 |
|
</list> |
7918 |
|
</t> |
7919 |
|
</list> |
7920 |
|
</t> |
7921 |
|
|
7922 |
|
<t>Examples:</t> |
7923 |
|
<t> |
7924 |
|
<list> |
7925 |
|
<t>C: "INSERT SEND_EFFECT_CHAIN EFFECT 0 2 4 38"</t> |
7926 |
|
<t>S: "OK"</t> |
7927 |
|
</list> |
7928 |
|
</t> |
7929 |
|
</section> |
7930 |
|
|
7931 |
|
<section title="Remove effect instance from send effect chain" anchor="REMOVE SEND_EFFECT_CHAIN EFFECT" lscp_cmd="true"> |
7932 |
|
<t>The front-end can remove an effect instance from a |
7933 |
|
certain position of a send effect chain by sending the |
7934 |
|
following command:</t> |
7935 |
|
<t> |
7936 |
|
<list> |
7937 |
|
<t>REMOVE SEND_EFFECT_CHAIN EFFECT <audio-device> <effect-chain> <chain-pos></t> |
7938 |
|
</list> |
7939 |
|
</t> |
7940 |
|
<t>Where <audio-device> should be replaced by the |
7941 |
|
numerical ID of the audio output device as given by the |
7942 |
|
<xref target="CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"</xref> |
7943 |
|
or <xref target="LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"</xref> |
7944 |
|
command, <effect-chain> by the numerical ID as |
7945 |
|
returned by the |
7946 |
|
<xref target="ADD SEND_EFFECT_CHAIN">"ADD SEND_EFFECT_CHAIN"</xref> |
7947 |
|
or |
7948 |
|
<xref target="LIST SEND_EFFECT_CHAINS">"LIST SEND_EFFECT_CHAINS"</xref> |
7949 |
|
command and <chain-pos> the exact position of the |
7950 |
|
effect instance to be removed from the effect chain.</t> |
7951 |
|
|
7952 |
|
<t>Possible Answers:</t> |
7953 |
|
<t> |
7954 |
|
<list> |
7955 |
|
<t>"OK" - |
7956 |
|
<list> |
7957 |
|
<t>in case the effect instance was |
7958 |
|
removed successfully</t> |
7959 |
|
</list> |
7960 |
|
</t> |
7961 |
|
<t>"ERR:<error-code>:<error-message>" - |
7962 |
|
<list> |
7963 |
|
<t>if the effect instance could not be removed</t> |
7964 |
|
</list> |
7965 |
|
</t> |
7966 |
|
</list> |
7967 |
|
</t> |
7968 |
|
|
7969 |
|
<t>Examples:</t> |
7970 |
|
<t> |
7971 |
|
<list> |
7972 |
|
<t>C: "REMOVE SEND_EFFECT_CHAIN EFFECT 0 2 4"</t> |
7973 |
|
<t>S: "OK"</t> |
7974 |
|
</list> |
7975 |
|
</t> |
7976 |
|
</section> |
7977 |
|
|
7978 |
|
</section> |
7979 |
|
</section> |
7980 |
|
|
7981 |
<section title="Command Syntax" anchor="command_syntax"> |
<section title="Command Syntax" anchor="command_syntax"> |
7982 |
<t>The grammar of the control protocol as descibed in <xref target="control_commands"/> |
<t>The grammar of the control protocol as descibed in <xref target="control_commands"/> |
7992 |
|
|
7993 |
<t>input = |
<t>input = |
7994 |
<list> |
<list> |
7995 |
<t>line LF |
<t>line |
7996 |
</t> |
</t> |
7997 |
<t>/ line CR LF |
<t>/ error |
7998 |
</t> |
</t> |
7999 |
</list> |
</list> |
8000 |
</t> |
</t> |
8001 |
<t>line = |
<t>line = |
8002 |
<list> |
<list> |
8003 |
<t>/* epsilon (empty line ignored) */ |
<t>statement LF |
8004 |
|
</t> |
8005 |
|
<t>/ statement CR LF |
8006 |
|
</t> |
8007 |
|
</list> |
8008 |
|
</t> |
8009 |
|
<t>statement = |
8010 |
|
<list> |
8011 |
|
<t>/* epsilon (empty statement/line ignored) */ |
8012 |
</t> |
</t> |
8013 |
<t>/ comment |
<t>/ comment |
8014 |
</t> |
</t> |
8015 |
<t>/ command |
<t>/ command |
8016 |
</t> |
</t> |
|
<t>/ error |
|
|
</t> |
|
8017 |
</list> |
</list> |
8018 |
</t> |
</t> |
8019 |
<t>comment = |
<t>comment = |
8070 |
</t> |
</t> |
8071 |
<t>/ FORMAT SP format_instruction |
<t>/ FORMAT SP format_instruction |
8072 |
</t> |
</t> |
8073 |
|
<t>/ SEND SP send_instruction |
8074 |
|
</t> |
8075 |
|
<t>/ APPEND SP append_instruction |
8076 |
|
</t> |
8077 |
|
<t>/ INSERT SP insert_instruction |
8078 |
|
</t> |
8079 |
<t>/ RESET |
<t>/ RESET |
8080 |
</t> |
</t> |
8081 |
<t>/ QUIT |
<t>/ QUIT |
8086 |
<list> |
<list> |
8087 |
<t>CHANNEL |
<t>CHANNEL |
8088 |
</t> |
</t> |
8089 |
|
<t>/ CHANNEL SP MIDI_INPUT SP sampler_channel SP device_index |
8090 |
|
</t> |
8091 |
|
<t>/ CHANNEL SP MIDI_INPUT SP sampler_channel SP device_index SP midi_input_port_index |
8092 |
|
</t> |
8093 |
<t>/ DB_INSTRUMENT_DIRECTORY SP db_path |
<t>/ DB_INSTRUMENT_DIRECTORY SP db_path |
8094 |
</t> |
</t> |
8095 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
8096 |
</t> |
</t> |
8097 |
|
<t>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP FILE_AS_DIR SP db_path SP filename |
8098 |
|
</t> |
8099 |
<t>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
8100 |
</t> |
</t> |
8101 |
|
<t>/ DB_INSTRUMENTS SP scan_mode SP FILE_AS_DIR SP db_path SP filename |
8102 |
|
</t> |
8103 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
8104 |
</t> |
</t> |
8105 |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |
<t>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |
8112 |
</t> |
</t> |
8113 |
<t>/ MIDI_INSTRUMENT_MAP SP map_name |
<t>/ MIDI_INSTRUMENT_MAP SP map_name |
8114 |
</t> |
</t> |
8115 |
|
<t>/ SEND_EFFECT_CHAIN SP device_index |
8116 |
|
</t> |
8117 |
</list> |
</list> |
8118 |
</t> |
</t> |
8119 |
<t>subscribe_event = |
<t>subscribe_event = |
8128 |
</t> |
</t> |
8129 |
<t>/ CHANNEL_COUNT |
<t>/ CHANNEL_COUNT |
8130 |
</t> |
</t> |
8131 |
|
<t>/ CHANNEL_MIDI |
8132 |
|
</t> |
8133 |
|
<t>/ DEVICE_MIDI |
8134 |
|
</t> |
8135 |
<t>/ VOICE_COUNT |
<t>/ VOICE_COUNT |
8136 |
</t> |
</t> |
8137 |
<t>/ STREAM_COUNT |
<t>/ STREAM_COUNT |
8164 |
</t> |
</t> |
8165 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
8166 |
</t> |
</t> |
8167 |
|
<t>/ TOTAL_STREAM_COUNT |
8168 |
|
</t> |
8169 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
8170 |
</t> |
</t> |
8171 |
<t>/ GLOBAL_INFO |
<t>/ GLOBAL_INFO |
8172 |
</t> |
</t> |
8173 |
|
<t>/ EFFECT_INSTANCE_COUNT |
8174 |
|
</t> |
8175 |
|
<t>/ EFFECT_INSTANCE_INFO |
8176 |
|
</t> |
8177 |
|
<t>/ SEND_EFFECT_CHAIN_COUNT |
8178 |
|
</t> |
8179 |
|
<t>/ SEND_EFFECT_CHAIN_INFO |
8180 |
|
</t> |
8181 |
</list> |
</list> |
8182 |
</t> |
</t> |
8183 |
<t>unsubscribe_event = |
<t>unsubscribe_event = |
8192 |
</t> |
</t> |
8193 |
<t>/ CHANNEL_COUNT |
<t>/ CHANNEL_COUNT |
8194 |
</t> |
</t> |
8195 |
|
<t>/ CHANNEL_MIDI |
8196 |
|
</t> |
8197 |
|
<t>/ DEVICE_MIDI |
8198 |
|
</t> |
8199 |
<t>/ VOICE_COUNT |
<t>/ VOICE_COUNT |
8200 |
</t> |
</t> |
8201 |
<t>/ STREAM_COUNT |
<t>/ STREAM_COUNT |
8228 |
</t> |
</t> |
8229 |
<t>/ MISCELLANEOUS |
<t>/ MISCELLANEOUS |
8230 |
</t> |
</t> |
8231 |
|
<t>/ TOTAL_STREAM_COUNT |
8232 |
|
</t> |
8233 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
8234 |
</t> |
</t> |
8235 |
<t>/ GLOBAL_INFO |
<t>/ GLOBAL_INFO |
8236 |
</t> |
</t> |
8237 |
|
<t>/ EFFECT_INSTANCE_COUNT |
8238 |
|
</t> |
8239 |
|
<t>/ EFFECT_INSTANCE_INFO |
8240 |
|
</t> |
8241 |
|
<t>/ SEND_EFFECT_CHAIN_COUNT |
8242 |
|
</t> |
8243 |
|
<t>/ SEND_EFFECT_CHAIN_INFO |
8244 |
|
</t> |
8245 |
</list> |
</list> |
8246 |
</t> |
</t> |
8247 |
<t>map_instruction = |
<t>map_instruction = |
8266 |
<list> |
<list> |
8267 |
<t>CHANNEL SP sampler_channel |
<t>CHANNEL SP sampler_channel |
8268 |
</t> |
</t> |
8269 |
|
<t>/ CHANNEL SP MIDI_INPUT SP sampler_channel |
8270 |
|
</t> |
8271 |
|
<t>/ CHANNEL SP MIDI_INPUT SP sampler_channel SP device_index |
8272 |
|
</t> |
8273 |
|
<t>/ CHANNEL SP MIDI_INPUT SP sampler_channel SP device_index SP midi_input_port_index |
8274 |
|
</t> |
8275 |
<t>/ MIDI_INSTRUMENT_MAP SP midi_map |
<t>/ MIDI_INSTRUMENT_MAP SP midi_map |
8276 |
</t> |
</t> |
8277 |
<t>/ MIDI_INSTRUMENT_MAP SP ALL |
<t>/ MIDI_INSTRUMENT_MAP SP ALL |
8278 |
</t> |
</t> |
8279 |
|
<t>/ SEND_EFFECT_CHAIN SP device_index SP effect_chain |
8280 |
|
</t> |
8281 |
|
<t>/ SEND_EFFECT_CHAIN SP EFFECT SP device_index SP effect_chain SP chain_pos |
8282 |
|
</t> |
8283 |
|
<t>/ FX_SEND SP EFFECT SP sampler_channel SP fx_send_id |
8284 |
|
</t> |
8285 |
<t>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
<t>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
8286 |
</t> |
</t> |
8287 |
<t>/ DB_INSTRUMENT_DIRECTORY SP db_path |
<t>/ DB_INSTRUMENT_DIRECTORY SP db_path |
8294 |
<list> |
<list> |
8295 |
<t>AVAILABLE_ENGINES |
<t>AVAILABLE_ENGINES |
8296 |
</t> |
</t> |
8297 |
|
<t>/ AVAILABLE_EFFECTS |
8298 |
|
</t> |
8299 |
|
<t>/ EFFECT_INSTANCES |
8300 |
|
</t> |
8301 |
|
<t>/ EFFECT SP INFO SP effect_index |
8302 |
|
</t> |
8303 |
|
<t>/ EFFECT_INSTANCE SP INFO SP effect_instance |
8304 |
|
</t> |
8305 |
|
<t>/ EFFECT_INSTANCE_INPUT_CONTROL SP INFO SP effect_instance SP input_control |
8306 |
|
</t> |
8307 |
|
<t>/ SEND_EFFECT_CHAINS SP device_index |
8308 |
|
</t> |
8309 |
|
<t>/ SEND_EFFECT_CHAIN SP INFO SP device_index SP effect_chain |
8310 |
|
</t> |
8311 |
<t>/ AVAILABLE_MIDI_INPUT_DRIVERS |
<t>/ AVAILABLE_MIDI_INPUT_DRIVERS |
8312 |
</t> |
</t> |
8313 |
<t>/ MIDI_INPUT_DRIVER SP INFO SP string |
<t>/ MIDI_INPUT_DRIVER SP INFO SP string |
8354 |
</t> |
</t> |
8355 |
<t>/ SERVER SP INFO |
<t>/ SERVER SP INFO |
8356 |
</t> |
</t> |
8357 |
|
<t>/ TOTAL_STREAM_COUNT |
8358 |
|
</t> |
8359 |
<t>/ TOTAL_VOICE_COUNT |
<t>/ TOTAL_VOICE_COUNT |
8360 |
</t> |
</t> |
8361 |
<t>/ TOTAL_VOICE_COUNT_MAX |
<t>/ TOTAL_VOICE_COUNT_MAX |
8390 |
</t> |
</t> |
8391 |
<t>/ VOLUME |
<t>/ VOLUME |
8392 |
</t> |
</t> |
8393 |
|
<t>/ VOICES |
8394 |
|
</t> |
8395 |
|
<t>/ STREAMS |
8396 |
|
</t> |
8397 |
|
<t>/ FILE SP INSTRUMENTS SP filename |
8398 |
|
</t> |
8399 |
|
<t>/ FILE SP INSTRUMENT SP INFO SP filename SP instrument_index |
8400 |
|
</t> |
8401 |
</list> |
</list> |
8402 |
</t> |
</t> |
8403 |
<t>set_instruction = |
<t>set_instruction = |
8412 |
</t> |
</t> |
8413 |
<t>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list |
<t>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list |
8414 |
</t> |
</t> |
8415 |
|
<t>/ EFFECT_INSTANCE_INPUT_CONTROL SP VALUE SP effect_instance SP input_control SP control_value |
8416 |
|
</t> |
8417 |
<t>/ CHANNEL SP set_chan_instruction |
<t>/ CHANNEL SP set_chan_instruction |
8418 |
</t> |
</t> |
8419 |
<t>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
<t>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
8426 |
</t> |
</t> |
8427 |
<t>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
<t>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
8428 |
</t> |
</t> |
8429 |
|
<t>/ FX_SEND SP EFFECT SP sampler_channel SP fx_send_id SP effect_chain SP chain_pos |
8430 |
|
</t> |
8431 |
<t>/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |
<t>/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |
8432 |
</t> |
</t> |
8433 |
<t>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP db_path SP stringval_escaped |
<t>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP db_path SP stringval_escaped |
8436 |
</t> |
</t> |
8437 |
<t>/ DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped |
<t>/ DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped |
8438 |
</t> |
</t> |
8439 |
|
<t>/ DB_INSTRUMENT SP FILE_PATH SP filename SP filename |
8440 |
|
</t> |
8441 |
<t>/ ECHO SP boolean |
<t>/ ECHO SP boolean |
8442 |
</t> |
</t> |
8443 |
|
<t>/ SHELL SP INTERACT SP boolean |
8444 |
|
</t> |
8445 |
|
<t>/ SHELL SP AUTO_CORRECT SP boolean |
8446 |
|
</t> |
8447 |
|
<t>/ SHELL SP DOC SP boolean |
8448 |
|
</t> |
8449 |
<t>/ VOLUME SP volume_value |
<t>/ VOLUME SP volume_value |
8450 |
</t> |
</t> |
8451 |
|
<t>/ VOICES SP number |
8452 |
|
</t> |
8453 |
|
<t>/ STREAMS SP number |
8454 |
|
</t> |
8455 |
</list> |
</list> |
8456 |
</t> |
</t> |
8457 |
<t>create_instruction = |
<t>create_instruction = |
8468 |
</t> |
</t> |
8469 |
<t>/ FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name |
<t>/ FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name |
8470 |
</t> |
</t> |
8471 |
|
<t>/ EFFECT_INSTANCE SP effect_index |
8472 |
|
</t> |
8473 |
|
<t>/ EFFECT_INSTANCE SP effect_system SP module SP effect_name |
8474 |
|
</t> |
8475 |
</list> |
</list> |
8476 |
</t> |
</t> |
8477 |
<t>reset_instruction = |
<t>reset_instruction = |
8498 |
</t> |
</t> |
8499 |
<t>/ DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list |
<t>/ DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list |
8500 |
</t> |
</t> |
8501 |
|
<t>/ LOST SP DB_INSTRUMENT_FILES |
8502 |
|
</t> |
8503 |
</list> |
</list> |
8504 |
</t> |
</t> |
8505 |
<t>move_instruction = |
<t>move_instruction = |
8526 |
</t> |
</t> |
8527 |
<t>/ FX_SEND SP sampler_channel SP fx_send_id |
<t>/ FX_SEND SP sampler_channel SP fx_send_id |
8528 |
</t> |
</t> |
8529 |
|
<t>/ EFFECT_INSTANCE SP number |
8530 |
|
</t> |
8531 |
</list> |
</list> |
8532 |
</t> |
</t> |
8533 |
<t>load_instruction = |
<t>load_instruction = |
8538 |
</t> |
</t> |
8539 |
</list> |
</list> |
8540 |
</t> |
</t> |
8541 |
|
<t>append_instruction = |
8542 |
|
<list> |
8543 |
|
<t>SEND_EFFECT_CHAIN SP EFFECT SP device_index SP effect_chain SP effect_instance |
8544 |
|
</t> |
8545 |
|
</list> |
8546 |
|
</t> |
8547 |
|
<t>insert_instruction = |
8548 |
|
<list> |
8549 |
|
<t>SEND_EFFECT_CHAIN SP EFFECT SP device_index SP effect_chain SP chain_pos SP effect_instance |
8550 |
|
</t> |
8551 |
|
</list> |
8552 |
|
</t> |
8553 |
<t>set_chan_instruction = |
<t>set_chan_instruction = |
8554 |
<list> |
<list> |
8555 |
<t>AUDIO_OUTPUT_DEVICE SP sampler_channel SP device_index |
<t>AUDIO_OUTPUT_DEVICE SP sampler_channel SP device_index |
8584 |
</t> |
</t> |
8585 |
<t>edit_instruction = |
<t>edit_instruction = |
8586 |
<list> |
<list> |
8587 |
<t>INSTRUMENT SP sampler_channel |
<t>CHANNEL SP INSTRUMENT SP sampler_channel |
8588 |
</t> |
</t> |
8589 |
</list> |
</list> |
8590 |
</t> |
</t> |
8626 |
</t> |
</t> |
8627 |
<t>/ CHANNELS |
<t>/ CHANNELS |
8628 |
</t> |
</t> |
8629 |
|
<t>/ CHANNEL SP MIDI_INPUTS SP sampler_channel |
8630 |
|
</t> |
8631 |
<t>/ AVAILABLE_ENGINES |
<t>/ AVAILABLE_ENGINES |
8632 |
</t> |
</t> |
8633 |
|
<t>/ AVAILABLE_EFFECTS |
8634 |
|
</t> |
8635 |
|
<t>/ EFFECT_INSTANCES |
8636 |
|
</t> |
8637 |
|
<t>/ SEND_EFFECT_CHAINS SP number |
8638 |
|
</t> |
8639 |
<t>/ AVAILABLE_MIDI_INPUT_DRIVERS |
<t>/ AVAILABLE_MIDI_INPUT_DRIVERS |
8640 |
</t> |
</t> |
8641 |
<t>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
<t>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
8656 |
</t> |
</t> |
8657 |
<t>/ DB_INSTRUMENTS SP db_path |
<t>/ DB_INSTRUMENTS SP db_path |
8658 |
</t> |
</t> |
8659 |
|
<t>/ FILE SP INSTRUMENTS SP filename |
8660 |
|
</t> |
8661 |
|
</list> |
8662 |
|
</t> |
8663 |
|
<t>send_instruction = |
8664 |
|
<list> |
8665 |
|
<t>CHANNEL SP MIDI_DATA SP string SP sampler_channel SP number SP number |
8666 |
|
</t> |
8667 |
</list> |
</list> |
8668 |
</t> |
</t> |
8669 |
<t>load_instr_args = |
<t>load_instr_args = |
8690 |
</t> |
</t> |
8691 |
</list> |
</list> |
8692 |
</t> |
</t> |
8693 |
|
<t>effect_instance = |
8694 |
|
<list> |
8695 |
|
<t>number |
8696 |
|
</t> |
8697 |
|
</list> |
8698 |
|
</t> |
8699 |
<t>device_index = |
<t>device_index = |
8700 |
<list> |
<list> |
8701 |
<t>number |
<t>number |
8766 |
</t> |
</t> |
8767 |
</list> |
</list> |
8768 |
</t> |
</t> |
8769 |
|
<t>control_value = |
8770 |
|
<list> |
8771 |
|
<t>real |
8772 |
|
</t> |
8773 |
|
</list> |
8774 |
|
</t> |
8775 |
<t>sampler_channel = |
<t>sampler_channel = |
8776 |
<list> |
<list> |
8777 |
<t>number |
<t>number |
8826 |
</t> |
</t> |
8827 |
</list> |
</list> |
8828 |
</t> |
</t> |
8829 |
|
<t>effect_name = |
8830 |
|
<list> |
8831 |
|
<t>stringval_escaped |
8832 |
|
</t> |
8833 |
|
</list> |
8834 |
|
</t> |
8835 |
|
<t>effect_index = |
8836 |
|
<list> |
8837 |
|
<t>number |
8838 |
|
</t> |
8839 |
|
</list> |
8840 |
|
</t> |
8841 |
|
<t>effect_chain = |
8842 |
|
<list> |
8843 |
|
<t>number |
8844 |
|
</t> |
8845 |
|
</list> |
8846 |
|
</t> |
8847 |
|
<t>chain_pos = |
8848 |
|
<list> |
8849 |
|
<t>number |
8850 |
|
</t> |
8851 |
|
</list> |
8852 |
|
</t> |
8853 |
|
<t>input_control = |
8854 |
|
<list> |
8855 |
|
<t>number |
8856 |
|
</t> |
8857 |
|
</list> |
8858 |
|
</t> |
8859 |
<t>param_val_list = |
<t>param_val_list = |
8860 |
<list> |
<list> |
8861 |
<t>param_val |
<t>param_val |
8903 |
</t> |
</t> |
8904 |
</list> |
</list> |
8905 |
</t> |
</t> |
8906 |
|
<t>effect_system = |
8907 |
|
<list> |
8908 |
|
<t>string |
8909 |
|
</t> |
8910 |
|
</list> |
8911 |
|
</t> |
8912 |
|
<t>module = |
8913 |
|
<list> |
8914 |
|
<t>filename |
8915 |
|
</t> |
8916 |
|
</list> |
8917 |
|
</t> |
8918 |
|
|
8919 |
<!-- GRAMMAR_BNF_END - do NOT delete or modify this line !!! --> |
<!-- GRAMMAR_BNF_END - do NOT delete or modify this line !!! --> |
8920 |
|
|
8950 |
in the old versions a single backslash was sufficient.</t> |
in the old versions a single backslash was sufficient.</t> |
8951 |
|
|
8952 |
<t>The following LSCP commands support escape sequences as part |
<t>The following LSCP commands support escape sequences as part |
8953 |
of their filename / path based arguments: |
of their filename / path based arguments and / or may contain |
8954 |
|
a filename / path with escape sequences in their response: |
8955 |
<list> |
<list> |
8956 |
<t><xref target="LOAD INSTRUMENT">"LOAD INSTRUMENT"</xref></t> |
<t><xref target="LOAD INSTRUMENT">"LOAD INSTRUMENT"</xref></t> |
8957 |
|
<t><xref target="GET CHANNEL INFO">"GET CHANNEL INFO"</xref></t> |
8958 |
<t><xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref></t> |
<t><xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref></t> |
8959 |
|
<t><xref target="GET MIDI_INSTRUMENT INFO">"GET MIDI_INSTRUMENT INFO"</xref></t> |
8960 |
<t><xref target="ADD DB_INSTRUMENT_DIRECTORY">"ADD DB_INSTRUMENT_DIRECTORY"</xref></t> |
<t><xref target="ADD DB_INSTRUMENT_DIRECTORY">"ADD DB_INSTRUMENT_DIRECTORY"</xref></t> |
8961 |
<t><xref target="ADD DB_INSTRUMENTS">"ADD DB_INSTRUMENTS"</xref></t> |
<t><xref target="ADD DB_INSTRUMENTS">"ADD DB_INSTRUMENTS"</xref></t> |
8962 |
<t><xref target="REMOVE DB_INSTRUMENT_DIRECTORY">"REMOVE DB_INSTRUMENT_DIRECTORY"</xref></t> |
<t><xref target="REMOVE DB_INSTRUMENT_DIRECTORY">"REMOVE DB_INSTRUMENT_DIRECTORY"</xref></t> |
8977 |
<t><xref target="MOVE DB_INSTRUMENT_DIRECTORY">"MOVE DB_INSTRUMENT_DIRECTORY"</xref></t> |
<t><xref target="MOVE DB_INSTRUMENT_DIRECTORY">"MOVE DB_INSTRUMENT_DIRECTORY"</xref></t> |
8978 |
<t><xref target="COPY DB_INSTRUMENT">"COPY DB_INSTRUMENT"</xref></t> |
<t><xref target="COPY DB_INSTRUMENT">"COPY DB_INSTRUMENT"</xref></t> |
8979 |
<t><xref target="COPY DB_INSTRUMENT_DIRECTORY">"COPY DB_INSTRUMENT_DIRECTORY"</xref></t> |
<t><xref target="COPY DB_INSTRUMENT_DIRECTORY">"COPY DB_INSTRUMENT_DIRECTORY"</xref></t> |
8980 |
|
<t><xref target="FIND LOST DB_INSTRUMENT_FILES">"FIND LOST DB_INSTRUMENT_FILES"</xref></t> |
8981 |
|
<t><xref target="SET DB_INSTRUMENT FILE_PATH">"SET DB_INSTRUMENT FILE_PATH"</xref></t> |
8982 |
|
<t><xref target="GET FILE INSTRUMENTS">"GET FILE INSTRUMENTS"</xref></t> |
8983 |
|
<t><xref target="LIST FILE INSTRUMENTS">"LIST FILE INSTRUMENTS"</xref></t> |
8984 |
|
<t><xref target="GET FILE INSTRUMENT INFO">"GET FILE INSTRUMENT INFO"</xref></t> |
8985 |
|
<t><xref target="GET EFFECT INFO">"GET EFFECT INFO"</xref></t> |
8986 |
|
<t><xref target="GET EFFECT_INSTANCE INFO">"GET EFFECT_INSTANCE INFO"</xref></t> |
8987 |
|
<t><xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref></t> |
8988 |
</list> |
</list> |
8989 |
Note that the forward slash character ('/') has a special meaning in |
Note that the forward slash character ('/') has a special meaning in |
8990 |
filename / path based arguments: it acts as separator of the nodes in |
filename / path based arguments: it acts as separator of the nodes in |
8995 |
</t> |
</t> |
8996 |
|
|
8997 |
<t> |
<t> |
8998 |
|
Note for Windows: file path arguments in LSCP are expected |
8999 |
|
to use forward slashes as directory node separator similar |
9000 |
|
to Unix based operating systems. In contrast to Unix however |
9001 |
|
a Windows typical drive character is expected to be |
9002 |
|
prefixed to the path. That is an original Windows file path |
9003 |
|
like "D:\Sounds\My.gig" would become in LSCP: |
9004 |
|
"D:/Sounds/My.gig". |
9005 |
|
</t> |
9006 |
|
|
9007 |
|
<t> |
9008 |
The following LSCP commands even support escape sequences as |
The following LSCP commands even support escape sequences as |
9009 |
part of at least one of their text-based arguments (i.e. entity name, |
part of at least one of their text-based arguments (i.e. entity name, |
9010 |
description): |
description) and / or may contain escape sequences in at least one of |
9011 |
|
their text-based fields in their response: |
9012 |
<list> |
<list> |
9013 |
|
<t><xref target="GET SERVER INFO">"GET SERVER INFO"</xref></t> |
9014 |
|
<t><xref target="GET ENGINE INFO">"GET ENGINE INFO"</xref></t> |
9015 |
|
<t><xref target="GET CHANNEL INFO">"GET CHANNEL INFO"</xref></t> |
9016 |
|
<t><xref target="CREATE FX_SEND">"CREATE FX_SEND"</xref></t> |
9017 |
|
<t><xref target="GET FX_SEND INFO">"GET FX_SEND INFO"</xref></t> |
9018 |
|
<t><xref target="SET FX_SEND NAME">"SET FX_SEND NAME"</xref></t> |
9019 |
|
<t><xref target="GET MIDI_INSTRUMENT INFO">"GET MIDI_INSTRUMENT INFO"</xref></t> |
9020 |
|
<t><xref target="GET MIDI_INSTRUMENT_MAP INFO">"GET MIDI_INSTRUMENT_MAP INFO"</xref></t> |
9021 |
<t><xref target="ADD MIDI_INSTRUMENT_MAP">"ADD MIDI_INSTRUMENT_MAP"</xref></t> |
<t><xref target="ADD MIDI_INSTRUMENT_MAP">"ADD MIDI_INSTRUMENT_MAP"</xref></t> |
9022 |
<t><xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref></t> |
<t><xref target="MAP MIDI_INSTRUMENT">"MAP MIDI_INSTRUMENT"</xref></t> |
9023 |
<t><xref target="SET MIDI_INSTRUMENT_MAP NAME">"SET MIDI_INSTRUMENT_MAP NAME"</xref></t> |
<t><xref target="SET MIDI_INSTRUMENT_MAP NAME">"SET MIDI_INSTRUMENT_MAP NAME"</xref></t> |
9024 |
|
<t><xref target="GET DB_INSTRUMENT_DIRECTORY INFO">"GET DB_INSTRUMENT_DIRECTORY INFO"</xref></t> |
9025 |
<t><xref target="SET DB_INSTRUMENT_DIRECTORY NAME">"SET DB_INSTRUMENT_DIRECTORY NAME"</xref></t> |
<t><xref target="SET DB_INSTRUMENT_DIRECTORY NAME">"SET DB_INSTRUMENT_DIRECTORY NAME"</xref></t> |
9026 |
<t><xref target="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">"SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"</xref></t> |
<t><xref target="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">"SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"</xref></t> |
9027 |
|
<t><xref target="FIND DB_INSTRUMENT_DIRECTORIES">"FIND DB_INSTRUMENT_DIRECTORIES"</xref></t> |
9028 |
|
<t><xref target="GET DB_INSTRUMENT INFO">"GET DB_INSTRUMENT INFO"</xref></t> |
9029 |
<t><xref target="SET DB_INSTRUMENT NAME">"SET DB_INSTRUMENT NAME"</xref></t> |
<t><xref target="SET DB_INSTRUMENT NAME">"SET DB_INSTRUMENT NAME"</xref></t> |
9030 |
<t><xref target="SET DB_INSTRUMENT DESCRIPTION">"SET DB_INSTRUMENT DESCRIPTION"</xref></t> |
<t><xref target="SET DB_INSTRUMENT DESCRIPTION">"SET DB_INSTRUMENT DESCRIPTION"</xref></t> |
9031 |
<t><xref target="FIND DB_INSTRUMENT_DIRECTORIES">"FIND DB_INSTRUMENT_DIRECTORIES"</xref></t> |
<t><xref target="FIND DB_INSTRUMENTS">"FIND DB_INSTRUMENTS"</xref></t> |
9032 |
|
<t><xref target="GET EFFECT INFO">"GET EFFECT INFO"</xref></t> |
9033 |
|
<t><xref target="GET EFFECT_INSTANCE INFO">"GET EFFECT_INSTANCE INFO"</xref></t> |
9034 |
|
<t><xref target="CREATE EFFECT_INSTANCE">"CREATE EFFECT_INSTANCE"</xref></t> |
9035 |
</list> |
</list> |
9036 |
Please note that these lists are manually maintained. If you |
Please note that these lists are manually maintained. If you |
9037 |
find a command that also supports escape sequences we forgot to |
find a command that also supports escape sequences we forgot to |
9043 |
<section title="Events" anchor="events"> |
<section title="Events" anchor="events"> |
9044 |
<t>This chapter will describe all currently defined events supported by LinuxSampler.</t> |
<t>This chapter will describe all currently defined events supported by LinuxSampler.</t> |
9045 |
|
|
9046 |
<section title="Number of audio output devices changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT"> |
<section title="Number of audio output devices changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT" lscp_cmd="true"> |
9047 |
<t>Client may want to be notified when the total number of audio output devices on the |
<t>Client may want to be notified when the total number of audio output devices on the |
9048 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9049 |
<t> |
<t> |
9061 |
of audio output devices.</t> |
of audio output devices.</t> |
9062 |
</section> |
</section> |
9063 |
|
|
9064 |
<section title="Audio output device's settings changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO"> |
<section title="Audio output device's settings changed" anchor="SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO" lscp_cmd="true"> |
9065 |
<t>Client may want to be notified when changes were made to audio output devices on the |
<t>Client may want to be notified when changes were made to audio output devices on the |
9066 |
back-end by issuing the following command:</t> |
back-end by issuing the following command:</t> |
9067 |
<t> |
<t> |
9083 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9084 |
</section> |
</section> |
9085 |
|
|
9086 |
<section title="Number of MIDI input devices changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_COUNT"> |
<section title="Number of MIDI input devices changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_COUNT" lscp_cmd="true"> |
9087 |
<t>Client may want to be notified when the total number of MIDI input devices on the |
<t>Client may want to be notified when the total number of MIDI input devices on the |
9088 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9089 |
<t> |
<t> |
9101 |
of MIDI input devices.</t> |
of MIDI input devices.</t> |
9102 |
</section> |
</section> |
9103 |
|
|
9104 |
<section title="MIDI input device's settings changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_INFO"> |
<section title="MIDI input device's settings changed" anchor="SUBSCRIBE MIDI_INPUT_DEVICE_INFO" lscp_cmd="true"> |
9105 |
<t>Client may want to be notified when changes were made to MIDI input devices on the |
<t>Client may want to be notified when changes were made to MIDI input devices on the |
9106 |
back-end by issuing the following command:</t> |
back-end by issuing the following command:</t> |
9107 |
<t> |
<t> |
9123 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9124 |
</section> |
</section> |
9125 |
|
|
9126 |
<section title="Number of sampler channels changed" anchor="SUBSCRIBE CHANNEL_COUNT"> |
<section title="Number of sampler channels changed" anchor="SUBSCRIBE CHANNEL_COUNT" lscp_cmd="true"> |
9127 |
<t>Client may want to be notified when the total number of channels on the |
<t>Client may want to be notified when the total number of channels on the |
9128 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9129 |
<t> |
<t> |
9141 |
of sampler channels.</t> |
of sampler channels.</t> |
9142 |
</section> |
</section> |
9143 |
|
|
9144 |
<section title="Number of active voices changed" anchor="SUBSCRIBE VOICE_COUNT"> |
<section title="MIDI data on a sampler channel arrived" anchor="SUBSCRIBE CHANNEL_MIDI" lscp_cmd="true"> |
9145 |
|
<t>Client may want to be notified when MIDI data arrive on sampler channels on |
9146 |
|
back-end side, by issuing the following command:</t> |
9147 |
|
<t> |
9148 |
|
<list> |
9149 |
|
<t>SUBSCRIBE CHANNEL_MIDI</t> |
9150 |
|
</list> |
9151 |
|
</t> |
9152 |
|
<t>Server will start sending one of the the following notification messages:</t> |
9153 |
|
<t> |
9154 |
|
<list> |
9155 |
|
<t>"NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_ON <note> <velocity>"</t> |
9156 |
|
<t>"NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_OFF <note> <velocity>"</t> |
9157 |
|
</list> |
9158 |
|
</t> |
9159 |
|
<t>where <channel-id> will be replaced by the ID of the sampler channel where the MIDI |
9160 |
|
data arrived. <note> and <velocity> are integer values in the range between |
9161 |
|
0 .. 127, reflecting the analog meaning of the MIDI specification. |
9162 |
|
</t> |
9163 |
|
<t>CAUTION: no guarantee whatsoever will be made that MIDI events are actually all |
9164 |
|
delivered by this mechanism! With other words: events could be lost at any time! |
9165 |
|
This restriction was made to keep the RT-safeness of the backend's MIDI and audio |
9166 |
|
thread unaffected by this feature.</t> |
9167 |
|
</section> |
9168 |
|
|
9169 |
|
<section title="MIDI data on a MIDI input device arrived" anchor="SUBSCRIBE DEVICE_MIDI" lscp_cmd="true"> |
9170 |
|
<t>Client may want to be notified when MIDI data arrive on MIDI input devices by issuing the following command:</t> |
9171 |
|
<t> |
9172 |
|
<list> |
9173 |
|
<t>SUBSCRIBE DEVICE_MIDI</t> |
9174 |
|
</list> |
9175 |
|
</t> |
9176 |
|
<t>Server will start sending one of the the following notification messages:</t> |
9177 |
|
<t> |
9178 |
|
<list> |
9179 |
|
<t>"NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_ON <note> <velocity>"</t> |
9180 |
|
<t>"NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_OFF <note> <velocity>"</t> |
9181 |
|
</list> |
9182 |
|
</t> |
9183 |
|
<t>where <device-id> <port-id> will be replaced |
9184 |
|
by the IDs of the respective MIDI input device and the device's MIDI port where the MIDI |
9185 |
|
data arrived. <note> and <velocity> are integer values in the range between |
9186 |
|
0 .. 127, reflecting the analog meaning of the MIDI specification. |
9187 |
|
</t> |
9188 |
|
<t>CAUTION: no guarantee whatsoever will be made that MIDI events are actually all |
9189 |
|
delivered by this mechanism! With other words: events could be lost at any time! |
9190 |
|
This restriction was made to keep the RT-safeness of the backend's MIDI and audio |
9191 |
|
thread unaffected by this feature.</t> |
9192 |
|
</section> |
9193 |
|
|
9194 |
|
<section title="Number of active voices changed" anchor="SUBSCRIBE VOICE_COUNT" lscp_cmd="true"> |
9195 |
<t>Client may want to be notified when the number of voices on the |
<t>Client may want to be notified when the number of voices on the |
9196 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9197 |
<t> |
<t> |
9210 |
active voices on that channel.</t> |
active voices on that channel.</t> |
9211 |
</section> |
</section> |
9212 |
|
|
9213 |
<section title="Number of active disk streams changed" anchor="SUBSCRIBE STREAM_COUNT"> |
<section title="Number of active disk streams changed" anchor="SUBSCRIBE STREAM_COUNT" lscp_cmd="true"> |
9214 |
<t>Client may want to be notified when the number of streams on the back-end |
<t>Client may want to be notified when the number of streams on the back-end |
9215 |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT</t> |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT</t> |
9216 |
<t> |
<t> |
9229 |
active disk streams on that channel.</t> |
active disk streams on that channel.</t> |
9230 |
</section> |
</section> |
9231 |
|
|
9232 |
<section title="Disk stream buffer fill state changed" anchor="SUBSCRIBE BUFFER_FILL"> |
<section title="Disk stream buffer fill state changed" anchor="SUBSCRIBE BUFFER_FILL" lscp_cmd="true"> |
9233 |
<t>Client may want to be notified when the buffer fill state of a disk stream |
<t>Client may want to be notified when the buffer fill state of a disk stream |
9234 |
on the back-end changes by issuing the following command:</t> |
on the back-end changes by issuing the following command:</t> |
9235 |
<t> |
<t> |
9250 |
"GET CHANNEL BUFFER_FILL PERCENTAGE"</xref> command was issued on this channel.</t> |
"GET CHANNEL BUFFER_FILL PERCENTAGE"</xref> command was issued on this channel.</t> |
9251 |
</section> |
</section> |
9252 |
|
|
9253 |
<section title="Channel information changed" anchor="SUBSCRIBE CHANNEL_INFO"> |
<section title="Channel information changed" anchor="SUBSCRIBE CHANNEL_INFO" lscp_cmd="true"> |
9254 |
<t>Client may want to be notified when changes were made to sampler channels on the |
<t>Client may want to be notified when changes were made to sampler channels on the |
9255 |
back-end by issuing the following command:</t> |
back-end by issuing the following command:</t> |
9256 |
<t> |
<t> |
9272 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9273 |
</section> |
</section> |
9274 |
|
|
9275 |
<section title="Number of effect sends changed" anchor="SUBSCRIBE FX_SEND_COUNT"> |
<section title="Number of effect sends changed" anchor="SUBSCRIBE FX_SEND_COUNT" lscp_cmd="true"> |
9276 |
<t>Client may want to be notified when the number of effect sends on |
<t>Client may want to be notified when the number of effect sends on |
9277 |
a particular sampler channel is changed by issuing the following command:</t> |
a particular sampler channel is changed by issuing the following command:</t> |
9278 |
<t> |
<t> |
9291 |
be replaced by the new number of effect sends on that channel.</t> |
be replaced by the new number of effect sends on that channel.</t> |
9292 |
</section> |
</section> |
9293 |
|
|
9294 |
<section title="Effect send information changed" anchor="SUBSCRIBE FX_SEND_INFO"> |
<section title="Effect send information changed" anchor="SUBSCRIBE FX_SEND_INFO" lscp_cmd="true"> |
9295 |
<t>Client may want to be notified when changes were made to effect sends on a |
<t>Client may want to be notified when changes were made to effect sends on a |
9296 |
a particular sampler channel by issuing the following command:</t> |
a particular sampler channel by issuing the following command:</t> |
9297 |
<t> |
<t> |
9310 |
be replaced by the numerical ID of the changed effect send.</t> |
be replaced by the numerical ID of the changed effect send.</t> |
9311 |
</section> |
</section> |
9312 |
|
|
9313 |
<section title="Total number of active voices changed" anchor="SUBSCRIBE TOTAL_VOICE_COUNT"> |
<section title="Total number of active voices changed" anchor="SUBSCRIBE TOTAL_VOICE_COUNT" lscp_cmd="true"> |
9314 |
<t>Client may want to be notified when the total number of voices on the |
<t>Client may want to be notified when the total number of voices on the |
9315 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9316 |
<t> |
<t> |
9328 |
all currently active voices.</t> |
all currently active voices.</t> |
9329 |
</section> |
</section> |
9330 |
|
|
9331 |
<section title="Number of MIDI instrument maps changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"> |
<section title="Total number of active disk streams changed" anchor="SUBSCRIBE TOTAL_STREAM_COUNT" lscp_cmd="true"> |
9332 |
|
<t>Client may want to be notified when the total number of disk streams on the |
9333 |
|
back-end changes by issuing the following command:</t> |
9334 |
|
<t> |
9335 |
|
<list> |
9336 |
|
<t>SUBSCRIBE TOTAL_STREAM_COUNT</t> |
9337 |
|
</list> |
9338 |
|
</t> |
9339 |
|
<t>Server will start sending the following notification messages:</t> |
9340 |
|
<t> |
9341 |
|
<list> |
9342 |
|
<t>"NOTIFY:TOTAL_STREAM_COUNT:<streams>"</t> |
9343 |
|
</list> |
9344 |
|
</t> |
9345 |
|
<t>where <streams> will be replaced by the new number of |
9346 |
|
all currently active disk streams.</t> |
9347 |
|
</section> |
9348 |
|
|
9349 |
|
<section title="Number of MIDI instrument maps changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT" lscp_cmd="true"> |
9350 |
<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 |
9351 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9352 |
<t> |
<t> |
9364 |
of MIDI instrument maps.</t> |
of MIDI instrument maps.</t> |
9365 |
</section> |
</section> |
9366 |
|
|
9367 |
<section title="MIDI instrument map information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"> |
<section title="MIDI instrument map information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO" lscp_cmd="true"> |
9368 |
<t>Client may want to be notified when changes were made to MIDI instrument maps on the |
<t>Client may want to be notified when changes were made to MIDI instrument maps on the |
9369 |
back-end by issuing the following command:</t> |
back-end by issuing the following command:</t> |
9370 |
<t> |
<t> |
9386 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9387 |
</section> |
</section> |
9388 |
|
|
9389 |
<section title="Number of MIDI instruments changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_COUNT"> |
<section title="Number of MIDI instruments changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_COUNT" lscp_cmd="true"> |
9390 |
<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 |
9391 |
back-end changes by issuing the following command:</t> |
back-end changes by issuing the following command:</t> |
9392 |
<t> |
<t> |
9405 |
the new number of MIDI instruments in the specified map.</t> |
the new number of MIDI instruments in the specified map.</t> |
9406 |
</section> |
</section> |
9407 |
|
|
9408 |
<section title="MIDI instrument information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_INFO"> |
<section title="MIDI instrument information changed" anchor="SUBSCRIBE MIDI_INSTRUMENT_INFO" lscp_cmd="true"> |
9409 |
<t>Client may want to be notified when changes were made to MIDI instruments on the |
<t>Client may want to be notified when changes were made to MIDI instruments on the |
9410 |
back-end by issuing the following command:</t> |
back-end by issuing the following command:</t> |
9411 |
<t> |
<t> |
9428 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9429 |
</section> |
</section> |
9430 |
|
|
9431 |
<section title="Global settings changed" anchor="SUBSCRIBE GLOBAL_INFO"> |
<section title="Global settings changed" anchor="SUBSCRIBE GLOBAL_INFO" lscp_cmd="true"> |
9432 |
<t>Client may want to be notified when changes to the global settings |
<t>Client may want to be notified when changes to the global settings |
9433 |
of the sampler were made by issuing the following command:</t> |
of the sampler were made by issuing the following command:</t> |
9434 |
<t> |
<t> |
9444 |
replaced by the optional dotted floating point value, reflecting the |
replaced by the optional dotted floating point value, reflecting the |
9445 |
new global volume parameter.</t> |
new global volume parameter.</t> |
9446 |
</list> |
</list> |
9447 |
|
<list> |
9448 |
|
<t>"NOTIFY:GLOBAL_INFO:VOICES <max-voices>" - Notifies that the |
9449 |
|
golbal limit of the sampler for maximum voices is changed, where |
9450 |
|
<max-voices> will be an integer value, reflecting the |
9451 |
|
new global voice limit parameter.</t> |
9452 |
|
</list> |
9453 |
|
<list> |
9454 |
|
<t>"NOTIFY:GLOBAL_INFO:STREAMS <max-streams>" - Notifies that the |
9455 |
|
golbal limit of the sampler for maximum disk streams is changed, where |
9456 |
|
<max-streams> will be an integer value, reflecting the |
9457 |
|
new global disk streams limit parameter.</t> |
9458 |
|
</list> |
9459 |
</t> |
</t> |
9460 |
</section> |
</section> |
9461 |
|
|
9462 |
<section title="Number of database instrument directories changed" anchor="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT"> |
<section title="Number of database instrument directories changed" anchor="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT" lscp_cmd="true"> |
9463 |
<t>Client may want to be notified when the number of instrument |
<t>Client may want to be notified when the number of instrument |
9464 |
directories in a particular directory in the instruments database |
directories in a particular directory in the instruments database |
9465 |
is changed by issuing the following command:</t> |
is changed by issuing the following command:</t> |
9481 |
is not sent for the subdirectories in that directory.</t> |
is not sent for the subdirectories in that directory.</t> |
9482 |
</section> |
</section> |
9483 |
|
|
9484 |
<section title="Database instrument directory information changed" anchor="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO"> |
<section title="Database instrument directory information changed" anchor="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO" lscp_cmd="true"> |
9485 |
<t>Client may want to be notified when changes were made to directories |
<t>Client may want to be notified when changes were made to directories |
9486 |
in the instruments database by issuing the following command:</t> |
in the instruments database by issuing the following command:</t> |
9487 |
<t> |
<t> |
9511 |
the new name of the directory, encapsulated into apostrophes.</t> |
the new name of the directory, encapsulated into apostrophes.</t> |
9512 |
</section> |
</section> |
9513 |
|
|
9514 |
<section title="Number of database instruments changed" anchor="SUBSCRIBE DB_INSTRUMENT_COUNT"> |
<section title="Number of database instruments changed" anchor="SUBSCRIBE DB_INSTRUMENT_COUNT" lscp_cmd="true"> |
9515 |
<t>Client may want to be notified when the number of instruments |
<t>Client may want to be notified when the number of instruments |
9516 |
in a particular directory in the instruments database |
in a particular directory in the instruments database |
9517 |
is changed by issuing the following command:</t> |
is changed by issuing the following command:</t> |
9533 |
is not sent for the instruments in that directory.</t> |
is not sent for the instruments in that directory.</t> |
9534 |
</section> |
</section> |
9535 |
|
|
9536 |
<section title="Database instrument information changed" anchor="SUBSCRIBE DB_INSTRUMENT_INFO"> |
<section title="Database instrument information changed" anchor="SUBSCRIBE DB_INSTRUMENT_INFO" lscp_cmd="true"> |
9537 |
<t>Client may want to be notified when changes were made to instruments |
<t>Client may want to be notified when changes were made to instruments |
9538 |
in the instruments database by issuing the following command:</t> |
in the instruments database by issuing the following command:</t> |
9539 |
<t> |
<t> |
9563 |
the new name of the instrument, encapsulated into apostrophes.</t> |
the new name of the instrument, encapsulated into apostrophes.</t> |
9564 |
</section> |
</section> |
9565 |
|
|
9566 |
<section title="Database job status information changed" anchor="SUBSCRIBE DB_INSTRUMENTS_JOB_INFO"> |
<section title="Database job status information changed" anchor="SUBSCRIBE DB_INSTRUMENTS_JOB_INFO" lscp_cmd="true"> |
9567 |
<t>Client may want to be notified when the status of particular database |
<t>Client may want to be notified when the status of particular database |
9568 |
instruments job is changed by issuing the following command:</t> |
instruments job is changed by issuing the following command:</t> |
9569 |
<t> |
<t> |
9585 |
message is sufficient here.</t> |
message is sufficient here.</t> |
9586 |
</section> |
</section> |
9587 |
|
|
9588 |
<section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS"> |
<section title="Number of effect instances changed" anchor="SUBSCRIBE EFFECT_INSTANCE_COUNT" lscp_cmd="true"> |
9589 |
|
<t>Client may want to be notified when the number of effect instances |
9590 |
|
is changed by issuing the following command:</t> |
9591 |
|
<t> |
9592 |
|
<list> |
9593 |
|
<t>SUBSCRIBE EFFECT_INSTANCE_COUNT</t> |
9594 |
|
</list> |
9595 |
|
</t> |
9596 |
|
<t>Server will start sending the following notification messages:</t> |
9597 |
|
<t> |
9598 |
|
<list> |
9599 |
|
<t>"EFFECT_INSTANCE_COUNT:<instances>"</t> |
9600 |
|
</list> |
9601 |
|
</t> |
9602 |
|
<t>where <instances> will be replaced by the new number |
9603 |
|
of effect instances.</t> |
9604 |
|
</section> |
9605 |
|
|
9606 |
|
<section title="Effect instance information changed" anchor="SUBSCRIBE EFFECT_INSTANCE_INFO" lscp_cmd="true"> |
9607 |
|
<t>Client may want to be notified when changes were made to effect instances |
9608 |
|
on the back-end by issuing the following command:</t> |
9609 |
|
<t> |
9610 |
|
<list> |
9611 |
|
<t>SUBSCRIBE EFFECT_INSTANCE_INFO</t> |
9612 |
|
</list> |
9613 |
|
</t> |
9614 |
|
<t>Server will start sending the following notification messages:</t> |
9615 |
|
<t> |
9616 |
|
<list> |
9617 |
|
<t>"EFFECT_INSTANCE_INFO:<instance-id>"</t> |
9618 |
|
</list> |
9619 |
|
</t> |
9620 |
|
<t>where <instance-id> will be replaced by the numerical ID |
9621 |
|
of the effect instance.</t> |
9622 |
|
</section> |
9623 |
|
|
9624 |
|
<section title="Number of send effect chains changed" anchor="SUBSCRIBE SEND_EFFECT_CHAIN_COUNT" lscp_cmd="true"> |
9625 |
|
<t>Client may want to be notified when the number of send effect chains |
9626 |
|
is changed by issuing the following command:</t> |
9627 |
|
<t> |
9628 |
|
<list> |
9629 |
|
<t>SUBSCRIBE SEND_EFFECT_CHAIN_COUNT</t> |
9630 |
|
</list> |
9631 |
|
</t> |
9632 |
|
<t>Server will start sending the following notification messages:</t> |
9633 |
|
<t> |
9634 |
|
<list> |
9635 |
|
<t>"NOTIFY:SEND_EFFECT_CHAIN_COUNT:<device-id> <chains>"</t> |
9636 |
|
</list> |
9637 |
|
</t> |
9638 |
|
<t>where <device-id> will be replaced by the numerical ID of the audio |
9639 |
|
output device, in which the number of send effect chains is changed and |
9640 |
|
<chains> will be replaced by the new number of send effect chains.</t> |
9641 |
|
</section> |
9642 |
|
|
9643 |
|
<section title="Send effect chain information changed" anchor="SUBSCRIBE SEND_EFFECT_CHAIN_INFO" lscp_cmd="true"> |
9644 |
|
<t>Client may want to be notified when changes were made to send effect chains |
9645 |
|
on the back-end by issuing the following command:</t> |
9646 |
|
<t> |
9647 |
|
<list> |
9648 |
|
<t>SUBSCRIBE SEND_EFFECT_CHAIN_INFO</t> |
9649 |
|
</list> |
9650 |
|
</t> |
9651 |
|
<t>Server will start sending the following notification messages:</t> |
9652 |
|
<t> |
9653 |
|
<list> |
9654 |
|
<t>"SEND_EFFECT_CHAIN_INFO:<device-id> <chain-id> <instances>" - |
9655 |
|
Notifies that the number of effect instances in a particular send effect chain |
9656 |
|
is changed, where <device-id> will be replaced by the numerical ID of the audio |
9657 |
|
output device the send effect chain belongs to, <chain-id> will be replaced |
9658 |
|
by the numerical ID of the send effect chain in which the number of effect instances |
9659 |
|
has changed and <instances> will be replaced by the new number |
9660 |
|
of effect instances in the specified send effect chain.</t> |
9661 |
|
</list> |
9662 |
|
</t> |
9663 |
|
</section> |
9664 |
|
|
9665 |
|
<section title="Miscellaneous and debugging events" anchor="SUBSCRIBE MISCELLANEOUS" lscp_cmd="true"> |
9666 |
<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 |
9667 |
the server by issuing the following command:</t> |
the server by issuing the following command:</t> |
9668 |
<t> |
<t> |