/[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 1696 by schoenebeck, Sat Feb 16 01:16:39 2008 UTC revision 1731 by iliev, Fri May 2 13:03:00 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: August 19, 2008                               February 16, 2008  Expires: October 3, 2008                                      April 2008
8    
9    
10                       LinuxSampler Control Protocol                       LinuxSampler Control Protocol
# Line 33  Status of this Memo Line 33  Status of this Memo
33     The list of Internet-Draft Shadow Directories can be accessed at     The list of Internet-Draft Shadow Directories can be accessed at
34     http://www.ietf.org/shadow.html.     http://www.ietf.org/shadow.html.
35    
36     This Internet-Draft will expire on August 19, 2008.     This Internet-Draft will expire on October 3, 2008.
37    
38    
 Copyright Notice  
39    
    Copyright (C) The IETF Trust (2008).  
40    
41    
42    
# Line 52  Copyright Notice Line 51  Copyright Notice
51    
52    
53    
54  Schoenebeck              Expires August 19, 2008                [Page 1]  
55    Schoenebeck              Expires October 3, 2008                [Page 1]
56    
57  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
58    
59    
60  Abstract  Abstract
# Line 108  Table of Contents Line 108  Table of Contents
108    
109    
110    
111  Schoenebeck              Expires August 19, 2008                [Page 2]  Schoenebeck              Expires October 3, 2008                [Page 2]
112    
113  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008                [Page 3]  Schoenebeck              Expires October 3, 2008                [Page 3]
168    
169  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
170    
171    
172         6.5.4.  Close client connection . . . . . . . . . . . . . . .  73         6.5.4.  Close client connection . . . . . . . . . . . . . . .  73
# Line 215  Internet-Draft        LinuxSampler Contr Line 215  Internet-Draft        LinuxSampler Contr
215         6.8.20. Finding instruments . . . . . . . . . . . . . . . . . 103         6.8.20. Finding instruments . . . . . . . . . . . . . . . . . 103
216         6.8.21. Getting job status information  . . . . . . . . . . . 106         6.8.21. Getting job status information  . . . . . . . . . . . 106
217         6.8.22. Formatting the instruments database . . . . . . . . . 107         6.8.22. Formatting the instruments database . . . . . . . . . 107
218       6.9.  Editing Instruments . . . . . . . . . . . . . . . . . . . 107         6.8.23. Checking for lost instrument files  . . . . . . . . . 107
219         6.9.1.  Opening an appropriate instrument editor         6.8.24. Replacing an instrument file  . . . . . . . . . . . . 108
220    
221    
222    
223  Schoenebeck              Expires August 19, 2008                [Page 4]  Schoenebeck              Expires October 3, 2008                [Page 4]
224    
225  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
226    
227    
228                 application . . . . . . . . . . . . . . . . . . . . . 107       6.9.  Editing Instruments . . . . . . . . . . . . . . . . . . . 108
229       6.10. Managing Files  . . . . . . . . . . . . . . . . . . . . . 108         6.9.1.  Opening an appropriate instrument editor
230         6.10.1. Retrieving amount of instruments of a file  . . . . . 109                 application . . . . . . . . . . . . . . . . . . . . . 109
231         6.10.2. Retrieving all instruments of a file  . . . . . . . . 109       6.10. Managing Files  . . . . . . . . . . . . . . . . . . . . . 110
232           6.10.1. Retrieving amount of instruments of a file  . . . . . 110
233           6.10.2. Retrieving all instruments of a file  . . . . . . . . 110
234         6.10.3. Retrieving informations about one instrument in a         6.10.3. Retrieving informations about one instrument in a
235                 file  . . . . . . . . . . . . . . . . . . . . . . . . 110                 file  . . . . . . . . . . . . . . . . . . . . . . . . 111
236     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . . 112     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . . 113
237       7.1.  Character Set and Escape Sequences  . . . . . . . . . . . 126       7.1.  Character Set and Escape Sequences  . . . . . . . . . . . 127
238     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . . 130     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
239       8.1.  Number of audio output devices changed  . . . . . . . . . 130       8.1.  Number of audio output devices changed  . . . . . . . . . 131
240       8.2.  Audio output device's settings changed  . . . . . . . . . 130       8.2.  Audio output device's settings changed  . . . . . . . . . 131
241       8.3.  Number of MIDI input devices changed  . . . . . . . . . . 130       8.3.  Number of MIDI input devices changed  . . . . . . . . . . 131
242       8.4.  MIDI input device's settings changed  . . . . . . . . . . 131       8.4.  MIDI input device's settings changed  . . . . . . . . . . 132
243       8.5.  Number of sampler channels changed  . . . . . . . . . . . 131       8.5.  Number of sampler channels changed  . . . . . . . . . . . 132
244       8.6.  MIDI data on a sampler channel arrived  . . . . . . . . . 131       8.6.  MIDI data on a sampler channel arrived  . . . . . . . . . 132
245       8.7.  MIDI data on a MIDI input device arrived  . . . . . . . . 132       8.7.  MIDI data on a MIDI input device arrived  . . . . . . . . 133
246       8.8.  Number of active voices changed . . . . . . . . . . . . . 132       8.8.  Number of active voices changed . . . . . . . . . . . . . 133
247       8.9.  Number of active disk streams changed . . . . . . . . . . 133       8.9.  Number of active disk streams changed . . . . . . . . . . 134
248       8.10. Disk stream buffer fill state changed . . . . . . . . . . 133       8.10. Disk stream buffer fill state changed . . . . . . . . . . 134
249       8.11. Channel information changed . . . . . . . . . . . . . . . 133       8.11. Channel information changed . . . . . . . . . . . . . . . 134
250       8.12. Number of effect sends changed  . . . . . . . . . . . . . 134       8.12. Number of effect sends changed  . . . . . . . . . . . . . 135
251       8.13. Effect send information changed . . . . . . . . . . . . . 134       8.13. Effect send information changed . . . . . . . . . . . . . 135
252       8.14. Total number of active voices changed . . . . . . . . . . 135       8.14. Total number of active voices changed . . . . . . . . . . 136
253       8.15. Total number of active disk streams changed . . . . . . . 135       8.15. Total number of active disk streams changed . . . . . . . 136
254       8.16. Number of MIDI instrument maps changed  . . . . . . . . . 135       8.16. Number of MIDI instrument maps changed  . . . . . . . . . 136
255       8.17. MIDI instrument map information changed . . . . . . . . . 135       8.17. MIDI instrument map information changed . . . . . . . . . 136
256       8.18. Number of MIDI instruments changed  . . . . . . . . . . . 136       8.18. Number of MIDI instruments changed  . . . . . . . . . . . 137
257       8.19. MIDI instrument information changed . . . . . . . . . . . 136       8.19. MIDI instrument information changed . . . . . . . . . . . 137
258       8.20. Global settings changed . . . . . . . . . . . . . . . . . 137       8.20. Global settings changed . . . . . . . . . . . . . . . . . 138
259       8.21. Number of database instrument directories changed . . . . 137       8.21. Number of database instrument directories changed . . . . 138
260       8.22. Database instrument directory information changed . . . . 137       8.22. Database instrument directory information changed . . . . 138
261       8.23. Number of database instruments changed  . . . . . . . . . 138       8.23. Number of database instruments changed  . . . . . . . . . 139
262       8.24. Database instrument information changed . . . . . . . . . 138       8.24. Database instrument information changed . . . . . . . . . 139
263       8.25. Database job status information changed . . . . . . . . . 139       8.25. Database job status information changed . . . . . . . . . 140
264       8.26. Miscellaneous and debugging events  . . . . . . . . . . . 139       8.26. Miscellaneous and debugging events  . . . . . . . . . . . 140
265     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 140     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 141
266     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 141     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 142
267     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 142     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 143
268     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 143     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 144
269     Intellectual Property and Copyright Statements  . . . . . . . . . 144     Intellectual Property and Copyright Statements  . . . . . . . . . 145
   
   
270    
271    
272    
# Line 276  Internet-Draft        LinuxSampler Contr Line 276  Internet-Draft        LinuxSampler Contr
276    
277    
278    
279  Schoenebeck              Expires August 19, 2008                [Page 5]  Schoenebeck              Expires October 3, 2008                [Page 5]
280    
281  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008                [Page 6]  Schoenebeck              Expires October 3, 2008                [Page 6]
336    
337  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008                [Page 7]  Schoenebeck              Expires October 3, 2008                [Page 7]
392    
393  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008                [Page 8]  Schoenebeck              Expires October 3, 2008                [Page 8]
448    
449  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008                [Page 9]  Schoenebeck              Expires October 3, 2008                [Page 9]
504    
505  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 10]  Schoenebeck              Expires October 3, 2008               [Page 10]
560    
561  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 11]  Schoenebeck              Expires October 3, 2008               [Page 11]
616    
617  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 12]  Schoenebeck              Expires October 3, 2008               [Page 12]
672    
673  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 13]  Schoenebeck              Expires October 3, 2008               [Page 13]
728    
729  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 14]  Schoenebeck              Expires October 3, 2008               [Page 14]
784    
785  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 15]  Schoenebeck              Expires October 3, 2008               [Page 15]
840    
841  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 16]  Schoenebeck              Expires October 3, 2008               [Page 16]
896    
897  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 17]  Schoenebeck              Expires October 3, 2008               [Page 17]
952    
953  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 18]  Schoenebeck              Expires October 3, 2008               [Page 18]
1008    
1009  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
1010    
1011    
1012        MULTIPLICITY -        MULTIPLICITY -
# Line 1060  Internet-Draft        LinuxSampler Contr Line 1060  Internet-Draft        LinuxSampler Contr
1060    
1061    
1062    
1063  Schoenebeck              Expires August 19, 2008               [Page 19]  Schoenebeck              Expires October 3, 2008               [Page 19]
1064    
1065  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 20]  Schoenebeck              Expires October 3, 2008               [Page 20]
1120    
1121  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 21]  Schoenebeck              Expires October 3, 2008               [Page 21]
1176    
1177  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 22]  Schoenebeck              Expires October 3, 2008               [Page 22]
1232    
1233  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 23]  Schoenebeck              Expires October 3, 2008               [Page 23]
1288    
1289  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 24]  Schoenebeck              Expires October 3, 2008               [Page 24]
1344    
1345  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 25]  Schoenebeck              Expires October 3, 2008               [Page 25]
1400    
1401  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 26]  Schoenebeck              Expires October 3, 2008               [Page 26]
1456    
1457  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
1458    
1459    
1460     Examples:     Examples:
# Line 1508  Internet-Draft        LinuxSampler Contr Line 1508  Internet-Draft        LinuxSampler Contr
1508    
1509    
1510    
1511  Schoenebeck              Expires August 19, 2008               [Page 27]  Schoenebeck              Expires October 3, 2008               [Page 27]
1512    
1513  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 28]  Schoenebeck              Expires October 3, 2008               [Page 28]
1568    
1569  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 29]  Schoenebeck              Expires October 3, 2008               [Page 29]
1624    
1625  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
1626    
1627    
1628        "OK" -        "OK" -
# Line 1676  Internet-Draft        LinuxSampler Contr Line 1676  Internet-Draft        LinuxSampler Contr
1676    
1677    
1678    
1679  Schoenebeck              Expires August 19, 2008               [Page 30]  Schoenebeck              Expires October 3, 2008               [Page 30]
1680    
1681  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 31]  Schoenebeck              Expires October 3, 2008               [Page 31]
1736    
1737  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 32]  Schoenebeck              Expires October 3, 2008               [Page 32]
1792    
1793  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 33]  Schoenebeck              Expires October 3, 2008               [Page 33]
1848    
1849  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
1850    
1851    
1852        FIX -        FIX -
# Line 1900  Internet-Draft        LinuxSampler Contr Line 1900  Internet-Draft        LinuxSampler Contr
1900    
1901    
1902    
1903  Schoenebeck              Expires August 19, 2008               [Page 34]  Schoenebeck              Expires October 3, 2008               [Page 34]
1904    
1905  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 35]  Schoenebeck              Expires October 3, 2008               [Page 35]
1960    
1961  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 36]  Schoenebeck              Expires October 3, 2008               [Page 36]
2016    
2017  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 37]  Schoenebeck              Expires October 3, 2008               [Page 37]
2072    
2073  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 38]  Schoenebeck              Expires October 3, 2008               [Page 38]
2128    
2129  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 39]  Schoenebeck              Expires October 3, 2008               [Page 39]
2184    
2185  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 40]  Schoenebeck              Expires October 3, 2008               [Page 40]
2240    
2241  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 41]  Schoenebeck              Expires October 3, 2008               [Page 41]
2296    
2297  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 42]  Schoenebeck              Expires October 3, 2008               [Page 42]
2352    
2353  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 43]  Schoenebeck              Expires October 3, 2008               [Page 43]
2408    
2409  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 44]  Schoenebeck              Expires October 3, 2008               [Page 44]
2464    
2465  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 45]  Schoenebeck              Expires October 3, 2008               [Page 45]
2520    
2521  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 46]  Schoenebeck              Expires October 3, 2008               [Page 46]
2576    
2577  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 47]  Schoenebeck              Expires October 3, 2008               [Page 47]
2632    
2633  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 48]  Schoenebeck              Expires October 3, 2008               [Page 48]
2688    
2689  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 49]  Schoenebeck              Expires October 3, 2008               [Page 49]
2744    
2745  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 50]  Schoenebeck              Expires October 3, 2008               [Page 50]
2800    
2801  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 51]  Schoenebeck              Expires October 3, 2008               [Page 51]
2856    
2857  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 52]  Schoenebeck              Expires October 3, 2008               [Page 52]
2912    
2913  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 53]  Schoenebeck              Expires October 3, 2008               [Page 53]
2968    
2969  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
2970    
2971    
2972     command.     command.
# Line 3020  Internet-Draft        LinuxSampler Contr Line 3020  Internet-Draft        LinuxSampler Contr
3020    
3021    
3022    
3023  Schoenebeck              Expires August 19, 2008               [Page 54]  Schoenebeck              Expires October 3, 2008               [Page 54]
3024    
3025  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
3026    
3027    
3028        "OK" -        "OK" -
# Line 3076  Internet-Draft        LinuxSampler Contr Line 3076  Internet-Draft        LinuxSampler Contr
3076    
3077    
3078    
3079  Schoenebeck              Expires August 19, 2008               [Page 55]  Schoenebeck              Expires October 3, 2008               [Page 55]
3080    
3081  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
3082    
3083    
3084     Examples:     Examples:
# Line 3132  Internet-Draft        LinuxSampler Contr Line 3132  Internet-Draft        LinuxSampler Contr
3132    
3133    
3134    
3135  Schoenebeck              Expires August 19, 2008               [Page 56]  Schoenebeck              Expires October 3, 2008               [Page 56]
3136    
3137  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 57]  Schoenebeck              Expires October 3, 2008               [Page 57]
3192    
3193  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
3194    
3195    
3196           message           message
# Line 3244  Internet-Draft        LinuxSampler Contr Line 3244  Internet-Draft        LinuxSampler Contr
3244    
3245    
3246    
3247  Schoenebeck              Expires August 19, 2008               [Page 58]  Schoenebeck              Expires October 3, 2008               [Page 58]
3248    
3249  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 59]  Schoenebeck              Expires October 3, 2008               [Page 59]
3304    
3305  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 60]  Schoenebeck              Expires October 3, 2008               [Page 60]
3360    
3361  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 61]  Schoenebeck              Expires October 3, 2008               [Page 61]
3416    
3417  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 62]  Schoenebeck              Expires October 3, 2008               [Page 62]
3472    
3473  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 63]  Schoenebeck              Expires October 3, 2008               [Page 63]
3528    
3529  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 64]  Schoenebeck              Expires October 3, 2008               [Page 64]
3584    
3585  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 65]  Schoenebeck              Expires October 3, 2008               [Page 65]
3640    
3641  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 66]  Schoenebeck              Expires October 3, 2008               [Page 66]
3696    
3697  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 67]  Schoenebeck              Expires October 3, 2008               [Page 67]
3752    
3753  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 68]  Schoenebeck              Expires October 3, 2008               [Page 68]
3808    
3809  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 69]  Schoenebeck              Expires October 3, 2008               [Page 69]
3864    
3865  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
3866    
3867    
3868        "OK" -        "OK" -
# Line 3916  Internet-Draft        LinuxSampler Contr Line 3916  Internet-Draft        LinuxSampler Contr
3916    
3917    
3918    
3919  Schoenebeck              Expires August 19, 2008               [Page 70]  Schoenebeck              Expires October 3, 2008               [Page 70]
3920    
3921  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 71]  Schoenebeck              Expires October 3, 2008               [Page 71]
3976    
3977  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 72]  Schoenebeck              Expires October 3, 2008               [Page 72]
4032    
4033  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 73]  Schoenebeck              Expires October 3, 2008               [Page 73]
4088    
4089  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 74]  Schoenebeck              Expires October 3, 2008               [Page 74]
4144    
4145  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 75]  Schoenebeck              Expires October 3, 2008               [Page 75]
4200    
4201  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 76]  Schoenebeck              Expires October 3, 2008               [Page 76]
4256    
4257  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 77]  Schoenebeck              Expires October 3, 2008               [Page 77]
4312    
4313  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 78]  Schoenebeck              Expires October 3, 2008               [Page 78]
4368    
4369  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 79]  Schoenebeck              Expires October 3, 2008               [Page 79]
4424    
4425  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 80]  Schoenebeck              Expires October 3, 2008               [Page 80]
4480    
4481  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 81]  Schoenebeck              Expires October 3, 2008               [Page 81]
4536    
4537  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 82]  Schoenebeck              Expires October 3, 2008               [Page 82]
4592    
4593  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 83]  Schoenebeck              Expires October 3, 2008               [Page 83]
4648    
4649  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 84]  Schoenebeck              Expires October 3, 2008               [Page 84]
4704    
4705  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 85]  Schoenebeck              Expires October 3, 2008               [Page 85]
4760    
4761  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 86]  Schoenebeck              Expires October 3, 2008               [Page 86]
4816    
4817  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 87]  Schoenebeck              Expires October 3, 2008               [Page 87]
4872    
4873  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 88]  Schoenebeck              Expires October 3, 2008               [Page 88]
4928    
4929  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 89]  Schoenebeck              Expires October 3, 2008               [Page 89]
4984    
4985  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 90]  Schoenebeck              Expires October 3, 2008               [Page 90]
5040    
5041  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 91]  Schoenebeck              Expires October 3, 2008               [Page 91]
5096    
5097  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 92]  Schoenebeck              Expires October 3, 2008               [Page 92]
5152    
5153  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 93]  Schoenebeck              Expires October 3, 2008               [Page 93]
5208    
5209  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 94]  Schoenebeck              Expires October 3, 2008               [Page 94]
5264    
5265  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 95]  Schoenebeck              Expires October 3, 2008               [Page 95]
5320    
5321  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 96]  Schoenebeck              Expires October 3, 2008               [Page 96]
5376    
5377  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 97]  Schoenebeck              Expires October 3, 2008               [Page 97]
5432    
5433  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 98]  Schoenebeck              Expires October 3, 2008               [Page 98]
5488    
5489  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008               [Page 99]  Schoenebeck              Expires October 3, 2008               [Page 99]
5544    
5545  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
5546    
5547    
5548           MODIFIED -           MODIFIED -
# Line 5596  Internet-Draft        LinuxSampler Contr Line 5596  Internet-Draft        LinuxSampler Contr
5596    
5597    
5598    
5599  Schoenebeck              Expires August 19, 2008              [Page 100]  Schoenebeck              Expires October 3, 2008              [Page 100]
5600    
5601  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 101]  Schoenebeck              Expires October 3, 2008              [Page 101]
5656    
5657  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 102]  Schoenebeck              Expires October 3, 2008              [Page 102]
5712    
5713  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 103]  Schoenebeck              Expires October 3, 2008              [Page 103]
5768    
5769  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 104]  Schoenebeck              Expires October 3, 2008              [Page 104]
5824    
5825  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 105]  Schoenebeck              Expires October 3, 2008              [Page 105]
5880    
5881  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 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 August 19, 2008              [Page 106]  Schoenebeck              Expires October 3, 2008              [Page 106]
5936    
5937  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
5938    
5939    
5940     Example:     Example:
# Line 5969  Internet-Draft        LinuxSampler Contr Line 5969  Internet-Draft        LinuxSampler Contr
5969    
5970           If the formatting of the instruments database failed.           If the formatting of the instruments database failed.
5971    
5972    6.8.23.  Checking for lost instrument files
5973    
5974       The front-end can retrieve the list of all instrument files in the
5975       instruments database that don't exist in the filesystem by sending
5976       the following command:
5977    
5978          FIND LOST DB_INSTRUMENT_FILES
5979    
5980       Possible Answers:
5981    
5982          A comma separated list with the absolute path names (encapsulated
5983          into apostrophes) of all lost instrument files.
5984    
5985          "ERR:<error-code>:<error-message>" -
5986    
5987    
5988    
5989    
5990    
5991    Schoenebeck              Expires October 3, 2008              [Page 107]
5992    
5993    Internet-Draft        LinuxSampler Control Protocol           April 2008
5994    
5995    
5996             in case it failed, providing an appropriate error code and
5997             error message.
5998    
5999       Example:
6000    
6001          C: "FIND LOST DB_INSTRUMENT_FILES"
6002    
6003          S: "'/gigs/Bosendorfer 290.gig','/gigs/Steinway D.gig','/gigs/Free
6004          Piano.gig'"
6005    
6006    6.8.24.  Replacing an instrument file
6007    
6008       The front-end can substitute all occurrences of an instrument file in
6009       the instruments database with a new one by sending the following
6010       command:
6011    
6012          SET DB_INSTRUMENT FILE_PATH <old_path> <new_path>
6013    
6014       Where <old_path> is the absolute path name of the instrument file to
6015       substitute with <new_path>.
6016    
6017       Possible Answers:
6018    
6019          "OK" -
6020    
6021             on success
6022    
6023          "ERR:<error-code>:<error-message>" -
6024    
6025             in case it failed, providing an appropriate error code and
6026             error message.
6027    
6028       Example:
6029    
6030          C: "SET DB_INSTRUMENT FILE_PATH '/gigs/Bosendorfer 290.gig'
6031          '/gigs/pianos/Bosendorfer 290.gig'"
6032    
6033          S: "OK"
6034    
6035  6.9.  Editing Instruments  6.9.  Editing Instruments
6036    
6037     The sampler allows to edit instruments while playing with the sampler     The sampler allows to edit instruments while playing with the sampler
# Line 5978  Internet-Draft        LinuxSampler Contr Line 6041  Internet-Draft        LinuxSampler Contr
6041     directory.  The sampler will automatically try to load all plugin     directory.  The sampler will automatically try to load all plugin
6042     DLLs in that directory on startup and only on startup!     DLLs in that directory on startup and only on startup!
6043    
6044    
6045    
6046    
6047    Schoenebeck              Expires October 3, 2008              [Page 108]
6048    
6049    Internet-Draft        LinuxSampler Control Protocol           April 2008
6050    
6051    
6052     At the moment there is only one command for this feature set, but     At the moment there is only one command for this feature set, but
6053     this will most probably change in future.     this will most probably change in future.
6054    
# Line 5986  Internet-Draft        LinuxSampler Contr Line 6057  Internet-Draft        LinuxSampler Contr
6057     The front-end can request to open an appropriate instrument editor     The front-end can request to open an appropriate instrument editor
6058     application by sending the following command:     application by sending the following command:
6059    
   
   
 Schoenebeck              Expires August 19, 2008              [Page 107]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
