/[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 1572 by schoenebeck, Fri Dec 7 01:07:11 2007 UTC revision 1685 by schoenebeck, Thu Feb 14 14:41:08 2008 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: June 7, 2008                                   December 5, 2007  Expires: August 17, 2008                               February 14, 2008
8    
9    
10                       LinuxSampler Control Protocol                       LinuxSampler Control Protocol
11                                  LSCP 1.3                                  LSCP 1.4
12    
13  Status of this Memo  Status of this Memo
14    
# 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 June 7, 2008.     This Internet-Draft will expire on August 17, 2008.
37    
38  Copyright Notice  Copyright Notice
39    
40     Copyright (C) The IETF Trust (2007).     Copyright (C) The IETF Trust (2008).
41    
42    
43    
# Line 52  Copyright Notice Line 52  Copyright Notice
52    
53    
54    
55  Schoenebeck               Expires June 7, 2008                  [Page 1]  Schoenebeck              Expires August 17, 2008                [Page 1]
56    
57  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
58    
59    
60  Abstract  Abstract
# Line 108  Table of Contents Line 108  Table of Contents
108    
109    
110    
111  Schoenebeck               Expires June 7, 2008                  [Page 2]  Schoenebeck              Expires August 17, 2008                [Page 2]
112    
113  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
114    
115    
116         6.3.8.  Getting all created MIDI input device list  . . . . .  37         6.3.8.  Getting all created MIDI input device list  . . . . .  37
# Line 164  Internet-Draft        LinuxSampler Contr Line 164  Internet-Draft        LinuxSampler Contr
164    
165    
166    
167  Schoenebeck               Expires June 7, 2008                  [Page 3]  Schoenebeck              Expires August 17, 2008                [Page 3]
168    
169  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
170    
171    
172         6.5.4.  Close client connection . . . . . . . . . . . . . . .  73         6.5.4.  Close client connection . . . . . . . . . . . . . . .  73
# Line 220  Internet-Draft        LinuxSampler Contr Line 220  Internet-Draft        LinuxSampler Contr
220    
221    
222    
223  Schoenebeck               Expires June 7, 2008                  [Page 4]  Schoenebeck              Expires August 17, 2008                [Page 4]
224    
225  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
226    
227    
228                 application . . . . . . . . . . . . . . . . . . . . . 107                 application . . . . . . . . . . . . . . . . . . . . . 107
# Line 232  Internet-Draft        LinuxSampler Contr Line 232  Internet-Draft        LinuxSampler Contr
232         6.10.3. Retrieving informations about one instrument in a         6.10.3. Retrieving informations about one instrument in a
233                 file  . . . . . . . . . . . . . . . . . . . . . . . . 110                 file  . . . . . . . . . . . . . . . . . . . . . . . . 110
234     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . . 112     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . . 112
235       7.1.  Character Set and Escape Sequences  . . . . . . . . . . . 125       7.1.  Character Set and Escape Sequences  . . . . . . . . . . . 126
236     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . . 130     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
237       8.1.  Number of audio output devices changed  . . . . . . . . . 130       8.1.  Number of audio output devices changed  . . . . . . . . . 130
238       8.2.  Audio output device's settings changed  . . . . . . . . . 130       8.2.  Audio output device's settings changed  . . . . . . . . . 130
239       8.3.  Number of MIDI input devices changed  . . . . . . . . . . 130       8.3.  Number of MIDI input devices changed  . . . . . . . . . . 130
240       8.4.  MIDI input device's settings changed  . . . . . . . . . . 131       8.4.  MIDI input device's settings changed  . . . . . . . . . . 131
241       8.5.  Number of sampler channels changed  . . . . . . . . . . . 131       8.5.  Number of sampler channels changed  . . . . . . . . . . . 131
242       8.6.  Number of active voices changed . . . . . . . . . . . . . 131       8.6.  MIDI data on a sampler channel arrived  . . . . . . . . . 131
243       8.7.  Number of active disk streams changed . . . . . . . . . . 132       8.7.  Number of active voices changed . . . . . . . . . . . . . 132
244       8.8.  Disk stream buffer fill state changed . . . . . . . . . . 132       8.8.  Number of active disk streams changed . . . . . . . . . . 132
245       8.9.  Channel information changed . . . . . . . . . . . . . . . 132       8.9.  Disk stream buffer fill state changed . . . . . . . . . . 133
246       8.10. Number of effect sends changed  . . . . . . . . . . . . . 133       8.10. Channel information changed . . . . . . . . . . . . . . . 133
247       8.11. Effect send information changed . . . . . . . . . . . . . 133       8.11. Number of effect sends changed  . . . . . . . . . . . . . 133
248       8.12. Total number of active voices changed . . . . . . . . . . 133       8.12. Effect send information changed . . . . . . . . . . . . . 134
249       8.13. Total number of active disk streams changed . . . . . . . 134       8.13. Total number of active voices changed . . . . . . . . . . 134
250       8.14. Number of MIDI instrument maps changed  . . . . . . . . . 134       8.14. Total number of active disk streams changed . . . . . . . 134
251       8.15. MIDI instrument map information changed . . . . . . . . . 134       8.15. Number of MIDI instrument maps changed  . . . . . . . . . 135
252       8.16. Number of MIDI instruments changed  . . . . . . . . . . . 135       8.16. MIDI instrument map information changed . . . . . . . . . 135
253       8.17. MIDI instrument information changed . . . . . . . . . . . 135       8.17. Number of MIDI instruments changed  . . . . . . . . . . . 135
254       8.18. Global settings changed . . . . . . . . . . . . . . . . . 136       8.18. MIDI instrument information changed . . . . . . . . . . . 136
255       8.19. Number of database instrument directories changed . . . . 136       8.19. Global settings changed . . . . . . . . . . . . . . . . . 136
256       8.20. Database instrument directory information changed . . . . 136       8.20. Number of database instrument directories changed . . . . 136
257       8.21. Number of database instruments changed  . . . . . . . . . 137       8.21. Database instrument directory information changed . . . . 137
258       8.22. Database instrument information changed . . . . . . . . . 137       8.22. Number of database instruments changed  . . . . . . . . . 137
259       8.23. Database job status information changed . . . . . . . . . 138       8.23. Database instrument information changed . . . . . . . . . 138
260       8.24. Miscellaneous and debugging events  . . . . . . . . . . . 138       8.24. Database job status information changed . . . . . . . . . 138
261     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 139       8.25. Miscellaneous and debugging events  . . . . . . . . . . . 139
262     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 140     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 140
263     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 141     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 141
264     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 142     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 142
265     Intellectual Property and Copyright Statements  . . . . . . . . . 143     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 143
266       Intellectual Property and Copyright Statements  . . . . . . . . . 144
   
267    
268    
269    
# Line 276  Internet-Draft        LinuxSampler Contr Line 275  Internet-Draft        LinuxSampler Contr
275    
276    
277    
 Schoenebeck               Expires June 7, 2008                  [Page 5]  
278    
279  Internet-Draft        LinuxSampler Control Protocol        December 2007  Schoenebeck              Expires August 17, 2008                [Page 5]
280    
281    Internet-Draft        LinuxSampler Control Protocol        February 2008
282    
283    
284  1.  Requirements notation  1.  Requirements notation
# Line 332  Internet-Draft        LinuxSampler Contr Line 332  Internet-Draft        LinuxSampler Contr
332    
333    
334    
335  Schoenebeck               Expires June 7, 2008                  [Page 6]  Schoenebeck              Expires August 17, 2008                [Page 6]
336    
337  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
338    
339    
340  2.  Versioning of this specification  2.  Versioning of this specification
# Line 388  Internet-Draft        LinuxSampler Contr Line 388  Internet-Draft        LinuxSampler Contr
388    
389    
390    
391  Schoenebeck               Expires June 7, 2008                  [Page 7]  Schoenebeck              Expires August 17, 2008                [Page 7]
392    
393  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
394    
395    
396  3.  Introduction  3.  Introduction
# Line 444  Internet-Draft        LinuxSampler Contr Line 444  Internet-Draft        LinuxSampler Contr
444    
445    
446    
447  Schoenebeck               Expires June 7, 2008                  [Page 8]  Schoenebeck              Expires August 17, 2008                [Page 8]
448    
449  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
450    
451    
452  4.  Focus of this protocol  4.  Focus of this protocol
# Line 500  Internet-Draft        LinuxSampler Contr Line 500  Internet-Draft        LinuxSampler Contr
500    
501    
502    
503  Schoenebeck               Expires June 7, 2008                  [Page 9]  Schoenebeck              Expires August 17, 2008                [Page 9]
504    
505  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
506    
507    
508  5.  Communication Overview  5.  Communication Overview
# Line 556  Internet-Draft        LinuxSampler Contr Line 556  Internet-Draft        LinuxSampler Contr
556    
557    
558    
559  Schoenebeck               Expires June 7, 2008                 [Page 10]  Schoenebeck              Expires August 17, 2008               [Page 10]
560    
561  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
562    
563    
564  5.1.1.  Result format  5.1.1.  Result format
# Line 612  Internet-Draft        LinuxSampler Contr Line 612  Internet-Draft        LinuxSampler Contr
612    
613    
614    
615  Schoenebeck               Expires June 7, 2008                 [Page 11]  Schoenebeck              Expires August 17, 2008               [Page 11]
616    
617  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
618    
619    
620     set has the following format:     set has the following format:
# Line 668  Internet-Draft        LinuxSampler Contr Line 668  Internet-Draft        LinuxSampler Contr
668    
669    
670    
671  Schoenebeck               Expires June 7, 2008                 [Page 12]  Schoenebeck              Expires August 17, 2008               [Page 12]
672    
673  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
674    
675    
676     Each line of the result set MUST end with <CRLF>.     Each line of the result set MUST end with <CRLF>.
# Line 724  Internet-Draft        LinuxSampler Contr Line 724  Internet-Draft        LinuxSampler Contr
724    
725    
726    
727  Schoenebeck               Expires June 7, 2008                 [Page 13]  Schoenebeck              Expires August 17, 2008               [Page 13]
728    
729  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
730    
731    
732         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 780  Internet-Draft        LinuxSampler Contr Line 780  Internet-Draft        LinuxSampler Contr
780    
781    
782    
783  Schoenebeck               Expires June 7, 2008                 [Page 14]  Schoenebeck              Expires August 17, 2008               [Page 14]
784    
785  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
786    
787    
788  6.  Description for control commands  6.  Description for control commands
# Line 836  Internet-Draft        LinuxSampler Contr Line 836  Internet-Draft        LinuxSampler Contr
836    
837    
838    
839  Schoenebeck               Expires June 7, 2008                 [Page 15]  Schoenebeck              Expires August 17, 2008               [Page 15]
840    
841  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
842    
843    
844  6.2.1.  Getting amount of available audio output drivers  6.2.1.  Getting amount of available audio output drivers
# Line 892  Internet-Draft        LinuxSampler Contr Line 892  Internet-Draft        LinuxSampler Contr
892    
893    
894    
895  Schoenebeck               Expires June 7, 2008                 [Page 16]  Schoenebeck              Expires August 17, 2008               [Page 16]
896    
897  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
898    
899    
900        LinuxSampler will answer by sending a <CRLF> separated list.  Each        LinuxSampler will answer by sending a <CRLF> separated list.  Each
# Line 948  Internet-Draft        LinuxSampler Contr Line 948  Internet-Draft        LinuxSampler Contr
948    
949    
950    
951  Schoenebeck               Expires June 7, 2008                 [Page 17]  Schoenebeck              Expires August 17, 2008               [Page 17]
952    
953  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
954    
955    
956     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"
# Line 1004  Internet-Draft        LinuxSampler Contr Line 1004  Internet-Draft        LinuxSampler Contr
1004    
1005    
1006    
1007  Schoenebeck               Expires June 7, 2008                 [Page 18]  Schoenebeck              Expires August 17, 2008               [Page 18]
1008    
1009  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1010    
1011    
1012        MULTIPLICITY -        MULTIPLICITY -
# Line 1060  Internet-Draft        LinuxSampler Contr Line 1060  Internet-Draft        LinuxSampler Contr
1060    
1061    
1062    
1063  Schoenebeck               Expires June 7, 2008                 [Page 19]  Schoenebeck              Expires August 17, 2008               [Page 19]
1064    
1065  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1066    
1067    
1068           returned, dependent to driver parameter)           returned, dependent to driver parameter)
# Line 1116  Internet-Draft        LinuxSampler Contr Line 1116  Internet-Draft        LinuxSampler Contr
1116    
1117    
1118    
1119  Schoenebeck               Expires June 7, 2008                 [Page 20]  Schoenebeck              Expires August 17, 2008               [Page 20]
1120    
1121  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1122    
1123    
1124           "TYPE: INT"           "TYPE: INT"
# Line 1172  Internet-Draft        LinuxSampler Contr Line 1172  Internet-Draft        LinuxSampler Contr
1172    
1173    
1174    
1175  Schoenebeck               Expires June 7, 2008                 [Page 21]  Schoenebeck              Expires August 17, 2008               [Page 21]
1176    
1177  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1178    
1179    
1180           providing an appropriate warning code and warning message           providing an appropriate warning code and warning message
# Line 1228  Internet-Draft        LinuxSampler Contr Line 1228  Internet-Draft        LinuxSampler Contr
1228    
1229    
1230    
1231  Schoenebeck               Expires June 7, 2008                 [Page 22]  Schoenebeck              Expires August 17, 2008               [Page 22]
1232    
1233  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1234    
1235    
1236        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"
# Line 1284  Internet-Draft        LinuxSampler Contr Line 1284  Internet-Draft        LinuxSampler Contr
1284    
1285    
1286    
1287  Schoenebeck               Expires June 7, 2008                 [Page 23]  Schoenebeck              Expires August 17, 2008               [Page 23]
1288    
1289  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1290    
1291    
1292     Possible Answers:     Possible Answers:
# Line 1340  Internet-Draft        LinuxSampler Contr Line 1340  Internet-Draft        LinuxSampler Contr
1340    
1341    
1342    
1343  Schoenebeck               Expires June 7, 2008                 [Page 24]  Schoenebeck              Expires August 17, 2008               [Page 24]
1344    
1345  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1346    
1347    
1348           "FRAGMENTS: 2"           "FRAGMENTS: 2"
# Line 1396  Internet-Draft        LinuxSampler Contr Line 1396  Internet-Draft        LinuxSampler Contr
1396    
1397    
1398    
1399  Schoenebeck               Expires June 7, 2008                 [Page 25]  Schoenebeck              Expires August 17, 2008               [Page 25]
1400    
1401  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1402    
1403    
1404  6.2.11.  Getting information about an audio channel  6.2.11.  Getting information about an audio channel
# Line 1452  Internet-Draft        LinuxSampler Contr Line 1452  Internet-Draft        LinuxSampler Contr
1452    
1453    
1454    
1455  Schoenebeck               Expires June 7, 2008                 [Page 26]  Schoenebeck              Expires August 17, 2008               [Page 26]
1456    
1457  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1458    
1459    
1460     Examples:     Examples:
# Line 1508  Internet-Draft        LinuxSampler Contr Line 1508  Internet-Draft        LinuxSampler Contr
1508    
1509    
1510    
1511  Schoenebeck               Expires June 7, 2008                 [Page 27]  Schoenebeck              Expires August 17, 2008               [Page 27]
1512    
1513  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1514    
1515    
1516     channel number and <param> a specific channel parameter name for     channel number and <param> a specific channel parameter name for
# Line 1564  Internet-Draft        LinuxSampler Contr Line 1564  Internet-Draft        LinuxSampler Contr
1564    
1565    
1566    
1567  Schoenebeck               Expires June 7, 2008                 [Page 28]  Schoenebeck              Expires August 17, 2008               [Page 28]
1568    
1569  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1570    
1571    
1572           RANGE_MAX -           RANGE_MAX -
# Line 1620  Internet-Draft        LinuxSampler Contr Line 1620  Internet-Draft        LinuxSampler Contr
1620    
1621    
1622    
1623  Schoenebeck               Expires June 7, 2008                 [Page 29]  Schoenebeck              Expires August 17, 2008               [Page 29]
1624    
1625  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1626    
1627    
1628        "OK" -        "OK" -
# Line 1676  Internet-Draft        LinuxSampler Contr Line 1676  Internet-Draft        LinuxSampler Contr
1676    
1677    
1678    
1679  Schoenebeck               Expires June 7, 2008                 [Page 30]  Schoenebeck              Expires August 17, 2008               [Page 30]
1680    
1681  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1682    
1683    
1684     Note: examples in this chapter showing particular parameters of     Note: examples in this chapter showing particular parameters of
# Line 1732  Internet-Draft        LinuxSampler Contr Line 1732  Internet-Draft        LinuxSampler Contr
1732    
1733    
1734    
1735  Schoenebeck               Expires June 7, 2008                 [Page 31]  Schoenebeck              Expires August 17, 2008               [Page 31]
1736    
1737  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1738    
1739    
1740  6.3.3.  Getting information about a specific MIDI input driver  6.3.3.  Getting information about a specific MIDI input driver
# Line 1788  Internet-Draft        LinuxSampler Contr Line 1788  Internet-Draft        LinuxSampler Contr
1788    
1789    
1790    
1791  Schoenebeck               Expires June 7, 2008                 [Page 32]  Schoenebeck              Expires August 17, 2008               [Page 32]
1792    
1793  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1794    
1795    
1796  6.3.4.  Getting information about specific MIDI input driver parameter  6.3.4.  Getting information about specific MIDI input driver parameter
# Line 1844  Internet-Draft        LinuxSampler Contr Line 1844  Internet-Draft        LinuxSampler Contr
1844    
1845    
1846    
1847  Schoenebeck               Expires June 7, 2008                 [Page 33]  Schoenebeck              Expires August 17, 2008               [Page 33]
1848    
1849  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1850    
1851    
1852        FIX -        FIX -
# Line 1900  Internet-Draft        LinuxSampler Contr Line 1900  Internet-Draft        LinuxSampler Contr
1900    
1901    
1902    
1903  Schoenebeck               Expires June 7, 2008                 [Page 34]  Schoenebeck              Expires August 17, 2008               [Page 34]
1904    
1905  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1906    
1907    
1908           may also appear without (optionally returned, dependent to           may also appear without (optionally returned, dependent to
# Line 1956  Internet-Draft        LinuxSampler Contr Line 1956  Internet-Draft        LinuxSampler Contr
1956    
1957    
1958    
1959  Schoenebeck               Expires June 7, 2008                 [Page 35]  Schoenebeck              Expires August 17, 2008               [Page 35]
1960    
1961  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
1962    
1963    
1964        "OK[<device-id>]" -        "OK[<device-id>]" -
# Line 2012  Internet-Draft        LinuxSampler Contr Line 2012  Internet-Draft        LinuxSampler Contr
2012    
2013    
2014    
2015  Schoenebeck               Expires June 7, 2008                 [Page 36]  Schoenebeck              Expires August 17, 2008               [Page 36]
2016    
2017  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2018    
2019    
2020           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 2068  Internet-Draft        LinuxSampler Contr Line 2068  Internet-Draft        LinuxSampler Contr
2068    
2069    
2070    
2071  Schoenebeck               Expires June 7, 2008                 [Page 37]  Schoenebeck              Expires August 17, 2008               [Page 37]
2072    
2073  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2074    
2075    
2076  6.3.9.  Getting current settings of a MIDI input device  6.3.9.  Getting current settings of a MIDI input device
# Line 2124  Internet-Draft        LinuxSampler Contr Line 2124  Internet-Draft        LinuxSampler Contr
2124    
2125    
2126    
2127  Schoenebeck               Expires June 7, 2008                 [Page 38]  Schoenebeck              Expires August 17, 2008               [Page 38]
2128    
2129  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2130    
2131    
2132           "ACTIVE: true"           "ACTIVE: true"
# Line 2180  Internet-Draft        LinuxSampler Contr Line 2180  Internet-Draft        LinuxSampler Contr
2180    
2181    
2182    
2183  Schoenebeck               Expires June 7, 2008                 [Page 39]  Schoenebeck              Expires August 17, 2008               [Page 39]
2184    
2185  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2186    
2187    
2188     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 2236  Internet-Draft        LinuxSampler Contr Line 2236  Internet-Draft        LinuxSampler Contr
2236    
2237    
2238    
2239  Schoenebeck               Expires June 7, 2008                 [Page 40]  Schoenebeck              Expires August 17, 2008               [Page 40]
2240    
2241  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2242    
2243    
2244        character string to that info category.  There is information        character string to that info category.  There is information
# Line 2292  Internet-Draft        LinuxSampler Contr Line 2292  Internet-Draft        LinuxSampler Contr
2292    
2293    
2294    
2295  Schoenebeck               Expires June 7, 2008                 [Page 41]  Schoenebeck              Expires August 17, 2008               [Page 41]
2296    
2297  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2298    
2299    
2300           returned, dependent to device and port parameter)           returned, dependent to device and port parameter)
# Line 2348  Internet-Draft        LinuxSampler Contr Line 2348  Internet-Draft        LinuxSampler Contr
2348    
2349    
2350    
2351  Schoenebeck               Expires June 7, 2008                 [Page 42]  Schoenebeck              Expires August 17, 2008               [Page 42]
2352    
2353  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2354    
2355    
2356        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 2404  Internet-Draft        LinuxSampler Contr Line 2404  Internet-Draft        LinuxSampler Contr
2404    
2405    
2406    
2407  Schoenebeck               Expires June 7, 2008                 [Page 43]  Schoenebeck              Expires August 17, 2008               [Page 43]
2408    
2409  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2410    
2411    
2412     format and SHOULD return ERR and SHOULD not launch the background     format and SHOULD return ERR and SHOULD not launch the background
# Line 2460  Internet-Draft        LinuxSampler Contr Line 2460  Internet-Draft        LinuxSampler Contr
2460    
2461    
2462    
2463  Schoenebeck               Expires June 7, 2008                 [Page 44]  Schoenebeck              Expires August 17, 2008               [Page 44]
2464    
2465  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2466    
2467    
2468     sampler channel.  This command has (currently) no way to define or     sampler channel.  This command has (currently) no way to define or
# Line 2516  Internet-Draft        LinuxSampler Contr Line 2516  Internet-Draft        LinuxSampler Contr
2516    
2517    
2518    
2519  Schoenebeck               Expires June 7, 2008                 [Page 45]  Schoenebeck              Expires August 17, 2008               [Page 45]
2520    
2521  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2522    
2523    
2524  6.4.4.  Getting all created sampler channel list  6.4.4.  Getting all created sampler channel list
# Line 2572  Internet-Draft        LinuxSampler Contr Line 2572  Internet-Draft        LinuxSampler Contr
2572    
2573    
2574    
2575  Schoenebeck               Expires June 7, 2008                 [Page 46]  Schoenebeck              Expires August 17, 2008               [Page 46]
2576    
2577  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2578    
2579    
2580           in case a new channel was added successfully, but there are           in case a new channel was added successfully, but there are
# Line 2628  Internet-Draft        LinuxSampler Contr Line 2628  Internet-Draft        LinuxSampler Contr
2628    
2629    
2630    
2631  Schoenebeck               Expires June 7, 2008                 [Page 47]  Schoenebeck              Expires August 17, 2008               [Page 47]
2632    
2633  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2634    
2635    
2636  6.4.7.  Getting amount of available engines  6.4.7.  Getting amount of available engines
# Line 2684  Internet-Draft        LinuxSampler Contr Line 2684  Internet-Draft        LinuxSampler Contr
2684    
2685    
2686    
2687  Schoenebeck               Expires June 7, 2008                 [Page 48]  Schoenebeck              Expires August 17, 2008               [Page 48]
2688    
2689  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2690    
2691    
2692     Possible Answers:     Possible Answers:
# Line 2740  Internet-Draft        LinuxSampler Contr Line 2740  Internet-Draft        LinuxSampler Contr
2740    
2741    
2742    
2743  Schoenebeck               Expires June 7, 2008                 [Page 49]  Schoenebeck              Expires August 17, 2008               [Page 49]
2744    
2745  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2746    
2747    
2748        following categories are defined:        following categories are defined:
# Line 2796  Internet-Draft        LinuxSampler Contr Line 2796  Internet-Draft        LinuxSampler Contr
2796    
2797    
2798    
2799  Schoenebeck               Expires June 7, 2008                 [Page 50]  Schoenebeck              Expires August 17, 2008               [Page 50]
2800    
2801  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2802    
2803    
2804           INSTRUMENT_STATUS -           INSTRUMENT_STATUS -
# Line 2852  Internet-Draft        LinuxSampler Contr Line 2852  Internet-Draft        LinuxSampler Contr
2852    
2853    
2854    
2855  Schoenebeck               Expires June 7, 2008                 [Page 51]  Schoenebeck              Expires August 17, 2008               [Page 51]
2856    
2857  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2858    
2859    
2860     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 2908  Internet-Draft        LinuxSampler Contr Line 2908  Internet-Draft        LinuxSampler Contr
2908    
2909    
2910    
2911  Schoenebeck               Expires June 7, 2008                 [Page 52]  Schoenebeck              Expires August 17, 2008               [Page 52]
2912    
2913  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2914    
2915    
2916     is interested in as returned by the "ADD CHANNEL" (Section 6.4.5) or     is interested in as returned by the "ADD CHANNEL" (Section 6.4.5) or
# Line 2964  Internet-Draft        LinuxSampler Contr Line 2964  Internet-Draft        LinuxSampler Contr
2964    
2965    
2966    
2967  Schoenebeck               Expires June 7, 2008                 [Page 53]  Schoenebeck              Expires August 17, 2008               [Page 53]
2968    
2969  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
2970    
2971    
2972     command.     command.
# Line 3020  Internet-Draft        LinuxSampler Contr Line 3020  Internet-Draft        LinuxSampler Contr
3020    
3021    
3022    
3023  Schoenebeck               Expires June 7, 2008                 [Page 54]  Schoenebeck              Expires August 17, 2008               [Page 54]
3024    
3025  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3026    
3027    
3028        "OK" -        "OK" -
# Line 3076  Internet-Draft        LinuxSampler Contr Line 3076  Internet-Draft        LinuxSampler Contr
3076    
3077    
3078    
3079  Schoenebeck               Expires June 7, 2008                 [Page 55]  Schoenebeck              Expires August 17, 2008               [Page 55]
3080    
3081  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3082    
3083    
3084     Examples:     Examples:
# Line 3132  Internet-Draft        LinuxSampler Contr Line 3132  Internet-Draft        LinuxSampler Contr
3132    
3133    
3134    
3135  Schoenebeck               Expires June 7, 2008                 [Page 56]  Schoenebeck              Expires August 17, 2008               [Page 56]
3136    
3137  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3138    
3139    
3140     the "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)     the "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)
# Line 3188  Internet-Draft        LinuxSampler Contr Line 3188  Internet-Draft        LinuxSampler Contr
3188    
3189    
3190    
3191  Schoenebeck               Expires June 7, 2008                 [Page 57]  Schoenebeck              Expires August 17, 2008               [Page 57]
3192    
3193  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3194    
3195    
3196           message           message
# Line 3244  Internet-Draft        LinuxSampler Contr Line 3244  Internet-Draft        LinuxSampler Contr
3244    
3245    
3246    
3247  Schoenebeck               Expires June 7, 2008                 [Page 58]  Schoenebeck              Expires August 17, 2008               [Page 58]
3248    
3249  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3250    
3251    
3252        SET CHANNEL MIDI_INPUT_CHANNEL <sampler-channel> <midi-input-chan>        SET CHANNEL MIDI_INPUT_CHANNEL <sampler-channel> <midi-input-chan>
# Line 3300  Internet-Draft        LinuxSampler Contr Line 3300  Internet-Draft        LinuxSampler Contr
3300    
3301    
3302    
3303  Schoenebeck               Expires June 7, 2008                 [Page 59]  Schoenebeck              Expires August 17, 2008               [Page 59]
3304    
3305  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3306    
3307    
3308           if channel volume was set, but there are noteworthy issue(s)           if channel volume was set, but there are noteworthy issue(s)
# Line 3356  Internet-Draft        LinuxSampler Contr Line 3356  Internet-Draft        LinuxSampler Contr
3356    
3357    
3358    
3359  Schoenebeck               Expires June 7, 2008                 [Page 60]  Schoenebeck              Expires August 17, 2008               [Page 60]
3360    
3361  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3362    
3363    
3364  6.4.23.  Soloing a sampler channel  6.4.23.  Soloing a sampler channel
# Line 3412  Internet-Draft        LinuxSampler Contr Line 3412  Internet-Draft        LinuxSampler Contr
3412    
3413    
3414    
3415  Schoenebeck               Expires June 7, 2008                 [Page 61]  Schoenebeck              Expires August 17, 2008               [Page 61]
3416    
3417  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3418    
3419    
3420           This is the default setting.  In this case the sampler channel           This is the default setting.  In this case the sampler channel
# Line 3468  Internet-Draft        LinuxSampler Contr Line 3468  Internet-Draft        LinuxSampler Contr
3468    
3469    
3470    
3471  Schoenebeck               Expires June 7, 2008                 [Page 62]  Schoenebeck              Expires August 17, 2008               [Page 62]
3472    
3473  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3474    
3475    
3476     effect send entity.  The name does not have to be unique, but MUST be     effect send entity.  The name does not have to be unique, but MUST be
# Line 3524  Internet-Draft        LinuxSampler Contr Line 3524  Internet-Draft        LinuxSampler Contr
3524    
3525    
3526    
3527  Schoenebeck               Expires June 7, 2008                 [Page 63]  Schoenebeck              Expires August 17, 2008               [Page 63]
3528    
3529  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3530    
3531    
3532  6.4.26.  Removing an effect send from a sampler channel  6.4.26.  Removing an effect send from a sampler channel
# Line 3580  Internet-Draft        LinuxSampler Contr Line 3580  Internet-Draft        LinuxSampler Contr
3580    
3581    
3582    
3583  Schoenebeck               Expires June 7, 2008                 [Page 64]  Schoenebeck              Expires August 17, 2008               [Page 64]
3584    
3585  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3586    
3587    
3588        C: "GET FX_SENDS 0"        C: "GET FX_SENDS 0"
# Line 3636  Internet-Draft        LinuxSampler Contr Line 3636  Internet-Draft        LinuxSampler Contr
3636    
3637    
3638    
3639  Schoenebeck               Expires June 7, 2008                 [Page 65]  Schoenebeck              Expires August 17, 2008               [Page 65]
3640    
3641  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3642    
3643    
3644        character string to that setting category.  At the moment the        character string to that setting category.  At the moment the
# Line 3692  Internet-Draft        LinuxSampler Contr Line 3692  Internet-Draft        LinuxSampler Contr
3692    
3693    
3694    
3695  Schoenebeck               Expires June 7, 2008                 [Page 66]  Schoenebeck              Expires August 17, 2008               [Page 66]
3696    
3697  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3698    
3699    
3700  6.4.30.  Changing effect send's name  6.4.30.  Changing effect send's name
# Line 3748  Internet-Draft        LinuxSampler Contr Line 3748  Internet-Draft        LinuxSampler Contr
3748    
3749    
3750    
3751  Schoenebeck               Expires June 7, 2008                 [Page 67]  Schoenebeck              Expires August 17, 2008               [Page 67]
3752    
3753  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3754    
3755    
3756     of the effect send's audio channel which should be rerouted and     of the effect send's audio channel which should be rerouted and
# Line 3804  Internet-Draft        LinuxSampler Contr Line 3804  Internet-Draft        LinuxSampler Contr
3804    
3805    
3806    
3807  Schoenebeck               Expires June 7, 2008                 [Page 68]  Schoenebeck              Expires August 17, 2008               [Page 68]
3808    
3809  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3810    
3811    
3812     "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)     "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)
# Line 3860  Internet-Draft        LinuxSampler Contr Line 3860  Internet-Draft        LinuxSampler Contr
3860    
3861    
3862    
3863  Schoenebeck               Expires June 7, 2008                 [Page 69]  Schoenebeck              Expires August 17, 2008               [Page 69]
3864    
3865  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3866    
3867    
3868        "OK" -        "OK" -
# Line 3916  Internet-Draft        LinuxSampler Contr Line 3916  Internet-Draft        LinuxSampler Contr
3916    
3917    
3918    
3919  Schoenebeck               Expires June 7, 2008                 [Page 70]  Schoenebeck              Expires August 17, 2008               [Page 70]
3920    
3921  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3922    
3923    
3924           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 3972  Internet-Draft        LinuxSampler Contr Line 3972  Internet-Draft        LinuxSampler Contr
3972    
3973    
3974    
3975  Schoenebeck               Expires June 7, 2008                 [Page 71]  Schoenebeck              Expires August 17, 2008               [Page 71]
3976    
3977  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
3978    
3979    
3980        UNSUBSCRIBE <event-id>        UNSUBSCRIBE <event-id>
# Line 4028  Internet-Draft        LinuxSampler Contr Line 4028  Internet-Draft        LinuxSampler Contr
4028    
4029    
4030    
4031  Schoenebeck               Expires June 7, 2008                 [Page 72]  Schoenebeck              Expires August 17, 2008               [Page 72]
4032    
4033  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4034    
4035    
4036        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 4084  Internet-Draft        LinuxSampler Contr Line 4084  Internet-Draft        LinuxSampler Contr
4084    
4085    
4086    
4087  Schoenebeck               Expires June 7, 2008                 [Page 73]  Schoenebeck              Expires August 17, 2008               [Page 73]
4088    
4089  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4090    
4091    
4092  6.6.3.  Current number of active disk streams  6.6.3.  Current number of active disk streams
# Line 4140  Internet-Draft        LinuxSampler Contr Line 4140  Internet-Draft        LinuxSampler Contr
4140    
4141    
4142    
4143  Schoenebeck               Expires June 7, 2008                 [Page 74]  Schoenebeck              Expires August 17, 2008               [Page 74]
4144    
4145  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4146    
4147    
4148              arbitrary textual description about the sampler (note that              arbitrary textual description about the sampler (note that
# Line 4196  Internet-Draft        LinuxSampler Contr Line 4196  Internet-Draft        LinuxSampler Contr
4196    
4197    
4198    
4199  Schoenebeck               Expires June 7, 2008                 [Page 75]  Schoenebeck              Expires August 17, 2008               [Page 75]
4200    
4201  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4202    
4203    
4204     attenuating the overall volume.     attenuating the overall volume.
# Line 4252  Internet-Draft        LinuxSampler Contr Line 4252  Internet-Draft        LinuxSampler Contr
4252    
4253    
4254    
4255  Schoenebeck               Expires June 7, 2008                 [Page 76]  Schoenebeck              Expires August 17, 2008               [Page 76]
4256    
4257  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4258    
4259    
4260  6.7.1.  Create a new MIDI instrument map  6.7.1.  Create a new MIDI instrument map
# Line 4308  Internet-Draft        LinuxSampler Contr Line 4308  Internet-Draft        LinuxSampler Contr
4308    
4309    
4310    
4311  Schoenebeck               Expires June 7, 2008                 [Page 77]  Schoenebeck              Expires August 17, 2008               [Page 77]
4312    
4313  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4314    
4315    
4316     The front-end can delete all MIDI instrument maps by sending the     The front-end can delete all MIDI instrument maps by sending the
# Line 4364  Internet-Draft        LinuxSampler Contr Line 4364  Internet-Draft        LinuxSampler Contr
4364    
4365    
4366    
4367  Schoenebeck               Expires June 7, 2008                 [Page 78]  Schoenebeck              Expires August 17, 2008               [Page 78]
4368    
4369  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4370    
4371    
4372        LIST MIDI_INSTRUMENT_MAPS        LIST MIDI_INSTRUMENT_MAPS
# Line 4420  Internet-Draft        LinuxSampler Contr Line 4420  Internet-Draft        LinuxSampler Contr
4420    
4421    
4422    
4423  Schoenebeck               Expires June 7, 2008                 [Page 79]  Schoenebeck              Expires August 17, 2008               [Page 79]
4424    
4425  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4426    
4427    
4428        C: "GET MIDI_INSTRUMENT_MAP INFO 0"        C: "GET MIDI_INSTRUMENT_MAP INFO 0"
# Line 4476  Internet-Draft        LinuxSampler Contr Line 4476  Internet-Draft        LinuxSampler Contr
4476    
4477    
4478    
4479  Schoenebeck               Expires June 7, 2008                 [Page 80]  Schoenebeck              Expires August 17, 2008               [Page 80]
4480    
4481  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4482    
4483    
4484     <midi_prog> an integer value between 0..127 reflecting the MIDI     <midi_prog> an integer value between 0..127 reflecting the MIDI
# Line 4532  Internet-Draft        LinuxSampler Contr Line 4532  Internet-Draft        LinuxSampler Contr
4532    
4533    
4534    
4535  Schoenebeck               Expires June 7, 2008                 [Page 81]  Schoenebeck              Expires August 17, 2008               [Page 81]
4536    
4537  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4538    
4539    
4540           instrument does not exist in the InstrumentManager's list yet,           instrument does not exist in the InstrumentManager's list yet,
# Line 4588  Internet-Draft        LinuxSampler Contr Line 4588  Internet-Draft        LinuxSampler Contr
4588    
4589    
4590    
4591  Schoenebeck               Expires June 7, 2008                 [Page 82]  Schoenebeck              Expires August 17, 2008               [Page 82]
4592    
4593  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4594    
4595    
4596        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 4644  Internet-Draft        LinuxSampler Contr Line 4644  Internet-Draft        LinuxSampler Contr
4644    
4645    
4646    
4647  Schoenebeck               Expires June 7, 2008                 [Page 83]  Schoenebeck              Expires August 17, 2008               [Page 83]
4648    
4649  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4650    
4651    
4652        The sampler will answer by sending the current number of entries        The sampler will answer by sending the current number of entries
# Line 4700  Internet-Draft        LinuxSampler Contr Line 4700  Internet-Draft        LinuxSampler Contr
4700    
4701    
4702    
4703  Schoenebeck               Expires June 7, 2008                 [Page 84]  Schoenebeck              Expires August 17, 2008               [Page 84]
4704    
4705  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4706    
4707    
4708        UNMAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog>        UNMAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog>
# Line 4756  Internet-Draft        LinuxSampler Contr Line 4756  Internet-Draft        LinuxSampler Contr
4756    
4757    
4758    
4759  Schoenebeck               Expires June 7, 2008                 [Page 85]  Schoenebeck              Expires August 17, 2008               [Page 85]
4760    
4761  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4762    
4763    
4764           mapped instrument.  It can be set and changed with the "MAP           mapped instrument.  It can be set and changed with the "MAP
# Line 4812  Internet-Draft        LinuxSampler Contr Line 4812  Internet-Draft        LinuxSampler Contr
4812    
4813    
4814    
4815  Schoenebeck               Expires June 7, 2008                 [Page 86]  Schoenebeck              Expires August 17, 2008               [Page 86]
4816    
4817  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4818    
4819    
4820           "INSTRUMENT_NR: 0"           "INSTRUMENT_NR: 0"
# Line 4868  Internet-Draft        LinuxSampler Contr Line 4868  Internet-Draft        LinuxSampler Contr
4868    
4869    
4870    
4871  Schoenebeck               Expires June 7, 2008                 [Page 87]  Schoenebeck              Expires August 17, 2008               [Page 87]
4872    
4873  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4874    
4875    
4876  6.8.  Managing Instruments Database  6.8.  Managing Instruments Database
# Line 4924  Internet-Draft        LinuxSampler Contr Line 4924  Internet-Draft        LinuxSampler Contr
4924    
4925    
4926    
4927  Schoenebeck               Expires June 7, 2008                 [Page 88]  Schoenebeck              Expires August 17, 2008               [Page 88]
4928    
4929  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4930    
4931    
4932        REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] <dir>        REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] <dir>
# Line 4980  Internet-Draft        LinuxSampler Contr Line 4980  Internet-Draft        LinuxSampler Contr
4980    
4981    
4982    
4983  Schoenebeck               Expires June 7, 2008                 [Page 89]  Schoenebeck              Expires August 17, 2008               [Page 89]
4984    
4985  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
4986    
4987    
4988        C: "GET DB_INSTRUMENT_DIRECTORIES '/'"        C: "GET DB_INSTRUMENT_DIRECTORIES '/'"
# Line 5036  Internet-Draft        LinuxSampler Contr Line 5036  Internet-Draft        LinuxSampler Contr
5036    
5037    
5038    
5039  Schoenebeck               Expires June 7, 2008                 [Page 90]  Schoenebeck              Expires August 17, 2008               [Page 90]
5040    
5041  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5042    
5043    
5044        LinuxSampler will answer by sending a <CRLF> separated list.  Each        LinuxSampler will answer by sending a <CRLF> separated list.  Each
# Line 5092  Internet-Draft        LinuxSampler Contr Line 5092  Internet-Draft        LinuxSampler Contr
5092    
5093    
5094    
5095  Schoenebeck               Expires June 7, 2008                 [Page 91]  Schoenebeck              Expires August 17, 2008               [Page 91]
5096    
5097  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5098    
5099    
5100     Possible Answers:     Possible Answers:
# Line 5148  Internet-Draft        LinuxSampler Contr Line 5148  Internet-Draft        LinuxSampler Contr
5148    
5149    
5150    
5151  Schoenebeck               Expires June 7, 2008                 [Page 92]  Schoenebeck              Expires August 17, 2008               [Page 92]
5152    
5153  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5154    
5155    
5156  6.8.8.  Copying instrument directories  6.8.8.  Copying instrument directories
# Line 5204  Internet-Draft        LinuxSampler Contr Line 5204  Internet-Draft        LinuxSampler Contr
5204    
5205    
5206    
5207  Schoenebeck               Expires June 7, 2008                 [Page 93]  Schoenebeck              Expires August 17, 2008               [Page 93]
5208    
5209  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5210    
5211    
5212        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 5260  Internet-Draft        LinuxSampler Contr Line 5260  Internet-Draft        LinuxSampler Contr
5260    
5261    
5262    
5263  Schoenebeck               Expires June 7, 2008                 [Page 94]  Schoenebeck              Expires August 17, 2008               [Page 94]
5264    
5265  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5266    
5267    
5268        are last modified before <date-before>.  If <date-before> is        are last modified before <date-before>.  If <date-before> is
# Line 5316  Internet-Draft        LinuxSampler Contr Line 5316  Internet-Draft        LinuxSampler Contr
5316    
5317    
5318    
5319  Schoenebeck               Expires June 7, 2008                 [Page 95]  Schoenebeck              Expires August 17, 2008               [Page 95]
5320    
5321  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5322    
5323    
5324     file is supplied, only the instruments in the specified file will be     file is supplied, only the instruments in the specified file will be
# Line 5372  Internet-Draft        LinuxSampler Contr Line 5372  Internet-Draft        LinuxSampler Contr
5372    
5373    
5374    
5375  Schoenebeck               Expires June 7, 2008                 [Page 96]  Schoenebeck              Expires August 17, 2008               [Page 96]
5376    
5377  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5378    
5379    
5380           if an invalid path is specified.           if an invalid path is specified.
# Line 5428  Internet-Draft        LinuxSampler Contr Line 5428  Internet-Draft        LinuxSampler Contr
5428    
5429    
5430    
5431  Schoenebeck               Expires June 7, 2008                 [Page 97]  Schoenebeck              Expires August 17, 2008               [Page 97]
5432    
5433  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5434    
5435    
5436        The current number of instruments in the specified directory.        The current number of instruments in the specified directory.
# Line 5484  Internet-Draft        LinuxSampler Contr Line 5484  Internet-Draft        LinuxSampler Contr
5484    
5485    
5486    
5487  Schoenebeck               Expires June 7, 2008                 [Page 98]  Schoenebeck              Expires August 17, 2008               [Page 98]
5488    
5489  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5490    
5491    
5492  6.8.15.  Getting instrument information  6.8.15.  Getting instrument information
# Line 5540  Internet-Draft        LinuxSampler Contr Line 5540  Internet-Draft        LinuxSampler Contr
5540    
5541    
5542    
5543  Schoenebeck               Expires June 7, 2008                 [Page 99]  Schoenebeck              Expires August 17, 2008               [Page 99]
5544    
5545  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5546    
5547    
5548           MODIFIED -           MODIFIED -
# Line 5596  Internet-Draft        LinuxSampler Contr Line 5596  Internet-Draft        LinuxSampler Contr
5596    
5597    
5598    
5599  Schoenebeck               Expires June 7, 2008                [Page 100]  Schoenebeck              Expires August 17, 2008              [Page 100]
5600    
5601  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5602    
5603    
5604           "SIZE: 2050871870"           "SIZE: 2050871870"
# Line 5652  Internet-Draft        LinuxSampler Contr Line 5652  Internet-Draft        LinuxSampler Contr
5652    
5653    
5654    
5655  Schoenebeck               Expires June 7, 2008                [Page 101]  Schoenebeck              Expires August 17, 2008              [Page 101]
5656    
5657  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5658    
5659    
5660  6.8.17.  Moving an instrument  6.8.17.  Moving an instrument
# Line 5708  Internet-Draft        LinuxSampler Contr Line 5708  Internet-Draft        LinuxSampler Contr
5708    
5709    
5710    
5711  Schoenebeck               Expires June 7, 2008                [Page 102]  Schoenebeck              Expires August 17, 2008              [Page 102]
5712    
5713  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5714    
5715    
5716           in case the given instrument does not exists, or if an           in case the given instrument does not exists, or if an
# Line 5764  Internet-Draft        LinuxSampler Contr Line 5764  Internet-Draft        LinuxSampler Contr
5764    
5765    
5766    
5767  Schoenebeck               Expires June 7, 2008                [Page 103]  Schoenebeck              Expires August 17, 2008              [Page 103]
5768    
5769  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5770    
5771    
5772     directory to search in.  If NON_RECURSIVE is specified, the     directory to search in.  If NON_RECURSIVE is specified, the
# Line 5820  Internet-Draft        LinuxSampler Contr Line 5820  Internet-Draft        LinuxSampler Contr
5820    
5821    
5822    
5823  Schoenebeck               Expires June 7, 2008                [Page 104]  Schoenebeck              Expires August 17, 2008              [Page 104]
5824    
5825  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5826    
5827    
5828        Restricts the search to instruments with product info that        Restricts the search to instruments with product info that
# Line 5876  Internet-Draft        LinuxSampler Contr Line 5876  Internet-Draft        LinuxSampler Contr
5876    
5877    
5878    
5879  Schoenebeck               Expires June 7, 2008                [Page 105]  Schoenebeck              Expires August 17, 2008              [Page 105]
5880    
5881  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5882    
5883    
5884        S: "'/Piano Collection/Bosendorfer 290'"        S: "'/Piano Collection/Bosendorfer 290'"
# Line 5932  Internet-Draft        LinuxSampler Contr Line 5932  Internet-Draft        LinuxSampler Contr
5932    
5933    
5934    
5935  Schoenebeck               Expires June 7, 2008                [Page 106]  Schoenebeck              Expires August 17, 2008              [Page 106]
5936    
5937  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5938    
5939    
5940     Example:     Example:
# Line 5988  Internet-Draft        LinuxSampler Contr Line 5988  Internet-Draft        LinuxSampler Contr
5988    
5989    
5990    
5991  Schoenebeck               Expires June 7, 2008                [Page 107]  Schoenebeck              Expires August 17, 2008              [Page 107]
5992    
5993  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
5994    
5995    
5996        EDIT CHANNEL INSTRUMENT <sampler-channel>        EDIT CHANNEL INSTRUMENT <sampler-channel>
# Line 6044  Internet-Draft        LinuxSampler Contr Line 6044  Internet-Draft        LinuxSampler Contr
6044    
6045    
6046    
6047  Schoenebeck               Expires June 7, 2008                [Page 108]  Schoenebeck              Expires August 17, 2008              [Page 108]
6048    
6049  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6050    
6051    
6052  6.10.1.  Retrieving amount of instruments of a file  6.10.1.  Retrieving amount of instruments of a file
# Line 6100  Internet-Draft        LinuxSampler Contr Line 6100  Internet-Draft        LinuxSampler Contr
6100    
6101    
6102    
6103  Schoenebeck               Expires June 7, 2008                [Page 109]  Schoenebeck              Expires August 17, 2008              [Page 109]
6104    
6105  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6106    
6107    
6108        On success, the sampler will answer by returning a comma separated        On success, the sampler will answer by returning a comma separated
# Line 6156  Internet-Draft        LinuxSampler Contr Line 6156  Internet-Draft        LinuxSampler Contr
6156    
6157    
6158    
6159  Schoenebeck               Expires June 7, 2008                [Page 110]  Schoenebeck              Expires August 17, 2008              [Page 110]
6160    
6161  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6162    
6163    
6164              name of the sampler format of the given instrument              name of the sampler format of the given instrument
# Line 6212  Internet-Draft        LinuxSampler Contr Line 6212  Internet-Draft        LinuxSampler Contr
6212    
6213    
6214    
6215  Schoenebeck               Expires June 7, 2008                [Page 111]  Schoenebeck              Expires August 17, 2008              [Page 111]
6216    
6217  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6218    
6219    
6220  7.  Command Syntax  7.  Command Syntax
# Line 6268  Internet-Draft        LinuxSampler Contr Line 6268  Internet-Draft        LinuxSampler Contr
6268    
6269    
6270    
6271  Schoenebeck               Expires June 7, 2008                [Page 112]  Schoenebeck              Expires August 17, 2008              [Page 112]
6272    
6273  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6274    
6275    
6276        / LIST SP list_instruction        / LIST SP list_instruction
# Line 6324  Internet-Draft        LinuxSampler Contr Line 6324  Internet-Draft        LinuxSampler Contr
6324    
6325    
6326    
6327  Schoenebeck               Expires June 7, 2008                [Page 113]  Schoenebeck              Expires August 17, 2008              [Page 113]
6328    
6329  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
6330    
6331    
6332        / DB_INSTRUMENTS SP db_path SP filename SP instrument_index        / DB_INSTRUMENTS SP db_path SP filename SP instrument_index
# Line 6347  Internet-Draft        LinuxSampler Contr Line 6347  Internet-Draft        LinuxSampler Contr
6347    
6348        / CHANNEL_COUNT        / CHANNEL_COUNT
6349    
6350          / CHANNEL_MIDI
6351    
6352        / VOICE_COUNT        / VOICE_COUNT
6353    
6354        / STREAM_COUNT        / STREAM_COUNT
# Line 6375  Internet-Draft        LinuxSampler Contr Line 6377  Internet-Draft        LinuxSampler Contr
6377    
6378        / DB_INSTRUMENT_INFO        / DB_INSTRUMENT_INFO
6379    
       / DB_INSTRUMENTS_JOB_INFO  
