/[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 1685 by schoenebeck, Thu Feb 14 14:41:08 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 17, 2008                               February 14, 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 17, 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 17, 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 17, 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 17, 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 17, 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.  Number of active voices changed . . . . . . . . . . . . . 132       8.7.  MIDI data on a MIDI input device arrived  . . . . . . . . 133
246       8.8.  Number of active disk streams changed . . . . . . . . . . 132       8.8.  Number of active voices changed . . . . . . . . . . . . . 133
247       8.9.  Disk stream buffer fill state changed . . . . . . . . . . 133       8.9.  Number of active disk streams changed . . . . . . . . . . 134
248       8.10. Channel information changed . . . . . . . . . . . . . . . 133       8.10. Disk stream buffer fill state changed . . . . . . . . . . 134
249       8.11. Number of effect sends changed  . . . . . . . . . . . . . 133       8.11. Channel information changed . . . . . . . . . . . . . . . 134
250       8.12. Effect send information changed . . . . . . . . . . . . . 134       8.12. Number of effect sends changed  . . . . . . . . . . . . . 135
251       8.13. Total number of active voices changed . . . . . . . . . . 134       8.13. Effect send information changed . . . . . . . . . . . . . 135
252       8.14. Total number of active disk streams changed . . . . . . . 134       8.14. Total number of active voices changed . . . . . . . . . . 136
253       8.15. Number of MIDI instrument maps changed  . . . . . . . . . 135       8.15. Total number of active disk streams changed . . . . . . . 136
254       8.16. MIDI instrument map information changed . . . . . . . . . 135       8.16. Number of MIDI instrument maps changed  . . . . . . . . . 136
255       8.17. Number of MIDI instruments changed  . . . . . . . . . . . 135       8.17. MIDI instrument map information changed . . . . . . . . . 136
256       8.18. MIDI instrument information changed . . . . . . . . . . . 136       8.18. Number of MIDI instruments changed  . . . . . . . . . . . 137
257       8.19. Global settings changed . . . . . . . . . . . . . . . . . 136       8.19. MIDI instrument information changed . . . . . . . . . . . 137
258       8.20. Number of database instrument directories changed . . . . 136       8.20. Global settings changed . . . . . . . . . . . . . . . . . 138
259       8.21. Database instrument directory information changed . . . . 137       8.21. Number of database instrument directories changed . . . . 138
260       8.22. Number of database instruments changed  . . . . . . . . . 137       8.22. Database instrument directory information changed . . . . 138
261       8.23. Database instrument information changed . . . . . . . . . 138       8.23. Number of database instruments changed  . . . . . . . . . 139
262       8.24. Database job status information changed . . . . . . . . . 138       8.24. Database instrument information changed . . . . . . . . . 139
263       8.25. Miscellaneous and debugging events  . . . . . . . . . . . 139       8.25. Database job status information changed . . . . . . . . . 140
264     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 140       8.26. Miscellaneous and debugging events  . . . . . . . . . . . 140
265     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 141     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 141
266     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 142     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 142
267     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 143     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 143
268     Intellectual Property and Copyright Statements  . . . . . . . . . 144     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 144
269       Intellectual Property and Copyright Statements  . . . . . . . . . 145
   
270    
271    
272    
# Line 275  Internet-Draft        LinuxSampler Contr Line 276  Internet-Draft        LinuxSampler Contr
276    
277    
278    
279    Schoenebeck              Expires October 3, 2008                [Page 5]
 Schoenebeck              Expires August 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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 17, 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)").  
6156    
    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.  
   
    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 17, 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 17, 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 17, 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 17, 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 17, 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 6349  Internet-Draft        LinuxSampler Contr Line 6405  Internet-Draft        LinuxSampler Contr
6405    
6406        / CHANNEL_MIDI        / CHANNEL_MIDI
6407    
6408          / DEVICE_MIDI
6409    
6410        / VOICE_COUNT        / VOICE_COUNT
6411    
6412        / STREAM_COUNT        / STREAM_COUNT
# Line 6375  Internet-Draft        LinuxSampler Contr Line 6433  Internet-Draft        LinuxSampler Contr
6433    
6434        / DB_INSTRUMENT_COUNT        / DB_INSTRUMENT_COUNT
6435    
       / DB_INSTRUMENT_INFO  
   
