/[svn]/web/trunk/www.linuxsampler.org/api/draft-linuxsampler-protocol.txt
ViewVC logotype

Diff of /web/trunk/www.linuxsampler.org/api/draft-linuxsampler-protocol.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1028 by schoenebeck, Sun Jan 14 17:33:03 2007 UTC revision 1048 by schoenebeck, Mon Feb 19 19:46:20 2007 UTC
# Line 4  Line 4 
4  LinuxSampler Developers                                   C. Schoenebeck  LinuxSampler Developers                                   C. Schoenebeck
5  Internet-Draft                           Interessengemeinschaft Software  Internet-Draft                           Interessengemeinschaft Software
6  Intended status: Standards Track                       Engineering e. V.  Intended status: Standards Track                       Engineering e. V.
7  Expires: July 18, 2007                                  January 14, 2007  Expires: August 23, 2007                               February 19, 2007
8    
9    
10                       LinuxSampler Control Protocol                       LinuxSampler Control Protocol
# Line 33  Status of this Memo Line 33  Status of this Memo
33     The list of Internet-Draft Shadow Directories can be accessed at     The list of Internet-Draft Shadow Directories can be accessed at
34     http://www.ietf.org/shadow.html.     http://www.ietf.org/shadow.html.
35    
36     This Internet-Draft will expire on July 18, 2007.     This Internet-Draft will expire on August 23, 2007.
37    
38  Copyright Notice  Copyright Notice
39    
# Line 52  Copyright Notice Line 52  Copyright Notice
52    
53    
54    
55  Schoenebeck               Expires July 18, 2007                 [Page 1]  Schoenebeck              Expires August 23, 2007                [Page 1]
56    
57  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
58    
59    
60  Abstract  Abstract
# Line 108  Table of Contents Line 108  Table of Contents
108    
109    
110    
111  Schoenebeck               Expires July 18, 2007                 [Page 2]  Schoenebeck              Expires August 23, 2007                [Page 2]
112    
113  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
114    
115    
116         6.3.8.  Getting all created MIDI input device list  . . . . .  36         6.3.8.  Getting all created MIDI input device list  . . . . .  36
# Line 164  Internet-Draft        LinuxSampler Contr Line 164  Internet-Draft        LinuxSampler Contr
164    
165    
166    
167  Schoenebeck               Expires July 18, 2007                 [Page 3]  Schoenebeck              Expires August 23, 2007                [Page 3]
168    
169  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
170    
171    
172       6.6.  Global commands . . . . . . . . . . . . . . . . . . . . .  71       6.6.  Global commands . . . . . . . . . . . . . . . . . . . . .  71
# Line 187  Internet-Draft        LinuxSampler Contr Line 187  Internet-Draft        LinuxSampler Contr
187         6.7.8.  Getting ammount of MIDI instrument map entries  . . .  80         6.7.8.  Getting ammount of MIDI instrument map entries  . . .  80
188         6.7.9.  Getting indeces of all entries of a MIDI         6.7.9.  Getting indeces of all entries of a MIDI
189                 instrument map  . . . . . . . . . . . . . . . . . . .  81                 instrument map  . . . . . . . . . . . . . . . . . . .  81
190         6.7.10. Remove an entry from the MIDI instrument map  . . . .  81         6.7.10. Remove an entry from the MIDI instrument map  . . . .  82
191         6.7.11. Get current settings of MIDI instrument map entry . .  82         6.7.11. Get current settings of MIDI instrument map entry . .  82
192         6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . .  84         6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . .  84
193     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . .  85     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . .  85
# Line 220  Internet-Draft        LinuxSampler Contr Line 220  Internet-Draft        LinuxSampler Contr
220    
221    
222    
223  Schoenebeck               Expires July 18, 2007                 [Page 4]  Schoenebeck              Expires August 23, 2007                [Page 4]
224    
225  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
226    
227    
228  1.  Requirements notation  1.  Requirements notation
# Line 276  Internet-Draft        LinuxSampler Contr Line 276  Internet-Draft        LinuxSampler Contr
276    
277    
278    
279  Schoenebeck               Expires July 18, 2007                 [Page 5]  Schoenebeck              Expires August 23, 2007                [Page 5]
280    
281  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
282    
283    
284  2.  Versioning of this specification  2.  Versioning of this specification
# Line 332  Internet-Draft        LinuxSampler Contr Line 332  Internet-Draft        LinuxSampler Contr
332    
333    
334    
335  Schoenebeck               Expires July 18, 2007                 [Page 6]  Schoenebeck              Expires August 23, 2007                [Page 6]
336    
337  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
338    
339    
340  3.  Introduction  3.  Introduction
# Line 388  Internet-Draft        LinuxSampler Contr Line 388  Internet-Draft        LinuxSampler Contr
388    
389    
390    
391  Schoenebeck               Expires July 18, 2007                 [Page 7]  Schoenebeck              Expires August 23, 2007                [Page 7]
392    
393  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
394    
395    
396  4.  Focus of this protocol  4.  Focus of this protocol
# Line 444  Internet-Draft        LinuxSampler Contr Line 444  Internet-Draft        LinuxSampler Contr
444    
445    
446    
447  Schoenebeck               Expires July 18, 2007                 [Page 8]  Schoenebeck              Expires August 23, 2007                [Page 8]
448    
449  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
450    
451    
452  5.  Communication Overview  5.  Communication Overview
# Line 500  Internet-Draft        LinuxSampler Contr Line 500  Internet-Draft        LinuxSampler Contr
500    
501    
502    
503  Schoenebeck               Expires July 18, 2007                 [Page 9]  Schoenebeck              Expires August 23, 2007                [Page 9]
504    
505  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
506    
507    
508  5.1.1.  Result format  5.1.1.  Result format
# Line 556  Internet-Draft        LinuxSampler Contr Line 556  Internet-Draft        LinuxSampler Contr
556    
557    
558    
559  Schoenebeck               Expires July 18, 2007                [Page 10]  Schoenebeck              Expires August 23, 2007               [Page 10]
560    
561  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
562    
563    
564     set has the following format:     set has the following format:
# Line 612  Internet-Draft        LinuxSampler Contr Line 612  Internet-Draft        LinuxSampler Contr
612    
613    
614    
615  Schoenebeck               Expires July 18, 2007                [Page 11]  Schoenebeck              Expires August 23, 2007               [Page 11]
616    
617  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
618    
619    
620     Each line of the result set MUST end with <CRLF>.     Each line of the result set MUST end with <CRLF>.
# Line 668  Internet-Draft        LinuxSampler Contr Line 668  Internet-Draft        LinuxSampler Contr
668    
669    
670    
671  Schoenebeck               Expires July 18, 2007                [Page 12]  Schoenebeck              Expires August 23, 2007               [Page 12]
672    
673  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
674    
675    
676         inserted in the middle of the event message as well as any other         inserted in the middle of the event message as well as any other
# Line 724  Internet-Draft        LinuxSampler Contr Line 724  Internet-Draft        LinuxSampler Contr
724    
725    
726    
727  Schoenebeck               Expires July 18, 2007                [Page 13]  Schoenebeck              Expires August 23, 2007               [Page 13]
728    
729  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
730    
731    
732  6.  Description for control commands  6.  Description for control commands
# Line 780  Internet-Draft        LinuxSampler Contr Line 780  Internet-Draft        LinuxSampler Contr
780    
781    
782    
783  Schoenebeck               Expires July 18, 2007                [Page 14]  Schoenebeck              Expires August 23, 2007               [Page 14]
784    
785  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
786    
787    
788  6.2.1.  Getting amount of available audio output drivers  6.2.1.  Getting amount of available audio output drivers
# Line 836  Internet-Draft        LinuxSampler Contr Line 836  Internet-Draft        LinuxSampler Contr
836    
837    
838    
839  Schoenebeck               Expires July 18, 2007                [Page 15]  Schoenebeck              Expires August 23, 2007               [Page 15]
840    
841  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
842    
843    
844        LinuxSampler will answer by sending a <CRLF> separated list.  Each        LinuxSampler will answer by sending a <CRLF> separated list.  Each
# Line 892  Internet-Draft        LinuxSampler Contr Line 892  Internet-Draft        LinuxSampler Contr
892    
893    
894    
895  Schoenebeck               Expires July 18, 2007                [Page 16]  Schoenebeck              Expires August 23, 2007               [Page 16]
896    
897  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
898    
899    
900     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"
# Line 948  Internet-Draft        LinuxSampler Contr Line 948  Internet-Draft        LinuxSampler Contr
948    
949    
950    
951  Schoenebeck               Expires July 18, 2007                [Page 17]  Schoenebeck              Expires August 23, 2007               [Page 17]
952    
953  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
954    
955    
956        MULTIPLICITY -        MULTIPLICITY -
# Line 1004  Internet-Draft        LinuxSampler Contr Line 1004  Internet-Draft        LinuxSampler Contr
1004    
1005    
1006    
1007  Schoenebeck               Expires July 18, 2007                [Page 18]  Schoenebeck              Expires August 23, 2007               [Page 18]
1008    
1009  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1010    
1011    
1012           returned, dependent to driver parameter)           returned, dependent to driver parameter)
# Line 1060  Internet-Draft        LinuxSampler Contr Line 1060  Internet-Draft        LinuxSampler Contr
1060    
1061    
1062    
1063  Schoenebeck               Expires July 18, 2007                [Page 19]  Schoenebeck              Expires August 23, 2007               [Page 19]
1064    
1065  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1066    
1067    
1068           "TYPE: INT"           "TYPE: INT"
# Line 1116  Internet-Draft        LinuxSampler Contr Line 1116  Internet-Draft        LinuxSampler Contr
1116    
1117    
1118    
1119  Schoenebeck               Expires July 18, 2007                [Page 20]  Schoenebeck              Expires August 23, 2007               [Page 20]
1120    
1121  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1122    
1123    
1124           providing an appropriate warning code and warning message           providing an appropriate warning code and warning message
# Line 1172  Internet-Draft        LinuxSampler Contr Line 1172  Internet-Draft        LinuxSampler Contr
1172    
1173    
1174    
1175  Schoenebeck               Expires July 18, 2007                [Page 21]  Schoenebeck              Expires August 23, 2007               [Page 21]
1176    
1177  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1178    
1179    
1180        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"
# Line 1228  Internet-Draft        LinuxSampler Contr Line 1228  Internet-Draft        LinuxSampler Contr
1228    
1229    
1230    
1231  Schoenebeck               Expires July 18, 2007                [Page 22]  Schoenebeck              Expires August 23, 2007               [Page 22]
1232    
1233  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1234    
1235    
1236     Possible Answers:     Possible Answers:
# Line 1284  Internet-Draft        LinuxSampler Contr Line 1284  Internet-Draft        LinuxSampler Contr
1284    
1285    
1286    
1287  Schoenebeck               Expires July 18, 2007                [Page 23]  Schoenebeck              Expires August 23, 2007               [Page 23]
1288    
1289  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1290    
1291    
1292           "FRAGMENTS: 2"           "FRAGMENTS: 2"
# Line 1340  Internet-Draft        LinuxSampler Contr Line 1340  Internet-Draft        LinuxSampler Contr
1340    
1341    
1342    
1343  Schoenebeck               Expires July 18, 2007                [Page 24]  Schoenebeck              Expires August 23, 2007               [Page 24]
1344    
1345  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1346    
1347    
1348  6.2.11.  Getting information about an audio channel  6.2.11.  Getting information about an audio channel
# Line 1396  Internet-Draft        LinuxSampler Contr Line 1396  Internet-Draft        LinuxSampler Contr
1396    
1397    
1398    
1399  Schoenebeck               Expires July 18, 2007                [Page 25]  Schoenebeck              Expires August 23, 2007               [Page 25]
1400    
1401  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1402    
1403    
1404     Examples:     Examples:
# Line 1452  Internet-Draft        LinuxSampler Contr Line 1452  Internet-Draft        LinuxSampler Contr
1452    
1453    
1454    
1455  Schoenebeck               Expires July 18, 2007                [Page 26]  Schoenebeck              Expires August 23, 2007               [Page 26]
1456    
1457  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1458    
1459    
1460     channel number and <param> a specific channel parameter name for     channel number and <param> a specific channel parameter name for
# Line 1508  Internet-Draft        LinuxSampler Contr Line 1508  Internet-Draft        LinuxSampler Contr
1508    
1509    
1510    
1511  Schoenebeck               Expires July 18, 2007                [Page 27]  Schoenebeck              Expires August 23, 2007               [Page 27]
1512    
1513  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1514    
1515    
1516           RANGE_MAX -           RANGE_MAX -
# Line 1564  Internet-Draft        LinuxSampler Contr Line 1564  Internet-Draft        LinuxSampler Contr
1564    
1565    
1566    
1567  Schoenebeck               Expires July 18, 2007                [Page 28]  Schoenebeck              Expires August 23, 2007               [Page 28]
1568    
1569  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1570    
1571    
1572        "OK" -        "OK" -
# Line 1620  Internet-Draft        LinuxSampler Contr Line 1620  Internet-Draft        LinuxSampler Contr
1620    
1621    
1622    
1623  Schoenebeck               Expires July 18, 2007                [Page 29]  Schoenebeck              Expires August 23, 2007               [Page 29]
1624    
1625  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1626    
1627    
1628     Note: examples in this chapter showing particular parameters of     Note: examples in this chapter showing particular parameters of
# Line 1676  Internet-Draft        LinuxSampler Contr Line 1676  Internet-Draft        LinuxSampler Contr
1676    
1677    
1678    
1679  Schoenebeck               Expires July 18, 2007                [Page 30]  Schoenebeck              Expires August 23, 2007               [Page 30]
1680    
1681  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1682    
1683    
1684  6.3.3.  Getting information about a specific MIDI input driver  6.3.3.  Getting information about a specific MIDI input driver
# Line 1732  Internet-Draft        LinuxSampler Contr Line 1732  Internet-Draft        LinuxSampler Contr
1732    
1733    
1734    
1735  Schoenebeck               Expires July 18, 2007                [Page 31]  Schoenebeck              Expires August 23, 2007               [Page 31]
1736    
1737  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1738    
1739    
1740  6.3.4.  Getting information about specific MIDI input driver parameter  6.3.4.  Getting information about specific MIDI input driver parameter
# Line 1788  Internet-Draft        LinuxSampler Contr Line 1788  Internet-Draft        LinuxSampler Contr
1788    
1789    
1790    
1791  Schoenebeck               Expires July 18, 2007                [Page 32]  Schoenebeck              Expires August 23, 2007               [Page 32]
1792    
1793  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1794    
1795    
1796        FIX -        FIX -
# Line 1844  Internet-Draft        LinuxSampler Contr Line 1844  Internet-Draft        LinuxSampler Contr
1844    
1845    
1846    
1847  Schoenebeck               Expires July 18, 2007                [Page 33]  Schoenebeck              Expires August 23, 2007               [Page 33]
1848    
1849  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1850    
1851    
1852           may also appear without (optionally returned, dependent to           may also appear without (optionally returned, dependent to
# Line 1900  Internet-Draft        LinuxSampler Contr Line 1900  Internet-Draft        LinuxSampler Contr
1900    
1901    
1902    
1903  Schoenebeck               Expires July 18, 2007                [Page 34]  Schoenebeck              Expires August 23, 2007               [Page 34]
1904    
1905  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1906    
1907    
1908        "OK[<device-id>]" -        "OK[<device-id>]" -
# Line 1956  Internet-Draft        LinuxSampler Contr Line 1956  Internet-Draft        LinuxSampler Contr
1956    
1957    
1958    
1959  Schoenebeck               Expires July 18, 2007                [Page 35]  Schoenebeck              Expires August 23, 2007               [Page 35]
1960    
1961  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
1962    
1963    
1964           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 2012  Internet-Draft        LinuxSampler Contr Line 2012  Internet-Draft        LinuxSampler Contr
2012    
2013    
2014    
2015  Schoenebeck               Expires July 18, 2007                [Page 36]  Schoenebeck              Expires August 23, 2007               [Page 36]
2016    
2017  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2018    
2019    
2020  6.3.9.  Getting current settings of a MIDI input device  6.3.9.  Getting current settings of a MIDI input device
# Line 2068  Internet-Draft        LinuxSampler Contr Line 2068  Internet-Draft        LinuxSampler Contr
2068    
2069    
2070    
2071  Schoenebeck               Expires July 18, 2007                [Page 37]  Schoenebeck              Expires August 23, 2007               [Page 37]
2072    
2073  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2074    
2075    
2076           "ACTIVE: true"           "ACTIVE: true"
# Line 2124  Internet-Draft        LinuxSampler Contr Line 2124  Internet-Draft        LinuxSampler Contr
2124    
2125    
2126    
2127  Schoenebeck               Expires July 18, 2007                [Page 38]  Schoenebeck              Expires August 23, 2007               [Page 38]
2128    
2129  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2130    
2131    
2132     MIDI_INPUT_DEVICES" (Section 6.3.8) command and <midi-port> the MIDI     MIDI_INPUT_DEVICES" (Section 6.3.8) command and <midi-port> the MIDI
# Line 2180  Internet-Draft        LinuxSampler Contr Line 2180  Internet-Draft        LinuxSampler Contr
2180    
2181    
2182    
2183  Schoenebeck               Expires July 18, 2007                [Page 39]  Schoenebeck              Expires August 23, 2007               [Page 39]
2184    
2185  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2186    
2187    
2188        character string to that info category.  There is information        character string to that info category.  There is information
# Line 2236  Internet-Draft        LinuxSampler Contr Line 2236  Internet-Draft        LinuxSampler Contr
2236    
2237    
2238    
2239  Schoenebeck               Expires July 18, 2007                [Page 40]  Schoenebeck              Expires August 23, 2007               [Page 40]
2240    
2241  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2242    
2243    
2244           returned, dependent to device and port parameter)           returned, dependent to device and port parameter)
# Line 2292  Internet-Draft        LinuxSampler Contr Line 2292  Internet-Draft        LinuxSampler Contr
2292    
2293    
2294    
2295  Schoenebeck               Expires July 18, 2007                [Page 41]  Schoenebeck              Expires August 23, 2007               [Page 41]
2296    
2297  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2298    
2299    
2300           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 2348  Internet-Draft        LinuxSampler Contr Line 2348  Internet-Draft        LinuxSampler Contr
2348    
2349    
2350    
2351  Schoenebeck               Expires July 18, 2007                [Page 42]  Schoenebeck              Expires August 23, 2007               [Page 42]
2352    
2353  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2354    
2355    
2356           or more patch parameters provided by the loaded instrument           or more patch parameters provided by the loaded instrument
# Line 2404  Internet-Draft        LinuxSampler Contr Line 2404  Internet-Draft        LinuxSampler Contr
2404    
2405    
2406    
2407  Schoenebeck               Expires July 18, 2007                [Page 43]  Schoenebeck              Expires August 23, 2007               [Page 43]
2408    
2409  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2410    
2411    
2412     Example:     Example:
# Line 2460  Internet-Draft        LinuxSampler Contr Line 2460  Internet-Draft        LinuxSampler Contr
2460    
2461    
2462    
2463  Schoenebeck               Expires July 18, 2007                [Page 44]  Schoenebeck              Expires August 23, 2007               [Page 44]
2464    
2465  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2466    
2467    
2468        ADD CHANNEL        ADD CHANNEL
# Line 2516  Internet-Draft        LinuxSampler Contr Line 2516  Internet-Draft        LinuxSampler Contr
2516    
2517    
2518    
2519  Schoenebeck               Expires July 18, 2007                [Page 45]  Schoenebeck              Expires August 23, 2007               [Page 45]
2520    
2521  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2522    
2523    
2524        "OK" -        "OK" -
# Line 2572  Internet-Draft        LinuxSampler Contr Line 2572  Internet-Draft        LinuxSampler Contr
2572    
2573    
2574    
2575  Schoenebeck               Expires July 18, 2007                [Page 46]  Schoenebeck              Expires August 23, 2007               [Page 46]
2576    
2577  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2578    
2579    
2580        LinuxSampler will answer by sending a comma separated list of the        LinuxSampler will answer by sending a comma separated list of the
# Line 2628  Internet-Draft        LinuxSampler Contr Line 2628  Internet-Draft        LinuxSampler Contr
2628    
2629    
2630    
2631  Schoenebeck               Expires July 18, 2007                [Page 47]  Schoenebeck              Expires August 23, 2007               [Page 47]
2632    
2633  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2634    
2635    
2636           "VERSION: testing-1.0"           "VERSION: testing-1.0"
# Line 2684  Internet-Draft        LinuxSampler Contr Line 2684  Internet-Draft        LinuxSampler Contr
2684    
2685    
2686    
2687  Schoenebeck               Expires July 18, 2007                [Page 48]  Schoenebeck              Expires August 23, 2007               [Page 48]
2688    
2689  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2690    
2691    
2692              output channel 0 is routed to channel 0 of the audio output              output channel 0 is routed to channel 0 of the audio output
# Line 2740  Internet-Draft        LinuxSampler Contr Line 2740  Internet-Draft        LinuxSampler Contr
2740    
2741    
2742    
2743  Schoenebeck               Expires July 18, 2007                [Page 49]  Schoenebeck              Expires August 23, 2007               [Page 49]
2744    
2745  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2746    
2747    
2748           MUTE -           MUTE -
# Line 2796  Internet-Draft        LinuxSampler Contr Line 2796  Internet-Draft        LinuxSampler Contr
2796    
2797    
2798    
2799  Schoenebeck               Expires July 18, 2007                [Page 50]  Schoenebeck              Expires August 23, 2007               [Page 50]
2800    
2801  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2802    
2803    
2804           "MIDI_INPUT_CHANNEL: 5"           "MIDI_INPUT_CHANNEL: 5"
# Line 2852  Internet-Draft        LinuxSampler Contr Line 2852  Internet-Draft        LinuxSampler Contr
2852    
2853    
2854    
2855  Schoenebeck               Expires July 18, 2007                [Page 51]  Schoenebeck              Expires August 23, 2007               [Page 51]
2856    
2857  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2858    
2859    
2860        return "NA" for not available.        return "NA" for not available.
# Line 2908  Internet-Draft        LinuxSampler Contr Line 2908  Internet-Draft        LinuxSampler Contr
2908    
2909    
2910    
2911  Schoenebeck               Expires July 18, 2007                [Page 52]  Schoenebeck              Expires August 23, 2007               [Page 52]
2912    
2913  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2914    
2915    
2916        S: ""        S: ""
# Line 2964  Internet-Draft        LinuxSampler Contr Line 2964  Internet-Draft        LinuxSampler Contr
2964    
2965    
2966    
2967  Schoenebeck               Expires July 18, 2007                [Page 53]  Schoenebeck              Expires August 23, 2007               [Page 53]
2968    
2969  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
2970    
2971    
2972     Where <audio-output-type> is currently either "ALSA" or "JACK" and     Where <audio-output-type> is currently either "ALSA" or "JACK" and
# Line 3020  Internet-Draft        LinuxSampler Contr Line 3020  Internet-Draft        LinuxSampler Contr
3020    
3021    
3022    
3023  Schoenebeck               Expires July 18, 2007                [Page 54]  Schoenebeck              Expires August 23, 2007               [Page 54]
3024    
3025  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3026    
3027    
3028           if audio output channel was set, but there are noteworthy           if audio output channel was set, but there are noteworthy
# Line 3076  Internet-Draft        LinuxSampler Contr Line 3076  Internet-Draft        LinuxSampler Contr
3076    
3077    
3078    
3079  Schoenebeck               Expires July 18, 2007                [Page 55]  Schoenebeck              Expires August 23, 2007               [Page 55]
3080    
3081  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3082    
3083    
3084  6.4.18.  Setting MIDI input type  6.4.18.  Setting MIDI input type
# Line 3132  Internet-Draft        LinuxSampler Contr Line 3132  Internet-Draft        LinuxSampler Contr
3132    
3133    
3134    
3135  Schoenebeck               Expires July 18, 2007                [Page 56]  Schoenebeck              Expires August 23, 2007               [Page 56]
3136    
3137  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3138    
3139    
3140           on success           on success
# Line 3188  Internet-Draft        LinuxSampler Contr Line 3188  Internet-Draft        LinuxSampler Contr
3188    
3189    
3190    
3191  Schoenebeck               Expires July 18, 2007                [Page 57]  Schoenebeck              Expires August 23, 2007               [Page 57]
3192    
3193  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3194    
3195    
3196    
# Line 3244  Internet-Draft        LinuxSampler Contr Line 3244  Internet-Draft        LinuxSampler Contr
3244    
3245    
3246    
3247  Schoenebeck               Expires July 18, 2007                [Page 58]  Schoenebeck              Expires August 23, 2007               [Page 58]
3248    
3249  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3250    
3251    
3252        "OK" -        "OK" -
# Line 3300  Internet-Draft        LinuxSampler Contr Line 3300  Internet-Draft        LinuxSampler Contr
3300    
3301    
3302    
3303  Schoenebeck               Expires July 18, 2007                [Page 59]  Schoenebeck              Expires August 23, 2007               [Page 59]
3304    
3305  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3306    
3307    
3308     Examples:     Examples:
# Line 3356  Internet-Draft        LinuxSampler Contr Line 3356  Internet-Draft        LinuxSampler Contr
3356    
3357    
3358    
3359  Schoenebeck               Expires July 18, 2007                [Page 60]  Schoenebeck              Expires August 23, 2007               [Page 60]
3360    
3361  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3362    
3363    
3364     Examples:     Examples:
# Line 3412  Internet-Draft        LinuxSampler Contr Line 3412  Internet-Draft        LinuxSampler Contr
3412    
3413    
3414    
3415  Schoenebeck               Expires July 18, 2007                [Page 61]  Schoenebeck              Expires August 23, 2007               [Page 61]
3416    
3417  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3418    
3419    
3420        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 3468  Internet-Draft        LinuxSampler Contr Line 3468  Internet-Draft        LinuxSampler Contr
3468    
3469    
3470    
3471  Schoenebeck               Expires July 18, 2007                [Page 62]  Schoenebeck              Expires August 23, 2007               [Page 62]
3472    
3473  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3474    
3475    
3476  6.4.27.  Getting amount of effect sends on a sampler channel  6.4.27.  Getting amount of effect sends on a sampler channel
# Line 3524  Internet-Draft        LinuxSampler Contr Line 3524  Internet-Draft        LinuxSampler Contr
3524    
3525    
3526    
3527  Schoenebeck               Expires July 18, 2007                [Page 63]  Schoenebeck              Expires August 23, 2007               [Page 63]
3528    
3529  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3530    
3531    
3532  6.4.29.  Getting effect send information  6.4.29.  Getting effect send information
# Line 3580  Internet-Draft        LinuxSampler Contr Line 3580  Internet-Draft        LinuxSampler Contr
3580    
3581    
3582    
3583  Schoenebeck               Expires July 18, 2007                [Page 64]  Schoenebeck              Expires August 23, 2007               [Page 64]
3584    
3585  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3586    
3587    
3588     The mentioned fields above don't have to be in particular order.     The mentioned fields above don't have to be in particular order.
# Line 3636  Internet-Draft        LinuxSampler Contr Line 3636  Internet-Draft        LinuxSampler Contr
3636    
3637    
3638    
3639  Schoenebeck               Expires July 18, 2007                [Page 65]  Schoenebeck              Expires August 23, 2007               [Page 65]
3640    
3641  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3642    
3643    
3644        "OK" -        "OK" -
# Line 3692  Internet-Draft        LinuxSampler Contr Line 3692  Internet-Draft        LinuxSampler Contr
3692    
3693    
3694    
3695  Schoenebeck               Expires July 18, 2007                [Page 66]  Schoenebeck              Expires August 23, 2007               [Page 66]
3696    
3697  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3698    
3699    
3700        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 3748  Internet-Draft        LinuxSampler Contr Line 3748  Internet-Draft        LinuxSampler Contr
3748    
3749    
3750    
3751  Schoenebeck               Expires July 18, 2007                [Page 67]  Schoenebeck              Expires August 23, 2007               [Page 67]
3752    
3753  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3754    
3755    
3756        C: "SET FX_SEND LEVEL 0 0 0.15"        C: "SET FX_SEND LEVEL 0 0 0.15"
# Line 3804  Internet-Draft        LinuxSampler Contr Line 3804  Internet-Draft        LinuxSampler Contr
3804    
3805    
3806    
3807  Schoenebeck               Expires July 18, 2007                [Page 68]  Schoenebeck              Expires August 23, 2007               [Page 68]
3808    
3809  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3810    
3811    
3812        SUBSCRIBE <event-id>        SUBSCRIBE <event-id>
# Line 3860  Internet-Draft        LinuxSampler Contr Line 3860  Internet-Draft        LinuxSampler Contr
3860    
3861    
3862    
3863  Schoenebeck               Expires July 18, 2007                [Page 69]  Schoenebeck              Expires August 23, 2007               [Page 69]
3864    
3865  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3866    
3867    
3868        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 3916  Internet-Draft        LinuxSampler Contr Line 3916  Internet-Draft        LinuxSampler Contr
3916    
3917    
3918    
3919  Schoenebeck               Expires July 18, 2007                [Page 70]  Schoenebeck              Expires August 23, 2007               [Page 70]
3920    
3921  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3922    
3923    
3924  6.6.  Global commands  6.6.  Global commands
# Line 3972  Internet-Draft        LinuxSampler Contr Line 3972  Internet-Draft        LinuxSampler Contr
3972    
3973    
3974    
3975  Schoenebeck               Expires July 18, 2007                [Page 71]  Schoenebeck              Expires August 23, 2007               [Page 71]
3976    
3977  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
3978    
3979    
3980  6.6.4.  General sampler informations  6.6.4.  General sampler informations
# Line 4028  Internet-Draft        LinuxSampler Contr Line 4028  Internet-Draft        LinuxSampler Contr
4028    
4029    
4030    
4031  Schoenebeck               Expires July 18, 2007                [Page 72]  Schoenebeck              Expires August 23, 2007               [Page 72]
4032    
4033  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4034    
4035    
4036     this parameter.     this parameter.
# Line 4084  Internet-Draft        LinuxSampler Contr Line 4084  Internet-Draft        LinuxSampler Contr
4084    
4085    
4086    
4087  Schoenebeck               Expires July 18, 2007                [Page 73]  Schoenebeck              Expires August 23, 2007               [Page 73]
4088    
4089  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4090    
4091    
4092     program change message on the respective sampler channel, that is by     program change message on the respective sampler channel, that is by
# Line 4140  Internet-Draft        LinuxSampler Contr Line 4140  Internet-Draft        LinuxSampler Contr
4140    
4141    
4142    
4143  Schoenebeck               Expires July 18, 2007                [Page 74]  Schoenebeck              Expires August 23, 2007               [Page 74]
4144    
4145  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4146    
4147    
4148        S: "OK[5]"        S: "OK[5]"
# Line 4196  Internet-Draft        LinuxSampler Contr Line 4196  Internet-Draft        LinuxSampler Contr
4196    
4197    
4198    
4199  Schoenebeck               Expires July 18, 2007                [Page 75]  Schoenebeck              Expires August 23, 2007               [Page 75]
4200    
4201  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4202    
4203    
4204        The sampler will answer by returning the current number of MIDI        The sampler will answer by returning the current number of MIDI
# Line 4252  Internet-Draft        LinuxSampler Contr Line 4252  Internet-Draft        LinuxSampler Contr
4252    
4253    
4254    
4255  Schoenebeck               Expires July 18, 2007                [Page 76]  Schoenebeck              Expires August 23, 2007               [Page 76]
4256    
4257  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4258    
4259    
4260    
# Line 4308  Internet-Draft        LinuxSampler Contr Line 4308  Internet-Draft        LinuxSampler Contr
4308    
4309    
4310    
4311  Schoenebeck               Expires July 18, 2007                [Page 77]  Schoenebeck              Expires August 23, 2007               [Page 77]
4312    
4313  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4314    
4315    
4316        MAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog> <engine_name>        MAP MIDI_INSTRUMENT [NON_MODAL] <map> <midi_bank> <midi_prog>
4317        <filename> <instrument_index> <volume_value> [<instr_load_mode>]        <engine_name> <filename> <instrument_index> <volume_value>
4318        [<name>]        [<instr_load_mode>] [<name>]
4319    
4320     Where <map> is the numeric ID of the map to alter, <midi_bank> is an     Where <map> is the numeric ID of the map to alter, <midi_bank> is an
4321     integer value between 0..16383 reflecting the MIDI bank select index,     integer value between 0..16383 reflecting the MIDI bank select index,
# Line 4353  Internet-Draft        LinuxSampler Contr Line 4353  Internet-Draft        LinuxSampler Contr
4353    
4354        "PERSISTENT" -        "PERSISTENT" -
4355    
4356           The instrument will immediately be loaded into memory in the           The instrument will immediately be loaded into memory when this
4357           background when this mapping command is sent and the instrument           mapping command is sent and the instrument is kept all the
4358           is kept all the time.  Instruments with this mode are only           time.  Instruments with this mode are only freed when the
4359           freed when the sampler is reset or all mapping entries with           sampler is reset or all mapping entries with this mode (and
4360           this mode (and respective instrument) are explicitly changed to           respective instrument) are explicitly changed to "ON_DEMAND"
4361           "ON_DEMAND" and no sampler channel is using the instrument           and no sampler channel is using the instrument anymore.
4362           anymore.  
4363    
4364    
4365    
4366    
4367  Schoenebeck               Expires July 18, 2007                [Page 78]  Schoenebeck              Expires August 23, 2007               [Page 78]
4368    
4369  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4370    
4371    
4372        not supplied -        not supplied -
# Line 4398  Internet-Draft        LinuxSampler Contr Line 4398  Internet-Draft        LinuxSampler Contr
4398     displaying an appropriate name for mapped instruments (using "GET     displaying an appropriate name for mapped instruments (using "GET
4399     MIDI_INSTRUMENT INFO" (Section 6.7.11)).     MIDI_INSTRUMENT INFO" (Section 6.7.11)).
4400    
4401     The "MAP MIDI_INSTRUMENT" command will immediately return, thus it     By default, "MAP MIDI_INSTRUMENT" commands block until the mapping is
4402     will not block when an instrument is to be loaded due to a     completely established in the sampler.  The OPTIONAL "NON_MODAL"
4403     "PERSISTENT" type entry as instruments are loaded in the background.     argument however causes the respective "MAP MIDI_INSTRUMENT" command
4404     As a consequence this command may not necessarily return an error     to return immediately, that is to let the sampler establish the
4405     i.e. when the given instrument file does not exist or may turn out to     mapping in the background.  So this argument might be especially
4406     be corrupt.     useful for mappings with a "PERSISTENT" type, because these have to
4407       load the respective instruments immediately and might thus block for
4408       a very long time.  It is recommended however to use the OPTIONAL
4409       "NON_MODAL" argument only if really necessary, because it has the
4410       following drawbacks: as "NON_MODAL" instructions return immediately,
4411       they may not necessarily return an error i.e. when the given
4412       instrument file turns out to be corrupt, beside that subsequent
4413       commands in a LSCP instruction sequence might fail, because mandatory
4414       mappings are not yet completed.
4415    
4416     Possible Answers:     Possible Answers:
4417    
4418    
4419    
4420    
4421    
4422    
4423    Schoenebeck              Expires August 23, 2007               [Page 79]
4424    
4425    Internet-Draft        LinuxSampler Control Protocol        February 2007
4426    
4427    
4428        "OK" -        "OK" -
4429    
4430           usually           usually
# Line 4418  Internet-Draft        LinuxSampler Contr Line 4436  Internet-Draft        LinuxSampler Contr
4436    
4437     Examples:     Examples:
4438    
   
   
 Schoenebeck               Expires July 18, 2007                [Page 79]  
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
   
   
4439        C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0        C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0
4440        0.8 PERSISTENT"        0.8 PERSISTENT"
4441    
# Line 4445  Internet-Draft        LinuxSampler Contr Line 4456  Internet-Draft        LinuxSampler Contr
4456    
4457        S: "OK"        S: "OK"
4458    
4459        C: "MAP MIDI_INSTRUMENT 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0        C: "MAP MIDI_INSTRUMENT NON_MODAL 1 8 120 gig '/home/joe/
4460        PERSISTENT 'Foo Drumkit'"        foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'"
4461    
4462        S: "OK"        S: "OK"
4463    
# Line 4460  Internet-Draft        LinuxSampler Contr Line 4471  Internet-Draft        LinuxSampler Contr
4471     The front-end can query the amount of currently existing entries in     The front-end can query the amount of currently existing entries in
4472     all MIDI instrument maps by sending the following command:     all MIDI instrument maps by sending the following command:
4473    
4474    
4475    
4476    
4477    
4478    
4479    Schoenebeck              Expires August 23, 2007               [Page 80]
4480    
4481    Internet-Draft        LinuxSampler Control Protocol        February 2007
4482    
4483    
4484        GET MIDI_INSTRUMENTS ALL        GET MIDI_INSTRUMENTS ALL
4485    
4486     Possible Answers:     Possible Answers:
# Line 4473  Internet-Draft        LinuxSampler Contr Line 4494  Internet-Draft        LinuxSampler Contr
4494    
4495        S: "234"        S: "234"
4496    
   
   
   
 Schoenebeck               Expires July 18, 2007                [Page 80]  
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
   
   
4497        C: "GET MIDI_INSTRUMENTS ALL"        C: "GET MIDI_INSTRUMENTS ALL"
4498    
4499        S: "954"        S: "954"
# Line 4515  Internet-Draft        LinuxSampler Contr Line 4528  Internet-Draft        LinuxSampler Contr
4528    
4529        S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}"        S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}"
4530    
4531    
4532    
4533    
4534    
4535    Schoenebeck              Expires August 23, 2007               [Page 81]
4536    
4537    Internet-Draft        LinuxSampler Control Protocol        February 2007
4538    
4539    
4540  6.7.10.  Remove an entry from the MIDI instrument map  6.7.10.  Remove an entry from the MIDI instrument map
4541    
4542     The front-end can delete an entry from a MIDI instrument map by     The front-end can delete an entry from a MIDI instrument map by
# Line 4529  Internet-Draft        LinuxSampler Contr Line 4551  Internet-Draft        LinuxSampler Contr
4551    
4552     Possible Answers:     Possible Answers:
4553    
   
   
   
 Schoenebeck               Expires July 18, 2007                [Page 81]  
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
   
   
4554        "OK" -        "OK" -
4555    
4556           usually           usually
# Line 4572  Internet-Draft        LinuxSampler Contr Line 4586  Internet-Draft        LinuxSampler Contr
4586        character string to that info category.  At the moment the        character string to that info category.  At the moment the
4587        following categories are defined:        following categories are defined:
4588    
4589    
4590    
4591    Schoenebeck              Expires August 23, 2007               [Page 82]
4592    
4593    Internet-Draft        LinuxSampler Control Protocol        February 2007
4594    
4595    
4596        "NAME" -        "NAME" -
4597    
4598           Name for this MIDI instrument map entry (if defined).  This           Name for this MIDI instrument map entry (if defined).  This
# Line 4584  Internet-Draft        LinuxSampler Contr Line 4605  Internet-Draft        LinuxSampler Contr
4605    
4606           Name of the engine to be deployed for this instrument.           Name of the engine to be deployed for this instrument.
4607    
   
   
   
   
 Schoenebeck               Expires July 18, 2007                [Page 82]  
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
   
   
4608        "INSTRUMENT_FILE" -        "INSTRUMENT_FILE" -
4609    
4610           File name of the instrument.           File name of the instrument.
# Line 4628  Internet-Draft        LinuxSampler Contr Line 4640  Internet-Draft        LinuxSampler Contr
4640    
4641           "ENGINE_NAME: GigEngine"           "ENGINE_NAME: GigEngine"
4642    
          "INSTRUMENT_FILE: /usr/share/joesdrumkit.gig"  