6060        EDIT CHANNEL INSTRUMENT <sampler-channel>        EDIT CHANNEL INSTRUMENT <sampler-channel>
6061    
6062     Where <sampler-channel> should be replaced by the number of the     Where <sampler-channel> should be replaced by the number of the
# Line 6032  Internet-Draft        LinuxSampler Contr Line 6096  Internet-Draft        LinuxSampler Contr
6096    
6097        C: "EDIT CHANNEL INSTRUMENT 0"        C: "EDIT CHANNEL INSTRUMENT 0"
6098    
6099    
6100    
6101    
6102    
6103    Schoenebeck              Expires October 3, 2008              [Page 109]
6104    
6105    Internet-Draft        LinuxSampler Control Protocol           April 2008
6106    
6107    
6108        S: "OK"        S: "OK"
6109    
6110  6.10.  Managing Files  6.10.  Managing Files
# Line 6041  Internet-Draft        LinuxSampler Contr Line 6114  Internet-Draft        LinuxSampler Contr
6114     set allows to retrieve file informations even remotely from another     set allows to retrieve file informations even remotely from another
6115     machine.     machine.
6116    
   
   
   
 Schoenebeck              Expires August 19, 2008              [Page 108]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
6117  6.10.1.  Retrieving amount of instruments of a file  6.10.1.  Retrieving amount of instruments of a file
6118    
6119     The front-end can retrieve the amount of instruments within a given     The front-end can retrieve the amount of instruments within a given
# Line 6088  Internet-Draft        LinuxSampler Contr Line 6153  Internet-Draft        LinuxSampler Contr
6153    
6154     Where <filename> is the name of the instrument file (encapsulated     Where <filename> is the name of the instrument file (encapsulated
6155     into apostrophes, supporting escape sequences as described in chapter     into apostrophes, supporting escape sequences as described in chapter
    "Character Set and Escape Sequences (Section 7.1)").  
   
    The sampler will try to ask all sampler engines, whether they support  
    the given file and ask the first engine with a positive answer for a  
    list of IDs for the instruments in the given file.  
6156    
    Possible Answers:  
6157    
6158    
6159    Schoenebeck              Expires October 3, 2008              [Page 110]
6160    
6161    Internet-Draft        LinuxSampler Control Protocol           April 2008
6162    
6163    
6164       "Character Set and Escape Sequences (Section 7.1)").
6165    
6166  Schoenebeck              Expires August 19, 2008              [Page 109]     The sampler will try to ask all sampler engines, whether they support
6167       the given file and ask the first engine with a positive answer for a
6168  Internet-Draft        LinuxSampler Control Protocol        February 2008     list of IDs for the instruments in the given file.
6169    
6170       Possible Answers:
6171    
6172        On success, the sampler will answer by returning a comma separated        On success, the sampler will answer by returning a comma separated
6173        list of instrument IDs.        list of instrument IDs.
# Line 6146  Internet-Draft        LinuxSampler Contr Line 6210  Internet-Draft        LinuxSampler Contr
6210    
6211    
6212    
          NAME -  