6436    
6437    
6438    
6439  Schoenebeck              Expires August 17, 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
6445    
6446        / DB_INSTRUMENTS_JOB_INFO        / DB_INSTRUMENTS_JOB_INFO
6447    
6448        / MISCELLANEOUS        / MISCELLANEOUS
# Line 6409  Internet-Draft        LinuxSampler Contr Line 6467  Internet-Draft        LinuxSampler Contr
6467    
6468        / CHANNEL_MIDI        / CHANNEL_MIDI
6469    
6470          / DEVICE_MIDI
6471    
6472        / VOICE_COUNT        / VOICE_COUNT
6473    
6474        / STREAM_COUNT        / STREAM_COUNT
# Line 6429  Internet-Draft        LinuxSampler Contr Line 6489  Internet-Draft        LinuxSampler Contr
6489    
6490        / MIDI_INSTRUMENT_INFO        / MIDI_INSTRUMENT_INFO
6491    
       / DB_INSTRUMENT_DIRECTORY_COUNT  
6492    
       / DB_INSTRUMENT_DIRECTORY_INFO  
6493    
6494    
6495    Schoenebeck              Expires October 3, 2008              [Page 116]
6496    
6497    Internet-Draft        LinuxSampler Control Protocol           April 2008
6498    
6499    
6500  Schoenebeck              Expires August 17, 2008              [Page 115]        / DB_INSTRUMENT_DIRECTORY_COUNT
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6501    
6502          / DB_INSTRUMENT_DIRECTORY_INFO
6503    
6504        / DB_INSTRUMENT_COUNT        / DB_INSTRUMENT_COUNT
6505    
# Line 6484  Internet-Draft        LinuxSampler Contr Line 6544  Internet-Draft        LinuxSampler Contr
6544    
6545        / MIDI_INSTRUMENT_MAP SP ALL        / MIDI_INSTRUMENT_MAP SP ALL
6546    
       / DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path  
6547    
       / DB_INSTRUMENT_DIRECTORY SP db_path  
6548    
6549    
6550    
6551    Schoenebeck              Expires October 3, 2008              [Page 117]
6552    
6553    Internet-Draft        LinuxSampler Control Protocol           April 2008
6554    
6555    
6556  Schoenebeck              Expires August 17, 2008              [Page 116]        / DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6557    
6558          / DB_INSTRUMENT_DIRECTORY SP db_path
6559    
6560        / DB_INSTRUMENT SP db_path        / DB_INSTRUMENT SP db_path
6561    
# Line 6540  Internet-Draft        LinuxSampler Contr Line 6600  Internet-Draft        LinuxSampler Contr
6600    
6601        / CHANNELS        / CHANNELS
6602    
       / CHANNEL SP INFO SP sampler_channel  
6603    
       / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel  
6604    
6605    
6606    
6607    Schoenebeck              Expires October 3, 2008              [Page 118]
6608    
6609    Internet-Draft        LinuxSampler Control Protocol           April 2008
6610    
6611    
6612  Schoenebeck              Expires August 17, 2008              [Page 117]        / CHANNEL SP INFO SP sampler_channel
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6613    
6614          / CHANNEL SP BUFFER_FILL SP buffer_size_type SP sampler_channel
6615    
6616        / CHANNEL SP STREAM_COUNT SP sampler_channel        / CHANNEL SP STREAM_COUNT SP sampler_channel
6617    
# Line 6597  Internet-Draft        LinuxSampler Contr Line 6657  Internet-Draft        LinuxSampler Contr
6657    
6658        / VOLUME        / VOLUME
6659    
       / FILE SP INSTRUMENTS SP filename  
6660    
       / FILE SP INSTRUMENT SP INFO SP filename SP instrument_index  
