/[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 1006 by schoenebeck, Fri Dec 29 20:27:15 2006 UTC revision 1028 by schoenebeck, Sun Jan 14 17:33:03 2007 UTC
# Line 4  Line 4 
4  LinuxSampler Developers                                   C. Schoenebeck  LinuxSampler Developers                                   C. Schoenebeck
5  Internet-Draft                           Interessengemeinschaft Software  Internet-Draft                           Interessengemeinschaft Software
6  Intended status: Standards Track                       Engineering e. V.  Intended status: Standards Track                       Engineering e. V.
7  Expires: July 2, 2007                                  December 29, 2006  Expires: July 18, 2007                                  January 14, 2007
8    
9    
10                       LinuxSampler Control Protocol                       LinuxSampler Control Protocol
# Line 33  Status of this Memo Line 33  Status of this Memo
33     The list of Internet-Draft Shadow Directories can be accessed at     The list of Internet-Draft Shadow Directories can be accessed at
34     http://www.ietf.org/shadow.html.     http://www.ietf.org/shadow.html.
35    
36     This Internet-Draft will expire on July 2, 2007.     This Internet-Draft will expire on July 18, 2007.
37    
38  Copyright Notice  Copyright Notice
39    
40     Copyright (C) The Internet Society (2006).     Copyright (C) The Internet Society (2007).
41    
42    
43    
# Line 52  Copyright Notice Line 52  Copyright Notice
52    
53    
54    
55  Schoenebeck               Expires July 2, 2007                  [Page 1]  Schoenebeck               Expires July 18, 2007                 [Page 1]
56    
57  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
58    
59    
60  Abstract  Abstract
# Line 108  Table of Contents Line 108  Table of Contents
108    
109    
110    
111  Schoenebeck               Expires July 2, 2007                  [Page 2]  Schoenebeck               Expires July 18, 2007                 [Page 2]
112    
113  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
114    
115    
116         6.3.8.  Getting all created MIDI input device list  . . . . .  36         6.3.8.  Getting all created MIDI input device list  . . . . .  36
# Line 152  Internet-Draft        LinuxSampler Contr Line 152  Internet-Draft        LinuxSampler Contr
152         6.4.28. Listing all effect sends on a sampler channel . . . .  63         6.4.28. Listing all effect sends on a sampler channel . . . .  63
153         6.4.29. Getting effect send information . . . . . . . . . . .  64         6.4.29. Getting effect send information . . . . . . . . . . .  64
154         6.4.30. Altering effect send's audio routing  . . . . . . . .  65         6.4.30. Altering effect send's audio routing  . . . . . . . .  65
155         6.4.31. Resetting a sampler channel . . . . . . . . . . . . .  66         6.4.31. Altering effect send's MIDI controller  . . . . . . .  66
156       6.5.  Controlling connection  . . . . . . . . . . . . . . . . .  66         6.4.32. Altering effect send's send level . . . . . . . . . .  67
157         6.5.1.  Register front-end for receiving event messages . . .  66         6.4.33. Resetting a sampler channel . . . . . . . . . . . . .  68
158         6.5.  Controlling connection  . . . . . . . . . . . . . . . . .  68
159           6.5.1.  Register front-end for receiving event messages . . .  68
160         6.5.2.  Unregister front-end for not receiving event         6.5.2.  Unregister front-end for not receiving event
161                 messages  . . . . . . . . . . . . . . . . . . . . . .  67                 messages  . . . . . . . . . . . . . . . . . . . . . .  69
162         6.5.3.  Enable or disable echo of commands  . . . . . . . . .  68         6.5.3.  Enable or disable echo of commands  . . . . . . . . .  70
163         6.5.4.  Close client connection . . . . . . . . . . . . . . .  68         6.5.4.  Close client connection . . . . . . . . . . . . . . .  70
      6.6.  Global commands . . . . . . . . . . . . . . . . . . . . .  69  
        6.6.1.  Current number of active voices . . . . . . . . . . .  69  
164    
165    
166    
167  Schoenebeck               Expires July 2, 2007                  [Page 3]  Schoenebeck               Expires July 18, 2007                 [Page 3]
168    
169  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
170    
171    
172         6.6.2.  Maximum amount of active voices . . . . . . . . . . .  69       6.6.  Global commands . . . . . . . . . . . . . . . . . . . . .  71
173         6.6.3.  Reset sampler . . . . . . . . . . . . . . . . . . . .  69         6.6.1.  Current number of active voices . . . . . . . . . . .  71
174         6.6.4.  General sampler informations  . . . . . . . . . . . .  70         6.6.2.  Maximum amount of active voices . . . . . . . . . . .  71
175         6.6.5.  Getting global volume attenuation . . . . . . . . . .  70         6.6.3.  Reset sampler . . . . . . . . . . . . . . . . . . . .  71
176         6.6.6.  Setting global volume attenuation . . . . . . . . . .  71         6.6.4.  General sampler informations  . . . . . . . . . . . .  72
177       6.7.  MIDI Instrument Mapping . . . . . . . . . . . . . . . . .  71         6.6.5.  Getting global volume attenuation . . . . . . . . . .  72
178         6.7.1.  Create a new MIDI instrument map  . . . . . . . . . .  72         6.6.6.  Setting global volume attenuation . . . . . . . . . .  73
179         6.7.2.  Delete one particular or all MIDI instrument maps . .  73       6.7.  MIDI Instrument Mapping . . . . . . . . . . . . . . . . .  73
180         6.7.3.  Get amount of existing MIDI instrument maps . . . . .  73         6.7.1.  Create a new MIDI instrument map  . . . . . . . . . .  74
181         6.7.4.  Getting all created MIDI instrument maps  . . . . . .  74         6.7.2.  Delete one particular or all MIDI instrument maps . .  75
182         6.7.5.  Getting MIDI instrument map information . . . . . . .  74         6.7.3.  Get amount of existing MIDI instrument maps . . . . .  75
183         6.7.6.  Renaming a MIDI instrument map  . . . . . . . . . . .  75         6.7.4.  Getting all created MIDI instrument maps  . . . . . .  76
184         6.7.7.  Create or replace a MIDI instrument map entry . . . .  75         6.7.5.  Getting MIDI instrument map information . . . . . . .  76
185         6.7.8.  Getting ammount of MIDI instrument map entries  . . .  78         6.7.6.  Renaming a MIDI instrument map  . . . . . . . . . . .  77
186           6.7.7.  Create or replace a MIDI instrument map entry . . . .  77
187           6.7.8.  Getting ammount of MIDI instrument map entries  . . .  80
188         6.7.9.  Getting indeces of all entries of a MIDI         6.7.9.  Getting indeces of all entries of a MIDI
189                 instrument map  . . . . . . . . . . . . . . . . . . .  79                 instrument map  . . . . . . . . . . . . . . . . . . .  81
190         6.7.10. Remove an entry from the MIDI instrument map  . . . .  79         6.7.10. Remove an entry from the MIDI instrument map  . . . .  81
191         6.7.11. Get current settings of MIDI instrument map entry . .  80         6.7.11. Get current settings of MIDI instrument map entry . .  82
192         6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . .  82         6.7.12. Clear MIDI instrument map . . . . . . . . . . . . . .  84
193     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . .  83     7.  Command Syntax  . . . . . . . . . . . . . . . . . . . . . . .  85
194     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . .  94     8.  Events  . . . . . . . . . . . . . . . . . . . . . . . . . . .  96
195       8.1.  Number of audio output devices changed  . . . . . . . . .  94       8.1.  Number of audio output devices changed  . . . . . . . . .  96
196       8.2.  Audio output device's settings changed  . . . . . . . . .  94       8.2.  Audio output device's settings changed  . . . . . . . . .  96
197       8.3.  Number of MIDI input devices changed  . . . . . . . . . .  94       8.3.  Number of MIDI input devices changed  . . . . . . . . . .  96
198       8.4.  MIDI input device's settings changed  . . . . . . . . . .  95       8.4.  MIDI input device's settings changed  . . . . . . . . . .  97
199       8.5.  Number of sampler channels changed  . . . . . . . . . . .  95       8.5.  Number of sampler channels changed  . . . . . . . . . . .  97
200       8.6.  Number of active voices changed . . . . . . . . . . . . .  95       8.6.  Number of active voices changed . . . . . . . . . . . . .  97
201       8.7.  Number of active disk streams changed . . . . . . . . . .  96       8.7.  Number of active disk streams changed . . . . . . . . . .  98
202       8.8.  Disk stream buffer fill state changed . . . . . . . . . .  96       8.8.  Disk stream buffer fill state changed . . . . . . . . . .  98
203       8.9.  Channel information changed . . . . . . . . . . . . . . .  96       8.9.  Channel information changed . . . . . . . . . . . . . . .  98
204       8.10. Total number of active voices changed . . . . . . . . . .  97       8.10. Total number of active voices changed . . . . . . . . . .  99
205       8.11. Number of MIDI instrument maps changed  . . . . . . . . .  97       8.11. Number of MIDI instrument maps changed  . . . . . . . . .  99
206       8.12. MIDI instrument map information changed . . . . . . . . .  97       8.12. MIDI instrument map information changed . . . . . . . . .  99
207       8.13. Number of MIDI instruments changed  . . . . . . . . . . .  98       8.13. Number of MIDI instruments changed  . . . . . . . . . . . 100
208       8.14. MIDI instrument information changed . . . . . . . . . . .  98       8.14. MIDI instrument information changed . . . . . . . . . . . 100
209       8.15. Miscellaneous and debugging events  . . . . . . . . . . .  99       8.15. Miscellaneous and debugging events  . . . . . . . . . . . 101
210     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 100     9.  Security Considerations . . . . . . . . . . . . . . . . . . . 102
211     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 101     10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 103
212     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 102     11. References  . . . . . . . . . . . . . . . . . . . . . . . . . 104
213     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 103     Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . 105
214     Intellectual Property and Copyright Statements  . . . . . . . . . 104     Intellectual Property and Copyright Statements  . . . . . . . . . 106
215    
216    
217    
# Line 218  Internet-Draft        LinuxSampler Contr Line 220  Internet-Draft        LinuxSampler Contr
220    
221    
222    
223    Schoenebeck               Expires July 18, 2007                 [Page 4]
   
 Schoenebeck               Expires July 2, 2007                  [Page 4]  
224    
225  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
226    
227    
228  1.  Requirements notation  1.  Requirements notation
# Line 276  Internet-Draft        LinuxSampler Contr Line 276  Internet-Draft        LinuxSampler Contr
276    
277    
278    
279  Schoenebeck               Expires July 2, 2007                  [Page 5]  Schoenebeck               Expires July 18, 2007                 [Page 5]
280    
281  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
282    
283    
284  2.  Versioning of this specification  2.  Versioning of this specification
# Line 332  Internet-Draft        LinuxSampler Contr Line 332  Internet-Draft        LinuxSampler Contr
332    
333    
334    
335  Schoenebeck               Expires July 2, 2007                  [Page 6]  Schoenebeck               Expires July 18, 2007                 [Page 6]
336    
337  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
338    
339    
340  3.  Introduction  3.  Introduction
# Line 388  Internet-Draft        LinuxSampler Contr Line 388  Internet-Draft        LinuxSampler Contr
388    
389    
390    
391  Schoenebeck               Expires July 2, 2007                  [Page 7]  Schoenebeck               Expires July 18, 2007                 [Page 7]
392    
393  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
394    
395    
396  4.  Focus of this protocol  4.  Focus of this protocol
# Line 444  Internet-Draft        LinuxSampler Contr Line 444  Internet-Draft        LinuxSampler Contr
444    
445    
446    
447  Schoenebeck               Expires July 2, 2007                  [Page 8]  Schoenebeck               Expires July 18, 2007                 [Page 8]
448    
449  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
450    
451    
452  5.  Communication Overview  5.  Communication Overview
# Line 500  Internet-Draft        LinuxSampler Contr Line 500  Internet-Draft        LinuxSampler Contr
500    
501    
502    
503  Schoenebeck               Expires July 2, 2007                  [Page 9]  Schoenebeck               Expires July 18, 2007                 [Page 9]
504    
505  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
506    
507    
508  5.1.1.  Result format  5.1.1.  Result format
# Line 556  Internet-Draft        LinuxSampler Contr Line 556  Internet-Draft        LinuxSampler Contr
556    
557    
558    
559  Schoenebeck               Expires July 2, 2007                 [Page 10]  Schoenebeck               Expires July 18, 2007                [Page 10]
560    
561  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
562    
563    
564     set has the following format:     set has the following format:
# Line 612  Internet-Draft        LinuxSampler Contr Line 612  Internet-Draft        LinuxSampler Contr
612    
613    
614    
615  Schoenebeck               Expires July 2, 2007                 [Page 11]  Schoenebeck               Expires July 18, 2007                [Page 11]
616    
617  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
618    
619    
620     Each line of the result set MUST end with <CRLF>.     Each line of the result set MUST end with <CRLF>.
# Line 668  Internet-Draft        LinuxSampler Contr Line 668  Internet-Draft        LinuxSampler Contr
668    
669    
670    
671  Schoenebeck               Expires July 2, 2007                 [Page 12]  Schoenebeck               Expires July 18, 2007                [Page 12]
672    
673  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
674    
675    
676         inserted in the middle of the event message as well as any other         inserted in the middle of the event message as well as any other
# Line 724  Internet-Draft        LinuxSampler Contr Line 724  Internet-Draft        LinuxSampler Contr
724    
725    
726    
727  Schoenebeck               Expires July 2, 2007                 [Page 13]  Schoenebeck               Expires July 18, 2007                [Page 13]
728    
729  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
730    
731    
732  6.  Description for control commands  6.  Description for control commands
# Line 780  Internet-Draft        LinuxSampler Contr Line 780  Internet-Draft        LinuxSampler Contr
780    
781    
782    
783  Schoenebeck               Expires July 2, 2007                 [Page 14]  Schoenebeck               Expires July 18, 2007                [Page 14]
784    
785  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
786    
787    
788  6.2.1.  Getting amount of available audio output drivers  6.2.1.  Getting amount of available audio output drivers
# Line 836  Internet-Draft        LinuxSampler Contr Line 836  Internet-Draft        LinuxSampler Contr
836    
837    
838    
839  Schoenebeck               Expires July 2, 2007                 [Page 15]  Schoenebeck               Expires July 18, 2007                [Page 15]
840    
841  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
842    
843    
844        LinuxSampler will answer by sending a <CRLF> separated list.  Each        LinuxSampler will answer by sending a <CRLF> separated list.  Each
# Line 892  Internet-Draft        LinuxSampler Contr Line 892  Internet-Draft        LinuxSampler Contr
892    
893    
894    
895  Schoenebeck               Expires July 2, 2007                 [Page 16]  Schoenebeck               Expires July 18, 2007                [Page 16]
896    
897  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
898    
899    
900     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"     obtained (as returned by the "GET AUDIO_OUTPUT_DRIVER INFO"
# Line 948  Internet-Draft        LinuxSampler Contr Line 948  Internet-Draft        LinuxSampler Contr
948    
949    
950    
951  Schoenebeck               Expires July 2, 2007                 [Page 17]  Schoenebeck               Expires July 18, 2007                [Page 17]
952    
953  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
954    
955    
956        MULTIPLICITY -        MULTIPLICITY -
# Line 1004  Internet-Draft        LinuxSampler Contr Line 1004  Internet-Draft        LinuxSampler Contr
1004    
1005    
1006    
1007  Schoenebeck               Expires July 2, 2007                 [Page 18]  Schoenebeck               Expires July 18, 2007                [Page 18]
1008    
1009  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1010    
1011    
1012           returned, dependent to driver parameter)           returned, dependent to driver parameter)
# Line 1060  Internet-Draft        LinuxSampler Contr Line 1060  Internet-Draft        LinuxSampler Contr
1060    
1061    
1062    
1063  Schoenebeck               Expires July 2, 2007                 [Page 19]  Schoenebeck               Expires July 18, 2007                [Page 19]
1064    
1065  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1066    
1067    
1068           "TYPE: INT"           "TYPE: INT"
# Line 1116  Internet-Draft        LinuxSampler Contr Line 1116  Internet-Draft        LinuxSampler Contr
1116    
1117    
1118    
1119  Schoenebeck               Expires July 2, 2007                 [Page 20]  Schoenebeck               Expires July 18, 2007                [Page 20]
1120    
1121  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1122    
1123    
1124           providing an appropriate warning code and warning message           providing an appropriate warning code and warning message
# Line 1172  Internet-Draft        LinuxSampler Contr Line 1172  Internet-Draft        LinuxSampler Contr
1172    
1173    
1174    
1175  Schoenebeck               Expires July 2, 2007                 [Page 21]  Schoenebeck               Expires July 18, 2007                [Page 21]
1176    
1177  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1178    
1179    
1180        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"        C: "DESTROY AUDIO_OUTPUT_DEVICE 0"
# Line 1228  Internet-Draft        LinuxSampler Contr Line 1228  Internet-Draft        LinuxSampler Contr
1228    
1229    
1230    
1231  Schoenebeck               Expires July 2, 2007                 [Page 22]  Schoenebeck               Expires July 18, 2007                [Page 22]
1232    
1233  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1234    
1235    
1236     Possible Answers:     Possible Answers:
# Line 1284  Internet-Draft        LinuxSampler Contr Line 1284  Internet-Draft        LinuxSampler Contr
1284    
1285    
1286    
1287  Schoenebeck               Expires July 2, 2007                 [Page 23]  Schoenebeck               Expires July 18, 2007                [Page 23]
1288    
1289  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1290    
1291    
1292           "FRAGMENTS: 2"           "FRAGMENTS: 2"
# Line 1340  Internet-Draft        LinuxSampler Contr Line 1340  Internet-Draft        LinuxSampler Contr
1340    
1341    
1342    
1343  Schoenebeck               Expires July 2, 2007                 [Page 24]  Schoenebeck               Expires July 18, 2007                [Page 24]
1344    
1345  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1346    
1347    
1348  6.2.11.  Getting information about an audio channel  6.2.11.  Getting information about an audio channel
# Line 1396  Internet-Draft        LinuxSampler Contr Line 1396  Internet-Draft        LinuxSampler Contr
1396    
1397    
1398    
1399  Schoenebeck               Expires July 2, 2007                 [Page 25]  Schoenebeck               Expires July 18, 2007                [Page 25]
1400    
1401  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1402    
1403    
1404     Examples:     Examples:
# Line 1452  Internet-Draft        LinuxSampler Contr Line 1452  Internet-Draft        LinuxSampler Contr
1452    
1453    
1454    
1455  Schoenebeck               Expires July 2, 2007                 [Page 26]  Schoenebeck               Expires July 18, 2007                [Page 26]
1456    
1457  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1458    
1459    
1460     channel number and <param> a specific channel parameter name for     channel number and <param> a specific channel parameter name for
# Line 1508  Internet-Draft        LinuxSampler Contr Line 1508  Internet-Draft        LinuxSampler Contr
1508    
1509    
1510    
1511  Schoenebeck               Expires July 2, 2007                 [Page 27]  Schoenebeck               Expires July 18, 2007                [Page 27]
1512    
1513  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1514    
1515    
1516           RANGE_MAX -           RANGE_MAX -
# Line 1564  Internet-Draft        LinuxSampler Contr Line 1564  Internet-Draft        LinuxSampler Contr
1564    
1565    
1566    
1567  Schoenebeck               Expires July 2, 2007                 [Page 28]  Schoenebeck               Expires July 18, 2007                [Page 28]
1568    
1569  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1570    
1571    
1572        "OK" -        "OK" -
# Line 1620  Internet-Draft        LinuxSampler Contr Line 1620  Internet-Draft        LinuxSampler Contr
1620    
1621    
1622    
1623  Schoenebeck               Expires July 2, 2007                 [Page 29]  Schoenebeck               Expires July 18, 2007                [Page 29]
1624    
1625  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1626    
1627    
1628     Note: examples in this chapter showing particular parameters of     Note: examples in this chapter showing particular parameters of
# Line 1676  Internet-Draft        LinuxSampler Contr Line 1676  Internet-Draft        LinuxSampler Contr
1676    
1677    
1678    
1679  Schoenebeck               Expires July 2, 2007                 [Page 30]  Schoenebeck               Expires July 18, 2007                [Page 30]
1680    
1681  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1682    
1683    
1684  6.3.3.  Getting information about a specific MIDI input driver  6.3.3.  Getting information about a specific MIDI input driver
# Line 1732  Internet-Draft        LinuxSampler Contr Line 1732  Internet-Draft        LinuxSampler Contr
1732    
1733    
1734    
1735  Schoenebeck               Expires July 2, 2007                 [Page 31]  Schoenebeck               Expires July 18, 2007                [Page 31]
1736    
1737  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1738    
1739    
1740  6.3.4.  Getting information about specific MIDI input driver parameter  6.3.4.  Getting information about specific MIDI input driver parameter
# Line 1788  Internet-Draft        LinuxSampler Contr Line 1788  Internet-Draft        LinuxSampler Contr
1788    
1789    
1790    
1791  Schoenebeck               Expires July 2, 2007                 [Page 32]  Schoenebeck               Expires July 18, 2007                [Page 32]
1792    
1793  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1794    
1795    
1796        FIX -        FIX -
# Line 1844  Internet-Draft        LinuxSampler Contr Line 1844  Internet-Draft        LinuxSampler Contr
1844    
1845    
1846    
1847  Schoenebeck               Expires July 2, 2007                 [Page 33]  Schoenebeck               Expires July 18, 2007                [Page 33]
1848    
1849  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1850    
1851    
1852           may also appear without (optionally returned, dependent to           may also appear without (optionally returned, dependent to
# Line 1900  Internet-Draft        LinuxSampler Contr Line 1900  Internet-Draft        LinuxSampler Contr
1900    
1901    
1902    
1903  Schoenebeck               Expires July 2, 2007                 [Page 34]  Schoenebeck               Expires July 18, 2007                [Page 34]
1904    
1905  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1906    
1907    
1908        "OK[<device-id>]" -        "OK[<device-id>]" -
# Line 1956  Internet-Draft        LinuxSampler Contr Line 1956  Internet-Draft        LinuxSampler Contr
1956    
1957    
1958    
1959  Schoenebeck               Expires July 2, 2007                 [Page 35]  Schoenebeck               Expires July 18, 2007                [Page 35]
1960    
1961  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
1962    
1963    
1964           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 2012  Internet-Draft        LinuxSampler Contr Line 2012  Internet-Draft        LinuxSampler Contr
2012    
2013    
2014    
2015  Schoenebeck               Expires July 2, 2007                 [Page 36]  Schoenebeck               Expires July 18, 2007                [Page 36]
2016    
2017  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2018    
2019    
2020  6.3.9.  Getting current settings of a MIDI input device  6.3.9.  Getting current settings of a MIDI input device
# Line 2068  Internet-Draft        LinuxSampler Contr Line 2068  Internet-Draft        LinuxSampler Contr
2068    
2069    
2070    
2071  Schoenebeck               Expires July 2, 2007                 [Page 37]  Schoenebeck               Expires July 18, 2007                [Page 37]
2072    
2073  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2074    
2075    
2076           "ACTIVE: true"           "ACTIVE: true"
# Line 2124  Internet-Draft        LinuxSampler Contr Line 2124  Internet-Draft        LinuxSampler Contr
2124    
2125    
2126    
2127  Schoenebeck               Expires July 2, 2007                 [Page 38]  Schoenebeck               Expires July 18, 2007                [Page 38]
2128    
2129  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2130    
2131    
2132     MIDI_INPUT_DEVICES" (Section 6.3.8) command and <midi-port> the MIDI     MIDI_INPUT_DEVICES" (Section 6.3.8) command and <midi-port> the MIDI
# Line 2180  Internet-Draft        LinuxSampler Contr Line 2180  Internet-Draft        LinuxSampler Contr
2180    
2181    
2182    
2183  Schoenebeck               Expires July 2, 2007                 [Page 39]  Schoenebeck               Expires July 18, 2007                [Page 39]
2184    
2185  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2186    
2187    
2188        character string to that info category.  There is information        character string to that info category.  There is information
# Line 2236  Internet-Draft        LinuxSampler Contr Line 2236  Internet-Draft        LinuxSampler Contr
2236    
2237    
2238    
2239  Schoenebeck               Expires July 2, 2007                 [Page 40]  Schoenebeck               Expires July 18, 2007                [Page 40]
2240    
2241  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2242    
2243    
2244           returned, dependent to device and port parameter)           returned, dependent to device and port parameter)
# Line 2292  Internet-Draft        LinuxSampler Contr Line 2292  Internet-Draft        LinuxSampler Contr
2292    
2293    
2294    
2295  Schoenebeck               Expires July 2, 2007                 [Page 41]  Schoenebeck               Expires July 18, 2007                [Page 41]
2296    
2297  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2298    
2299    
2300           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
# Line 2348  Internet-Draft        LinuxSampler Contr Line 2348  Internet-Draft        LinuxSampler Contr
2348    
2349    
2350    
2351  Schoenebeck               Expires July 2, 2007                 [Page 42]  Schoenebeck               Expires July 18, 2007                [Page 42]
2352    
2353  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2354    
2355    
2356           or more patch parameters provided by the loaded instrument           or more patch parameters provided by the loaded instrument
# Line 2404  Internet-Draft        LinuxSampler Contr Line 2404  Internet-Draft        LinuxSampler Contr
2404    
2405    
2406    
2407  Schoenebeck               Expires July 2, 2007                 [Page 43]  Schoenebeck               Expires July 18, 2007                [Page 43]
2408    
2409  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2410    
2411    
2412     Example:     Example:
# Line 2460  Internet-Draft        LinuxSampler Contr Line 2460  Internet-Draft        LinuxSampler Contr
2460    
2461    
2462    
2463  Schoenebeck               Expires July 2, 2007                 [Page 44]  Schoenebeck               Expires July 18, 2007                [Page 44]
2464    
2465  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2466    
2467    
2468        ADD CHANNEL        ADD CHANNEL
# Line 2516  Internet-Draft        LinuxSampler Contr Line 2516  Internet-Draft        LinuxSampler Contr
2516    
2517    
2518    
2519  Schoenebeck               Expires July 2, 2007                 [Page 45]  Schoenebeck               Expires July 18, 2007                [Page 45]
2520    
2521  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2522    
2523    
2524        "OK" -        "OK" -
# Line 2572  Internet-Draft        LinuxSampler Contr Line 2572  Internet-Draft        LinuxSampler Contr
2572    
2573    
2574    
2575  Schoenebeck               Expires July 2, 2007                 [Page 46]  Schoenebeck               Expires July 18, 2007                [Page 46]
2576    
2577  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2578    
2579    
2580        LinuxSampler will answer by sending a comma separated list of the        LinuxSampler will answer by sending a comma separated list of the
# Line 2628  Internet-Draft        LinuxSampler Contr Line 2628  Internet-Draft        LinuxSampler Contr
2628    
2629    
2630    
2631  Schoenebeck               Expires July 2, 2007                 [Page 47]  Schoenebeck               Expires July 18, 2007                [Page 47]
2632    
2633  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2634    
2635    
2636           "VERSION: testing-1.0"           "VERSION: testing-1.0"
# Line 2684  Internet-Draft        LinuxSampler Contr Line 2684  Internet-Draft        LinuxSampler Contr
2684    
2685    
2686    
2687  Schoenebeck               Expires July 2, 2007                 [Page 48]  Schoenebeck               Expires July 18, 2007                [Page 48]
2688    
2689  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2690    
2691    
2692              output channel 0 is routed to channel 0 of the audio output              output channel 0 is routed to channel 0 of the audio output
# Line 2740  Internet-Draft        LinuxSampler Contr Line 2740  Internet-Draft        LinuxSampler Contr
2740    
2741    
2742    
2743  Schoenebeck               Expires July 2, 2007                 [Page 49]  Schoenebeck               Expires July 18, 2007                [Page 49]
2744    
2745  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2746    
2747    
2748           MUTE -           MUTE -
# Line 2796  Internet-Draft        LinuxSampler Contr Line 2796  Internet-Draft        LinuxSampler Contr
2796    
2797    
2798    
2799  Schoenebeck               Expires July 2, 2007                 [Page 50]  Schoenebeck               Expires July 18, 2007                [Page 50]
2800    
2801  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2802    
2803    
2804           "MIDI_INPUT_CHANNEL: 5"           "MIDI_INPUT_CHANNEL: 5"
# Line 2852  Internet-Draft        LinuxSampler Contr Line 2852  Internet-Draft        LinuxSampler Contr
2852    
2853    
2854    
2855  Schoenebeck               Expires July 2, 2007                 [Page 51]  Schoenebeck               Expires July 18, 2007                [Page 51]
2856    
2857  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2858    
2859    
2860        return "NA" for not available.        return "NA" for not available.
# Line 2908  Internet-Draft        LinuxSampler Contr Line 2908  Internet-Draft        LinuxSampler Contr
2908    
2909    
2910    
2911  Schoenebeck               Expires July 2, 2007                 [Page 52]  Schoenebeck               Expires July 18, 2007                [Page 52]
2912    
2913  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2914    
2915    
2916        S: ""        S: ""
# Line 2964  Internet-Draft        LinuxSampler Contr Line 2964  Internet-Draft        LinuxSampler Contr
2964    
2965    
2966    
2967  Schoenebeck               Expires July 2, 2007                 [Page 53]  Schoenebeck               Expires July 18, 2007                [Page 53]
2968    
2969  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
2970    
2971    
2972     Where <audio-output-type> is currently either "ALSA" or "JACK" and     Where <audio-output-type> is currently either "ALSA" or "JACK" and
# Line 3020  Internet-Draft        LinuxSampler Contr Line 3020  Internet-Draft        LinuxSampler Contr
3020    
3021    
3022    
3023  Schoenebeck               Expires July 2, 2007                 [Page 54]  Schoenebeck               Expires July 18, 2007                [Page 54]
3024    
3025  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3026    
3027    
3028           if audio output channel was set, but there are noteworthy           if audio output channel was set, but there are noteworthy
# Line 3076  Internet-Draft        LinuxSampler Contr Line 3076  Internet-Draft        LinuxSampler Contr
3076    
3077    
3078    
3079  Schoenebeck               Expires July 2, 2007                 [Page 55]  Schoenebeck               Expires July 18, 2007                [Page 55]
3080    
3081  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3082    
3083    
3084  6.4.18.  Setting MIDI input type  6.4.18.  Setting MIDI input type
# Line 3132  Internet-Draft        LinuxSampler Contr Line 3132  Internet-Draft        LinuxSampler Contr
3132    
3133    
3134    
3135  Schoenebeck               Expires July 2, 2007                 [Page 56]  Schoenebeck               Expires July 18, 2007                [Page 56]
3136    
3137  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3138    
3139    
3140           on success           on success
# Line 3188  Internet-Draft        LinuxSampler Contr Line 3188  Internet-Draft        LinuxSampler Contr
3188    
3189    
3190    
3191  Schoenebeck               Expires July 2, 2007                 [Page 57]  Schoenebeck               Expires July 18, 2007                [Page 57]
3192    
3193  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3194    
3195    
3196    
# Line 3244  Internet-Draft        LinuxSampler Contr Line 3244  Internet-Draft        LinuxSampler Contr
3244    
3245    
3246    
3247  Schoenebeck               Expires July 2, 2007                 [Page 58]  Schoenebeck               Expires July 18, 2007                [Page 58]
3248    
3249  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3250    
3251    
3252        "OK" -        "OK" -
# Line 3300  Internet-Draft        LinuxSampler Contr Line 3300  Internet-Draft        LinuxSampler Contr
3300    
3301    
3302    
3303  Schoenebeck               Expires July 2, 2007                 [Page 59]  Schoenebeck               Expires July 18, 2007                [Page 59]
3304    
3305  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3306    
3307    
3308     Examples:     Examples:
# Line 3356  Internet-Draft        LinuxSampler Contr Line 3356  Internet-Draft        LinuxSampler Contr
3356    
3357    
3358    
3359  Schoenebeck               Expires July 2, 2007                 [Page 60]  Schoenebeck               Expires July 18, 2007                [Page 60]
3360    
3361  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3362    
3363    
3364     Examples:     Examples:
# Line 3412  Internet-Draft        LinuxSampler Contr Line 3412  Internet-Draft        LinuxSampler Contr
3412    
3413    
3414    
3415  Schoenebeck               Expires July 2, 2007                 [Page 61]  Schoenebeck               Expires July 18, 2007                [Page 61]
3416    
3417  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3418    
3419    
3420        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 3468  Internet-Draft        LinuxSampler Contr Line 3468  Internet-Draft        LinuxSampler Contr
3468    
3469    
3470    
3471  Schoenebeck               Expires July 2, 2007                 [Page 62]  Schoenebeck               Expires July 18, 2007                [Page 62]
3472    
3473  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3474    
3475    
3476  6.4.27.  Getting amount of effect sends on a sampler channel  6.4.27.  Getting amount of effect sends on a sampler channel
# Line 3524  Internet-Draft        LinuxSampler Contr Line 3524  Internet-Draft        LinuxSampler Contr
3524    
3525    
3526    
3527  Schoenebeck               Expires July 2, 2007                 [Page 63]  Schoenebeck               Expires July 18, 2007                [Page 63]
3528    
3529  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3530    
3531    
3532  6.4.29.  Getting effect send information  6.4.29.  Getting effect send information
# Line 3556  Internet-Draft        LinuxSampler Contr Line 3556  Internet-Draft        LinuxSampler Contr
3556    
3557              name of the effect send entity              name of the effect send entity
3558    
3559             MIDI_CONTROLLER -
3560    
3561                a value between 0 and 127 reflecting the MIDI controller
3562                which is able to modify the effect send's send level
3563    
3564             LEVEL -
3565    
3566                optionally dotted number reflecting the effect send's
3567                current send level (where a value < 1.0 means attenuation
3568                and a value > 1.0 means amplification)
3569    
3570           AUDIO_OUTPUT_ROUTING -           AUDIO_OUTPUT_ROUTING -
3571    
3572              comma separated list which reflects to which audio channel              comma separated list which reflects to which audio channel
# Line 3566  Internet-Draft        LinuxSampler Contr Line 3577  Internet-Draft        LinuxSampler Contr
3577              routed to the channel 3 of the audio output device (see "SET              routed to the channel 3 of the audio output device (see "SET
3578              FX_SEND AUDIO_OUTPUT_CHANNEL" (Section 6.4.30) for details)              FX_SEND AUDIO_OUTPUT_CHANNEL" (Section 6.4.30) for details)
3579    
    The mentioned fields above don't have to be in particular order.  