6213    
             name of the instrument as stored in the instrument file  
6214    
6215           FORMAT_FAMILY -  Schoenebeck              Expires October 3, 2008              [Page 111]
6216    
6217    Internet-Draft        LinuxSampler Control Protocol           April 2008
6218    
6219    
6220    
6221    
6222             NAME -
6223    
6224  Schoenebeck              Expires August 19, 2008              [Page 110]              name of the instrument as stored in the instrument file
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6225    
6226             FORMAT_FAMILY -
6227    
6228              name of the sampler format of the given instrument              name of the sampler format of the given instrument
6229    
# Line 6204  Internet-Draft        LinuxSampler Contr Line 6268  Internet-Draft        LinuxSampler Contr
6268    
6269    
6270    
6271    Schoenebeck              Expires October 3, 2008              [Page 112]
   
   
   
   
   
   
   
 Schoenebeck              Expires August 19, 2008              [Page 111]  
6272    
6273  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6274    
6275    
6276  7.  Command Syntax  7.  Command Syntax
# Line 6268  Internet-Draft        LinuxSampler Contr Line 6324  Internet-Draft        LinuxSampler Contr
6324    
6325    
6326    
6327  Schoenebeck              Expires August 19, 2008              [Page 112]  Schoenebeck              Expires October 3, 2008              [Page 113]
6328    
6329  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6330    
6331    
6332        / LIST SP list_instruction        / LIST SP list_instruction
# Line 6324  Internet-Draft        LinuxSampler Contr Line 6380  Internet-Draft        LinuxSampler Contr
6380    
6381    
6382    
6383  Schoenebeck              Expires August 19, 2008              [Page 113]  Schoenebeck              Expires October 3, 2008              [Page 114]
6384    
6385  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6386    
6387    
6388        / DB_INSTRUMENTS SP db_path SP filename SP instrument_index        / DB_INSTRUMENTS SP db_path SP filename SP instrument_index
# Line 6380  Internet-Draft        LinuxSampler Contr Line 6436  Internet-Draft        LinuxSampler Contr
6436    
6437    
6438    
6439  Schoenebeck              Expires August 19, 2008              [Page 114]  Schoenebeck              Expires October 3, 2008              [Page 115]
6440    
6441  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6442    
6443    
6444        / DB_INSTRUMENT_INFO        / DB_INSTRUMENT_INFO
# Line 6436  Internet-Draft        LinuxSampler Contr Line 6492  Internet-Draft        LinuxSampler Contr
6492    
6493    
6494    
6495  Schoenebeck              Expires August 19, 2008              [Page 115]  Schoenebeck              Expires October 3, 2008              [Page 116]
6496    
6497  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6498    
6499    
6500        / DB_INSTRUMENT_DIRECTORY_COUNT        / DB_INSTRUMENT_DIRECTORY_COUNT
# Line 6492  Internet-Draft        LinuxSampler Contr Line 6548  Internet-Draft        LinuxSampler Contr
6548    
6549    
6550    
6551  Schoenebeck              Expires August 19, 2008              [Page 116]  Schoenebeck              Expires October 3, 2008              [Page 117]
6552    
6553  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6554    
6555    
6556        / DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path        / DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path
# Line 6548  Internet-Draft        LinuxSampler Contr Line 6604  Internet-Draft        LinuxSampler Contr
6604    
6605    
6606    
6607  Schoenebeck              Expires August 19, 2008              [Page 117]  Schoenebeck              Expires October 3, 2008              [Page 118]
6608    
6609  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6610    
6611    
6612        / CHANNEL SP INFO SP sampler_channel        / CHANNEL SP INFO SP sampler_channel
# Line 6604  Internet-Draft        LinuxSampler Contr Line 6660  Internet-Draft        LinuxSampler Contr
6660    
6661    
6662    
6663  Schoenebeck              Expires August 19, 2008              [Page 118]  Schoenebeck              Expires October 3, 2008              [Page 119]
6664    
6665  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6666    
6667    
6668        / FILE SP INSTRUMENTS SP filename        / FILE SP INSTRUMENTS SP filename
# Line 6653  Internet-Draft        LinuxSampler Contr Line 6709  Internet-Draft        LinuxSampler Contr
6709    
6710        / DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped        / DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped
6711    
6712        / ECHO SP boolean        / DB_INSTRUMENT SP FILE_PATH SP filename SP filename
6713    
6714        / VOLUME SP volume_value        / ECHO SP boolean
6715    
6716    
6717    
6718    
6719  Schoenebeck              Expires August 19, 2008              [Page 119]  Schoenebeck              Expires October 3, 2008              [Page 120]
6720    
6721  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6722    
6723    
6724          / VOLUME SP volume_value
6725    
6726     create_instruction =     create_instruction =
6727    
6728        AUDIO_OUTPUT_DEVICE SP string SP key_val_list        AUDIO_OUTPUT_DEVICE SP string SP key_val_list
# Line 6700  Internet-Draft        LinuxSampler Contr Line 6758  Internet-Draft        LinuxSampler Contr
6758    
6759        / DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list        / DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list
6760    
6761          / LOST SP DB_INSTRUMENT_FILES
6762    
6763     move_instruction =     move_instruction =
6764    
6765        DB_INSTRUMENT_DIRECTORY SP db_path SP db_path        DB_INSTRUMENT_DIRECTORY SP db_path SP db_path
# Line 6708  Internet-Draft        LinuxSampler Contr Line 6768  Internet-Draft        LinuxSampler Contr
6768    
6769     copy_instruction =     copy_instruction =
6770    
       DB_INSTRUMENT_DIRECTORY SP db_path SP db_path  