4643    
          "INSTRUMENT_NR: 0"  
4644    
          "INSTRUMENT_NAME: Joe's Drumkit"  
4645    
          "LOAD_MODE: PERSISTENT"  
4646    
4647           "VOLUME: 1.0"  Schoenebeck              Expires August 23, 2007               [Page 83]
4648    
4649    Internet-Draft        LinuxSampler Control Protocol        February 2007
4650    
          "."  
4651    
4652             "INSTRUMENT_FILE: /usr/share/joesdrumkit.gig"
4653    
4654             "INSTRUMENT_NR: 0"
4655    
4656             "INSTRUMENT_NAME: Joe's Drumkit"
4657    
4658             "LOAD_MODE: PERSISTENT"
4659    
4660  Schoenebeck               Expires July 18, 2007                [Page 83]           "VOLUME: 1.0"
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
4661    
4662             "."
4663    
4664  6.7.12.  Clear MIDI instrument map  6.7.12.  Clear MIDI instrument map
4665    
# Line 4688  Internet-Draft        LinuxSampler Contr Line 4700  Internet-Draft        LinuxSampler Contr
4700    
4701    
4702    
4703    Schoenebeck              Expires August 23, 2007               [Page 84]
   
   
   
   
   
   
   
   
   
   
   
 Schoenebeck               Expires July 18, 2007                [Page 84]  