3580    
    Example:  
3581    
       C: "GET FX_SEND INFO 0 0"  
3582    
3583        S: "NAME: Reverb Send"  Schoenebeck               Expires July 18, 2007                [Page 64]
3584    
3585    Internet-Draft        LinuxSampler Control Protocol         January 2007
3586    
          "AUDIO_OUTPUT_ROUTING: 2,3"  
3587    
3588       The mentioned fields above don't have to be in particular order.
3589    
3590       Example:
3591    
3592          C: "GET FX_SEND INFO 0 0"
3593    
3594          S: "NAME: Reverb Send"
3595    
3596             "MIDI_CONTROLLER: 91"
3597    
3598  Schoenebeck               Expires July 2, 2007                 [Page 64]           "LEVEL: 0.3"
   
 Internet-Draft        LinuxSampler Control Protocol        December 2006  
3599    
3600             "AUDIO_OUTPUT_ROUTING: 2,3"
3601    
3602           "."           "."
3603    
# Line 3619  Internet-Draft        LinuxSampler Contr Line 3633  Internet-Draft        LinuxSampler Contr
3633    
3634     Possible Answers:     Possible Answers:
3635    
3636    
3637    
3638    
3639    Schoenebeck               Expires July 18, 2007                [Page 65]
3640    
3641    Internet-Draft        LinuxSampler Control Protocol         January 2007
3642    
3643    
3644        "OK" -        "OK" -
3645    
3646           on success           on success
# Line 3634  Internet-Draft        LinuxSampler Contr Line 3656  Internet-Draft        LinuxSampler Contr
3656           in case it failed, providing an appropriate error code and           in case it failed, providing an appropriate error code and
3657           error message           error message
3658    
3659       Example:
3660    
3661          C: "SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2"
3662    
3663          S: "OK"
3664    
3665    6.4.31.  Altering effect send's MIDI controller
3666    
3667       The front-end can alter the MIDI controller of an effect send entity
3668       by sending the following command:
3669    
3670          SET FX_SEND MIDI_CONTROLLER <sampler-chan> <fx-send-id> <midi-
3671          ctrl>
3672    
3673       Where <sampler-chan> is the sampler channel number as returned by the
3674       "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)
3675       command, <fx-send-id> reflects the numerical ID of the effect send
3676       entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST
3677       FX_SENDS" (Section 6.4.28) command and <midi-ctrl> reflects the MIDI
3678       controller which shall be able to modify the effect send's send
3679       level.
3680    
3681       Possible Answers:
3682    
3683          "OK" -
3684    
3685             on success
3686    
3687          "WRN:<warning-code>:<warning-message>" -
3688    
3689             if MIDI controller was set, but there are noteworthy issue(s)
3690             related, providing an appropriate warning code and warning
3691             message
3692    
3693    
3694  Schoenebeck               Expires July 2, 2007                 [Page 65]  
3695    Schoenebeck               Expires July 18, 2007                [Page 66]
3696    
3697  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3698    
3699    
3700          "ERR:<error-code>:<error-message>" -
3701    
3702             in case it failed, providing an appropriate error code and
3703             error message
3704    
3705     Example:     Example:
3706    
3707        C: "SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2"        C: "SET FX_SEND MIDI_CONTROLLER 0 0 91"
3708    
3709        S: "OK"        S: "OK"
3710    
3711  6.4.31.  Resetting a sampler channel  6.4.32.  Altering effect send's send level
3712    
3713       The front-end can alter the current send level of an effect send
3714       entity by sending the following command:
3715    
3716          SET FX_SEND LEVEL <sampler-chan> <fx-send-id> <volume>
3717    
3718       Where <sampler-chan> is the sampler channel number as returned by the
3719       "ADD CHANNEL" (Section 6.4.5) or "LIST CHANNELS" (Section 6.4.4)
3720       command, <fx-send-id> reflects the numerical ID of the effect send
3721       entity as returned by the "CREATE FX_SEND" (Section 6.4.25) or "LIST
3722       FX_SENDS" (Section 6.4.28) command and <volume> is an optionally
3723       dotted positive number (a value smaller than 1.0 means attenuation,
3724       whereas a value greater than 1.0 means amplification) reflecting the
3725       new send level.
3726    
3727       Possible Answers:
3728    
3729          "OK" -
3730    
3731             on success
3732    
3733          "WRN:<warning-code>:<warning-message>" -
3734    
3735             if new send level was set, but there are noteworthy issue(s)
3736             related, providing an appropriate warning code and warning
3737             message
3738    
3739          "ERR:<error-code>:<error-message>" -
3740    
3741             in case it failed, providing an appropriate error code and
3742             error message
3743    
3744       Example:
3745    
3746    
3747    
3748    
3749    
3750    
3751    Schoenebeck               Expires July 18, 2007                [Page 67]
3752    
3753    Internet-Draft        LinuxSampler Control Protocol         January 2007
3754    
3755    
3756          C: "SET FX_SEND LEVEL 0 0 0.15"
3757    
3758          S: "OK"
3759    
3760    6.4.33.  Resetting a sampler channel
3761    
3762     The front-end can reset a particular sampler channel by sending the     The front-end can reset a particular sampler channel by sending the
3763     following command:     following command:
# Line 3692  Internet-Draft        LinuxSampler Contr Line 3802  Internet-Draft        LinuxSampler Contr
3802    
3803    
3804    
3805  Schoenebeck               Expires July 2, 2007                 [Page 66]  
3806    
3807    Schoenebeck               Expires July 18, 2007                [Page 68]
3808    
3809  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3810    
3811    
3812        SUBSCRIBE <event-id>        SUBSCRIBE <event-id>
# Line 3748  Internet-Draft        LinuxSampler Contr Line 3860  Internet-Draft        LinuxSampler Contr
3860    
3861    
3862    
3863  Schoenebeck               Expires July 2, 2007                 [Page 67]  Schoenebeck               Expires July 18, 2007                [Page 69]
3864    
3865  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3866    
3867    
3868        "ERR:<error-code>:<error-message>" -        "ERR:<error-code>:<error-message>" -
# Line 3804  Internet-Draft        LinuxSampler Contr Line 3916  Internet-Draft        LinuxSampler Contr
3916    
3917    
3918    
3919  Schoenebeck               Expires July 2, 2007                 [Page 68]  Schoenebeck               Expires July 18, 2007                [Page 70]
3920    
3921  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3922    
3923    
3924  6.6.  Global commands  6.6.  Global commands
# Line 3860  Internet-Draft        LinuxSampler Contr Line 3972  Internet-Draft        LinuxSampler Contr
3972    
3973    
3974    
3975  Schoenebeck               Expires July 2, 2007                 [Page 69]  Schoenebeck               Expires July 18, 2007                [Page 71]
3976    
3977  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
3978    
3979    
3980  6.6.4.  General sampler informations  6.6.4.  General sampler informations
# Line 3916  Internet-Draft        LinuxSampler Contr Line 4028  Internet-Draft        LinuxSampler Contr
4028    
4029    
4030    
4031  Schoenebeck               Expires July 2, 2007                 [Page 70]  Schoenebeck               Expires July 18, 2007                [Page 72]
4032    
4033  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4034    
4035    
4036     this parameter.     this parameter.
# Line 3972  Internet-Draft        LinuxSampler Contr Line 4084  Internet-Draft        LinuxSampler Contr
4084    
4085    
4086    
4087  Schoenebeck               Expires July 2, 2007                 [Page 71]  Schoenebeck               Expires July 18, 2007                [Page 73]
4088    
4089  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4090    
4091    
4092     program change message on the respective sampler channel, that is by     program change message on the respective sampler channel, that is by
# Line 4028  Internet-Draft        LinuxSampler Contr Line 4140  Internet-Draft        LinuxSampler Contr
4140    
4141    
4142    
4143  Schoenebeck               Expires July 2, 2007                 [Page 72]  Schoenebeck               Expires July 18, 2007                [Page 74]
4144    
4145  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4146    
4147    
4148        S: "OK[5]"        S: "OK[5]"
# Line 4084  Internet-Draft        LinuxSampler Contr Line 4196  Internet-Draft        LinuxSampler Contr
4196    
4197    
4198    
4199  Schoenebeck               Expires July 2, 2007                 [Page 73]  Schoenebeck               Expires July 18, 2007                [Page 75]
4200    
4201  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4202    
4203    
4204        The sampler will answer by returning the current number of MIDI        The sampler will answer by returning the current number of MIDI
# Line 4140  Internet-Draft        LinuxSampler Contr Line 4252  Internet-Draft        LinuxSampler Contr
4252    
4253    
4254    
4255  Schoenebeck               Expires July 2, 2007                 [Page 74]  Schoenebeck               Expires July 18, 2007                [Page 76]
4256    
4257  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4258    
4259    
4260    
# Line 4196  Internet-Draft        LinuxSampler Contr Line 4308  Internet-Draft        LinuxSampler Contr
4308    
4309    
4310    
4311  Schoenebeck               Expires July 2, 2007                 [Page 75]  Schoenebeck               Expires July 18, 2007                [Page 77]
4312    
4313  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4314    
4315    
4316        MAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog> <engine_name>        MAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog> <engine_name>
# Line 4252  Internet-Draft        LinuxSampler Contr Line 4364  Internet-Draft        LinuxSampler Contr
4364    
4365    
4366    
4367  Schoenebeck               Expires July 2, 2007                 [Page 76]  Schoenebeck               Expires July 18, 2007                [Page 78]
4368    
4369  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4370    
4371    
4372        not supplied -        not supplied -
# Line 4308  Internet-Draft        LinuxSampler Contr Line 4420  Internet-Draft        LinuxSampler Contr
4420    
4421    
4422    
4423  Schoenebeck               Expires July 2, 2007                 [Page 77]  Schoenebeck               Expires July 18, 2007                [Page 79]
4424    
4425  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4426    
4427    
4428        C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0        C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0
# Line 4364  Internet-Draft        LinuxSampler Contr Line 4476  Internet-Draft        LinuxSampler Contr
4476    
4477    
4478    
4479  Schoenebeck               Expires July 2, 2007                 [Page 78]  Schoenebeck               Expires July 18, 2007                [Page 80]
4480    
4481  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4482    
4483    
4484        C: "GET MIDI_INSTRUMENTS ALL"        C: "GET MIDI_INSTRUMENTS ALL"
# Line 4420  Internet-Draft        LinuxSampler Contr Line 4532  Internet-Draft        LinuxSampler Contr
4532    
4533    
4534    
4535  Schoenebeck               Expires July 2, 2007                 [Page 79]  Schoenebeck               Expires July 18, 2007                [Page 81]
4536    
4537  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4538    
4539    
4540        "OK" -        "OK" -
# Line 4476  Internet-Draft        LinuxSampler Contr Line 4588  Internet-Draft        LinuxSampler Contr
4588    
4589    
4590    
4591  Schoenebeck               Expires July 2, 2007                 [Page 80]  Schoenebeck               Expires July 18, 2007                [Page 82]
4592    
4593  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4594    
4595    
4596        "INSTRUMENT_FILE" -        "INSTRUMENT_FILE" -
# Line 4532  Internet-Draft        LinuxSampler Contr Line 4644  Internet-Draft        LinuxSampler Contr
4644    
4645    
4646    
4647  Schoenebeck               Expires July 2, 2007                 [Page 81]  Schoenebeck               Expires July 18, 2007                [Page 83]
4648    
4649  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4650    
4651    
4652  6.7.12.  Clear MIDI instrument map  6.7.12.  Clear MIDI instrument map
# Line 4588  Internet-Draft        LinuxSampler Contr Line 4700  Internet-Draft        LinuxSampler Contr
4700    
4701    
4702    
4703  Schoenebeck               Expires July 2, 2007                 [Page 82]  Schoenebeck               Expires July 18, 2007                [Page 84]
4704    
4705  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4706    
4707    
4708  7.  Command Syntax  7.  Command Syntax
# Line 4644  Internet-Draft        LinuxSampler Contr Line 4756  Internet-Draft        LinuxSampler Contr
4756    
4757    
4758    
4759  Schoenebeck               Expires July 2, 2007                 [Page 83]  Schoenebeck               Expires July 18, 2007                [Page 85]
4760    
4761  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4762    
4763    
4764        / LIST SP list_instruction        / LIST SP list_instruction
# Line 4700  Internet-Draft        LinuxSampler Contr Line 4812  Internet-Draft        LinuxSampler Contr
4812    
4813    
4814    
4815  Schoenebeck               Expires July 2, 2007                 [Page 84]  Schoenebeck               Expires July 18, 2007                [Page 86]
4816    
4817  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4818    
4819    
4820        / CHANNEL_INFO        / CHANNEL_INFO
# Line 4756  Internet-Draft        LinuxSampler Contr Line 4868  Internet-Draft        LinuxSampler Contr
4868    
4869    
4870    
4871  Schoenebeck               Expires July 2, 2007                 [Page 85]  Schoenebeck               Expires July 18, 2007                [Page 87]
4872    
4873  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4874    
4875    
4876        MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP        MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP
# Line 4812  Internet-Draft        LinuxSampler Contr Line 4924  Internet-Draft        LinuxSampler Contr
4924    
4925    
4926    
4927  Schoenebeck               Expires July 2, 2007                 [Page 86]  Schoenebeck               Expires July 18, 2007                [Page 88]
4928    
4929  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4930    
4931    
4932        / AUDIO_OUTPUT_DEVICES        / AUDIO_OUTPUT_DEVICES
# Line 4868  Internet-Draft        LinuxSampler Contr Line 4980  Internet-Draft        LinuxSampler Contr
4980    
4981    
4982    
4983  Schoenebeck               Expires July 2, 2007                 [Page 87]  Schoenebeck               Expires July 18, 2007                [Page 89]
4984    
4985  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
4986    
4987    
4988        / FX_SEND SP INFO SP sampler_channel SP fx_send_id        / FX_SEND SP INFO SP sampler_channel SP fx_send_id
# Line 4898  Internet-Draft        LinuxSampler Contr Line 5010  Internet-Draft        LinuxSampler Contr
5010        / FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id        / FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id
5011        SP audio_channel_index SP audio_channel_index        SP audio_channel_index SP audio_channel_index
5012    
5013          / FX_SEND SP MIDI_CONTROLLER SP sampler_channel SP fx_send_id SP
5014          midi_ctrl
5015    
5016          / FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP
5017          volume_value
5018    
5019        / ECHO SP boolean        / ECHO SP boolean
5020    
5021        / VOLUME SP volume_value        / VOLUME SP volume_value
# Line 4914  Internet-Draft        LinuxSampler Contr Line 5032  Internet-Draft        LinuxSampler Contr
5032    
5033        / FX_SEND SP sampler_channel SP midi_ctrl        / FX_SEND SP sampler_channel SP midi_ctrl
5034    
       / FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name  