6771    
       / DB_INSTRUMENT SP db_path SP db_path  
   
    destroy_instruction =  
6772    
6773    
6774    
6775  Schoenebeck              Expires August 19, 2008              [Page 120]  Schoenebeck              Expires October 3, 2008              [Page 121]
6776    
6777  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
6778    
6779    
6780          DB_INSTRUMENT_DIRECTORY SP db_path SP db_path
6781    
6782          / DB_INSTRUMENT SP db_path SP db_path
6783    
6784       destroy_instruction =
6785    
6786        AUDIO_OUTPUT_DEVICE SP number        AUDIO_OUTPUT_DEVICE SP number
6787    
# Line 6762  Internet-Draft        LinuxSampler Contr Line 6824  Internet-Draft        LinuxSampler Contr
6824    
6825        / MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map        / MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map
6826    
       / MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE  
6827    
       / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT  
6828    
    edit_instruction =  
6829    
6830    
6831    Schoenebeck              Expires October 3, 2008              [Page 122]
6832    
6833    Internet-Draft        LinuxSampler Control Protocol           April 2008
6834    
6835    
6836          / MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE
6837    
6838  Schoenebeck              Expires August 19, 2008              [Page 121]        / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6839    
6840       edit_instruction =
6841    
6842        CHANNEL SP INSTRUMENT SP sampler_channel        CHANNEL SP INSTRUMENT SP sampler_channel
6843    
# Line 6819  Internet-Draft        LinuxSampler Contr Line 6881  Internet-Draft        LinuxSampler Contr
6881    
6882        / MIDI_INSTRUMENTS SP ALL        / MIDI_INSTRUMENTS SP ALL
6883    
       / MIDI_INSTRUMENT_MAPS  