6661    
6662    
6663    Schoenebeck              Expires October 3, 2008              [Page 119]
6664    
6665    Internet-Draft        LinuxSampler Control Protocol           April 2008
6666    
6667    
6668  Schoenebeck              Expires August 17, 2008              [Page 118]        / FILE SP INSTRUMENTS SP filename
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6669    
6670          / FILE SP INSTRUMENT SP INFO SP filename SP instrument_index
6671    
6672     set_instruction =     set_instruction =
6673    
# Line 6649  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          / DB_INSTRUMENT SP FILE_PATH SP filename SP filename
6713    
6714        / ECHO SP boolean        / ECHO SP boolean
6715    
       / VOLUME SP volume_value  
6716    
    create_instruction =  
6717    
       AUDIO_OUTPUT_DEVICE SP string SP key_val_list  
6718    
6719    Schoenebeck              Expires October 3, 2008              [Page 120]
6720    
6721    Internet-Draft        LinuxSampler Control Protocol           April 2008
6722    
6723    
6724          / VOLUME SP volume_value
6725    
6726  Schoenebeck              Expires August 17, 2008              [Page 119]     create_instruction =
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6727    
6728          AUDIO_OUTPUT_DEVICE SP string SP key_val_list
6729    
6730        / AUDIO_OUTPUT_DEVICE SP string        / AUDIO_OUTPUT_DEVICE SP string
6731    
# Line 6696  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 6704  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  
6772    
    destroy_instruction =  
6773    
       AUDIO_OUTPUT_DEVICE SP number  
6774    
6775    Schoenebeck              Expires October 3, 2008              [Page 121]
6776    
6777    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  Schoenebeck              Expires August 17, 2008              [Page 120]     destroy_instruction =
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6785    
6786          AUDIO_OUTPUT_DEVICE SP number
6787    
6788        / MIDI_INPUT_DEVICE SP number        / MIDI_INPUT_DEVICE SP number
6789    
# Line 6760  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    
6827    
6828    
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        / MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE
6837    
6838        / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT        / MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT
# Line 6770  Internet-Draft        LinuxSampler Contr Line 6843  Internet-Draft        LinuxSampler Contr
6843    
6844     format_instruction =     format_instruction =
6845    
   
   
 Schoenebeck              Expires August 17, 2008              [Page 121]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
6846        INSTRUMENTS_DB        INSTRUMENTS_DB
6847    
6848     modal_arg =     modal_arg =
# Line 6815  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        / DB_INSTRUMENT_DIRECTORIES SP db_path  Schoenebeck              Expires October 3, 2008              [Page 123]
6888    
6889    Internet-Draft        LinuxSampler Control Protocol           April 2008
6890    
       / DB_INSTRUMENTS SP RECURSIVE SP db_path  
6891    
6892          / MIDI_INSTRUMENT_MAPS
6893    
6894          / FX_SENDS SP sampler_channel
6895    
6896          / DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path
6897    
6898  Schoenebeck              Expires August 17, 2008              [Page 122]        / DB_INSTRUMENT_DIRECTORIES SP db_path
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6899    
6900          / DB_INSTRUMENTS SP RECURSIVE SP db_path
6901    
6902        / DB_INSTRUMENTS SP db_path        / DB_INSTRUMENTS SP db_path
6903    
# Line 6871  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     midi_input_type_name =  Schoenebeck              Expires October 3, 2008              [Page 124]
6944    
6945    Internet-Draft        LinuxSampler Control Protocol           April 2008
6946    
       string  
6947    
6948       midi_input_channel_index =
6949    
6950          number
6951    
6952          / ALL
6953    
6954  Schoenebeck              Expires August 17, 2008              [Page 123]     midi_input_type_name =
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
6955    
6956          string
6957    
6958     midi_map =     midi_map =
6959    
# Line 6927  Internet-Draft        LinuxSampler Contr Line 6993  Internet-Draft        LinuxSampler Contr
6993    
6994        string        string
6995    
    filename =  
6996    
       path  
6997    
    db_path =  
6998    
6999        path  Schoenebeck              Expires October 3, 2008              [Page 125]
7000    
7001    Internet-Draft        LinuxSampler Control Protocol           April 2008
7002    
    map_name =  
7003    
7004       filename =
7005    
7006          path
7007    
7008       db_path =
7009    
7010  Schoenebeck              Expires August 17, 2008              [Page 124]        path
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7011    
7012       map_name =
7013    
7014        stringval_escaped        stringval_escaped
7015    
# Line 6983  Internet-Draft        LinuxSampler Contr Line 7049  Internet-Draft        LinuxSampler Contr
7049    
7050        / stringval_escaped        / stringval_escaped
7051    
    scan_mode =  