5035    
    reset_instruction =  
5036    
       CHANNEL SP sampler_channel  
5037    
    clear_instruction =  
5038    
5039    Schoenebeck               Expires July 18, 2007                [Page 90]
5040    
5041    Internet-Draft        LinuxSampler Control Protocol         January 2007
5042    
5043    
5044  Schoenebeck               Expires July 2, 2007                 [Page 88]        / FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name
5045    
5046  Internet-Draft        LinuxSampler Control Protocol        December 2006     reset_instruction =
5047    
5048          CHANNEL SP sampler_channel
5049    
5050       clear_instruction =
5051    
5052        MIDI_INSTRUMENTS SP midi_map        MIDI_INSTRUMENTS SP midi_map
5053    
# Line 4968  Internet-Draft        LinuxSampler Contr Line 5088  Internet-Draft        LinuxSampler Contr
5088    
5089        / MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type_name        / MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type_name
5090    
       / VOLUME SP sampler_channel SP volume_value  
5091    
       / MUTE SP sampler_channel SP boolean  
5092    
       / SOLO SP sampler_channel SP boolean  
5093    
       / MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map  
5094    
5095    Schoenebeck               Expires July 18, 2007                [Page 91]
5096    
5097    Internet-Draft        LinuxSampler Control Protocol         January 2007
5098    
5099    
5100          / VOLUME SP sampler_channel SP volume_value
5101    
5102          / MUTE SP sampler_channel SP boolean
5103    
5104  Schoenebeck               Expires July 2, 2007                 [Page 89]        / SOLO SP sampler_channel SP boolean
   
 Internet-Draft        LinuxSampler Control Protocol        December 2006  