6884    
       / FX_SENDS SP sampler_channel  
6885    
       / DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path  
6886    
6887    Schoenebeck              Expires October 3, 2008              [Page 123]
6888    
6889    Internet-Draft        LinuxSampler Control Protocol           April 2008
6890    
6891    
6892          / MIDI_INSTRUMENT_MAPS
6893    
6894  Schoenebeck              Expires August 19, 2008              [Page 122]        / FX_SENDS SP sampler_channel
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6895    
6896          / DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path
6897    
6898        / DB_INSTRUMENT_DIRECTORIES SP db_path        / DB_INSTRUMENT_DIRECTORIES SP db_path
6899    
# Line 6875  Internet-Draft        LinuxSampler Contr Line 6937  Internet-Draft        LinuxSampler Contr
6937    
6938        number        number
6939    
    midi_input_channel_index =  
6940    
       number  
6941    
       / ALL  
6942    
6943    Schoenebeck              Expires October 3, 2008              [Page 124]
6944    
6945    Internet-Draft        LinuxSampler Control Protocol           April 2008
6946    
6947    
6948       midi_input_channel_index =
6949    
6950  Schoenebeck              Expires August 19, 2008              [Page 123]        number
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6951    
6952          / ALL
6953    
6954     midi_input_type_name =     midi_input_type_name =
6955    
# Line 6931  Internet-Draft        LinuxSampler Contr Line 6993  Internet-Draft        LinuxSampler Contr
6993    
6994        string        string
6995    
    filename =  