7052    
       RECURSIVE  
   
       / NON_RECURSIVE  
   
       / FLAT  
7053    
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          RECURSIVE
7063    
7064  Schoenebeck              Expires August 17, 2008              [Page 125]        / NON_RECURSIVE
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
7065    
7066          / FLAT
7067    
7068  7.1.  Character Set and Escape Sequences  7.1.  Character Set and Escape Sequences
7069    
# Line 7041  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
7108    
7109    
7110    
7111    Schoenebeck              Expires October 3, 2008              [Page 127]
7112    
7113    Internet-Draft        LinuxSampler Control Protocol           April 2008
7114    
7115    
7116     difference is that in parts of the protocol where escape characters     difference is that in parts of the protocol where escape characters
7117     are now supported, a backslash characters MUST be escaped as well     are now supported, a backslash characters MUST be escaped as well
7118     (that is as double backslash), whereas in the old versions a single     (that is as double backslash), whereas in the old versions a single
# Line 7050  Internet-Draft        LinuxSampler Contr Line 7122  Internet-Draft        LinuxSampler Contr
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    
   
   
 Schoenebeck              Expires August 17, 2008              [Page 126]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
7125        "LOAD INSTRUMENT" (Section 6.4.1)        "LOAD INSTRUMENT" (Section 6.4.1)
7126    
7127        "GET CHANNEL INFO" (Section 6.4.10)        "GET CHANNEL INFO" (Section 6.4.10)
# Line 7095  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    
7163    
7164    
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)        "FIND DB_INSTRUMENT_DIRECTORIES" (Section 6.8.10)
7173    
7174        "MOVE DB_INSTRUMENT" (Section 6.8.17)        "MOVE DB_INSTRUMENT" (Section 6.8.17)
# Line 7105  Internet-Draft        LinuxSampler Contr Line 7179  Internet-Draft        LinuxSampler Contr
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)
   
 Schoenebeck              Expires August 17, 2008              [Page 127]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
7185    
7186        "GET FILE INSTRUMENTS" (Section 6.10.1)        "GET FILE INSTRUMENTS" (Section 6.10.1)
7187    
# Line 7146  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    
7219    
7220    
7221    
7222    
7223    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)        "GET FX_SEND INFO" (Section 6.4.29)
7229    
7230        "SET FX_SEND NAME" (Section 6.4.30)        "SET FX_SEND NAME" (Section 6.4.30)
# Line 7160  Internet-Draft        LinuxSampler Contr Line 7239  Internet-Draft        LinuxSampler Contr
7239    
7240        "SET MIDI_INSTRUMENT_MAP NAME" (Section 6.7.6)        "SET MIDI_INSTRUMENT_MAP NAME" (Section 6.7.6)
7241    
   
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 128]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
7242        "GET DB_INSTRUMENT_DIRECTORY INFO" (Section 6.8.5)        "GET DB_INSTRUMENT_DIRECTORY INFO" (Section 6.8.5)
7243    
7244        "SET DB_INSTRUMENT_DIRECTORY NAME" (Section 6.8.6)        "SET DB_INSTRUMENT_DIRECTORY NAME" (Section 6.8.6)
# Line 7206  Internet-Draft        LinuxSampler Contr Line 7276  Internet-Draft        LinuxSampler Contr
7276    
7277    
7278    
7279    Schoenebeck              Expires October 3, 2008              [Page 130]
   
   
   
   
   
   
   
   
   
   
   
   
   
 Schoenebeck              Expires August 17, 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 17, 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 17, 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 7352  Internet-Draft        LinuxSampler Contr Line 7408  Internet-Draft        LinuxSampler Contr