5105    
5106          / MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map
5107    
5108        / MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE        / MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE
5109    
# Line 5025  Internet-Draft        LinuxSampler Contr Line 5145  Internet-Draft        LinuxSampler Contr
5145    
5146     load_instr_args =     load_instr_args =
5147    
       filename SP instrument_index SP sampler_channel  
5148    
       / NON_MODAL SP filename SP instrument_index SP sampler_channel  
5149    
    load_engine_args =  
5150    
5151        engine_name SP sampler_channel  Schoenebeck               Expires July 18, 2007                [Page 92]
5152    
5153    Internet-Draft        LinuxSampler Control Protocol         January 2007
5154    
5155    
5156          filename SP instrument_index SP sampler_channel
5157    
5158          / NON_MODAL SP filename SP instrument_index SP sampler_channel
5159    
5160  Schoenebeck               Expires July 2, 2007                 [Page 90]     load_engine_args =
   
 Internet-Draft        LinuxSampler Control Protocol        December 2006  
5161    
5162          engine_name SP sampler_channel
5163    
5164     instr_load_mode =     instr_load_mode =
5165    
# Line 5081  Internet-Draft        LinuxSampler Contr Line 5201  Internet-Draft        LinuxSampler Contr
5201    
5202     midi_bank =     midi_bank =
5203    
       number  