6996    
       path  
6997    
    db_path =  
6998    
6999    Schoenebeck              Expires October 3, 2008              [Page 125]
7000    
7001    Internet-Draft        LinuxSampler Control Protocol           April 2008
7002    
7003    
7004       filename =
7005    
7006  Schoenebeck              Expires August 19, 2008              [Page 124]        path
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7007    
7008       db_path =
7009    
7010        path        path
7011    
# Line 6987  Internet-Draft        LinuxSampler Contr Line 7049  Internet-Draft        LinuxSampler Contr
7049    
7050        / stringval_escaped        / stringval_escaped
7051    
    scan_mode =  
7052    
       RECURSIVE  
7053    
       / NON_RECURSIVE  
7054    
7055    Schoenebeck              Expires October 3, 2008              [Page 126]
7056    
7057    Internet-Draft        LinuxSampler Control Protocol           April 2008
7058    
7059    
7060       scan_mode =
7061    
7062  Schoenebeck              Expires August 19, 2008              [Page 125]        RECURSIVE
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7063    
7064          / NON_RECURSIVE
7065    
7066        / FLAT        / FLAT
7067    
# Line 7043  Internet-Draft        LinuxSampler Contr Line 7105  Internet-Draft        LinuxSampler Contr
7105     Notice: due to the transition of certain parts of the protocol which     Notice: due to the transition of certain parts of the protocol which
7106     now support escape sequences, a slight backward incompatibility to     now support escape sequences, a slight backward incompatibility to
7107     protocols version v1.1 and younger has been introduced.  The only     protocols version v1.1 and younger has been introduced.  The only
    difference is that in parts of the protocol where escape characters  
    are now supported, a backslash characters MUST be escaped as well  
    (that is as double backslash), whereas in the old versions a single  
    backslash was sufficient.  
   
    The following LSCP commands support escape sequences as part of their  