6380    
6381    
6382    
6383    Schoenebeck              Expires August 17, 2008              [Page 114]
6384    
6385    Internet-Draft        LinuxSampler Control Protocol        February 2008
6386    
 Schoenebeck               Expires June 7, 2008                [Page 114]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
6387    
6388          / DB_INSTRUMENTS_JOB_INFO
6389    
6390        / MISCELLANEOUS        / MISCELLANEOUS
6391    
# Line 6405  Internet-Draft        LinuxSampler Contr Line 6407  Internet-Draft        LinuxSampler Contr
6407    
6408        / CHANNEL_COUNT        / CHANNEL_COUNT
6409    
6410          / CHANNEL_MIDI
6411    
6412        / VOICE_COUNT        / VOICE_COUNT
6413    
6414        / STREAM_COUNT        / STREAM_COUNT
# Line 6429  Internet-Draft        LinuxSampler Contr Line 6433  Internet-Draft        LinuxSampler Contr
6433    
6434        / DB_INSTRUMENT_DIRECTORY_INFO        / DB_INSTRUMENT_DIRECTORY_INFO
6435    
       / DB_INSTRUMENT_COUNT  
   
       / DB_INSTRUMENT_INFO  
6436    
6437    
6438    
6439    Schoenebeck              Expires August 17, 2008              [Page 115]
6440    
6441    Internet-Draft        LinuxSampler Control Protocol        February 2008
6442    
 Schoenebeck               Expires June 7, 2008                [Page 115]  