5204    
    midi_prog =  
5205    
       number  
5206    
5207     midi_ctrl =  Schoenebeck               Expires July 18, 2007                [Page 93]
5208    
5209    Internet-Draft        LinuxSampler Control Protocol         January 2007
5210    
5211    
5212          number
5213    
5214       midi_prog =
5215    
5216  Schoenebeck               Expires July 2, 2007                 [Page 91]        number
   
 Internet-Draft        LinuxSampler Control Protocol        December 2006  
5217    
5218       midi_ctrl =
5219    
5220        number        number
5221    
# Line 5137  Internet-Draft        LinuxSampler Contr Line 5257  Internet-Draft        LinuxSampler Contr
5257    
5258        stringval        stringval
5259    
    param_val_list =  
5260    
       param_val  
5261    
       / param_val_list','param_val  
5262    
5263     param_val =  Schoenebeck               Expires July 18, 2007                [Page 94]
5264    
5265    Internet-Draft        LinuxSampler Control Protocol         January 2007
5266    
5267    
5268       param_val_list =
5269    
5270          param_val
5271    
5272  Schoenebeck               Expires July 2, 2007                 [Page 92]        / param_val_list','param_val
   
 Internet-Draft        LinuxSampler Control Protocol        December 2006  
5273    
5274       param_val =
5275    
5276        string        string
5277    
# Line 5196  Internet-Draft        LinuxSampler Contr Line 5316  Internet-Draft        LinuxSampler Contr
5316    
5317    
5318    
5319    Schoenebeck               Expires July 18, 2007                [Page 95]
   
   
   
   
   
   
   
 Schoenebeck               Expires July 2, 2007                 [Page 93]  