7408     safeness of the backend's MIDI and audio thread unaffected by this     safeness of the backend's MIDI and audio thread unaffected by this
7409     feature.     feature.
7410    
7411  8.7.  Number of active voices changed  8.7.  MIDI data on a MIDI input device arrived
7412    
7413       Client may want to be notified when MIDI data arrive on MIDI input
7414       devices by issuing the following command:
7415    
7416          SUBSCRIBE DEVICE_MIDI
7417    
7418       Server will start sending one of the the following notification
7419       messages:
7420    
7421          "NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_ON <note>
7422          <velocity>"
7423    
7424          "NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_OFF <note>
7425          <velocity>"
7426    
7427       where <device-id> <port-id> will be replaced by the IDs of the
7428       respective MIDI input device and the device's MIDI port where the
7429       MIDI data arrived. <note> and <velocity> are integer values in the
7430       range between 0 .. 127, reflecting the analog meaning of the MIDI
7431       specification.
7432    
7433       CAUTION: no guarantee whatsoever will be made that MIDI events are
7434       actually all delivered by this mechanism!  With other words: events
7435       could be lost at any time!  This restriction was made to keep the RT-
7436       safeness of the backend's MIDI and audio thread unaffected by this
7437       feature.
7438    
7439    8.8.  Number of active voices changed
7440    
7441     Client may want to be notified when the number of voices on the back-     Client may want to be notified when the number of voices on the back-
7442     end changes by issuing the following command:     end changes by issuing the following command:
7443    
7444    
7445    
7446    
7447    Schoenebeck              Expires October 3, 2008              [Page 133]
7448    
7449    Internet-Draft        LinuxSampler Control Protocol           April 2008
7450    
7451    
7452        SUBSCRIBE VOICE_COUNT        SUBSCRIBE VOICE_COUNT
7453    
7454     Server will start sending the following notification messages:     Server will start sending the following notification messages:
# Line 7367  Internet-Draft        LinuxSampler Contr Line 7459  Internet-Draft        LinuxSampler Contr
7459     voice count change occurred and <voices> by the new number of active     voice count change occurred and <voices> by the new number of active
7460     voices on that channel.     voices on that channel.
7461    
7462  8.8.  Number of active disk streams changed  8.9.  Number of active disk streams changed
7463    
7464     Client may want to be notified when the number of streams on the     Client may want to be notified when the number of streams on the
7465     back-end changes by issuing the following command: SUBSCRIBE     back-end changes by issuing the following command: SUBSCRIBE
# Line 7383  Internet-Draft        LinuxSampler Contr Line 7475  Internet-Draft        LinuxSampler Contr
7475     stream count change occurred and <streams> by the new number of     stream count change occurred and <streams> by the new number of
7476     active disk streams on that channel.     active disk streams on that channel.
7477    
7478    8.10.  Disk stream buffer fill state changed
   
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 132]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
 8.9.  Disk stream buffer fill state changed  