6443    
6444  Internet-Draft        LinuxSampler Control Protocol        December 2007        / DB_INSTRUMENT_COUNT
6445    
6446          / DB_INSTRUMENT_INFO
6447    
6448        / DB_INSTRUMENTS_JOB_INFO        / DB_INSTRUMENTS_JOB_INFO
6449    
# Line 6484  Internet-Draft        LinuxSampler Contr Line 6488  Internet-Draft        LinuxSampler Contr
6488    
6489        / DB_INSTRUMENT_DIRECTORY SP db_path        / DB_INSTRUMENT_DIRECTORY SP db_path
6490    
       / DB_INSTRUMENT SP db_path  
   
    get_instruction =  
6491    
6492    
6493    
6494    
6495    Schoenebeck              Expires August 17, 2008              [Page 116]
6496    
6497    Internet-Draft        LinuxSampler Control Protocol        February 2008
6498    
 Schoenebeck               Expires June 7, 2008                [Page 116]  
6499    
6500  Internet-Draft        LinuxSampler Control Protocol        December 2007        / DB_INSTRUMENT SP db_path
6501    
6502       get_instruction =
6503    
6504        AVAILABLE_ENGINES        AVAILABLE_ENGINES
6505    
# Line 6540  Internet-Draft        LinuxSampler Contr Line 6544  Internet-Draft        LinuxSampler Contr
6544    
6545        / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel        / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel
6546    
       / CHANNEL SP STREAM_COUNT SP sampler_channel  
   
       / CHANNEL SP VOICE_COUNT SP sampler_channel  