7108    
7109    
7110    
7111  Schoenebeck              Expires August 19, 2008              [Page 126]  Schoenebeck              Expires October 3, 2008              [Page 127]
7112    
7113  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7114    
7115    
7116       difference is that in parts of the protocol where escape characters
7117       are now supported, a backslash characters MUST be escaped as well
7118       (that is as double backslash), whereas in the old versions a single
7119       backslash was sufficient.
7120    
7121       The following LSCP commands support escape sequences as part of their
7122     filename / path based arguments and / or may contain a filename /     filename / path based arguments and / or may contain a filename /
7123     path with escape sequences in their response:     path with escape sequences in their response:
7124    
# Line 7098  Internet-Draft        LinuxSampler Contr Line 7160  Internet-Draft        LinuxSampler Contr
7160    
7161        "FIND DB_INSTRUMENTS" (Section 6.8.20)        "FIND DB_INSTRUMENTS" (Section 6.8.20)
7162    
       "FIND DB_INSTRUMENT_DIRECTORIES" (Section 6.8.10)  
7163    
       "MOVE DB_INSTRUMENT" (Section 6.8.17)  
7164    
       "MOVE DB_INSTRUMENT_DIRECTORY" (Section 6.8.7)  
7165    
7166    
7167    Schoenebeck              Expires October 3, 2008              [Page 128]
7168    
7169    Internet-Draft        LinuxSampler Control Protocol           April 2008
7170    
7171    
7172          "FIND DB_INSTRUMENT_DIRECTORIES" (Section 6.8.10)
7173    
7174  Schoenebeck              Expires August 19, 2008              [Page 127]        "MOVE DB_INSTRUMENT" (Section 6.8.17)
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7175    
7176          "MOVE DB_INSTRUMENT_DIRECTORY" (Section 6.8.7)
7177    
7178        "COPY DB_INSTRUMENT" (Section 6.8.18)        "COPY DB_INSTRUMENT" (Section 6.8.18)
7179    
7180        "COPY DB_INSTRUMENT_DIRECTORY" (Section 6.8.8)        "COPY DB_INSTRUMENT_DIRECTORY" (Section 6.8.8)
7181    
7182          "FIND LOST DB_INSTRUMENT_FILES" (Section 6.8.23)
7183    
7184          "SET DB_INSTRUMENT FILE_PATH" (Section 6.8.24)
7185    
7186        "GET FILE INSTRUMENTS" (Section 6.10.1)        "GET FILE INSTRUMENTS" (Section 6.10.1)
7187    
7188        "LIST FILE INSTRUMENTS" (Section 6.10.2)        "LIST FILE INSTRUMENTS" (Section 6.10.2)
# Line 7150  Internet-Draft        LinuxSampler Contr Line 7216  Internet-Draft        LinuxSampler Contr
7216    
7217        "CREATE FX_SEND" (Section 6.4.25)        "CREATE FX_SEND" (Section 6.4.25)
7218    
       "GET FX_SEND INFO" (Section 6.4.29)  
7219    
       "SET FX_SEND NAME" (Section 6.4.30)  
7220    
       "GET MIDI_INSTRUMENT INFO" (Section 6.7.11)  
7221    
       "GET MIDI_INSTRUMENT_MAP INFO" (Section 6.7.5)  
7222    
7223        "ADD MIDI_INSTRUMENT_MAP" (Section 6.7.1)  Schoenebeck              Expires October 3, 2008              [Page 129]
7224    
7225    Internet-Draft        LinuxSampler Control Protocol           April 2008
7226    
7227    
7228          "GET FX_SEND INFO" (Section 6.4.29)
7229    
7230          "SET FX_SEND NAME" (Section 6.4.30)
7231    
7232          "GET MIDI_INSTRUMENT INFO" (Section 6.7.11)
7233    
7234  Schoenebeck              Expires August 19, 2008              [Page 128]        "GET MIDI_INSTRUMENT_MAP INFO" (Section 6.7.5)
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7235    
7236          "ADD MIDI_INSTRUMENT_MAP" (Section 6.7.1)
7237    
7238        "MAP MIDI_INSTRUMENT" (Section 6.7.7)        "MAP MIDI_INSTRUMENT" (Section 6.7.7)
7239    
# Line 7210  Internet-Draft        LinuxSampler Contr Line 7276  Internet-Draft        LinuxSampler Contr
7276    
7277    
7278    
7279    Schoenebeck              Expires October 3, 2008              [Page 130]
   
   
   
   
   
   
   
   
   
 Schoenebeck              Expires August 19, 2008              [Page 129]  