4704    
4705  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4706    
4707    
4708  7.  Command Syntax  7.  Command Syntax
# Line 4756  Internet-Draft        LinuxSampler Contr Line 4756  Internet-Draft        LinuxSampler Contr
4756    
4757    
4758    
4759  Schoenebeck               Expires July 18, 2007                [Page 85]  Schoenebeck              Expires August 23, 2007               [Page 85]
4760    
4761  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4762    
4763    
4764        / LIST SP list_instruction        / LIST SP list_instruction
# Line 4812  Internet-Draft        LinuxSampler Contr Line 4812  Internet-Draft        LinuxSampler Contr
4812    
4813    
4814    
4815  Schoenebeck               Expires July 18, 2007                [Page 86]  Schoenebeck              Expires August 23, 2007               [Page 86]
4816    
4817  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4818    
4819    
4820        / CHANNEL_INFO        / CHANNEL_INFO
# Line 4868  Internet-Draft        LinuxSampler Contr Line 4868  Internet-Draft        LinuxSampler Contr
4868    
4869    
4870    
4871  Schoenebeck               Expires July 18, 2007                [Page 87]  Schoenebeck              Expires August 23, 2007               [Page 87]
4872    
4873  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4874    
4875    
4876        MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP        MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP
4877        engine_name SP filename SP instrument_index SP volume_value        engine_name SP filename SP instrument_index SP volume_value
4878    
4879        / MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP        / MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog
4880        engine_name SP filename SP instrument_index SP volume_value SP        SP engine_name SP filename SP instrument_index SP volume_value SP
4881        instr_load_mode        instr_load_mode
4882    
4883        / MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP        / MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog
4884        engine_name SP filename SP instrument_index SP volume_value SP        SP engine_name SP filename SP instrument_index SP volume_value SP
4885        entry_name        entry_name
4886    
4887        / MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP        / MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog
4888        engine_name SP filename SP instrument_index SP volume_value SP        SP engine_name SP filename SP instrument_index SP volume_value SP
4889        instr_load_mode SP entry_name        instr_load_mode SP entry_name
4890    
4891     unmap_instruction =     unmap_instruction =
# Line 4924  Internet-Draft        LinuxSampler Contr Line 4924  Internet-Draft        LinuxSampler Contr
4924    
4925    
4926    
4927  Schoenebeck               Expires July 18, 2007                [Page 88]  Schoenebeck              Expires August 23, 2007               [Page 88]
4928    
4929  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4930    
4931    
4932        / AUDIO_OUTPUT_DEVICES        / AUDIO_OUTPUT_DEVICES
# Line 4980  Internet-Draft        LinuxSampler Contr Line 4980  Internet-Draft        LinuxSampler Contr
4980    
4981    
4982    
4983  Schoenebeck               Expires July 18, 2007                [Page 89]  Schoenebeck              Expires August 23, 2007               [Page 89]
4984    
4985  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
4986    
4987    
4988        / FX_SEND SP INFO SP sampler_channel SP fx_send_id        / FX_SEND SP INFO SP sampler_channel SP fx_send_id
# Line 5036  Internet-Draft        LinuxSampler Contr Line 5036  Internet-Draft        LinuxSampler Contr
5036    
5037    
5038    
5039  Schoenebeck               Expires July 18, 2007                [Page 90]  Schoenebeck              Expires August 23, 2007               [Page 90]
5040    
5041  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5042    
5043    
5044        / FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name        / FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name
# Line 5092  Internet-Draft        LinuxSampler Contr Line 5092  Internet-Draft        LinuxSampler Contr
5092    
5093    
5094    
5095  Schoenebeck               Expires July 18, 2007                [Page 91]  Schoenebeck              Expires August 23, 2007               [Page 91]
5096    
5097  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5098    
5099    
5100        / VOLUME SP sampler_channel SP volume_value        / VOLUME SP sampler_channel SP volume_value
# Line 5109  Internet-Draft        LinuxSampler Contr Line 5109  Internet-Draft        LinuxSampler Contr
5109    
5110        / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT        / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT
5111    
5112       modal_arg =
5113    
5114          /* epsilon (empty argument) */
5115    
5116          / NON_MODAL SP
5117    
5118     key_val_list =     key_val_list =
5119    
5120        string '=' param_val_list        string '=' param_val_list
# Line 5139  Internet-Draft        LinuxSampler Contr Line 5145  Internet-Draft        LinuxSampler Contr
5145    
5146        / MIDI_INSTRUMENTS SP ALL        / MIDI_INSTRUMENTS SP ALL
5147    
       / MIDI_INSTRUMENT_MAPS  