5320    
5321  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5322    
5323    
5324  8.  Events  8.  Events
# Line 5260  Internet-Draft        LinuxSampler Contr Line 5372  Internet-Draft        LinuxSampler Contr
5372    
5373    
5374    
5375  Schoenebeck               Expires July 2, 2007                 [Page 94]  Schoenebeck               Expires July 18, 2007                [Page 96]
5376    
5377  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5378    
5379    
5380        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"        "NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>"
# Line 5316  Internet-Draft        LinuxSampler Contr Line 5428  Internet-Draft        LinuxSampler Contr
5428    
5429    
5430    
5431  Schoenebeck               Expires July 2, 2007                 [Page 95]  Schoenebeck               Expires July 18, 2007                [Page 97]
5432    
5433  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5434    
5435    
5436        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>        "NOTIFY:VOICE_COUNT:<sampler-channel> <voices>
# Line 5372  Internet-Draft        LinuxSampler Contr Line 5484  Internet-Draft        LinuxSampler Contr
5484    
5485    
5486    
5487  Schoenebeck               Expires July 2, 2007                 [Page 96]  Schoenebeck               Expires July 18, 2007                [Page 98]
5488    
5489  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5490    
5491    
5492        "NOTIFY:CHANNEL_INFO:<sampler-channel>"        "NOTIFY:CHANNEL_INFO:<sampler-channel>"
# Line 5428  Internet-Draft        LinuxSampler Contr Line 5540  Internet-Draft        LinuxSampler Contr
5540    
5541    
5542    
5543  Schoenebeck               Expires July 2, 2007                 [Page 97]  Schoenebeck               Expires July 18, 2007                [Page 99]
5544    
5545  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5546    
5547    
5548        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"        "NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>"
# Line 5484  Internet-Draft        LinuxSampler Contr Line 5596  Internet-Draft        LinuxSampler Contr
5596    
5597    
5598    
5599  Schoenebeck               Expires July 2, 2007                 [Page 98]  Schoenebeck               Expires July 18, 2007               [Page 100]
5600    
5601  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5602    
5603    
5604  8.15.  Miscellaneous and debugging events  8.15.  Miscellaneous and debugging events
# Line 5540  Internet-Draft        LinuxSampler Contr Line 5652  Internet-Draft        LinuxSampler Contr
5652    
5653    
5654    
5655  Schoenebeck               Expires July 2, 2007                 [Page 99]  Schoenebeck               Expires July 18, 2007               [Page 101]
5656    
5657  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5658    
5659    
5660  9.  Security Considerations  9.  Security Considerations
# Line 5596  Internet-Draft        LinuxSampler Contr Line 5708  Internet-Draft        LinuxSampler Contr
5708    
5709    
5710    
5711  Schoenebeck               Expires July 2, 2007                [Page 100]  Schoenebeck               Expires July 18, 2007               [Page 102]
5712    
5713  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5714    
5715    
5716  10.  Acknowledgments  10.  Acknowledgments
# Line 5652  Internet-Draft        LinuxSampler Contr Line 5764  Internet-Draft        LinuxSampler Contr
5764    
5765    
5766    
5767  Schoenebeck               Expires July 2, 2007                [Page 101]  Schoenebeck               Expires July 18, 2007               [Page 103]
5768    
5769  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5770    
5771    
5772  11.  References  11.  References
# Line 5708  Internet-Draft        LinuxSampler Contr Line 5820  Internet-Draft        LinuxSampler Contr
5820    
5821    
5822    
5823  Schoenebeck               Expires July 2, 2007                [Page 102]  Schoenebeck               Expires July 18, 2007               [Page 104]
5824    
5825  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5826    
5827    
5828  Author's Address  Author's Address
# Line 5764  Author's Address Line 5876  Author's Address
5876    
5877    
5878    
5879  Schoenebeck               Expires July 2, 2007                [Page 103]  Schoenebeck               Expires July 18, 2007               [Page 105]
5880    
5881  Internet-Draft        LinuxSampler Control Protocol        December 2006  Internet-Draft        LinuxSampler Control Protocol         January 2007
5882    
5883    
5884  Full Copyright Statement  Full Copyright Statement
5885    
5886     Copyright (C) The Internet Society (2006).     Copyright (C) The Internet Society (2007).
5887    
5888     This document is subject to the rights, licenses and restrictions     This document is subject to the rights, licenses and restrictions
5889     contained in BCP 78, and except as set forth therein, the authors     contained in BCP 78, and except as set forth therein, the authors
# Line 5820  Acknowledgment Line 5932  Acknowledgment
5932    
5933    
5934    
5935  Schoenebeck               Expires July 2, 2007                [Page 104]  Schoenebeck               Expires July 18, 2007               [Page 106]
5936    

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

  ViewVC Help
Powered by ViewVC