7280    
7281  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7282    
7283    
7284  8.  Events  8.  Events
# Line 7276  Internet-Draft        LinuxSampler Contr Line 7332  Internet-Draft        LinuxSampler Contr
7332    
7333    
7334    
7335  Schoenebeck              Expires August 19, 2008              [Page 130]  Schoenebeck              Expires October 3, 2008              [Page 131]
7336    
7337  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7338    
7339    
7340        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"
# Line 7332  Internet-Draft        LinuxSampler Contr Line 7388  Internet-Draft        LinuxSampler Contr
7388    
7389    
7390    
7391  Schoenebeck              Expires August 19, 2008              [Page 131]  Schoenebeck              Expires October 3, 2008              [Page 132]
7392    
7393  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7394    
7395    
7396        "NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_ON <note> <velocity>"        "NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_ON <note> <velocity>"
# Line 7362  Internet-Draft        LinuxSampler Contr Line 7418  Internet-Draft        LinuxSampler Contr
7418     Server will start sending one of the the following notification     Server will start sending one of the the following notification
7419     messages:     messages:
7420    
7421        "NOTIFY:CHANNEL_MIDI:<device-id> <port-id> NOTE_ON <note>        "NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_ON <note>
7422        <velocity>"        <velocity>"
7423    
7424        "NOTIFY:CHANNEL_MIDI:<device-id> <port-id> NOTE_OFF <note>        "NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_OFF <note>
7425        <velocity>"        <velocity>"
7426    
7427     where <device-id> <port-id> will be replaced by the IDs of the     where <device-id> <port-id> will be replaced by the IDs of the
# Line 7388  Internet-Draft        LinuxSampler Contr Line 7444  Internet-Draft        LinuxSampler Contr
7444    
7445    
7446    
7447  Schoenebeck              Expires August 19, 2008              [Page 132]  Schoenebeck              Expires October 3, 2008              [Page 133]
7448    
7449  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7450    
7451    
7452        SUBSCRIBE VOICE_COUNT        SUBSCRIBE VOICE_COUNT
# Line 7444  Internet-Draft        LinuxSampler Contr Line 7500  Internet-Draft        LinuxSampler Contr
7500    
7501    
7502    
7503  Schoenebeck              Expires August 19, 2008              [Page 133]  Schoenebeck              Expires October 3, 2008              [Page 134]
7504    
7505  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7506    
7507    
7508        SUBSCRIBE CHANNEL_INFO        SUBSCRIBE CHANNEL_INFO
# Line 7500  Internet-Draft        LinuxSampler Contr Line 7556  Internet-Draft        LinuxSampler Contr
7556    
7557    
7558    
7559  Schoenebeck              Expires August 19, 2008              [Page 134]  Schoenebeck              Expires October 3, 2008              [Page 135]
7560    
7561  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7562    
7563    
7564  8.14.  Total number of active voices changed  8.14.  Total number of active voices changed
# Line 7556  Internet-Draft        LinuxSampler Contr Line 7612  Internet-Draft        LinuxSampler Contr
7612    
7613    
7614    
7615  Schoenebeck              Expires August 19, 2008              [Page 135]  Schoenebeck              Expires October 3, 2008              [Page 136]
7616    
7617  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7618    
7619    
7620        SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO        SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO
# Line 7612  Internet-Draft        LinuxSampler Contr Line 7668  Internet-Draft        LinuxSampler Contr
7668    
7669    
7670    
7671  Schoenebeck              Expires August 19, 2008              [Page 136]  Schoenebeck              Expires October 3, 2008              [Page 137]
7672    
7673  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7674    
7675    
7676  8.20.  Global settings changed  8.20.  Global settings changed
# Line 7668  Internet-Draft        LinuxSampler Contr Line 7724  Internet-Draft        LinuxSampler Contr
7724    
7725    
7726    
7727  Schoenebeck              Expires August 19, 2008              [Page 137]  Schoenebeck              Expires October 3, 2008              [Page 138]
7728    
7729  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7730    
7731    
7732     directory info.  Because these messages will be triggered by LSCP     directory info.  Because these messages will be triggered by LSCP
# Line 7724  Internet-Draft        LinuxSampler Contr Line 7780  Internet-Draft        LinuxSampler Contr
7780    
7781    
7782    
7783  Schoenebeck              Expires August 19, 2008              [Page 138]  Schoenebeck              Expires October 3, 2008              [Page 139]
7784    
7785  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7786    
7787    
7788     sufficient here.     sufficient here.
# Line 7780  Internet-Draft        LinuxSampler Contr Line 7836  Internet-Draft        LinuxSampler Contr
7836    
7837    
7838    
7839  Schoenebeck              Expires August 19, 2008              [Page 139]  Schoenebeck              Expires October 3, 2008              [Page 140]
7840    
7841  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7842    
7843    
7844  9.  Security Considerations  9.  Security Considerations
# Line 7836  Internet-Draft        LinuxSampler Contr Line 7892  Internet-Draft        LinuxSampler Contr
7892    
7893    
7894    
7895  Schoenebeck              Expires August 19, 2008              [Page 140]  Schoenebeck              Expires October 3, 2008              [Page 141]
7896    
7897  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7898    
7899    
7900  10.  Acknowledgments  10.  Acknowledgments
# Line 7892  Internet-Draft        LinuxSampler Contr Line 7948  Internet-Draft        LinuxSampler Contr
7948    
7949    
7950    
7951  Schoenebeck              Expires August 19, 2008              [Page 141]  Schoenebeck              Expires October 3, 2008              [Page 142]
7952    
7953  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
7954    
7955    
7956  11.  References  11.  References
# Line 7948  Internet-Draft        LinuxSampler Contr Line 8004  Internet-Draft        LinuxSampler Contr
8004    
8005    
8006    
8007  Schoenebeck              Expires August 19, 2008              [Page 142]  Schoenebeck              Expires October 3, 2008              [Page 143]
8008    
8009  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
8010    
8011    
8012  Author's Address  Author's Address
# Line 8004  Author's Address Line 8060  Author's Address
8060    
8061    
8062    
8063  Schoenebeck              Expires August 19, 2008              [Page 143]  Schoenebeck              Expires October 3, 2008              [Page 144]
8064    
8065  Internet-Draft        LinuxSampler Control Protocol        February 2008  Internet-Draft        LinuxSampler Control Protocol           April 2008
8066    
8067    
8068  Full Copyright Statement  Full Copyright Statement
# Line 8051  Intellectual Property Line 8107  Intellectual Property
8107     ietf-ipr@ietf.org.     ietf-ipr@ietf.org.
8108    
8109    
 Acknowledgment  
8110    
    Funding for the RFC Editor function is provided by the IETF  
    Administrative Support Activity (IASA).  
8111    
8112    
8113    
8114    
8115    
 Schoenebeck              Expires August 19, 2008              [Page 144]  
   
8116    
8117    
8118    
8119    Schoenebeck              Expires October 3, 2008              [Page 145]
8120    

Legend:
Removed from v.1696  
changed lines
  Added in v.1731

  ViewVC Help
Powered by ViewVC