7479    
7480     Client may want to be notified when the buffer fill state of a disk     Client may want to be notified when the buffer fill state of a disk
7481     stream on the back-end changes by issuing the following command:     stream on the back-end changes by issuing the following command:
# Line 7410  Internet-Draft        LinuxSampler Contr Line 7492  Internet-Draft        LinuxSampler Contr
7492     Section 6.4.13 as if the "GET CHANNEL BUFFER_FILL PERCENTAGE"     Section 6.4.13 as if the "GET CHANNEL BUFFER_FILL PERCENTAGE"
7493     (Section 6.4.13) command was issued on this channel.     (Section 6.4.13) command was issued on this channel.
7494    
7495  8.10.  Channel information changed  8.11.  Channel information changed
7496    
7497     Client may want to be notified when changes were made to sampler     Client may want to be notified when changes were made to sampler
7498     channels on the back-end by issuing the following command:     channels on the back-end by issuing the following command:
7499    
7500    
7501    
7502    
7503    Schoenebeck              Expires October 3, 2008              [Page 134]
7504    
7505    Internet-Draft        LinuxSampler Control Protocol           April 2008
7506    
7507    
7508        SUBSCRIBE CHANNEL_INFO        SUBSCRIBE CHANNEL_INFO
7509    
7510     Server will start sending the following notification messages:     Server will start sending the following notification messages:
# Line 7428  Internet-Draft        LinuxSampler Contr Line 7518  Internet-Draft        LinuxSampler Contr
7518     rather than real time events happening on the server, it is believed     rather than real time events happening on the server, it is believed
7519     that an empty notification message is sufficient here.     that an empty notification message is sufficient here.
7520    
7521  8.11.  Number of effect sends changed  8.12.  Number of effect sends changed
7522    
7523     Client may want to be notified when the number of effect sends on a     Client may want to be notified when the number of effect sends on a
7524     particular sampler channel is changed by issuing the following     particular sampler channel is changed by issuing the following
# Line 7441  Internet-Draft        LinuxSampler Contr Line 7531  Internet-Draft        LinuxSampler Contr
7531        "NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>"        "NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>"
7532    
7533     where <channel-id> will be replaced by the numerical ID of the     where <channel-id> will be replaced by the numerical ID of the
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 133]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
7534     sampler channel, on which the effect sends number is changed and <fx-     sampler channel, on which the effect sends number is changed and <fx-
7535     sends> will be replaced by the new number of effect sends on that     sends> will be replaced by the new number of effect sends on that
7536     channel.     channel.
7537    
7538  8.12.  Effect send information changed  8.13.  Effect send information changed
7539    
7540     Client may want to be notified when changes were made to effect sends     Client may want to be notified when changes were made to effect sends
7541     on a a particular sampler channel by issuing the following command:     on a a particular sampler channel by issuing the following command:
# Line 7469  Internet-Draft        LinuxSampler Contr Line 7551  Internet-Draft        LinuxSampler Contr
7551     send-id> will be replaced by the numerical ID of the changed effect     send-id> will be replaced by the numerical ID of the changed effect
7552     send.     send.
7553    
7554  8.13.  Total number of active voices changed  
7555    
7556    
7557    
7558    
7559    Schoenebeck              Expires October 3, 2008              [Page 135]
7560    
7561    Internet-Draft        LinuxSampler Control Protocol           April 2008
7562    
7563    
7564    8.14.  Total number of active voices changed
7565    
7566     Client may want to be notified when the total number of voices on the     Client may want to be notified when the total number of voices on the
7567     back-end changes by issuing the following command:     back-end changes by issuing the following command:
# Line 7483  Internet-Draft        LinuxSampler Contr Line 7575  Internet-Draft        LinuxSampler Contr
7575     where <voices> will be replaced by the new number of all currently     where <voices> will be replaced by the new number of all currently
7576     active voices.     active voices.
7577    
7578  8.14.  Total number of active disk streams changed  8.15.  Total number of active disk streams changed
7579    
7580     Client may want to be notified when the total number of disk streams     Client may want to be notified when the total number of disk streams
7581     on the back-end changes by issuing the following command:     on the back-end changes by issuing the following command:
# Line 7497  Internet-Draft        LinuxSampler Contr Line 7589  Internet-Draft        LinuxSampler Contr
7589     where <streams> will be replaced by the new number of all currently     where <streams> will be replaced by the new number of all currently
7590     active disk streams.     active disk streams.
7591    
7592    8.16.  Number of MIDI instrument maps changed
   
   
 Schoenebeck              Expires August 17, 2008              [Page 134]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
 8.15.  Number of MIDI instrument maps changed  