6547    
6548    
6549    
6550    
6551    Schoenebeck              Expires August 17, 2008              [Page 117]
6552    
6553    Internet-Draft        LinuxSampler Control Protocol        February 2008
6554    
 Schoenebeck               Expires June 7, 2008                [Page 117]  
6555    
6556  Internet-Draft        LinuxSampler Control Protocol        December 2007        / CHANNEL SP STREAM_COUNT SP sampler_channel
6557    
6558          / CHANNEL SP VOICE_COUNT SP sampler_channel
6559    
6560        / ENGINE SP INFO SP engine_name        / ENGINE SP INFO SP engine_name
6561    
# Line 6597  Internet-Draft        LinuxSampler Contr Line 6601  Internet-Draft        LinuxSampler Contr
6601    
6602        / FILE SP INSTRUMENT SP INFO SP filename SP instrument_index        / FILE SP INSTRUMENT SP INFO SP filename SP instrument_index
6603    
    set_instruction =  
6604    
       AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '='  
       param_val_list  
6605    
6606    
6607    Schoenebeck              Expires August 17, 2008              [Page 118]
6608    
6609    Internet-Draft        LinuxSampler Control Protocol        February 2008
6610    
 Schoenebeck               Expires June 7, 2008                [Page 118]  
6611    
6612  Internet-Draft        LinuxSampler Control Protocol        December 2007     set_instruction =
6613    
6614          AUDIO_OUTPUT_DEVICE_PARAMETER SP number SP string '='
6615          param_val_list
6616    
6617        / AUDIO_OUTPUT_CHANNEL_PARAMETER SP number SP number SP string '='        / AUDIO_OUTPUT_CHANNEL_PARAMETER SP number SP number SP string '='
6618        param_val_list        param_val_list
# Line 6652  Internet-Draft        LinuxSampler Contr Line 6657  Internet-Draft        LinuxSampler Contr
6657    
6658        AUDIO_OUTPUT_DEVICE SP string SP key_val_list        AUDIO_OUTPUT_DEVICE SP string SP key_val_list
6659    
       / AUDIO_OUTPUT_DEVICE SP string  
   
       / MIDI_INPUT_DEVICE SP string SP key_val_list  
   