5148    
       / FX_SENDS SP sampler_channel  
5149    
    load_instr_args =  
5150    
5151    Schoenebeck              Expires August 23, 2007               [Page 92]
5152    
5153    Internet-Draft        LinuxSampler Control Protocol        February 2007
5154    
5155    
5156          / MIDI_INSTRUMENT_MAPS
5157    
5158  Schoenebeck               Expires July 18, 2007                [Page 92]        / FX_SENDS SP sampler_channel
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
5159    
5160       load_instr_args =
5161    
5162        filename SP instrument_index SP sampler_channel        filename SP instrument_index SP sampler_channel
5163    
# Line 5195  Internet-Draft        LinuxSampler Contr Line 5201  Internet-Draft        LinuxSampler Contr
5201    
5202        string        string
5203    
    midi_map =  
5204    
       number  
5205    
    midi_bank =  
5206    
5207    Schoenebeck              Expires August 23, 2007               [Page 93]
5208    
5209    Internet-Draft        LinuxSampler Control Protocol        February 2007
5210    
5211    
5212       midi_map =
5213    
5214  Schoenebeck               Expires July 18, 2007                [Page 93]        number
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
5215    
5216       midi_bank =
5217    
5218        number        number
5219    
# Line 5251  Internet-Draft        LinuxSampler Contr Line 5257  Internet-Draft        LinuxSampler Contr
5257    
5258     entry_name =     entry_name =
5259    
       stringval  