7593    
7594     Client may want to be notified when the number of MIDI instrument     Client may want to be notified when the number of MIDI instrument
7595     maps on the back-end changes by issuing the following command:     maps on the back-end changes by issuing the following command:
# Line 7519  Internet-Draft        LinuxSampler Contr Line 7603  Internet-Draft        LinuxSampler Contr
7603     where <maps> will be replaced by the new number of MIDI instrument     where <maps> will be replaced by the new number of MIDI instrument
7604     maps.     maps.
7605    
7606  8.16.  MIDI instrument map information changed  8.17.  MIDI instrument map information changed
7607    
7608     Client may want to be notified when changes were made to MIDI     Client may want to be notified when changes were made to MIDI
7609     instrument maps on the back-end by issuing the following command:     instrument maps on the back-end by issuing the following command:
7610    
7611    
7612    
7613    
7614    
7615    Schoenebeck              Expires October 3, 2008              [Page 136]
7616    
7617    Internet-Draft        LinuxSampler Control Protocol           April 2008
7618    
7619    
7620        SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO        SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO
7621    
7622     Server will start sending the following notification messages:     Server will start sending the following notification messages:
# Line 7538  Internet-Draft        LinuxSampler Contr Line 7631  Internet-Draft        LinuxSampler Contr
7631     happening on the server, it is believed that an empty notification     happening on the server, it is believed that an empty notification
7632     message is sufficient here.     message is sufficient here.
7633    
7634  8.17.  Number of MIDI instruments changed  8.18.  Number of MIDI instruments changed
7635    
7636     Client may want to be notified when the number of MIDI instrument     Client may want to be notified when the number of MIDI instrument
7637     maps on the back-end changes by issuing the following command:     maps on the back-end changes by issuing the following command:
# Line 7553  Internet-Draft        LinuxSampler Contr Line 7646  Internet-Draft        LinuxSampler Contr
7646     which the nuber of instruments has changed and <instruments> will be     which the nuber of instruments has changed and <instruments> will be
7647     replaced by the new number of MIDI instruments in the specified map.     replaced by the new number of MIDI instruments in the specified map.
7648    
7649    8.19.  MIDI instrument information changed
   
   
 Schoenebeck              Expires August 17, 2008              [Page 135]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
 8.18.  MIDI instrument information changed  