6660    
6661    
6662    
6663    Schoenebeck              Expires August 17, 2008              [Page 119]
6664    
6665    Internet-Draft        LinuxSampler Control Protocol        February 2008
6666    
 Schoenebeck               Expires June 7, 2008                [Page 119]  
6667    
6668  Internet-Draft        LinuxSampler Control Protocol        December 2007        / AUDIO_OUTPUT_DEVICE SP string
6669    
6670          / MIDI_INPUT_DEVICE SP string SP key_val_list
6671    
6672        / MIDI_INPUT_DEVICE SP string        / MIDI_INPUT_DEVICE SP string
6673    
# Line 6708  Internet-Draft        LinuxSampler Contr Line 6712  Internet-Draft        LinuxSampler Contr
6712    
6713        AUDIO_OUTPUT_DEVICE SP number        AUDIO_OUTPUT_DEVICE SP number
6714    
       / MIDI_INPUT_DEVICE SP number  
6715    
       / FX_SEND SP sampler_channel SP fx_send_id  
6716    
    load_instruction =  
6717    
6718    
6719    Schoenebeck              Expires August 17, 2008              [Page 120]
6720    
6721    Internet-Draft        LinuxSampler Control Protocol        February 2008
6722    
6723    
6724  Schoenebeck               Expires June 7, 2008                [Page 120]        / MIDI_INPUT_DEVICE SP number
6725    
6726  Internet-Draft        LinuxSampler Control Protocol        December 2007        / FX_SEND SP sampler_channel SP fx_send_id
6727    
6728       load_instruction =
6729    
6730        INSTRUMENT SP load_instr_args        INSTRUMENT SP load_instr_args
6731    
# Line 6764  Internet-Draft        LinuxSampler Contr Line 6770  Internet-Draft        LinuxSampler Contr
6770    
6771     format_instruction =     format_instruction =
6772    
       INSTRUMENTS_DB  
   
    modal_arg =  
   
   