5260    
    fx_send_name =  
5261    
       stringval  
5262    
5263    Schoenebeck              Expires August 23, 2007               [Page 94]
5264    
5265    Internet-Draft        LinuxSampler Control Protocol        February 2007
5266    
5267    
5268          stringval
5269    
5270  Schoenebeck               Expires July 18, 2007                [Page 94]     fx_send_name =
   
 Internet-Draft        LinuxSampler Control Protocol         January 2007  
5271    
5272          stringval
5273    
5274     param_val_list =     param_val_list =
5275    
# Line 5310  Internet-Draft        LinuxSampler Contr Line 5316  Internet-Draft        LinuxSampler Contr
5316    
5317    
5318    
5319    Schoenebeck              Expires August 23, 2007               [Page 95]
   
   
   
   
   
 Schoenebeck               Expires July 18, 2007                [Page 95]  
5320    
5321  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5322    
5323    
5324  8.  Events  8.  Events
# Line 5372  Internet-Draft        LinuxSampler Contr Line 5372  Internet-Draft        LinuxSampler Contr
5372    
5373    
5374    
5375  Schoenebeck               Expires July 18, 2007                [Page 96]  Schoenebeck              Expires August 23, 2007               [Page 96]
5376    
5377  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5378    
5379    
5380        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"
# Line 5428  Internet-Draft        LinuxSampler Contr Line 5428  Internet-Draft        LinuxSampler Contr
5428    
5429    
5430    
5431  Schoenebeck               Expires July 18, 2007                [Page 97]  Schoenebeck              Expires August 23, 2007               [Page 97]
5432    
5433  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5434    
5435    
5436        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>
# Line 5484  Internet-Draft        LinuxSampler Contr Line 5484  Internet-Draft        LinuxSampler Contr
5484    
5485    
5486    
5487  Schoenebeck               Expires July 18, 2007                [Page 98]  Schoenebeck              Expires August 23, 2007               [Page 98]
5488    
5489  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5490    
5491    
5492        "NOTIFY:CHANNEL_INFO:<sampler-channel>"        "NOTIFY:CHANNEL_INFO:<sampler-channel>"
# Line 5540  Internet-Draft        LinuxSampler Contr Line 5540  Internet-Draft        LinuxSampler Contr
5540    
5541    
5542    
5543  Schoenebeck               Expires July 18, 2007                [Page 99]  Schoenebeck              Expires August 23, 2007               [Page 99]
5544    
5545  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5546    
5547    
5548        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"
# Line 5596  Internet-Draft        LinuxSampler Contr Line 5596  Internet-Draft        LinuxSampler Contr
5596    
5597    
5598    
5599  Schoenebeck               Expires July 18, 2007               [Page 100]  Schoenebeck              Expires August 23, 2007              [Page 100]
5600    
5601  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5602    
5603    
5604  8.15.  Miscellaneous and debugging events  8.15.  Miscellaneous and debugging events
# Line 5652  Internet-Draft        LinuxSampler Contr Line 5652  Internet-Draft        LinuxSampler Contr
5652    
5653    
5654    
5655  Schoenebeck               Expires July 18, 2007               [Page 101]  Schoenebeck              Expires August 23, 2007              [Page 101]
5656    
5657  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5658    
5659    
5660  9.  Security Considerations  9.  Security Considerations
# Line 5708  Internet-Draft        LinuxSampler Contr Line 5708  Internet-Draft        LinuxSampler Contr
5708    
5709    
5710    
5711  Schoenebeck               Expires July 18, 2007               [Page 102]  Schoenebeck              Expires August 23, 2007              [Page 102]
5712    
5713  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5714    
5715    
5716  10.  Acknowledgments  10.  Acknowledgments
# Line 5764  Internet-Draft        LinuxSampler Contr Line 5764  Internet-Draft        LinuxSampler Contr
5764    
5765    
5766    
5767  Schoenebeck               Expires July 18, 2007               [Page 103]  Schoenebeck              Expires August 23, 2007              [Page 103]
5768    
5769  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5770    
5771    
5772  11.  References  11.  References
# Line 5820  Internet-Draft        LinuxSampler Contr Line 5820  Internet-Draft        LinuxSampler Contr
5820    
5821    
5822    
5823  Schoenebeck               Expires July 18, 2007               [Page 104]  Schoenebeck              Expires August 23, 2007              [Page 104]
5824    
5825  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5826    
5827    
5828  Author's Address  Author's Address
# Line 5876  Author's Address Line 5876  Author's Address
5876    
5877    
5878    
5879  Schoenebeck               Expires July 18, 2007               [Page 105]  Schoenebeck              Expires August 23, 2007              [Page 105]
5880    
5881  Internet-Draft        LinuxSampler Control Protocol         January 2007  Internet-Draft        LinuxSampler Control Protocol        February 2007
5882    
5883    
5884  Full Copyright Statement  Full Copyright Statement
# Line 5932  Acknowledgment Line 5932  Acknowledgment
5932    
5933    
5934    
5935  Schoenebeck               Expires July 18, 2007               [Page 106]  Schoenebeck              Expires August 23, 2007              [Page 106]
5936    

Legend:
Removed from v.1028  
changed lines
  Added in v.1048

  ViewVC Help
Powered by ViewVC