7650    
7651     Client may want to be notified when changes were made to MIDI     Client may want to be notified when changes were made to MIDI
7652     instruments on the back-end by issuing the following command:     instruments on the back-end by issuing the following command:
# Line 7581  Internet-Draft        LinuxSampler Contr Line 7666  Internet-Draft        LinuxSampler Contr
7666     real time events happening on the server, it is believed that an     real time events happening on the server, it is believed that an
7667     empty notification message is sufficient here.     empty notification message is sufficient here.
7668    
7669  8.19.  Global settings changed  
7670    
7671    Schoenebeck              Expires October 3, 2008              [Page 137]
7672    
7673    Internet-Draft        LinuxSampler Control Protocol           April 2008
7674    
7675    
7676    8.20.  Global settings changed
7677    
7678     Client may want to be notified when changes to the global settings of     Client may want to be notified when changes to the global settings of
7679     the sampler were made by issuing the following command:     the sampler were made by issuing the following command:
# Line 7596  Internet-Draft        LinuxSampler Contr Line 7688  Internet-Draft        LinuxSampler Contr
7688        by the optional dotted floating point value, reflecting the new        by the optional dotted floating point value, reflecting the new
7689        global volume parameter.        global volume parameter.
7690    
7691  8.20.  Number of database instrument directories changed  8.21.  Number of database instrument directories changed
7692    
7693     Client may want to be notified when the number of instrument     Client may want to be notified when the number of instrument
7694     directories in a particular directory in the instruments database is     directories in a particular directory in the instruments database is
# Line 7609  Internet-Draft        LinuxSampler Contr Line 7701  Internet-Draft        LinuxSampler Contr
7701        "NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>"        "NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>"
7702    
7703     where <dir-path> will be replaced by the absolute path name of the     where <dir-path> will be replaced by the absolute path name of the
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 136]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
7704     directory in the instruments database, in which the number of     directory in the instruments database, in which the number of
7705     directories is changed.     directories is changed.
7706    
7707     Note that when a non-empty directory is removed, this event is not     Note that when a non-empty directory is removed, this event is not
7708     sent for the subdirectories in that directory.     sent for the subdirectories in that directory.
7709    
7710  8.21.  Database instrument directory information changed  8.22.  Database instrument directory information changed
7711    
7712     Client may want to be notified when changes were made to directories     Client may want to be notified when changes were made to directories
7713     in the instruments database by issuing the following command:     in the instruments database by issuing the following command:
# Line 7637  Internet-Draft        LinuxSampler Contr Line 7721  Internet-Draft        LinuxSampler Contr
7721     where <dir-path> will be replaced by the absolute path name of the     where <dir-path> will be replaced by the absolute path name of the
7722     directory, for which information changes occurred.  The front-end     directory, for which information changes occurred.  The front-end
7723     will have to send the respective command to actually get the updated     will have to send the respective command to actually get the updated
7724    
7725    
7726    
7727    Schoenebeck              Expires October 3, 2008              [Page 138]
7728    
7729    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
7733     commands issued by other clients rather than real time events     commands issued by other clients rather than real time events
7734     happening on the server, it is believed that an empty notification     happening on the server, it is believed that an empty notification
# Line 7649  Internet-Draft        LinuxSampler Contr Line 7741  Internet-Draft        LinuxSampler Contr
7741     (encapsulated into apostrophes), which name is changes and <new-name>     (encapsulated into apostrophes), which name is changes and <new-name>
7742     is the new name of the directory, encapsulated into apostrophes.     is the new name of the directory, encapsulated into apostrophes.
7743    
7744  8.22.  Number of database instruments changed  8.23.  Number of database instruments changed
7745    
7746     Client may want to be notified when the number of instruments in a     Client may want to be notified when the number of instruments in a
7747     particular directory in the instruments database is changed by     particular directory in the instruments database is changed by
# Line 7665  Internet-Draft        LinuxSampler Contr Line 7757  Internet-Draft        LinuxSampler Contr
7757     directory in the instruments database, in which the number of     directory in the instruments database, in which the number of
7758     instruments is changed.     instruments is changed.
7759    
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 137]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
7760     Note that when a non-empty directory is removed, this event is not     Note that when a non-empty directory is removed, this event is not
7761     sent for the instruments in that directory.     sent for the instruments in that directory.
7762    
7763  8.23.  Database instrument information changed  8.24.  Database instrument information changed
7764    
7765     Client may want to be notified when changes were made to instruments     Client may want to be notified when changes were made to instruments
7766     in the instruments database by issuing the following command:     in the instruments database by issuing the following command:
# Line 7693  Internet-Draft        LinuxSampler Contr Line 7777  Internet-Draft        LinuxSampler Contr
7777     info.  Because these messages will be triggered by LSCP commands     info.  Because these messages will be triggered by LSCP commands
7778     issued by other clients rather than real time events happening on the     issued by other clients rather than real time events happening on the
7779     server, it is believed that an empty notification message is     server, it is believed that an empty notification message is
7780    
7781    
7782    
7783    Schoenebeck              Expires October 3, 2008              [Page 139]
7784    
7785    Internet-Draft        LinuxSampler Control Protocol           April 2008
7786    
7787    
7788     sufficient here.     sufficient here.
7789    
7790        "NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>"        "NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>"
# Line 7702  Internet-Draft        LinuxSampler Contr Line 7794  Internet-Draft        LinuxSampler Contr
7794     <new-name> is the new name of the instrument, encapsulated into     <new-name> is the new name of the instrument, encapsulated into
7795     apostrophes.     apostrophes.
7796    
7797  8.24.  Database job status information changed  8.25.  Database job status information changed
7798    
7799     Client may want to be notified when the status of particular database     Client may want to be notified when the status of particular database
7800     instruments job is changed by issuing the following command:     instruments job is changed by issuing the following command:
# Line 7720  Internet-Draft        LinuxSampler Contr Line 7812  Internet-Draft        LinuxSampler Contr
7812     real time events happening on the server, it is believed that an     real time events happening on the server, it is believed that an
7813     empty notification message is sufficient here.     empty notification message is sufficient here.
7814    
7815    8.26.  Miscellaneous and debugging events
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 138]  
   
 Internet-Draft        LinuxSampler Control Protocol        February 2008  
   
   
 8.25.  Miscellaneous and debugging events  
7816    
7817     Client may want to be notified of miscellaneous and debugging events     Client may want to be notified of miscellaneous and debugging events
7818     occurring at the server by issuing the following command:     occurring at the server by issuing the following command:
# Line 7753  Internet-Draft        LinuxSampler Contr Line 7836  Internet-Draft        LinuxSampler Contr
7836    
7837    
7838    
7839    Schoenebeck              Expires October 3, 2008              [Page 140]
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 Schoenebeck              Expires August 17, 2008              [Page 139]  
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 17, 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 17, 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 17, 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 17, 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 17, 2008              [Page 144]  
   
8116    
8117    
8118    
8119    Schoenebeck              Expires October 3, 2008              [Page 145]
8120    

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

  ViewVC Help
Powered by ViewVC