6773    
6774    
6775    Schoenebeck              Expires August 17, 2008              [Page 121]
6776    
6777    Internet-Draft        LinuxSampler Control Protocol        February 2008
6778    
 Schoenebeck               Expires June 7, 2008                [Page 121]  
6779    
6780  Internet-Draft        LinuxSampler Control Protocol        December 2007        INSTRUMENTS_DB
6781    
6782       modal_arg =
6783    
6784        /* epsilon (empty argument) */        /* epsilon (empty argument) */
6785    
# Line 6821  Internet-Draft        LinuxSampler Contr Line 6825  Internet-Draft        LinuxSampler Contr
6825    
6826        / DB_INSTRUMENTS SP RECURSIVE SP db_path        / DB_INSTRUMENTS SP RECURSIVE SP db_path
6827    
       / DB_INSTRUMENTS SP db_path  
   
       / FILE SP INSTRUMENTS SP filename  
6828    
6829    
6830    
6831    Schoenebeck              Expires August 17, 2008              [Page 122]
6832    
6833    Internet-Draft        LinuxSampler Control Protocol        February 2008
6834    
 Schoenebeck               Expires June 7, 2008                [Page 122]  
6835    
6836  Internet-Draft        LinuxSampler Control Protocol        December 2007        / DB_INSTRUMENTS SP db_path
6837    
6838          / FILE SP INSTRUMENTS SP filename
6839    
6840     load_instr_args =     load_instr_args =
6841    
# Line 6877  Internet-Draft        LinuxSampler Contr Line 6881  Internet-Draft        LinuxSampler Contr
6881    
6882        string        string
6883    
    midi_map =  
   
       number  
6884    
6885    
6886    
6887    Schoenebeck              Expires August 17, 2008              [Page 123]
6888    
6889    Internet-Draft        LinuxSampler Control Protocol        February 2008
6890    
 Schoenebeck               Expires June 7, 2008                [Page 123]  
6891    
6892  Internet-Draft        LinuxSampler Control Protocol        December 2007     midi_map =
6893    
6894          number
6895    
6896     midi_bank =     midi_bank =
6897    
# Line 6933  Internet-Draft        LinuxSampler Contr Line 6937  Internet-Draft        LinuxSampler Contr
6937    
6938     map_name =     map_name =
6939    
       stringval_escaped  
   
    entry_name =  
6940    
6941    
6942    
6943    Schoenebeck              Expires August 17, 2008              [Page 124]
6944    
6945    Internet-Draft        LinuxSampler Control Protocol        February 2008
6946    
 Schoenebeck               Expires June 7, 2008                [Page 124]  
6947    
6948  Internet-Draft        LinuxSampler Control Protocol        December 2007        stringval_escaped
6949    
6950       entry_name =
6951    
6952        stringval_escaped        stringval_escaped
6953    
# Line 6987  Internet-Draft        LinuxSampler Contr Line 6991  Internet-Draft        LinuxSampler Contr
6991    
6992        / FLAT        / FLAT
6993    
 7.1.  Character Set and Escape Sequences  
6994    
    Older versions of this protocol up to and including v1.1 only  
    supported the standard ASCII character set (ASCII code 0 - 127)  
    [RFC20], all younger versions of this protocol however support the  
    Extended ASCII character set (ASCII code 0 - 255).  The same group of  
6995    
6996    
6997    
 Schoenebeck               Expires June 7, 2008                [Page 125]  
6998    
6999  Internet-Draft        LinuxSampler Control Protocol        December 2007  Schoenebeck              Expires August 17, 2008              [Page 125]
7000    
7001    Internet-Draft        LinuxSampler Control Protocol        February 2008
7002    
7003    
7004    7.1.  Character Set and Escape Sequences
7005    
7006       Older versions of this protocol up to and including v1.1 only
7007       supported the standard ASCII character set (ASCII code 0 - 127)
7008       [RFC20], all younger versions of this protocol however support the
7009       Extended ASCII character set (ASCII code 0 - 255).  The same group of
7010     younger protocols also support escape sequences, but only for     younger protocols also support escape sequences, but only for
7011     certain, explicitly declared parts of the protocol.  The supported     certain, explicitly declared parts of the protocol.  The supported
7012     escape sequences are defined as follows:     escape sequences are defined as follows:
# Line 7044  Internet-Draft        LinuxSampler Contr Line 7050  Internet-Draft        LinuxSampler Contr
7050     filename / path based arguments and / or may contain a filename /     filename / path based arguments and / or may contain a filename /
7051     path with escape sequences in their response:     path with escape sequences in their response:
7052    
       "LOAD INSTRUMENT" (Section 6.4.1)  
   
       "GET CHANNEL INFO" (Section 6.4.10)  
   
   
7053    
7054    
7055    Schoenebeck              Expires August 17, 2008              [Page 126]
7056    
7057    Internet-Draft        LinuxSampler Control Protocol        February 2008
7058    
 Schoenebeck               Expires June 7, 2008                [Page 126]  
7059    
7060  Internet-Draft        LinuxSampler Control Protocol        December 2007        "LOAD INSTRUMENT" (Section 6.4.1)
7061    
7062          "GET CHANNEL INFO" (Section 6.4.10)
7063    
7064        "MAP MIDI_INSTRUMENT" (Section 6.7.7)        "MAP MIDI_INSTRUMENT" (Section 6.7.7)
7065    
# Line 7101  Internet-Draft        LinuxSampler Contr Line 7105  Internet-Draft        LinuxSampler Contr
7105    
7106        "COPY DB_INSTRUMENT_DIRECTORY" (Section 6.8.8)        "COPY DB_INSTRUMENT_DIRECTORY" (Section 6.8.8)
7107    
       "GET FILE INSTRUMENTS" (Section 6.10.1)  
7108    
       "LIST FILE INSTRUMENTS" (Section 6.10.2)  
7109    
7110    
7111    Schoenebeck              Expires August 17, 2008              [Page 127]
7112    
7113    Internet-Draft        LinuxSampler Control Protocol        February 2008
7114    
7115    
7116  Schoenebeck               Expires June 7, 2008                [Page 127]        "GET FILE INSTRUMENTS" (Section 6.10.1)
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
7117    
7118          "LIST FILE INSTRUMENTS" (Section 6.10.2)
7119    
7120        "GET FILE INSTRUMENT INFO" (Section 6.10.3)        "GET FILE INSTRUMENT INFO" (Section 6.10.3)
7121    
# Line 7156  Internet-Draft        LinuxSampler Contr Line 7160  Internet-Draft        LinuxSampler Contr
7160    
7161        "SET MIDI_INSTRUMENT_MAP NAME" (Section 6.7.6)        "SET MIDI_INSTRUMENT_MAP NAME" (Section 6.7.6)
7162    
       "GET DB_INSTRUMENT_DIRECTORY INFO" (Section 6.8.5)  
7163    
       "SET DB_INSTRUMENT_DIRECTORY NAME" (Section 6.8.6)  
7164    
7165    
7166    
7167    Schoenebeck              Expires August 17, 2008              [Page 128]
7168    
7169    Internet-Draft        LinuxSampler Control Protocol        February 2008
7170    
7171    
7172  Schoenebeck               Expires June 7, 2008                [Page 128]        "GET DB_INSTRUMENT_DIRECTORY INFO" (Section 6.8.5)
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
7173    
7174          "SET DB_INSTRUMENT_DIRECTORY NAME" (Section 6.8.6)
7175    
7176        "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION" (Section 6.8.9)        "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION" (Section 6.8.9)
7177    
# Line 7216  Internet-Draft        LinuxSampler Contr Line 7220  Internet-Draft        LinuxSampler Contr
7220    
7221    
7222    
7223    Schoenebeck              Expires August 17, 2008              [Page 129]
7224    
7225    Internet-Draft        LinuxSampler Control Protocol        February 2008
   
 Schoenebeck               Expires June 7, 2008                [Page 129]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
7226    
7227    
7228  8.  Events  8.  Events
# Line 7276  Internet-Draft        LinuxSampler Contr Line 7276  Internet-Draft        LinuxSampler Contr
7276    
7277    
7278    
7279  Schoenebeck               Expires June 7, 2008                [Page 130]  Schoenebeck              Expires August 17, 2008              [Page 130]
7280    
7281  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
7282    
7283    
7284        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"
# Line 7319  Internet-Draft        LinuxSampler Contr Line 7319  Internet-Draft        LinuxSampler Contr
7319     where <channels> will be replaced by the new number of sampler     where <channels> will be replaced by the new number of sampler
7320     channels.     channels.
7321    
7322  8.6.  Number of active voices changed  8.6.  MIDI data on a sampler channel arrived
7323    
7324     Client may want to be notified when the number of voices on the back-     Client may want to be notified when MIDI data arrive on sampler
7325     end changes by issuing the following command:     channels on back-end side, by issuing the following command:
7326    
7327          SUBSCRIBE CHANNEL_MIDI
7328    
7329       Server will start sending one of the the following notification
7330       messages:
7331    
       SUBSCRIBE VOICE_COUNT  
7332    
    Server will start sending the following notification messages:  
7333    
7334    
7335    Schoenebeck              Expires August 17, 2008              [Page 131]
7336    
7337    Internet-Draft        LinuxSampler Control Protocol        February 2008
7338    
7339    
7340          "NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_ON <note> <velocity>"
7341    
7342  Schoenebeck               Expires June 7, 2008                [Page 131]        "NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_OFF <note> <velocity>"
7343    
7344  Internet-Draft        LinuxSampler Control Protocol        December 2007     where <channel-id> will be replaced by the ID of the sampler channel
7345       where the MIDI data arrived. <note> and <velocity> are integer values
7346       in the range between 0 .. 127, reflecting the analog meaning of the
7347       MIDI specification.
7348    
7349       CAUTION: no guarantee whatsoever will be made that MIDI events are
7350       actually all delivered by this mechanism!  With other words: events
7351       could be lost at any time!  This restriction was made to keep the RT-
7352       safeness of the backend's MIDI and audio thread unaffected by this
7353       feature.
7354    
7355    8.7.  Number of active voices changed
7356    
7357       Client may want to be notified when the number of voices on the back-
7358       end changes by issuing the following command:
7359    
7360          SUBSCRIBE VOICE_COUNT
7361    
7362       Server will start sending the following notification messages:
7363    
7364        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>"        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>"
7365    
# Line 7343  Internet-Draft        LinuxSampler Contr Line 7367  Internet-Draft        LinuxSampler Contr
7367     voice count change occurred and <voices> by the new number of active     voice count change occurred and <voices> by the new number of active
7368     voices on that channel.     voices on that channel.
7369    
7370  8.7.  Number of active disk streams changed  8.8.  Number of active disk streams changed
7371    
7372     Client may want to be notified when the number of streams on the     Client may want to be notified when the number of streams on the
7373     back-end changes by issuing the following command: SUBSCRIBE     back-end changes by issuing the following command: SUBSCRIBE
# Line 7359  Internet-Draft        LinuxSampler Contr Line 7383  Internet-Draft        LinuxSampler Contr
7383     stream count change occurred and <streams> by the new number of     stream count change occurred and <streams> by the new number of
7384     active disk streams on that channel.     active disk streams on that channel.
7385    
7386  8.8.  Disk stream buffer fill state changed  
7387    
7388    
7389    
7390    
7391    Schoenebeck              Expires August 17, 2008              [Page 132]
7392    
7393    Internet-Draft        LinuxSampler Control Protocol        February 2008
7394    
7395    
7396    8.9.  Disk stream buffer fill state changed
7397    
7398     Client may want to be notified when the buffer fill state of a disk     Client may want to be notified when the buffer fill state of a disk
7399     stream on the back-end changes by issuing the following command:     stream on the back-end changes by issuing the following command:
# Line 7376  Internet-Draft        LinuxSampler Contr Line 7410  Internet-Draft        LinuxSampler Contr
7410     Section 6.4.13 as if the "GET CHANNEL BUFFER_FILL PERCENTAGE"     Section 6.4.13 as if the "GET CHANNEL BUFFER_FILL PERCENTAGE"
7411     (Section 6.4.13) command was issued on this channel.     (Section 6.4.13) command was issued on this channel.
7412    
7413  8.9.  Channel information changed  8.10.  Channel information changed
7414    
7415     Client may want to be notified when changes were made to sampler     Client may want to be notified when changes were made to sampler
7416     channels on the back-end by issuing the following command:     channels on the back-end by issuing the following command:
# Line 7385  Internet-Draft        LinuxSampler Contr Line 7419  Internet-Draft        LinuxSampler Contr
7419    
7420     Server will start sending the following notification messages:     Server will start sending the following notification messages:
7421    
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 132]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
7422        "NOTIFY:CHANNEL_INFO:<sampler-channel>"        "NOTIFY:CHANNEL_INFO:<sampler-channel>"
7423    
7424     where <sampler-channel> will be replaced by the sampler channel the     where <sampler-channel> will be replaced by the sampler channel the
# Line 7402  Internet-Draft        LinuxSampler Contr Line 7428  Internet-Draft        LinuxSampler Contr
7428     rather than real time events happening on the server, it is believed     rather than real time events happening on the server, it is believed
7429     that an empty notification message is sufficient here.     that an empty notification message is sufficient here.
7430    
7431  8.10.  Number of effect sends changed  8.11.  Number of effect sends changed
7432    
7433     Client may want to be notified when the number of effect sends on a     Client may want to be notified when the number of effect sends on a
7434     particular sampler channel is changed by issuing the following     particular sampler channel is changed by issuing the following
# Line 7415  Internet-Draft        LinuxSampler Contr Line 7441  Internet-Draft        LinuxSampler Contr
7441        "NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>"        "NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>"
7442    
7443     where <channel-id> will be replaced by the numerical ID of the     where <channel-id> will be replaced by the numerical ID of the
7444    
7445    
7446    
7447    Schoenebeck              Expires August 17, 2008              [Page 133]
7448    
7449    Internet-Draft        LinuxSampler Control Protocol        February 2008
7450    
7451    
7452     sampler channel, on which the effect sends number is changed and <fx-     sampler channel, on which the effect sends number is changed and <fx-
7453     sends> will be replaced by the new number of effect sends on that     sends> will be replaced by the new number of effect sends on that
7454     channel.     channel.
7455    
7456  8.11.  Effect send information changed  8.12.  Effect send information changed
7457    
7458     Client may want to be notified when changes were made to effect sends     Client may want to be notified when changes were made to effect sends
7459     on a a particular sampler channel by issuing the following command:     on a a particular sampler channel by issuing the following command:
# Line 7435  Internet-Draft        LinuxSampler Contr Line 7469  Internet-Draft        LinuxSampler Contr
7469     send-id> will be replaced by the numerical ID of the changed effect     send-id> will be replaced by the numerical ID of the changed effect
7470     send.     send.
7471    
7472  8.12.  Total number of active voices changed  8.13.  Total number of active voices changed
7473    
7474     Client may want to be notified when the total number of voices on the     Client may want to be notified when the total number of voices on the
7475     back-end changes by issuing the following command:     back-end changes by issuing the following command:
7476    
   
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 133]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
7477        SUBSCRIBE TOTAL_VOICE_COUNT        SUBSCRIBE TOTAL_VOICE_COUNT
7478    
7479     Server will start sending the following notification messages:     Server will start sending the following notification messages:
# Line 7458  Internet-Draft        LinuxSampler Contr Line 7483  Internet-Draft        LinuxSampler Contr
7483     where <voices> will be replaced by the new number of all currently     where <voices> will be replaced by the new number of all currently
7484     active voices.     active voices.
7485    
7486  8.13.  Total number of active disk streams changed  8.14.  Total number of active disk streams changed
7487    
7488     Client may want to be notified when the total number of disk streams     Client may want to be notified when the total number of disk streams
7489     on the back-end changes by issuing the following command:     on the back-end changes by issuing the following command:
# Line 7472  Internet-Draft        LinuxSampler Contr Line 7497  Internet-Draft        LinuxSampler Contr
7497     where <streams> will be replaced by the new number of all currently     where <streams> will be replaced by the new number of all currently
7498     active disk streams.     active disk streams.
7499    
7500  8.14.  Number of MIDI instrument maps changed  
7501    
7502    
7503    Schoenebeck              Expires August 17, 2008              [Page 134]
7504    
7505    Internet-Draft        LinuxSampler Control Protocol        February 2008
7506    
7507    
7508    8.15.  Number of MIDI instrument maps changed
7509    
7510     Client may want to be notified when the number of MIDI instrument     Client may want to be notified when the number of MIDI instrument
7511     maps on the back-end changes by issuing the following command:     maps on the back-end changes by issuing the following command:
# Line 7486  Internet-Draft        LinuxSampler Contr Line 7519  Internet-Draft        LinuxSampler Contr
7519     where <maps> will be replaced by the new number of MIDI instrument     where <maps> will be replaced by the new number of MIDI instrument
7520     maps.     maps.
7521    
7522  8.15.  MIDI instrument map information changed  8.16.  MIDI instrument map information changed
7523    
7524     Client may want to be notified when changes were made to MIDI     Client may want to be notified when changes were made to MIDI
7525     instrument maps on the back-end by issuing the following command:     instrument maps on the back-end by issuing the following command:
# Line 7495  Internet-Draft        LinuxSampler Contr Line 7528  Internet-Draft        LinuxSampler Contr
7528    
7529     Server will start sending the following notification messages:     Server will start sending the following notification messages:
7530    
   
   
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 134]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
7531        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"
7532    
7533     where <map-id> will be replaced by the numerical ID of the MIDI     where <map-id> will be replaced by the numerical ID of the MIDI
# Line 7515  Internet-Draft        LinuxSampler Contr Line 7538  Internet-Draft        LinuxSampler Contr
7538     happening on the server, it is believed that an empty notification     happening on the server, it is believed that an empty notification
7539     message is sufficient here.     message is sufficient here.
7540    
7541  8.16.  Number of MIDI instruments changed  8.17.  Number of MIDI instruments changed
7542    
7543     Client may want to be notified when the number of MIDI instrument     Client may want to be notified when the number of MIDI instrument
7544     maps on the back-end changes by issuing the following command:     maps on the back-end changes by issuing the following command:
# Line 7530  Internet-Draft        LinuxSampler Contr Line 7553  Internet-Draft        LinuxSampler Contr
7553     which the nuber of instruments has changed and <instruments> will be     which the nuber of instruments has changed and <instruments> will be
7554     replaced by the new number of MIDI instruments in the specified map.     replaced by the new number of MIDI instruments in the specified map.
7555    
7556  8.17.  MIDI instrument information changed  
7557    
7558    
7559    Schoenebeck              Expires August 17, 2008              [Page 135]
7560    
7561    Internet-Draft        LinuxSampler Control Protocol        February 2008
7562    
7563    
7564    8.18.  MIDI instrument information changed
7565    
7566     Client may want to be notified when changes were made to MIDI     Client may want to be notified when changes were made to MIDI
7567     instruments on the back-end by issuing the following command:     instruments on the back-end by issuing the following command:
# Line 7550  Internet-Draft        LinuxSampler Contr Line 7581  Internet-Draft        LinuxSampler Contr
7581     real time events happening on the server, it is believed that an     real time events happening on the server, it is believed that an
7582     empty notification message is sufficient here.     empty notification message is sufficient here.
7583    
7584    8.19.  Global settings changed
   
   
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 135]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
 8.18.  Global settings changed  
7585    
7586     Client may want to be notified when changes to the global settings of     Client may want to be notified when changes to the global settings of
7587     the sampler were made by issuing the following command:     the sampler were made by issuing the following command:
# Line 7576  Internet-Draft        LinuxSampler Contr Line 7596  Internet-Draft        LinuxSampler Contr
7596        by the optional dotted floating point value, reflecting the new        by the optional dotted floating point value, reflecting the new
7597        global volume parameter.        global volume parameter.
7598    
7599  8.19.  Number of database instrument directories changed  8.20.  Number of database instrument directories changed
7600    
7601     Client may want to be notified when the number of instrument     Client may want to be notified when the number of instrument
7602     directories in a particular directory in the instruments database is     directories in a particular directory in the instruments database is
# Line 7589  Internet-Draft        LinuxSampler Contr Line 7609  Internet-Draft        LinuxSampler Contr
7609        "NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>"        "NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>"
7610    
7611     where <dir-path> will be replaced by the absolute path name of the     where <dir-path> will be replaced by the absolute path name of the
7612    
7613    
7614    
7615    Schoenebeck              Expires August 17, 2008              [Page 136]
7616    
7617    Internet-Draft        LinuxSampler Control Protocol        February 2008
7618    
7619    
7620     directory in the instruments database, in which the number of     directory in the instruments database, in which the number of
7621     directories is changed.     directories is changed.
7622    
7623     Note that when a non-empty directory is removed, this event is not     Note that when a non-empty directory is removed, this event is not
7624     sent for the subdirectories in that directory.     sent for the subdirectories in that directory.
7625    
7626  8.20.  Database instrument directory information changed  8.21.  Database instrument directory information changed
7627    
7628     Client may want to be notified when changes were made to directories     Client may want to be notified when changes were made to directories
7629     in the instruments database by issuing the following command:     in the instruments database by issuing the following command:
# Line 7609  Internet-Draft        LinuxSampler Contr Line 7637  Internet-Draft        LinuxSampler Contr
7637     where <dir-path> will be replaced by the absolute path name of the     where <dir-path> will be replaced by the absolute path name of the
7638     directory, for which information changes occurred.  The front-end     directory, for which information changes occurred.  The front-end
7639     will have to send the respective command to actually get the updated     will have to send the respective command to actually get the updated
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 136]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
7640     directory info.  Because these messages will be triggered by LSCP     directory info.  Because these messages will be triggered by LSCP
7641     commands issued by other clients rather than real time events     commands issued by other clients rather than real time events
7642     happening on the server, it is believed that an empty notification     happening on the server, it is believed that an empty notification
# Line 7629  Internet-Draft        LinuxSampler Contr Line 7649  Internet-Draft        LinuxSampler Contr
7649     (encapsulated into apostrophes), which name is changes and <new-name>     (encapsulated into apostrophes), which name is changes and <new-name>
7650     is the new name of the directory, encapsulated into apostrophes.     is the new name of the directory, encapsulated into apostrophes.
7651    
7652  8.21.  Number of database instruments changed  8.22.  Number of database instruments changed
7653    
7654     Client may want to be notified when the number of instruments in a     Client may want to be notified when the number of instruments in a
7655     particular directory in the instruments database is changed by     particular directory in the instruments database is changed by
# Line 7645  Internet-Draft        LinuxSampler Contr Line 7665  Internet-Draft        LinuxSampler Contr
7665     directory in the instruments database, in which the number of     directory in the instruments database, in which the number of
7666     instruments is changed.     instruments is changed.
7667    
7668    
7669    
7670    
7671    Schoenebeck              Expires August 17, 2008              [Page 137]
7672    
7673    Internet-Draft        LinuxSampler Control Protocol        February 2008
7674    
7675    
7676     Note that when a non-empty directory is removed, this event is not     Note that when a non-empty directory is removed, this event is not
7677     sent for the instruments in that directory.     sent for the instruments in that directory.
7678    
7679  8.22.  Database instrument information changed  8.23.  Database instrument information changed
7680    
7681     Client may want to be notified when changes were made to instruments     Client may want to be notified when changes were made to instruments
7682     in the instruments database by issuing the following command:     in the instruments database by issuing the following command:
# Line 7665  Internet-Draft        LinuxSampler Contr Line 7693  Internet-Draft        LinuxSampler Contr
7693     info.  Because these messages will be triggered by LSCP commands     info.  Because these messages will be triggered by LSCP commands
7694     issued by other clients rather than real time events happening on the     issued by other clients rather than real time events happening on the
7695     server, it is believed that an empty notification message is     server, it is believed that an empty notification message is
   
   
   
 Schoenebeck               Expires June 7, 2008                [Page 137]  
   
 Internet-Draft        LinuxSampler Control Protocol        December 2007  
   
   
7696     sufficient here.     sufficient here.
7697    
7698        "NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>"        "NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>"
# Line 7682  Internet-Draft        LinuxSampler Contr Line 7702  Internet-Draft        LinuxSampler Contr
7702     <new-name> is the new name of the instrument, encapsulated into     <new-name> is the new name of the instrument, encapsulated into
7703     apostrophes.     apostrophes.
7704    
7705  8.23.  Database job status information changed  8.24.  Database job status information changed
7706    
7707     Client may want to be notified when the status of particular database     Client may want to be notified when the status of particular database
7708     instruments job is changed by issuing the following command:     instruments job is changed by issuing the following command:
# Line 7700  Internet-Draft        LinuxSampler Contr Line 7720  Internet-Draft        LinuxSampler Contr
7720     real time events happening on the server, it is believed that an     real time events happening on the server, it is believed that an
7721     empty notification message is sufficient here.     empty notification message is sufficient here.
7722    
7723  8.24.  Miscellaneous and debugging events  
7724    
7725    
7726    
7727    Schoenebeck              Expires August 17, 2008              [Page 138]
7728    
7729    Internet-Draft        LinuxSampler Control Protocol        February 2008
7730    
7731    
7732    8.25.  Miscellaneous and debugging events
7733    
7734     Client may want to be notified of miscellaneous and debugging events     Client may want to be notified of miscellaneous and debugging events
7735     occurring at the server by issuing the following command:     occurring at the server by issuing the following command:
# Line 7724  Internet-Draft        LinuxSampler Contr Line 7753  Internet-Draft        LinuxSampler Contr
7753    
7754    
7755    
 Schoenebeck               Expires June 7, 2008                [Page 138]  
7756    
7757  Internet-Draft        LinuxSampler Control Protocol        December 2007  
7758    
7759    
7760    
7761    
7762    
7763    
7764    
7765    
7766    
7767    
7768    
7769    
7770    
7771    
7772    
7773    
7774    
7775    
7776    
7777    
7778    
7779    
7780    
7781    
7782    
7783    Schoenebeck              Expires August 17, 2008              [Page 139]
7784    
7785    Internet-Draft        LinuxSampler Control Protocol        February 2008
7786    
7787    
7788  9.  Security Considerations  9.  Security Considerations
# Line 7780  Internet-Draft        LinuxSampler Contr Line 7836  Internet-Draft        LinuxSampler Contr
7836    
7837    
7838    
7839  Schoenebeck               Expires June 7, 2008                [Page 139]  Schoenebeck              Expires August 17, 2008              [Page 140]
7840    
7841  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
7842    
7843    
7844  10.  Acknowledgments  10.  Acknowledgments
# Line 7836  Internet-Draft        LinuxSampler Contr Line 7892  Internet-Draft        LinuxSampler Contr
7892    
7893    
7894    
7895  Schoenebeck               Expires June 7, 2008                [Page 140]  Schoenebeck              Expires August 17, 2008              [Page 141]
7896    
7897  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
7898    
7899    
7900  11.  References  11.  References
# Line 7892  Internet-Draft        LinuxSampler Contr Line 7948  Internet-Draft        LinuxSampler Contr
7948    
7949    
7950    
7951  Schoenebeck               Expires June 7, 2008                [Page 141]  Schoenebeck              Expires August 17, 2008              [Page 142]
7952    
7953  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
7954    
7955    
7956  Author's Address  Author's Address
# Line 7948  Author's Address Line 8004  Author's Address
8004    
8005    
8006    
8007  Schoenebeck               Expires June 7, 2008                [Page 142]  Schoenebeck              Expires August 17, 2008              [Page 143]
8008    
8009  Internet-Draft        LinuxSampler Control Protocol        December 2007  Internet-Draft        LinuxSampler Control Protocol        February 2008
8010    
8011    
8012  Full Copyright Statement  Full Copyright Statement
8013    
8014     Copyright (C) The IETF Trust (2007).     Copyright (C) The IETF Trust (2008).
8015    
8016     This document is subject to the rights, licenses and restrictions     This document is subject to the rights, licenses and restrictions
8017     contained in BCP 78, and except as set forth therein, the authors     contained in BCP 78, and except as set forth therein, the authors
# Line 8004  Acknowledgment Line 8060  Acknowledgment
8060    
8061    
8062    
8063  Schoenebeck               Expires June 7, 2008                [Page 143]  Schoenebeck              Expires August 17, 2008              [Page 144]
8064    
8065    

Legend:
Removed from v.1572  
changed lines
  Added in v.1685

  ViewVC Help
Powered by ViewVC