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

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

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

revision 575 by schoenebeck, Tue May 24 03:26:22 2005 UTC revision 940 by schoenebeck, Sat Nov 25 17:18:12 2006 UTC
# Line 3  Line 3 
3  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4  <meta name="description" content="LinuxSampler Control Protocol">  <meta name="description" content="LinuxSampler Control Protocol">
5  <meta name="keywords" content="LSCP">  <meta name="keywords" content="LSCP">
6  <meta name="generator" content="xml2rfc v1.25 (http://xml.resource.org/)">  <meta name="generator" content="xml2rfc v1.30 (http://xml.resource.org/)">
7  <style type='text/css'>  <style type='text/css'>
8  <!--  <!--
9      body {      body {
# Line 18  Line 18 
18          font-weight: bold; text-align: right;          font-weight: bold; text-align: right;
19          font-family: helvetica, arial, sans-serif;          font-family: helvetica, arial, sans-serif;
20          background-color: transparent; }          background-color: transparent; }
21      td.rfcbug { background-color: #000000 ; width: 30px ; height: 30px ;      td.rfcbug { background-color: #000000 ; width: 30px ; height: 30px ;
22          text-align: justify; vertical-align: middle ; padding-top: 2px ; }          text-align: justify; vertical-align: middle ; padding-top: 2px ; }
23      td.rfcbug span.RFC { color: #666666; font-weight: bold; text-decoration: none;      td.rfcbug span.RFC { color: #666666; font-weight: bold; text-decoration: none;
24          background-color: #000000 ;          background-color: #000000 ;
# Line 28  Line 28 
28          text-align: center ;          text-align: center ;
29          font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;          font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
30          font-size: x-small ; background-color: #000000; }          font-size: x-small ; background-color: #000000; }
31  /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */      /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
32      div#counter{margin-top: 100px}      div#counter{margin-top: 100px}
33    
34      a.info{      a.info{
# Line 40  Line 40 
40    
41      a.info span{display: none}      a.info span{display: none}
42    
43      a.info:hover span{ /*the span will display just on :hover state*/      a.info:hover span.info{ /*the span will display just on :hover state*/
44          display:block;          display:block;
45          position:absolute;          position:absolute;
46          font-size: smaller ;          font-size: smaller ;
# Line 58  Line 58 
58      p { margin-left: 2em; margin-right: 2em; }      p { margin-left: 2em; margin-right: 2em; }
59      p.copyright { font-size: x-small ; }      p.copyright { font-size: x-small ; }
60      p.toc { font-size: small ; font-weight: bold ; margin-left: 3em ;}      p.toc { font-size: small ; font-weight: bold ; margin-left: 3em ;}
61        table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }
62        td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }
63    
64      span.emph { font-style: italic; }      span.emph { font-style: italic; }
65      span.strong { font-weight: bold; }      span.strong { font-weight: bold; }
66      span.verb { font-family: "Courier New", Courier, monospace ; }      span.verb, span.vbare { font-family: "Courier New", Courier, monospace ; }
67    
68        span.vemph { font-style: italic; font-family: "Courier New", Courier, monospace ; }
69        span.vstrong { font-weight: bold; font-family: "Courier New", Courier, monospace ; }
70        span.vdeluxe { font-weight: bold; font-style: italic; font-family: "Courier New", Courier, monospace ; }
71    
72      ol.text { margin-left: 2em; margin-right: 2em; }      ol.text { margin-left: 2em; margin-right: 2em; }
73      ul.text { margin-left: 2em; margin-right: 2em; }      ul.text { margin-left: 2em; margin-right: 2em; }
# Line 69  Line 75 
75    
76      pre { margin-left: 3em; color: #333333;  background-color: transparent;      pre { margin-left: 3em; color: #333333;  background-color: transparent;
77          font-family: "Courier New", Courier, monospace ; font-size: small ;          font-family: "Courier New", Courier, monospace ; font-size: small ;
78            text-align: left;
79          }          }
80    
81      h3 { color: #333333; font-size: medium ;      h3 { color: #333333; font-size: medium ;
# Line 90  Line 97 
97          background-color: #666666 ; width: 33% ; }          background-color: #666666 ; width: 33% ; }
98      td.author { font-weight: bold; margin-left: 4em; font-size: x-small ; }      td.author { font-weight: bold; margin-left: 4em; font-size: x-small ; }
99      td.author-text { font-size: x-small; }      td.author-text { font-size: x-small; }
100      table.data { vertical-align: top ; border-collapse: collapse ;      table.full { vertical-align: top ; border-collapse: collapse ;
101          border-style: solid solid solid solid ;          border-style: solid solid solid solid ;
102          border-color: black black black black ;          border-color: black black black black ;
103          font-size: small ; text-align: center ; }          font-size: small ; text-align: center ; }
104      table.data th { font-weight: bold ;      table.headers, table.none { vertical-align: top ; border-collapse: collapse ;
105          border-style: solid solid solid solid ;          border-style: none;
106            font-size: small ; text-align: center ; }
107        table.full th { font-weight: bold ;
108            border-style: solid ;
109          border-color: black black black black ; }          border-color: black black black black ; }
110      table.data td {      table.headers th { font-weight: bold ;
111            border-style: none none solid none;
112            border-color: black black black black ; }
113        table.none th { font-weight: bold ;
114            border-style: none; }
115        table.full td {
116          border-style: solid solid solid solid ;          border-style: solid solid solid solid ;
117          border-color: #333333 #333333 #333333 #333333 ; }          border-color: #333333 #333333 #333333 #333333 ; }
118        table.headers td, table.none td { border-style: none; }
119    
120      hr { height: 1px }      hr { height: 1px }
121  -->  -->
# Line 110  Line 126 
126  <table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">  <table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">
127  <tr><td class="header">LinuxSampler Developers</td><td class="header">C. Schoenebeck</td></tr>  <tr><td class="header">LinuxSampler Developers</td><td class="header">C. Schoenebeck</td></tr>
128  <tr><td class="header">Internet-Draft</td><td class="header">Interessengemeinschaft Software</td></tr>  <tr><td class="header">Internet-Draft</td><td class="header">Interessengemeinschaft Software</td></tr>
129  <tr><td class="header">Expires: November 22, 2005</td><td class="header">Engineering e. V.</td></tr>  <tr><td class="header">Expires: May 29, 2007</td><td class="header">Engineering e. V.</td></tr>
130  <tr><td class="header">&nbsp;</td><td class="header">May 24, 2005</td></tr>  <tr><td class="header">&nbsp;</td><td class="header">November 25, 2006</td></tr>
131  </table></td></tr></table>  </table></td></tr></table>
132  <div align="right"><span class="title"><br />LinuxSampler Control Protocol</span></div>  <div align="right"><span class="title"><br />LinuxSampler Control Protocol</span></div>
133  <div align="right"><span class="title"><br />LSCP 1.0</span></div>  <div align="right"><span class="title"><br />LSCP 1.1</span></div>
134    
135  <h3>Status of this Memo</h3>  <h3>Status of this Memo</h3>
136  <p>  <p>
137  This document is an Internet-Draft and is  This document is an Internet-Draft and is
138  in full conformance with all provisions of Section 10 of RFC2026.</p>  in full conformance with all provisions of Section&nbsp;10 of RFC&nbsp;2026.</p>
139  <p>  <p>
140  Internet-Drafts are working documents of the Internet Engineering  Internet-Drafts are working documents of the Internet Engineering
141  Task Force (IETF), its areas, and its working groups.  Task Force (IETF), its areas, and its working groups.
# Line 129  Internet-Drafts.</p> Line 145  Internet-Drafts.</p>
145  Internet-Drafts are draft documents valid for a maximum of six months  Internet-Drafts are draft documents valid for a maximum of six months
146  and may be updated, replaced, or obsoleted by other documents at any time.  and may be updated, replaced, or obsoleted by other documents at any time.
147  It is inappropriate to use Internet-Drafts as reference material or to cite  It is inappropriate to use Internet-Drafts as reference material or to cite
148  them other than as "work in progress."</p>  them other than as &ldquo;work in progress.&rdquo;</p>
149  <p>  <p>
150  The list of current Internet-Drafts can be accessed at  The list of current Internet-Drafts can be accessed at
151  <a href='http://www.ietf.org/ietf/1id-abstracts.txt'>http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>  <a href='http://www.ietf.org/ietf/1id-abstracts.txt'>http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
# Line 137  The list of current Internet-Drafts can Line 153  The list of current Internet-Drafts can
153  The list of Internet-Draft Shadow Directories can be accessed at  The list of Internet-Draft Shadow Directories can be accessed at
154  <a href='http://www.ietf.org/shadow.html'>http://www.ietf.org/shadow.html</a>.</p>  <a href='http://www.ietf.org/shadow.html'>http://www.ietf.org/shadow.html</a>.</p>
155  <p>  <p>
156  This Internet-Draft will expire on November 22, 2005.</p>  This Internet-Draft will expire on May 29, 2007.</p>
157    
158  <h3>Copyright Notice</h3>  <h3>Copyright Notice</h3>
159  <p>  <p>
160  Copyright (C) The Internet Society (2005). All Rights Reserved.</p>  Copyright &copy; The Internet Society (2006). All Rights Reserved.</p>
161    
162  <h3>Abstract</h3>  <h3>Abstract</h3>
163    
# Line 164  Introduction<br /> Line 180  Introduction<br />
180  Focus of this protocol<br />  Focus of this protocol<br />
181  <a href="#anchor4">5.</a>&nbsp;  <a href="#anchor4">5.</a>&nbsp;
182  Communication Overview<br />  Communication Overview<br />
183  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor5">5.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor5">5.1.</a>&nbsp;
184  Request/response communication method<br />  Request/response communication method<br />
185  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor6">5.1.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor6">5.1.1.</a>&nbsp;
186  Result format<br />  Result format<br />
187  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor7">5.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor7">5.2.</a>&nbsp;
188  Subscribe/notify communication method<br />  Subscribe/notify communication method<br />
189  <a href="#control_commands">6.</a>&nbsp;  <a href="#control_commands">6.</a>&nbsp;
190  Description for control commands<br />  Description for control commands<br />
191  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor8">6.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor8">6.1.</a>&nbsp;
192  Ignored lines and comments<br />  Ignored lines and comments<br />
193  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor9">6.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor9">6.2.</a>&nbsp;
194  Configuring audio drivers<br />  Configuring audio drivers<br />
195  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.1.</a>&nbsp;
196  Getting amount of available audio output drivers<br />  Getting amount of available audio output drivers<br />
197  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.2.</a>&nbsp;
198  Getting all available audio output drivers<br />  Getting all available audio output drivers<br />
199  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DRIVER INFO">6.2.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DRIVER INFO">6.2.3.</a>&nbsp;
200  Getting information about a specific audio  Getting information about a specific audio
201                  output driver<br />                  output driver<br />
202  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO">6.2.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO">6.2.4.</a>&nbsp;
203  Getting information about specific audio  Getting information about specific audio
204                  output driver parameter<br />                  output driver parameter<br />
205  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CREATE AUDIO_OUTPUT_DEVICE">6.2.5</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CREATE AUDIO_OUTPUT_DEVICE">6.2.5.</a>&nbsp;
206  Creating an audio output device<br />  Creating an audio output device<br />
207  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#DESTROY AUDIO_OUTPUT_DEVICE">6.2.6</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#DESTROY AUDIO_OUTPUT_DEVICE">6.2.6.</a>&nbsp;
208  Destroying an audio output device<br />  Destroying an audio output device<br />
209  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DEVICES">6.2.7</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DEVICES">6.2.7.</a>&nbsp;
210  Getting all created audio output device count<br />  Getting all created audio output device count<br />
211  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AUDIO_OUTPUT_DEVICES">6.2.8</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AUDIO_OUTPUT_DEVICES">6.2.8.</a>&nbsp;
212  Getting all created audio output device list<br />  Getting all created audio output device list<br />
213  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DEVICE INFO">6.2.9</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_DEVICE INFO">6.2.9.</a>&nbsp;
214  Getting current settings of an audio output device<br />  Getting current settings of an audio output device<br />
215  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET AUDIO_OUTPUT_DEVICE_PARAMETER">6.2.10</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET AUDIO_OUTPUT_DEVICE_PARAMETER">6.2.10.</a>&nbsp;
216  Changing settings of audio output devices<br />  Changing settings of audio output devices<br />
217  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_CHANNEL INFO">6.2.11</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_CHANNEL INFO">6.2.11.</a>&nbsp;
218  Getting information about an audio channel<br />  Getting information about an audio channel<br />
219  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO">6.2.12</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO">6.2.12.</a>&nbsp;
220  Getting information about specific audio channel parameter<br />  Getting information about specific audio channel parameter<br />
221  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET AUDIO_OUTPUT_CHANNEL_PARAMETER">6.2.13</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET AUDIO_OUTPUT_CHANNEL_PARAMETER">6.2.13.</a>&nbsp;
222  Changing settings of audio output channels<br />  Changing settings of audio output channels<br />
223  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor10">6.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor10">6.3.</a>&nbsp;
224  Configuring MIDI input drivers<br />  Configuring MIDI input drivers<br />
225  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_MIDI_INPUT_DRIVERS">6.3.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_MIDI_INPUT_DRIVERS">6.3.1.</a>&nbsp;
226  Getting amount of available MIDI input drivers<br />  Getting amount of available MIDI input drivers<br />
227  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">6.3.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">6.3.2.</a>&nbsp;
228  Getting all available MIDI input drivers<br />  Getting all available MIDI input drivers<br />
229  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DRIVER INFO">6.3.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DRIVER INFO">6.3.3.</a>&nbsp;
230  Getting information about a specific MIDI input driver<br />  Getting information about a specific MIDI input driver<br />
231  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DRIVER_PARAMETER INFO">6.3.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DRIVER_PARAMETER INFO">6.3.4.</a>&nbsp;
232  Getting information about specific MIDI input driver parameter<br />  Getting information about specific MIDI input driver parameter<br />
233  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CREATE MIDI_INPUT_DEVICE">6.3.5</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CREATE MIDI_INPUT_DEVICE">6.3.5.</a>&nbsp;
234  Creating a MIDI input device<br />  Creating a MIDI input device<br />
235  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#DESTROY MIDI_INPUT_DEVICE">6.3.6</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#DESTROY MIDI_INPUT_DEVICE">6.3.6.</a>&nbsp;
236  Destroying a MIDI input device<br />  Destroying a MIDI input device<br />
237  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DEVICES">6.3.7</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DEVICES">6.3.7.</a>&nbsp;
238  Getting all created MIDI input device count<br />  Getting all created MIDI input device count<br />
239  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST MIDI_INPUT_DEVICES">6.3.8</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST MIDI_INPUT_DEVICES">6.3.8.</a>&nbsp;
240  Getting all created MIDI input device list<br />  Getting all created MIDI input device list<br />
241  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DEVICE INFO">6.3.9</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_DEVICE INFO">6.3.9.</a>&nbsp;
242  Getting current settings of a MIDI input device<br />  Getting current settings of a MIDI input device<br />
243  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET MIDI_INPUT_DEVICE_PARAMETER">6.3.10</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET MIDI_INPUT_DEVICE_PARAMETER">6.3.10.</a>&nbsp;
244  Changing settings of MIDI input devices<br />  Changing settings of MIDI input devices<br />
245  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_PORT INFO">6.3.11</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_PORT INFO">6.3.11.</a>&nbsp;
246  Getting information about a MIDI port<br />  Getting information about a MIDI port<br />
247  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_PORT_PARAMETER INFO">6.3.12</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET MIDI_INPUT_PORT_PARAMETER INFO">6.3.12.</a>&nbsp;
248  Getting information about specific MIDI port parameter<br />  Getting information about specific MIDI port parameter<br />
249  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET MIDI_INPUT_PORT_PARAMETER">6.3.13</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET MIDI_INPUT_PORT_PARAMETER">6.3.13.</a>&nbsp;
250  Changing settings of MIDI input ports<br />  Changing settings of MIDI input ports<br />
251  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor11">6.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor11">6.4.</a>&nbsp;
252  Configuring sampler channels<br />  Configuring sampler channels<br />
253  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LOAD INSTRUMENT">6.4.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LOAD INSTRUMENT">6.4.1.</a>&nbsp;
254  Loading an instrument<br />  Loading an instrument<br />
255  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LOAD ENGINE">6.4.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LOAD ENGINE">6.4.2.</a>&nbsp;
256  Loading a sampler engine<br />  Loading a sampler engine<br />
257  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNELS">6.4.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNELS">6.4.3.</a>&nbsp;
258  Getting all created sampler channel count<br />  Getting all created sampler channel count<br />
259  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST CHANNELS">6.4.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST CHANNELS">6.4.4.</a>&nbsp;
260  Getting all created sampler channel list<br />  Getting all created sampler channel list<br />
261  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD CHANNEL">6.4.5</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD CHANNEL">6.4.5.</a>&nbsp;
262  Adding a new sampler channel<br />  Adding a new sampler channel<br />
263  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#REMOVE CHANNEL">6.4.6</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#REMOVE CHANNEL">6.4.6.</a>&nbsp;
264  Removing a sampler channel<br />  Removing a sampler channel<br />
265  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_ENGINES">6.4.7</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET AVAILABLE_ENGINES">6.4.7.</a>&nbsp;
266  Getting amount of available engines<br />  Getting amount of available engines<br />
267  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_ENGINES">6.4.8</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST AVAILABLE_ENGINES">6.4.8.</a>&nbsp;
268  Getting all available engines<br />  Getting all available engines<br />
269  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET ENGINE INFO">6.4.9</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET ENGINE INFO">6.4.9.</a>&nbsp;
270  Getting information about an engine<br />  Getting information about an engine<br />
271  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL INFO">6.4.10</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL INFO">6.4.10.</a>&nbsp;
272  Getting sampler channel information<br />  Getting sampler channel information<br />
273  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL VOICE_COUNT">6.4.11</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL VOICE_COUNT">6.4.11.</a>&nbsp;
274  Current number of active voices<br />  Current number of active voices<br />
275  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL STREAM_COUNT">6.4.12</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL STREAM_COUNT">6.4.12.</a>&nbsp;
276  Current number of active disk streams<br />  Current number of active disk streams<br />
277  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL BUFFER_FILL">6.4.13</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET CHANNEL BUFFER_FILL">6.4.13.</a>&nbsp;
278  Current fill state of disk stream buffers<br />  Current fill state of disk stream buffers<br />
279  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14.</a>&nbsp;
280  Setting audio output device<br />  Setting audio output device<br />
281  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_TYP">6.4.15</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_TYP">6.4.15.</a>&nbsp;
282  Setting audio output type<br />  Setting audio output type<br />
283  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16.</a>&nbsp;
284  Setting audio output channel<br />  Setting audio output channel<br />
285  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_DEVICE">6.4.17</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_DEVICE">6.4.17.</a>&nbsp;
286  Setting MIDI input device<br />  Setting MIDI input device<br />
287  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_TYPE">6.4.18</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_TYPE">6.4.18.</a>&nbsp;
288  Setting MIDI input type<br />  Setting MIDI input type<br />
289  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_PORT">6.4.19</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_PORT">6.4.19.</a>&nbsp;
290  Setting MIDI input port<br />  Setting MIDI input port<br />
291  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_CHANNEL">6.4.20</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MIDI_INPUT_CHANNEL">6.4.20.</a>&nbsp;
292  Setting MIDI input channel<br />  Setting MIDI input channel<br />
293  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL VOLUME">6.4.21</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL VOLUME">6.4.21.</a>&nbsp;
294  Setting channel volume<br />  Setting channel volume<br />
295  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET CHANNEL">6.4.22</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL MUTE">6.4.22.</a>&nbsp;
296    Muting a sampler channel<br />
297    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET CHANNEL SOLO">6.4.23.</a>&nbsp;
298    Soloing a sampler channel<br />
299    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET CHANNEL">6.4.24.</a>&nbsp;
300  Resetting a sampler channel<br />  Resetting a sampler channel<br />
301  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor12">6.5</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor12">6.5.</a>&nbsp;
302  Controlling connection<br />  Controlling connection<br />
303  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE">6.5.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE">6.5.1.</a>&nbsp;
304  Register front-end for receiving event messages<br />  Register front-end for receiving event messages<br />
305  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#UNSUBSCRIBE">6.5.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#UNSUBSCRIBE">6.5.2.</a>&nbsp;
306  Unregister front-end for not receiving event messages<br />  Unregister front-end for not receiving event messages<br />
307  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET ECHO">6.5.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET ECHO">6.5.3.</a>&nbsp;
308  Enable or disable echo of commands<br />  Enable or disable echo of commands<br />
309  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#QUIT">6.5.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#QUIT">6.5.4.</a>&nbsp;
310  Close client connection<br />  Close client connection<br />
311  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor13">6.6</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor13">6.6.</a>&nbsp;
312  Global commands<br />  Global commands<br />
313  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET">6.6.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET TOTAL_VOICE_COUNT">6.6.1.</a>&nbsp;
314    Current number of active voices<br />
315    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET TOTAL_VOICE_COUNT_MAX">6.6.2.</a>&nbsp;
316    Maximum amount of active voices<br />
317    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET">6.6.3.</a>&nbsp;
318  Reset sampler<br />  Reset sampler<br />
319  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET SERVER INFO">6.6.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET SERVER INFO">6.6.4.</a>&nbsp;
320  General sampler informations<br />  General sampler informations<br />
321  <a href="#command_syntax">7.</a>&nbsp;  <a href="#command_syntax">7.</a>&nbsp;
322  Command Syntax<br />  Command Syntax<br />
323  <a href="#events">8.</a>&nbsp;  <a href="#events">8.</a>&nbsp;
324  Events<br />  Events<br />
325  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE CHANNEL">8.1</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE CHANNEL">8.1.</a>&nbsp;
326  Number of sampler channels changed<br />  Number of sampler channels changed<br />
327  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE VOICE_COUNT">8.2</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE VOICE_COUNT">8.2.</a>&nbsp;
328  Number of active voices changed<br />  Number of active voices changed<br />
329  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE STREAM_COUNT">8.3</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE STREAM_COUNT">8.3.</a>&nbsp;
330  Number of active disk streams changed<br />  Number of active disk streams changed<br />
331  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE BUFFER_FILL">8.4</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE BUFFER_FILL">8.4.</a>&nbsp;
332  Disk stream buffer fill state changed<br />  Disk stream buffer fill state changed<br />
333  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE INFO">8.5</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE INFO">8.5.</a>&nbsp;
334  Channel information changed<br />  Channel information changed<br />
335  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MISCELLANEOUS">8.6</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.6.</a>&nbsp;
336    Total number of active voices changed<br />
337    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MISCELLANEOUS">8.7.</a>&nbsp;
338  Miscellaneous and debugging events<br />  Miscellaneous and debugging events<br />
339  <a href="#anchor14">9.</a>&nbsp;  <a href="#anchor14">9.</a>&nbsp;
340  Security Considerations<br />  Security Considerations<br />
# Line 330  Intellectual Property and Copyright Stat Line 356  Intellectual Property and Copyright Stat
356  <p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",  <p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
357              "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",              "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
358              and "OPTIONAL" in this document are to be interpreted as              and "OPTIONAL" in this document are to be interpreted as
359              described in <a class="info" href="#RFC2119">[RFC2119]<span>Bradner, S., Key words for use in RFCs to Indicate Requirement Levels, 1997.</span></a>.              described in <a class="info" href="#RFC2119">[RFC2119]<span> (</span><span class="info">Bradner, S., &ldquo;Key words for use in RFCs to Indicate Requirement Levels,&rdquo; 1997.</span><span>)</span></a>.
360  </p>  </p>
361  <p>This protocol is always case-sensitive if not explicitly  <p>This protocol is always case-sensitive if not explicitly
362              claimed the opposite.              claimed the opposite.
# Line 342  Intellectual Property and Copyright Stat Line 368  Intellectual Property and Copyright Stat
368              character as defined in the ASCII standard), thus the following              character as defined in the ASCII standard), thus the following
369              example:              example:
370  </p>  </p>
371  <p></p>  <p>
372                    </p>
373  <blockquote class="text">  <blockquote class="text">
374  <p>C: "some line"  <p>C: "some line"
375  </p>  </p>
376  <p>&nbsp;&nbsp;&nbsp;"another line"  <p>&nbsp;&nbsp;&nbsp;"another line"
377  </p>  </p>
378  </blockquote>  </blockquote><p>
379                
380    </p>
381  <p>must actually be interpreted as client sending the following  <p>must actually be interpreted as client sending the following
382              message:              message:
383  </p>  </p>
384  <p></p>  <p>
385                    </p>
386  <blockquote class="text">  <blockquote class="text">
387  <p>"some line&lt;CR&gt;&lt;LF&gt;another  <p>"some line&lt;CR&gt;&lt;LF&gt;another
388                      line&lt;CR&gt;&lt;LF&gt;"                      line&lt;CR&gt;&lt;LF&gt;"
389  </p>  </p>
390  </blockquote>  </blockquote><p>
391                
392    </p>
393  <p>where &lt;CR&gt; symbolizes the carriage return character and  <p>where &lt;CR&gt; symbolizes the carriage return character and
394              &lt;LF&gt; the line feed character as defined in the ASCII              &lt;LF&gt; the line feed character as defined in the ASCII
395              standard.              standard.
# Line 367  Intellectual Property and Copyright Stat Line 397  Intellectual Property and Copyright Stat
397  <p>Due to technical reasons, messages can arbitrary be  <p>Due to technical reasons, messages can arbitrary be
398              fragmented, means the following example:              fragmented, means the following example:
399  </p>  </p>
400  <p></p>  <p>
401                    </p>
402  <blockquote class="text">  <blockquote class="text">
403  <p>S: "abcd"  <p>S: "abcd"
404  </p>  </p>
405  </blockquote>  </blockquote><p>
406                
407    </p>
408  <p>could also happen to be sent in three messages like in the  <p>could also happen to be sent in three messages like in the
409              following sequence scenario:              following sequence scenario:
410  </p>  </p>
411  <p></p>  <p>
412                    </p>
413  <ul class="text">  <ul class="text">
414  <li>server sending message "a"  <li>server sending message "a"
415  </li>  </li>
# Line 392  Intellectual Property and Copyright Stat Line 425  Intellectual Property and Copyright Stat
425  <li>followed by server sending the message  <li>followed by server sending the message
426                      "&lt;LF&gt;"                      "&lt;LF&gt;"
427  </li>  </li>
428  </ul>  </ul><p>
429                
430    </p>
431  <p>where again &lt;CR&gt; and &lt;LF&gt; symbolize the carriage  <p>where again &lt;CR&gt; and &lt;LF&gt; symbolize the carriage
432              return and line feed characters respectively.              return and line feed characters respectively.
433  </p>  </p>
# Line 407  Intellectual Property and Copyright Stat Line 441  Intellectual Property and Copyright Stat
441              number like:              number like:
442                            
443  </p>  </p>
444  <p></p>  <p>
445                    </p>
446  <blockquote class="text">  <blockquote class="text">
447  <p>"1.2"  <p>"1.2"
448  </p>  </p>
449  </blockquote>  </blockquote><p>
450                
451    </p>
452  <p>  <p>
453              In this example the major version number would be "1" and the minor              In this example the major version number would be "1" and the minor
454              version number would be "2". Note that the version tuple might also              version number would be "2". Note that the version tuple might also
# Line 425  Intellectual Property and Copyright Stat Line 461  Intellectual Property and Copyright Stat
461  </p>  </p>
462  <p>Compatibility:  <p>Compatibility:
463  </p>  </p>
464  <p></p>  <p>
465                    </p>
466  <ol class="text">  <ol class="text">
467  <li>The frontend's LSCP major version and the sampler's LSCP  <li>The frontend's LSCP major version and the sampler's LSCP
468                      major version are exactly equal.                      major version are exactly equal.
# Line 433  Intellectual Property and Copyright Stat Line 470  Intellectual Property and Copyright Stat
470  <li>The frontend's LSCP minor version is less or equal than  <li>The frontend's LSCP minor version is less or equal than
471                      the sampler's LSCP minor version.                      the sampler's LSCP minor version.
472  </li>  </li>
473  </ol>  </ol><p>
474                
475    </p>
476  <p>  <p>
477              Compatibility can only be claimed if both rules are true.              Compatibility can only be claimed if both rules are true.
478              The frontend can use the              The frontend can use the
479              <a class="info" href="#GET SERVER INFO">"GET SERVER INFO"<span>General sampler informations</span></a> command to              <a class="info" href="#GET SERVER INFO">"GET SERVER INFO"<span> (</span><span class="info">General sampler informations</span><span>)</span></a> command to
480              get the version of the LSCP specification the sampler complies with.              get the version of the LSCP specification the sampler complies with.
481                            
482  </p>  </p>
# Line 490  Intellectual Property and Copyright Stat Line 528  Intellectual Property and Copyright Stat
528              implemented in the front-end application. The two communication              implemented in the front-end application. The two communication
529              methods will be described next.              methods will be described next.
530  </p>  </p>
531  <a name="rfc.section.5.1"></a><h4><a name="anchor5">5.1</a>&nbsp;Request/response communication method</h4>  <a name="anchor5"></a><br /><hr />
532    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
533    <a name="rfc.section.5.1"></a><h3>5.1.&nbsp;Request/response communication method</h3>
534    
535  <p>This simple communication method is based on  <p>This simple communication method is based on
536                  <a class="info" href="#RFC793">TCP<span>Defense Advanced Research Projects Agency, TRANSMISSION CONTROL PROTOCOL, 1981.</span></a>[RFC793]. The                  <a class="info" href="#RFC793">TCP<span> (</span><span class="info">Defense Advanced Research Projects Agency, &ldquo;TRANSMISSION CONTROL PROTOCOL,&rdquo; 1981.</span><span>)</span></a> [RFC793]. The
537                  front-end application establishes a TCP connection to the                  front-end application establishes a TCP connection to the
538                  LinuxSampler instance on a certain host system. Then the                  LinuxSampler instance on a certain host system. Then the
539                  front-end application will send certain ASCII based commands                  front-end application will send certain ASCII based commands
# Line 533  Intellectual Property and Copyright Stat Line 573  Intellectual Property and Copyright Stat
573                  processed in the order they were received and result sets                  processed in the order they were received and result sets
574                  MUST be sent back in the same order.                  MUST be sent back in the same order.
575  </p>  </p>
576  <a name="rfc.section.5.1.1"></a><h4><a name="anchor6">5.1.1</a>&nbsp;Result format</h4>  <a name="anchor6"></a><br /><hr />
577    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
578    <a name="rfc.section.5.1.1"></a><h3>5.1.1.&nbsp;Result format</h3>
579    
580  <p>Result set could be one of the following types:  <p>Result set could be one of the following types:
581  </p>  </p>
582  <p></p>  <p>
583                            </p>
584  <ol class="text">  <ol class="text">
585  <li>Normal  <li>Normal
586  </li>  </li>
# Line 545  Intellectual Property and Copyright Stat Line 588  Intellectual Property and Copyright Stat
588  </li>  </li>
589  <li>Error  <li>Error
590  </li>  </li>
591  </ol>  </ol><p>
592                        
593    </p>
594  <p>Warning and Error result sets MUST be single line and  <p>Warning and Error result sets MUST be single line and
595                      have the following format:                      have the following format:
596  </p>  </p>
597  <p></p>  <p>
598                            </p>
599  <ul class="text">  <ul class="text">
600  <li>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;"  <li>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;"
601  </li>  </li>
602  <li>"ERR:&lt;error-code&gt;:&lt;error-message&gt;"  <li>"ERR:&lt;error-code&gt;:&lt;error-message&gt;"
603  </li>  </li>
604  </ul>  </ul><p>
605                        
606    </p>
607  <p>Where &lt;warning-code&gt; and &lt;error-code&gt; are  <p>Where &lt;warning-code&gt; and &lt;error-code&gt; are
608                      numeric unique identifiers of the warning or error and                      numeric unique identifiers of the warning or error and
609                      &lt;warning-message&gt; and &lt;error-message&gt; are                      &lt;warning-message&gt; and &lt;error-message&gt; are
# Line 566  Intellectual Property and Copyright Stat Line 612  Intellectual Property and Copyright Stat
612  </p>  </p>
613  <p>Examples:  <p>Examples:
614  </p>  </p>
615  <p></p>  <p>
616                            </p>
617  <blockquote class="text">  <blockquote class="text">
618  <p>C: "LOAD INSTRUMENT '/home/me/Boesendorfer24bit.gig" 0 0  <p>C: "LOAD INSTRUMENT '/home/me/Boesendorfer24bit.gig" 0 0
619  </p>  </p>
620  <p>S: "WRN:32:This is a 24 bit patch which is not supported natively yet."  <p>S: "WRN:32:This is a 24 bit patch which is not supported natively yet."
621  </p>  </p>
622  </blockquote>  </blockquote><p>
623                        
624  <p></p>  </p>
625    <p>
626                            </p>
627  <blockquote class="text">  <blockquote class="text">
628  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA EAR"  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA EAR"
629  </p>  </p>
630  <p>S: "ERR:3456:Audio output driver 'ALSA' does not have a parameter 'EAR'."  <p>S: "ERR:3456:Audio output driver 'ALSA' does not have a parameter 'EAR'."
631  </p>  </p>
632  </blockquote>  </blockquote><p>
633                        
634  <p></p>  </p>
635    <p>
636                            </p>
637  <blockquote class="text">  <blockquote class="text">
638  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 123456"  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 123456"
639  </p>  </p>
640  <p>S: "ERR:9:There is no audio output device with index 123456."  <p>S: "ERR:9:There is no audio output device with index 123456."
641  </p>  </p>
642  </blockquote>  </blockquote><p>
643                        
644    </p>
645  <p>Normal result sets could be:  <p>Normal result sets could be:
646  </p>  </p>
647  <p></p>  <p>
648                            </p>
649  <ol class="text">  <ol class="text">
650  <li>Empty  <li>Empty
651  </li>  </li>
# Line 600  Intellectual Property and Copyright Stat Line 653  Intellectual Property and Copyright Stat
653  </li>  </li>
654  <li>Multi-line  <li>Multi-line
655  </li>  </li>
656  </ol>  </ol><p>
657                        
658    </p>
659  <p> Empty result set is issued when the server only  <p> Empty result set is issued when the server only
660                      needed to acknowledge the fact that the request was                      needed to acknowledge the fact that the request was
661                      received and it was processed successfully and no                      received and it was processed successfully and no
662                      additional information is available. This result set has                      additional information is available. This result set has
663                      the following format:                      the following format:
664  </p>  </p>
665  <p></p>  <p>
666                            </p>
667  <blockquote class="text">  <blockquote class="text">
668  <p>"OK"  <p>"OK"
669  </p>  </p>
670  </blockquote>  </blockquote><p>
671                        
672    </p>
673  <p>Example:  <p>Example:
674  </p>  </p>
675  <p></p>  <p>
676                            </p>
677  <blockquote class="text">  <blockquote class="text">
678  <p>C: "SET AUDIO_OUTPUT_DEVICE_PARAMETER 0 CHANNELS=4"  <p>C: "SET AUDIO_OUTPUT_DEVICE_PARAMETER 0 CHANNELS=4"
679  </p>  </p>
680  <p>S: "OK"  <p>S: "OK"
681  </p>  </p>
682  </blockquote>  </blockquote><p>
683                        
684    </p>
685  <p>Single line result sets are command specific. One  <p>Single line result sets are command specific. One
686                      example of a single line result set is an empty line.                      example of a single line result set is an empty line.
687                      Multi-line result sets are command specific and may                      Multi-line result sets are command specific and may
688                      include one or more lines of information. They MUST                      include one or more lines of information. They MUST
689                      always end with the following line:                      always end with the following line:
690  </p>  </p>
691  <p></p>  <p>
692                            </p>
693  <blockquote class="text">  <blockquote class="text">
694  <p>"."  <p>"."
695  </p>  </p>
696  </blockquote>  </blockquote><p>
697                        
698    </p>
699  <p>Example:  <p>Example:
700  </p>  </p>
701  <p></p>  <p>
702                            </p>
703  <blockquote class="text">  <blockquote class="text">
704  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 0"  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 0"
705  </p>  </p>
# Line 658  Intellectual Property and Copyright Stat Line 719  Intellectual Property and Copyright Stat
719  </p>  </p>
720  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
721  </p>  </p>
722  </blockquote>  </blockquote><p>
723                        
724    </p>
725  <p>In addition to above mentioned formats, warnings and  <p>In addition to above mentioned formats, warnings and
726                      empty result sets MAY be indexed. In this case, they                      empty result sets MAY be indexed. In this case, they
727                      have the following formats respectively:                      have the following formats respectively:
728  </p>  </p>
729  <p></p>  <p>
730                            </p>
731  <ul class="text">  <ul class="text">
732  <li>"WRN[&lt;index&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;"  <li>"WRN[&lt;index&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;"
733  </li>  </li>
734  <li>"OK[&lt;index&gt;]"  <li>"OK[&lt;index&gt;]"
735  </li>  </li>
736  </ul>  </ul><p>
737                        
738    </p>
739  <p>where &lt;index&gt; is command specific and is used  <p>where &lt;index&gt; is command specific and is used
740                      to indicate channel number that the result set was                      to indicate channel number that the result set was
741                      related to or other integer value.                      related to or other integer value.
# Line 681  Intellectual Property and Copyright Stat Line 745  Intellectual Property and Copyright Stat
745  </p>  </p>
746  <p>Examples:  <p>Examples:
747  </p>  </p>
748  <p></p>  <p>
749                            </p>
750  <blockquote class="text">  <blockquote class="text">
751  <p>C: "ADD CHANNEL"  <p>C: "ADD CHANNEL"
752  </p>  </p>
753  <p>S: "OK[12]"  <p>S: "OK[12]"
754  </p>  </p>
755  </blockquote>  </blockquote><p>
756                        
757  <p></p>  </p>
758    <p>
759                            </p>
760  <blockquote class="text">  <blockquote class="text">
761  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA SAMPLERATE=96000"  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA SAMPLERATE=96000"
762  </p>  </p>
763  <p>S: "WRN[0]:32:Sample rate not supported, using 44100 instead."  <p>S: "WRN[0]:32:Sample rate not supported, using 44100 instead."
764  </p>  </p>
765  </blockquote>  </blockquote><p>
766                        
767  <a name="rfc.section.5.2"></a><h4><a name="anchor7">5.2</a>&nbsp;Subscribe/notify communication method</h4>  </p>
768    <a name="anchor7"></a><br /><hr />
769    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
770    <a name="rfc.section.5.2"></a><h3>5.2.&nbsp;Subscribe/notify communication method</h3>
771    
772  <p>This more sophisticated communication method is actually  <p>This more sophisticated communication method is actually
773                  only an extension of the simple request/response                  only an extension of the simple request/response
# Line 709  Intellectual Property and Copyright Stat Line 779  Intellectual Property and Copyright Stat
779                  as they happen on the server. The SUBSCRIBE command has the                  as they happen on the server. The SUBSCRIBE command has the
780                  following syntax:                  following syntax:
781  </p>  </p>
782  <p></p>  <p>
783                        </p>
784  <blockquote class="text">  <blockquote class="text">
785  <p>SUBSCRIBE &lt;event-id&gt;  <p>SUBSCRIBE &lt;event-id&gt;
786  </p>  </p>
787  </blockquote>  </blockquote><p>
788                    
789    </p>
790  <p>where &lt;event-id&gt; will be replaced by the respective  <p>where &lt;event-id&gt; will be replaced by the respective
791                  event that client wants to subscribe to. Upon receiving such                  event that client wants to subscribe to. Upon receiving such
792                  request, server SHOULD respond with OK and start sending                  request, server SHOULD respond with OK and start sending
# Line 724  Intellectual Property and Copyright Stat Line 796  Intellectual Property and Copyright Stat
796                  time nature of their generation. Event messages have the                  time nature of their generation. Event messages have the
797                  following format:                  following format:
798  </p>  </p>
799  <p></p>  <p>
800                        </p>
801  <blockquote class="text">  <blockquote class="text">
802  <p>NOTIFY:&lt;event-id&gt;:&lt;custom-event-data&gt;  <p>NOTIFY:&lt;event-id&gt;:&lt;custom-event-data&gt;
803  </p>  </p>
804  </blockquote>  </blockquote><p>
805                    
806    </p>
807  <p>where &lt;event-id&gt; uniquely identifies the event that  <p>where &lt;event-id&gt; uniquely identifies the event that
808                  has occurred and &lt;custom-event-data&gt; is event                  has occurred and &lt;custom-event-data&gt; is event
809                  specific.                  specific.
# Line 737  Intellectual Property and Copyright Stat Line 811  Intellectual Property and Copyright Stat
811  <p>Several rules must be followed by the server when  <p>Several rules must be followed by the server when
812                  generating events:                  generating events:
813  </p>  </p>
814  <p></p>  <p>
815                        </p>
816  <ol class="text">  <ol class="text">
817  <li>Events MUST NOT be sent to any client who has not  <li>Events MUST NOT be sent to any client who has not
818                          issued an appropriate SUBSCRIBE command.                          issued an appropriate SUBSCRIBE command.
# Line 752  Intellectual Property and Copyright Stat Line 827  Intellectual Property and Copyright Stat
827                          middle of the event message as well as any other                          middle of the event message as well as any other
828                          response.                          response.
829  </li>  </li>
830  </ol>  </ol><p>
831                    
832    </p>
833  <p>If the client is not interested in a particular event  <p>If the client is not interested in a particular event
834                  anymore it MAY issue UNSUBSCRIBE command using the following                  anymore it MAY issue UNSUBSCRIBE command using the following
835                  syntax:                  syntax:
836  </p>  </p>
837  <p></p>  <p>
838                        </p>
839  <blockquote class="text">  <blockquote class="text">
840  <p>UNSUBSCRIBE &lt;event-id&gt;  <p>UNSUBSCRIBE &lt;event-id&gt;
841  </p>  </p>
842  </blockquote>  </blockquote><p>
843                    
844    </p>
845  <p>where &lt;event-id&gt; will be replace by the respective  <p>where &lt;event-id&gt; will be replace by the respective
846                  event that client is no longer interested in receiving. For                  event that client is no longer interested in receiving. For
847                  a list of supported events see <a class="info" href="#events">Section 8<span>Events</span></a>.                  a list of supported events see <a class="info" href="#events">Section&nbsp;8<span> (</span><span class="info">Events</span><span>)</span></a>.
848  </p>  </p>
849  <p>Example: the fill states of disk stream buffers have  <p>Example: the fill states of disk stream buffers have
850                  changed on sampler channel 4 and the LinuxSampler instance                  changed on sampler channel 4 and the LinuxSampler instance
851                  will react by sending the following message to all clients                  will react by sending the following message to all clients
852                  who subscribed to this event:                  who subscribed to this event:
853  </p>  </p>
854  <p></p>  <p>
855                        </p>
856  <blockquote class="text">  <blockquote class="text">
857  <p>NOTIFY:CHANNEL_BUFFER_FILL:4 [35]62%,[33]80%,[37]98%  <p>NOTIFY:CHANNEL_BUFFER_FILL:4 [35]62%,[33]80%,[37]98%
858  </p>  </p>
859  </blockquote>  </blockquote><p>
860                    
861    </p>
862  <p>Which means there are currently three active streams on  <p>Which means there are currently three active streams on
863                  sampler channel 4, where the stream with ID "35" is filled                  sampler channel 4, where the stream with ID "35" is filled
864                  by 62%, stream with ID 33 is filled by 80% and stream with                  by 62%, stream with ID 33 is filled by 80% and stream with
# Line 815  Intellectual Property and Copyright Stat Line 895  Intellectual Property and Copyright Stat
895    
896  <p>This chapter will describe the available control commands  <p>This chapter will describe the available control commands
897              that can be sent on the TCP connection in detail. Some certain              that can be sent on the TCP connection in detail. Some certain
898              commands (e.g. <a class="info" href="#GET CHANNEL INFO">"GET CHANNEL INFO"<span>Getting sampler channel information</span></a>              commands (e.g. <a class="info" href="#GET CHANNEL INFO">"GET CHANNEL INFO"<span> (</span><span class="info">Getting sampler channel information</span><span>)</span></a>
899              or <a class="info" href="#GET ENGINE INFO">"GET ENGINE INFO"<span>Getting information about an engine</span></a>) lead to              or <a class="info" href="#GET ENGINE INFO">"GET ENGINE INFO"<span> (</span><span class="info">Getting information about an engine</span><span>)</span></a>) lead to
900              multiple-line responses. In this case LinuxSampler signals the              multiple-line responses. In this case LinuxSampler signals the
901              end of the response by a "." (single dot) line.              end of the response by a "." (single dot) line.
902  </p>  </p>
903  <a name="rfc.section.6.1"></a><h4><a name="anchor8">6.1</a>&nbsp;Ignored lines and comments</h4>  <a name="anchor8"></a><br /><hr />
904    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
905    <a name="rfc.section.6.1"></a><h3>6.1.&nbsp;Ignored lines and comments</h3>
906    
907  <p>White lines, that is lines which only contain space and  <p>White lines, that is lines which only contain space and
908                  tabulator characters, and lines that start with a "#"                  tabulator characters, and lines that start with a "#"
# Line 828  Intellectual Property and Copyright Stat Line 910  Intellectual Property and Copyright Stat
910                  group commands and to place comments in a LSCP script                  group commands and to place comments in a LSCP script
911                  file.                  file.
912  </p>  </p>
913  <a name="rfc.section.6.2"></a><h4><a name="anchor9">6.2</a>&nbsp;Configuring audio drivers</h4>  <a name="anchor9"></a><br /><hr />
914    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
915    <a name="rfc.section.6.2"></a><h3>6.2.&nbsp;Configuring audio drivers</h3>
916    
917  <p>Instances of drivers in LinuxSampler are called devices.  <p>Instances of drivers in LinuxSampler are called devices.
918                  You can use multiple audio devices simultaneously, e.g. to                  You can use multiple audio devices simultaneously, e.g. to
# Line 861  Intellectual Property and Copyright Stat Line 945  Intellectual Property and Copyright Stat
945                  what parameters drivers are offering, how to retrieve their                  what parameters drivers are offering, how to retrieve their
946                  possible values, etc.                  possible values, etc.
947  </p>  </p>
948  <a name="rfc.section.6.2.1"></a><h4><a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.1</a>&nbsp;Getting amount of available audio output drivers</h4>  <a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr />
949    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
950    <a name="rfc.section.6.2.1"></a><h3>6.2.1.&nbsp;Getting amount of available audio output drivers</h3>
951    
952  <p>Use the following command to get the number of  <p>Use the following command to get the number of
953                      audio output drivers currently available for the                      audio output drivers currently available for the
954                      LinuxSampler instance:                      LinuxSampler instance:
955  </p>  </p>
956  <p></p>  <p>
957                            </p>
958  <blockquote class="text">  <blockquote class="text">
959  <p>GET AVAILABLE_AUDIO_OUTPUT_DRIVERS  <p>GET AVAILABLE_AUDIO_OUTPUT_DRIVERS
960  </p>  </p>
961  </blockquote>  </blockquote><p>
962                        
963    </p>
964  <p>Possible Answers:  <p>Possible Answers:
965  </p>  </p>
966  <p></p>  <p>
967                            </p>
968  <blockquote class="text">  <blockquote class="text">
969  <p>LinuxSampler will answer by sending the  <p>LinuxSampler will answer by sending the
970                              number of audio output drivers.                              number of audio output drivers.
971  </p>  </p>
972  </blockquote>  </blockquote><p>
973                        
974    </p>
975  <p>Example:  <p>Example:
976  </p>  </p>
977  <p></p>  <p>
978                            </p>
979  <blockquote class="text">  <blockquote class="text">
980  <p>C: "GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"  <p>C: "GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"
981  </p>  </p>
982  <p>S: "2"  <p>S: "2"
983  </p>  </p>
984  </blockquote>  </blockquote><p>
985                        
986  <a name="rfc.section.6.2.2"></a><h4><a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">6.2.2</a>&nbsp;Getting all available audio output drivers</h4>  </p>
987    <a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr />
988    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
989    <a name="rfc.section.6.2.2"></a><h3>6.2.2.&nbsp;Getting all available audio output drivers</h3>
990    
991  <p>Use the following command to list all audio output  <p>Use the following command to list all audio output
992                      drivers currently available for the LinuxSampler                      drivers currently available for the LinuxSampler
993                      instance:                      instance:
994  </p>  </p>
995  <p></p>  <p>
996                            </p>
997  <blockquote class="text">  <blockquote class="text">
998  <p>LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS  <p>LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS
999  </p>  </p>
1000  </blockquote>  </blockquote><p>
1001                        
1002    </p>
1003  <p>Possible Answers:  <p>Possible Answers:
1004  </p>  </p>
1005  <p></p>  <p>
1006                            </p>
1007  <blockquote class="text">  <blockquote class="text">
1008  <p>LinuxSampler will answer by sending comma  <p>LinuxSampler will answer by sending comma
1009                              separated character strings, each symbolizing an                              separated character strings, each symbolizing an
1010                              audio output driver.                              audio output driver.
1011  </p>  </p>
1012  </blockquote>  </blockquote><p>
1013                        
1014    </p>
1015  <p>Example:  <p>Example:
1016  </p>  </p>
1017  <p></p>  <p>
1018                            </p>
1019  <blockquote class="text">  <blockquote class="text">
1020  <p>C: "LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"  <p>C: "LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"
1021  </p>  </p>
1022  <p>S: "ALSA,JACK"  <p>S: "ALSA,JACK"
1023  </p>  </p>
1024  </blockquote>  </blockquote><p>
1025                        
1026  <a name="rfc.section.6.2.3"></a><h4><a name="GET AUDIO_OUTPUT_DRIVER INFO">6.2.3</a>&nbsp;Getting information about a specific audio  </p>
1027                  output driver</h4>  <a name="GET AUDIO_OUTPUT_DRIVER INFO"></a><br /><hr />
1028    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1029    <a name="rfc.section.6.2.3"></a><h3>6.2.3.&nbsp;Getting information about a specific audio
1030                    output driver</h3>
1031    
1032  <p>Use the following command to get detailed information  <p>Use the following command to get detailed information
1033                      about a specific audio output driver:                      about a specific audio output driver:
1034  </p>  </p>
1035  <p></p>  <p>
1036                            </p>
1037  <blockquote class="text">  <blockquote class="text">
1038  <p>GET AUDIO_OUTPUT_DRIVER INFO  <p>GET AUDIO_OUTPUT_DRIVER INFO
1039                               &lt;audio-output-driver&gt;                               &lt;audio-output-driver&gt;
1040  </p>  </p>
1041  </blockquote>  </blockquote><p>
1042                        
1043    </p>
1044  <p>Where &lt;audio-output-driver&gt; is the name of the  <p>Where &lt;audio-output-driver&gt; is the name of the
1045                      audio output driver, returned by the                      audio output driver, returned by the
1046                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span>Getting all available audio output drivers</span></a> command.                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> command.
1047  </p>  </p>
1048  <p>Possible Answers:  <p>Possible Answers:
1049  </p>  </p>
1050  <p></p>  <p>
1051                            </p>
1052  <blockquote class="text">  <blockquote class="text">
1053  <p>LinuxSampler will answer by sending a  <p>LinuxSampler will answer by sending a
1054                              &lt;CRLF&gt; separated list. Each answer line                              &lt;CRLF&gt; separated list. Each answer line
# Line 954  Intellectual Property and Copyright Stat Line 1059  Intellectual Property and Copyright Stat
1059                              following information categories are                              following information categories are
1060                              defined:                              defined:
1061  </p>  </p>
1062  <p></p>  <p>
1063                                  </p>
1064  <blockquote class="text">  <blockquote class="text">
1065  <p>DESCRIPTION -  <p>DESCRIPTION -
1066                                      </p>                                      </p>
# Line 963  Intellectual Property and Copyright Stat Line 1069  Intellectual Property and Copyright Stat
1069                                        audio output driver                                        audio output driver
1070  </p>  </p>
1071  </blockquote>  </blockquote>
1072                                      
1073    
1074  <p>VERSION -  <p>VERSION -
1075                                      </p>                                      </p>
# Line 971  Intellectual Property and Copyright Stat Line 1078  Intellectual Property and Copyright Stat
1078                                        driver's version                                        driver's version
1079  </p>  </p>
1080  </blockquote>  </blockquote>
1081                                      
1082    
1083  <p>PARAMETERS -  <p>PARAMETERS -
1084                                      </p>                                      </p>
# Line 983  Intellectual Property and Copyright Stat Line 1091  Intellectual Property and Copyright Stat
1091                                        output drivers                                        output drivers
1092  </p>  </p>
1093  </blockquote>  </blockquote>
1094                                      
1095    
1096  </blockquote>  </blockquote>
1097                                
1098    
1099  <p>The mentioned fields above don't have to be  <p>The mentioned fields above don't have to be
1100                              in particular order.                              in particular order.
1101  </p>  </p>
1102  </blockquote>  </blockquote><p>
1103                        
1104    </p>
1105  <p>Example:  <p>Example:
1106  </p>  </p>
1107  <p></p>  <p>
1108                          </p>
1109  <blockquote class="text">  <blockquote class="text">
1110  <p>C: "GET AUDIO_OUTPUT_DRIVER INFO ALSA"  <p>C: "GET AUDIO_OUTPUT_DRIVER INFO ALSA"
1111  </p>  </p>
# Line 1008  Intellectual Property and Copyright Stat Line 1120  Intellectual Property and Copyright Stat
1120  </p>  </p>
1121  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1122  </p>  </p>
1123  </blockquote>  </blockquote><p>
1124                        
1125  <a name="rfc.section.6.2.4"></a><h4><a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO">6.2.4</a>&nbsp;Getting information about specific audio  </p>
1126                  output driver parameter</h4>  <a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"></a><br /><hr />
1127    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1128    <a name="rfc.section.6.2.4"></a><h3>6.2.4.&nbsp;Getting information about specific audio
1129                    output driver parameter</h3>
1130    
1131  <p>Use the following command to get detailed information  <p>Use the following command to get detailed information
1132                      about a  specific audio output driver parameter:                      about a  specific audio output driver parameter:
1133  </p>  </p>
1134  <p></p>  <p>
1135                            </p>
1136  <blockquote class="text">  <blockquote class="text">
1137  <p>GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO &lt;audio&gt; &lt;prm&gt; [&lt;deplist&gt;]  <p>GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO &lt;audio&gt; &lt;prm&gt; [&lt;deplist&gt;]
1138  </p>  </p>
1139  </blockquote>  </blockquote><p>
1140                        
1141    </p>
1142  <p>Where &lt;audio&gt; is the name of the audio output  <p>Where &lt;audio&gt; is the name of the audio output
1143                      driver as returned by the <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span>Getting all available audio output drivers</span></a> command,                      driver as returned by the <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> command,
1144                      &lt;prm&gt; a specific parameter name for which information should be                      &lt;prm&gt; a specific parameter name for which information should be
1145                      obtained (as returned by the                      obtained (as returned by the
1146                      <a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">"GET AUDIO_OUTPUT_DRIVER INFO"<span>Getting information about a specific audio                 output driver</span></a> command) and                      <a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">"GET AUDIO_OUTPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific audio                 output driver</span><span>)</span></a> command) and
1147                      &lt;deplist&gt; is an optional list of parameters on which the sought                      &lt;deplist&gt; is an optional list of parameters on which the sought
1148                      parameter &lt;prm&gt; depends on, &lt;deplist&gt; is a list of key-value                      parameter &lt;prm&gt; depends on, &lt;deplist&gt; is a list of key-value
1149                      pairs in form of "key1=val1 key2=val2 ...", where character string values                      pairs in form of "key1=val1 key2=val2 ...", where character string values
# Line 1037  Intellectual Property and Copyright Stat Line 1154  Intellectual Property and Copyright Stat
1154  </p>  </p>
1155  <p>Possible Answers:  <p>Possible Answers:
1156  </p>  </p>
1157  <p></p>  <p>
1158                            </p>
1159  <blockquote class="text">  <blockquote class="text">
1160  <p>LinuxSampler will answer by sending a  <p>LinuxSampler will answer by sending a
1161                              &lt;CRLF&gt; separated list.                              &lt;CRLF&gt; separated list.
# Line 1050  Intellectual Property and Copyright Stat Line 1168  Intellectual Property and Copyright Stat
1168                              which is only shown dependently to given driver parameter. At                              which is only shown dependently to given driver parameter. At
1169                              the moment the following information categories are defined:                              the moment the following information categories are defined:
1170  </p>  </p>
1171  </blockquote>  </blockquote><p>
1172                        
1173  <p></p>  </p>
1174    <p>
1175                            </p>
1176  <blockquote class="text">  <blockquote class="text">
1177  <p>TYPE -  <p>TYPE -
1178                                </p>                                </p>
# Line 1064  Intellectual Property and Copyright Stat Line 1184  Intellectual Property and Copyright Stat
1184                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
1185  </p>  </p>
1186  </blockquote>  </blockquote>
1187                                
1188    
1189  <p>DESCRIPTION -  <p>DESCRIPTION -
1190                                </p>                                </p>
# Line 1072  Intellectual Property and Copyright Stat Line 1193  Intellectual Property and Copyright Stat
1193                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
1194  </p>  </p>
1195  </blockquote>  </blockquote>
1196                                
1197    
1198  <p>MANDATORY -  <p>MANDATORY -
1199                                </p>                                </p>
1200  <blockquote class="text">  <blockquote class="text">
1201  <p>either true or false, defines if this parameter must be  <p>either true or false, defines if this parameter must be
1202                                  given when the device is to be created with the                                  given when the device is to be created with the
1203                                  <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span>Creating an audio output device</span></a>                                  <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1204                                  command (always returned, no matter which driver parameter)                                  command (always returned, no matter which driver parameter)
1205  </p>  </p>
1206  </blockquote>  </blockquote>
1207                                
1208    
1209  <p>FIX -  <p>FIX -
1210                                </p>                                </p>
1211  <blockquote class="text">  <blockquote class="text">
1212  <p>either true or false, if false then this parameter can  <p>either true or false, if false then this parameter can
1213                                  be changed at any time, once the device is created by                                  be changed at any time, once the device is created by
1214                                  the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span>Creating an audio output device</span></a>                                  the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1215                                  command (always returned, no matter which driver parameter)                                  command (always returned, no matter which driver parameter)
1216  </p>  </p>
1217  </blockquote>  </blockquote>
1218                                
1219    
1220  <p>MULTIPLICITY -  <p>MULTIPLICITY -
1221                                </p>                                </p>
# Line 1102  Intellectual Property and Copyright Stat Line 1226  Intellectual Property and Copyright Stat
1226                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
1227  </p>  </p>
1228  </blockquote>  </blockquote>
1229                                
1230    
1231  <p>DEPENDS -  <p>DEPENDS -
1232                                </p>                                </p>
# Line 1118  Intellectual Property and Copyright Stat Line 1243  Intellectual Property and Copyright Stat
1243                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
1244  </p>  </p>
1245  </blockquote>  </blockquote>
1246                                
1247    
1248  <p>DEFAULT -  <p>DEFAULT -
1249                                </p>                                </p>
1250  <blockquote class="text">  <blockquote class="text">
1251  <p>reflects the default value for this parameter which is  <p>reflects the default value for this parameter which is
1252                                  used when the device is created and not explicitly                                  used when the device is created and not explicitly
1253                                  given with the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span>Creating an audio output device</span></a> command,                                  given with the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> command,
1254                                  in case of MULTIPLCITY=true, this is a comma separated                                  in case of MULTIPLCITY=true, this is a comma separated
1255                                  list, that's why character strings are encapsulated into                                  list, that's why character strings are encapsulated into
1256                                  apostrophes (')                                  apostrophes (')
1257                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
1258  </p>  </p>
1259  </blockquote>  </blockquote>
1260                                
1261    
1262  <p>RANGE_MIN -  <p>RANGE_MIN -
1263                                </p>                                </p>
# Line 1142  Intellectual Property and Copyright Stat Line 1269  Intellectual Property and Copyright Stat
1269                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
1270  </p>  </p>
1271  </blockquote>  </blockquote>
1272                                
1273    
1274  <p>RANGE_MAX -  <p>RANGE_MAX -
1275                                </p>                                </p>
# Line 1153  Intellectual Property and Copyright Stat Line 1281  Intellectual Property and Copyright Stat
1281                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
1282  </p>  </p>
1283  </blockquote>  </blockquote>
1284                                
1285    
1286  <p>POSSIBILITIES -  <p>POSSIBILITIES -
1287                                </p>                                </p>
# Line 1163  Intellectual Property and Copyright Stat Line 1292  Intellectual Property and Copyright Stat
1292                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
1293  </p>  </p>
1294  </blockquote>  </blockquote>
1295                                
1296    
1297  </blockquote>  </blockquote><p>
1298                        
1299    </p>
1300  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
1301  </p>  </p>
1302  <p>Examples:  <p>Examples:
1303  </p>  </p>
1304  <p></p>  <p>
1305                            </p>
1306  <blockquote class="text">  <blockquote class="text">
1307  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA CARD"  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA CARD"
1308  </p>  </p>
# Line 1190  Intellectual Property and Copyright Stat Line 1322  Intellectual Property and Copyright Stat
1322  </p>  </p>
1323  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1324  </p>  </p>
1325  </blockquote>  </blockquote><p>
1326                        
1327  <p></p>  </p>
1328    <p>
1329                            </p>
1330  <blockquote class="text">  <blockquote class="text">
1331  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA SAMPLERATE"  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA SAMPLERATE"
1332  </p>  </p>
# Line 1212  Intellectual Property and Copyright Stat Line 1346  Intellectual Property and Copyright Stat
1346  </p>  </p>
1347  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1348  </p>  </p>
1349  </blockquote>  </blockquote><p>
1350                        
1351  <p></p>  </p>
1352    <p>
1353                            </p>
1354  <blockquote class="text">  <blockquote class="text">
1355  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA SAMPLERATE CARD='0,0'"  <p>C: "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO ALSA SAMPLERATE CARD='0,0'"
1356  </p>  </p>
# Line 1238  Intellectual Property and Copyright Stat Line 1374  Intellectual Property and Copyright Stat
1374  </p>  </p>
1375  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1376  </p>  </p>
1377  </blockquote>  </blockquote><p>
1378                        
1379  <a name="rfc.section.6.2.5"></a><h4><a name="CREATE AUDIO_OUTPUT_DEVICE">6.2.5</a>&nbsp;Creating an audio output device</h4>  </p>
1380    <a name="CREATE AUDIO_OUTPUT_DEVICE"></a><br /><hr />
1381    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1382    <a name="rfc.section.6.2.5"></a><h3>6.2.5.&nbsp;Creating an audio output device</h3>
1383    
1384  <p>Use the following command to create a new audio output device for  the desired audio output system:  <p>Use the following command to create a new audio output device for  the desired audio output system:
1385  </p>  </p>
1386  <p></p>  <p>
1387                            </p>
1388  <blockquote class="text">  <blockquote class="text">
1389  <p>CREATE AUDIO_OUTPUT_DEVICE &lt;audio-output-driver&gt; [&lt;param-list&gt;]  <p>CREATE AUDIO_OUTPUT_DEVICE &lt;audio-output-driver&gt; [&lt;param-list&gt;]
1390  </p>  </p>
1391  </blockquote>  </blockquote><p>
1392                        
1393    </p>
1394  <p>Where &lt;audio-output-driver&gt; should be replaced by the desired audio  <p>Where &lt;audio-output-driver&gt; should be replaced by the desired audio
1395                      output system as returned by the                      output system as returned by the
1396                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span>Getting all available audio output drivers</span></a>                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a>
1397                      command and &lt;param-list&gt; by an optional list of driver                      command and &lt;param-list&gt; by an optional list of driver
1398                      specific parameters in form of "key1=val1 key2=val2 ...", where                      specific parameters in form of "key1=val1 key2=val2 ...", where
1399                      character string values should be encapsulated into apostrophes (').                      character string values should be encapsulated into apostrophes (').
# Line 1262  Intellectual Property and Copyright Stat Line 1403  Intellectual Property and Copyright Stat
1403  </p>  </p>
1404  <p>Possible Answers:  <p>Possible Answers:
1405  </p>  </p>
1406  <p></p>  <p>
1407                            </p>
1408  <blockquote class="text">  <blockquote class="text">
1409  <p>"OK[&lt;device-id&gt;]" -  <p>"OK[&lt;device-id&gt;]" -
1410                                  </p>                                  </p>
# Line 1271  Intellectual Property and Copyright Stat Line 1413  Intellectual Property and Copyright Stat
1413                                      &lt;device-id&gt; is the numerical ID of the new device                                      &lt;device-id&gt; is the numerical ID of the new device
1414  </p>  </p>
1415  </blockquote>  </blockquote>
1416                                
1417    
1418  <p>"WRN[&lt;device-id&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN[&lt;device-id&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;" -
1419                                  </p>                                  </p>
# Line 1283  Intellectual Property and Copyright Stat Line 1426  Intellectual Property and Copyright Stat
1426                                      warning message                                      warning message
1427  </p>  </p>
1428  </blockquote>  </blockquote>
1429                                
1430    
1431  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
1432                                  </p>                                  </p>
# Line 1290  Intellectual Property and Copyright Stat Line 1434  Intellectual Property and Copyright Stat
1434  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
1435  </p>  </p>
1436  </blockquote>  </blockquote>
1437                                
1438    
1439  </blockquote>  </blockquote><p>
1440                        
1441    </p>
1442  <p>Examples:  <p>Examples:
1443  </p>  </p>
1444  <p></p>  <p>
1445                            </p>
1446  <blockquote class="text">  <blockquote class="text">
1447  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA"  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA"
1448  </p>  </p>
1449  <p>S: "OK[0]"  <p>S: "OK[0]"
1450  </p>  </p>
1451  </blockquote>  </blockquote><p>
1452                        
1453  <p></p>  </p>
1454    <p>
1455                            </p>
1456  <blockquote class="text">  <blockquote class="text">
1457  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA CARD='2,0' SAMPLERATE=96000"  <p>C: "CREATE AUDIO_OUTPUT_DEVICE ALSA CARD='2,0' SAMPLERATE=96000"
1458  </p>  </p>
1459  <p>S: "OK[1]"  <p>S: "OK[1]"
1460  </p>  </p>
1461  </blockquote>  </blockquote><p>
1462                        
1463  <a name="rfc.section.6.2.6"></a><h4><a name="DESTROY AUDIO_OUTPUT_DEVICE">6.2.6</a>&nbsp;Destroying an audio output device</h4>  </p>
1464    <a name="DESTROY AUDIO_OUTPUT_DEVICE"></a><br /><hr />
1465    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1466    <a name="rfc.section.6.2.6"></a><h3>6.2.6.&nbsp;Destroying an audio output device</h3>
1467    
1468  <p>Use the following command to destroy a created output device:  <p>Use the following command to destroy a created output device:
1469  </p>  </p>
1470  <p></p>  <p>
1471                            </p>
1472  <blockquote class="text">  <blockquote class="text">
1473  <p>DESTROY AUDIO_OUTPUT_DEVICE &lt;device-id&gt;  <p>DESTROY AUDIO_OUTPUT_DEVICE &lt;device-id&gt;
1474  </p>  </p>
1475  </blockquote>  </blockquote><p>
1476                        
1477    </p>
1478  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the
1479                      audio output device as given by the                      audio output device as given by the
1480                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1481                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
1482                      command.                      command.
1483  </p>  </p>
1484  <p>Possible Answers:  <p>Possible Answers:
1485  </p>  </p>
1486  <p></p>  <p>
1487                            </p>
1488  <blockquote class="text">  <blockquote class="text">
1489  <p>"OK" -  <p>"OK" -
1490                                  </p>                                  </p>
# Line 1337  Intellectual Property and Copyright Stat Line 1492  Intellectual Property and Copyright Stat
1492  <p>in case the device was successfully destroyed  <p>in case the device was successfully destroyed
1493  </p>  </p>
1494  </blockquote>  </blockquote>
1495                                
1496    
1497  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
1498                                  </p>                                  </p>
# Line 1348  Intellectual Property and Copyright Stat Line 1504  Intellectual Property and Copyright Stat
1504                                      warning code and warning message                                      warning code and warning message
1505  </p>  </p>
1506  </blockquote>  </blockquote>
1507                                
1508    
1509  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
1510                                  </p>                                  </p>
# Line 1356  Intellectual Property and Copyright Stat Line 1513  Intellectual Property and Copyright Stat
1513                                      error message                                      error message
1514  </p>  </p>
1515  </blockquote>  </blockquote>
1516                                
1517    
1518  </blockquote>  </blockquote><p>
1519                        
1520    </p>
1521  <p>Example:  <p>Example:
1522  </p>  </p>
1523  <p></p>  <p>
1524                            </p>
1525  <blockquote class="text">  <blockquote class="text">
1526  <p>C: "DESTROY AUDIO_OUTPUT_DEVICE 0"  <p>C: "DESTROY AUDIO_OUTPUT_DEVICE 0"
1527  </p>  </p>
1528  <p>S: "OK"  <p>S: "OK"
1529  </p>  </p>
1530  </blockquote>  </blockquote><p>
1531                        
1532  <a name="rfc.section.6.2.7"></a><h4><a name="GET AUDIO_OUTPUT_DEVICES">6.2.7</a>&nbsp;Getting all created audio output device count</h4>  </p>
1533    <a name="GET AUDIO_OUTPUT_DEVICES"></a><br /><hr />
1534    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1535    <a name="rfc.section.6.2.7"></a><h3>6.2.7.&nbsp;Getting all created audio output device count</h3>
1536    
1537  <p>Use the following command to count all created audio output devices:  <p>Use the following command to count all created audio output devices:
1538  </p>  </p>
1539  <p></p>  <p>
1540                            </p>
1541  <blockquote class="text">  <blockquote class="text">
1542  <p>GET AUDIO_OUTPUT_DEVICES  <p>GET AUDIO_OUTPUT_DEVICES
1543  </p>  </p>
1544  </blockquote>  </blockquote><p>
1545                        
1546    </p>
1547  <p>Possible Answers:  <p>Possible Answers:
1548  </p>  </p>
1549  <p></p>  <p>
1550                            </p>
1551  <blockquote class="text">  <blockquote class="text">
1552  <p>LinuxSampler will answer by sending the current number of all  <p>LinuxSampler will answer by sending the current number of all
1553                              audio output devices.                              audio output devices.
1554  </p>  </p>
1555  </blockquote>  </blockquote><p>
1556                        
1557    </p>
1558  <p>Example:  <p>Example:
1559  </p>  </p>
1560  <p></p>  <p>
1561                            </p>
1562  <blockquote class="text">  <blockquote class="text">
1563  <p>C: "GET AUDIO_OUTPUT_DEVICES"  <p>C: "GET AUDIO_OUTPUT_DEVICES"
1564  </p>  </p>
1565  <p>S: "4"  <p>S: "4"
1566  </p>  </p>
1567  </blockquote>  </blockquote><p>
1568                        
1569  <a name="rfc.section.6.2.8"></a><h4><a name="LIST AUDIO_OUTPUT_DEVICES">6.2.8</a>&nbsp;Getting all created audio output device list</h4>  </p>
1570    <a name="LIST AUDIO_OUTPUT_DEVICES"></a><br /><hr />
1571    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1572    <a name="rfc.section.6.2.8"></a><h3>6.2.8.&nbsp;Getting all created audio output device list</h3>
1573    
1574  <p>Use the following command to list all created audio output devices:  <p>Use the following command to list all created audio output devices:
1575  </p>  </p>
1576  <p></p>  <p>
1577                            </p>
1578  <blockquote class="text">  <blockquote class="text">
1579  <p>LIST AUDIO_OUTPUT_DEVICES  <p>LIST AUDIO_OUTPUT_DEVICES
1580  </p>  </p>
1581  </blockquote>  </blockquote><p>
1582                        
1583    </p>
1584  <p>Possible Answers:  <p>Possible Answers:
1585  </p>  </p>
1586  <p></p>  <p>
1587                            </p>
1588  <blockquote class="text">  <blockquote class="text">
1589  <p>LinuxSampler will answer by sending a comma separated list with  <p>LinuxSampler will answer by sending a comma separated list with
1590                              the numerical IDs of all audio output devices.                              the numerical IDs of all audio output devices.
1591  </p>  </p>
1592  </blockquote>  </blockquote><p>
1593                        
1594    </p>
1595  <p>Example:  <p>Example:
1596  </p>  </p>
1597  <p></p>  <p>
1598                            </p>
1599  <blockquote class="text">  <blockquote class="text">
1600  <p>C: "LIST AUDIO_OUTPUT_DEVICES"  <p>C: "LIST AUDIO_OUTPUT_DEVICES"
1601  </p>  </p>
1602  <p>S: "0,1,4,5"  <p>S: "0,1,4,5"
1603  </p>  </p>
1604  </blockquote>  </blockquote><p>
1605                        
1606  <a name="rfc.section.6.2.9"></a><h4><a name="GET AUDIO_OUTPUT_DEVICE INFO">6.2.9</a>&nbsp;Getting current settings of an audio output device</h4>  </p>
1607    <a name="GET AUDIO_OUTPUT_DEVICE INFO"></a><br /><hr />
1608    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1609    <a name="rfc.section.6.2.9"></a><h3>6.2.9.&nbsp;Getting current settings of an audio output device</h3>
1610    
1611  <p>Use the following command to get current settings of a specific, created audio output device:  <p>Use the following command to get current settings of a specific, created audio output device:
1612  </p>  </p>
1613  <p></p>  <p>
1614                            </p>
1615  <blockquote class="text">  <blockquote class="text">
1616  <p>GET AUDIO_OUTPUT_DEVICE INFO &lt;device-id&gt;  <p>GET AUDIO_OUTPUT_DEVICE INFO &lt;device-id&gt;
1617  </p>  </p>
1618  </blockquote>  </blockquote><p>
1619                        
1620    </p>
1621  <p>Where &lt;device-id&gt; should be replaced by numerical ID  <p>Where &lt;device-id&gt; should be replaced by numerical ID
1622                      of the audio output device as e.g. returned by the                      of the audio output device as e.g. returned by the
1623                      <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a> command.                      <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> command.
1624  </p>  </p>
1625  <p>Possible Answers:  <p>Possible Answers:
1626  </p>  </p>
# Line 1451  Intellectual Property and Copyright Stat Line 1632  Intellectual Property and Copyright Stat
1632                      encapsulated into apostrophes ('). At the moment the following                      encapsulated into apostrophes ('). At the moment the following
1633                      information categories are defined (independently of device):                      information categories are defined (independently of device):
1634  </p>  </p>
1635  <p></p>  <p>
1636                            </p>
1637  <blockquote class="text">  <blockquote class="text">
1638  <p>DRIVER -  <p>DRIVER -
1639                                  </p>                                  </p>
1640  <blockquote class="text">  <blockquote class="text">
1641  <p>identifier of the used audio output driver, as also  <p>identifier of the used audio output driver, as also
1642                                      returned by the                                      returned by the
1643                                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span>Getting all available audio output drivers</span></a>                                      <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a>
1644                                      command                                      command
1645  </p>  </p>
1646  </blockquote>  </blockquote>
1647                                
1648    
1649  <p>CHANNELS -  <p>CHANNELS -
1650                                  </p>                                  </p>
# Line 1470  Intellectual Property and Copyright Stat Line 1653  Intellectual Property and Copyright Stat
1653                                      offers                                      offers
1654  </p>  </p>
1655  </blockquote>  </blockquote>
1656                                
1657    
1658  <p>SAMPLERATE -  <p>SAMPLERATE -
1659                                  </p>                                  </p>
# Line 1477  Intellectual Property and Copyright Stat Line 1661  Intellectual Property and Copyright Stat
1661  <p>playback sample rate the device uses  <p>playback sample rate the device uses
1662  </p>  </p>
1663  </blockquote>  </blockquote>
1664                                
1665    
1666  <p>ACTIVE -  <p>ACTIVE -
1667                                  </p>                                  </p>
# Line 1487  Intellectual Property and Copyright Stat Line 1672  Intellectual Property and Copyright Stat
1672                                      any audio                                      any audio
1673  </p>  </p>
1674  </blockquote>  </blockquote>
1675                                
1676    
1677  </blockquote>  </blockquote><p>
1678                        
1679    </p>
1680  <p>The mentioned fields above don't have to be in particular  <p>The mentioned fields above don't have to be in particular
1681                      order. The fields above are only those fields which are                      order. The fields above are only those fields which are
1682                      returned by all audio output devices. Every audio output driver                      returned by all audio output devices. Every audio output driver
1683                      might have its own, additional driver specific parameters (see                      might have its own, additional driver specific parameters (see
1684                      <a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">Section 6.2.3<span>Getting information about a specific audio                 output driver</span></a>)                      <a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">Section&nbsp;6.2.3<span> (</span><span class="info">Getting information about a specific audio                 output driver</span><span>)</span></a>)
1685                      which are also returned by this command.                      which are also returned by this command.
1686  </p>  </p>
1687  <p>Example:  <p>Example:
1688  </p>  </p>
1689  <p></p>  <p>
1690                            </p>
1691  <blockquote class="text">  <blockquote class="text">
1692  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 0"  <p>C: "GET AUDIO_OUTPUT_DEVICE INFO 0"
1693  </p>  </p>
# Line 1519  Intellectual Property and Copyright Stat Line 1707  Intellectual Property and Copyright Stat
1707  </p>  </p>
1708  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1709  </p>  </p>
1710  </blockquote>  </blockquote><p>
1711                        
1712  <a name="rfc.section.6.2.10"></a><h4><a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER">6.2.10</a>&nbsp;Changing settings of audio output devices</h4>  </p>
1713    <a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER"></a><br /><hr />
1714    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1715    <a name="rfc.section.6.2.10"></a><h3>6.2.10.&nbsp;Changing settings of audio output devices</h3>
1716    
1717  <p>Use the following command to alter a specific setting of a created audio output device:  <p>Use the following command to alter a specific setting of a created audio output device:
1718  </p>  </p>
1719  <p></p>  <p>
1720                            </p>
1721  <blockquote class="text">  <blockquote class="text">
1722  <p>SET AUDIO_OUTPUT_DEVICE_PARAMETER &lt;device-id&gt; &lt;key&gt;=&lt;value&gt;  <p>SET AUDIO_OUTPUT_DEVICE_PARAMETER &lt;device-id&gt; &lt;key&gt;=&lt;value&gt;
1723  </p>  </p>
1724  </blockquote>  </blockquote><p>
1725                        
1726    </p>
1727  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the
1728                      audio output device as given by the                      audio output device as given by the
1729                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1730                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
1731                      command, &lt;key&gt; by the name of the parameter to change                      command, &lt;key&gt; by the name of the parameter to change
1732                      and &lt;value&gt; by the new value for this parameter.                      and &lt;value&gt; by the new value for this parameter.
1733  </p>  </p>
1734  <p>Possible Answers:  <p>Possible Answers:
1735  </p>  </p>
1736  <p></p>  <p>
1737                            </p>
1738  <blockquote class="text">  <blockquote class="text">
1739  <p>"OK" -  <p>"OK" -
1740                                  </p>                                  </p>
# Line 1548  Intellectual Property and Copyright Stat Line 1742  Intellectual Property and Copyright Stat
1742  <p>in case setting was successfully changed  <p>in case setting was successfully changed
1743  </p>  </p>
1744  </blockquote>  </blockquote>
1745                                
1746    
1747  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
1748                                  </p>                                  </p>
# Line 1557  Intellectual Property and Copyright Stat Line 1752  Intellectual Property and Copyright Stat
1752                                      warning code and warning message                                      warning code and warning message
1753  </p>  </p>
1754  </blockquote>  </blockquote>
1755                                
1756    
1757  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
1758                                  </p>                                  </p>
# Line 1565  Intellectual Property and Copyright Stat Line 1761  Intellectual Property and Copyright Stat
1761                                      error message                                      error message
1762  </p>  </p>
1763  </blockquote>  </blockquote>
1764                                
1765    
1766  </blockquote>  </blockquote><p>
1767                        
1768    </p>
1769  <p>Example:  <p>Example:
1770  </p>  </p>
1771  <p></p>  <p>
1772                            </p>
1773  <blockquote class="text">  <blockquote class="text">
1774  <p>C: "SET AUDIO_OUTPUT_DEVICE_PARAMETER 0 FRAGMENTSIZE=128"  <p>C: "SET AUDIO_OUTPUT_DEVICE_PARAMETER 0 FRAGMENTSIZE=128"
1775  </p>  </p>
1776  <p>S: "OK"  <p>S: "OK"
1777  </p>  </p>
1778  </blockquote>  </blockquote><p>
1779                        
1780  <a name="rfc.section.6.2.11"></a><h4><a name="GET AUDIO_OUTPUT_CHANNEL INFO">6.2.11</a>&nbsp;Getting information about an audio channel</h4>  </p>
1781    <a name="GET AUDIO_OUTPUT_CHANNEL INFO"></a><br /><hr />
1782    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1783    <a name="rfc.section.6.2.11"></a><h3>6.2.11.&nbsp;Getting information about an audio channel</h3>
1784    
1785  <p>Use the following command to get information about an audio channel:  <p>Use the following command to get information about an audio channel:
1786  </p>  </p>
1787  <p></p>  <p>
1788                            </p>
1789  <blockquote class="text">  <blockquote class="text">
1790  <p>GET AUDIO_OUTPUT_CHANNEL INFO &lt;device-id&gt; &lt;audio-chan&gt;  <p>GET AUDIO_OUTPUT_CHANNEL INFO &lt;device-id&gt; &lt;audio-chan&gt;
1791  </p>  </p>
1792  </blockquote>  </blockquote><p>
1793                        
1794    </p>
1795  <p>Where &lt;device-id&gt; is the numerical ID of the audio output device as given by the  <p>Where &lt;device-id&gt; is the numerical ID of the audio output device as given by the
1796                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1797                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
1798                      command and &lt;audio-chan&gt; the audio channel number.                      command and &lt;audio-chan&gt; the audio channel number.
1799  </p>  </p>
1800  <p>Possible Answers:  <p>Possible Answers:
1801  </p>  </p>
1802  <p></p>  <p>
1803                            </p>
1804  <blockquote class="text">  <blockquote class="text">
1805  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
1806                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 1603  Intellectual Property and Copyright Stat Line 1808  Intellectual Property and Copyright Stat
1808                              the info character string to that info category. At the moment                              the info character string to that info category. At the moment
1809                              the following information categories are defined:                              the following information categories are defined:
1810  </p>  </p>
1811  <p></p>  <p>
1812                                    </p>
1813  <blockquote class="text">  <blockquote class="text">
1814  <p>NAME -  <p>NAME -
1815                                          </p>                                          </p>
# Line 1612  Intellectual Property and Copyright Stat Line 1818  Intellectual Property and Copyright Stat
1818                                              doesn't have to be unique (always returned by all audio channels)                                              doesn't have to be unique (always returned by all audio channels)
1819  </p>  </p>
1820  </blockquote>  </blockquote>
1821                                        
1822    
1823  <p>IS_MIX_CHANNEL -  <p>IS_MIX_CHANNEL -
1824                                          </p>                                          </p>
# Line 1624  Intellectual Property and Copyright Stat Line 1831  Intellectual Property and Copyright Stat
1831                                              (always returned by all audio channels)                                              (always returned by all audio channels)
1832  </p>  </p>
1833  </blockquote>  </blockquote>
1834                                        
1835    
1836  <p>MIX_CHANNEL_DESTINATION -  <p>MIX_CHANNEL_DESTINATION -
1837                                          </p>                                          </p>
# Line 1635  Intellectual Property and Copyright Stat Line 1843  Intellectual Property and Copyright Stat
1843                                              (only returned in case the audio channel is mix channel)                                              (only returned in case the audio channel is mix channel)
1844  </p>  </p>
1845  </blockquote>  </blockquote>
1846                                        
1847    
1848  </blockquote>  </blockquote>
1849                                
1850    
1851  </blockquote>  </blockquote><p>
1852                        
1853    </p>
1854  <p>The mentioned fields above don't have to be in particular  <p>The mentioned fields above don't have to be in particular
1855                      order. The fields above are only those fields which are                      order. The fields above are only those fields which are
1856                      generally returned for the described cases by all audio                      generally returned for the described cases by all audio
# Line 1649  Intellectual Property and Copyright Stat Line 1860  Intellectual Property and Copyright Stat
1860  </p>  </p>
1861  <p>Examples:  <p>Examples:
1862  </p>  </p>
1863  <p></p>  <p>
1864                            </p>
1865  <blockquote class="text">  <blockquote class="text">
1866  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 0"  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 0"
1867  </p>  </p>
# Line 1659  Intellectual Property and Copyright Stat Line 1871  Intellectual Property and Copyright Stat
1871  </p>  </p>
1872  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1873  </p>  </p>
1874  </blockquote>  </blockquote><p>
1875                        
1876  <p></p>  </p>
1877    <p>
1878                            </p>
1879  <blockquote class="text">  <blockquote class="text">
1880  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 1"  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 1"
1881  </p>  </p>
# Line 1671  Intellectual Property and Copyright Stat Line 1885  Intellectual Property and Copyright Stat
1885  </p>  </p>
1886  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1887  </p>  </p>
1888  </blockquote>  </blockquote><p>
1889                        
1890  <p></p>  </p>
1891    <p>
1892                            </p>
1893  <blockquote class="text">  <blockquote class="text">
1894  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 2"  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 0 2"
1895  </p>  </p>
# Line 1685  Intellectual Property and Copyright Stat Line 1901  Intellectual Property and Copyright Stat
1901  </p>  </p>
1902  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1903  </p>  </p>
1904  </blockquote>  </blockquote><p>
1905                        
1906  <p></p>  </p>
1907    <p>
1908                            </p>
1909  <blockquote class="text">  <blockquote class="text">
1910  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 1 0"  <p>C: "GET AUDIO_OUTPUT_CHANNEL INFO 1 0"
1911  </p>  </p>
# Line 1699  Intellectual Property and Copyright Stat Line 1917  Intellectual Property and Copyright Stat
1917  </p>  </p>
1918  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
1919  </p>  </p>
1920  </blockquote>  </blockquote><p>
1921                        
1922  <a name="rfc.section.6.2.12"></a><h4><a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO">6.2.12</a>&nbsp;Getting information about specific audio channel parameter</h4>  </p>
1923    <a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"></a><br /><hr />
1924    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
1925    <a name="rfc.section.6.2.12"></a><h3>6.2.12.&nbsp;Getting information about specific audio channel parameter</h3>
1926    
1927  <p>Use the following command to get detailed information about specific audio channel parameter:  <p>Use the following command to get detailed information about specific audio channel parameter:
1928  </p>  </p>
1929  <p></p>  <p>
1930                            </p>
1931  <blockquote class="text">  <blockquote class="text">
1932  <p>GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO &lt;dev-id&gt; &lt;chan&gt; &lt;param&gt;  <p>GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO &lt;dev-id&gt; &lt;chan&gt; &lt;param&gt;
1933  </p>  </p>
1934  </blockquote>  </blockquote><p>
1935                        
1936    </p>
1937  <p>Where &lt;dev-id&gt; is the numerical ID of the audio output device as returned by the  <p>Where &lt;dev-id&gt; is the numerical ID of the audio output device as returned by the
1938                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
1939                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
1940                      command, &lt;chan&gt; the audio channel number                      command, &lt;chan&gt; the audio channel number
1941                      and &lt;param&gt; a specific channel parameter name for which information should                      and &lt;param&gt; a specific channel parameter name for which information should
1942                      be obtained (as returned by the <a class="info" href="#GET AUDIO_OUTPUT_CHANNEL INFO">"GET AUDIO_OUTPUT_CHANNEL INFO"<span>Getting information about an audio channel</span></a> command).                      be obtained (as returned by the <a class="info" href="#GET AUDIO_OUTPUT_CHANNEL INFO">"GET AUDIO_OUTPUT_CHANNEL INFO"<span> (</span><span class="info">Getting information about an audio channel</span><span>)</span></a> command).
1943  </p>  </p>
1944  <p>Possible Answers:  <p>Possible Answers:
1945  </p>  </p>
1946  <p></p>  <p>
1947                            </p>
1948  <blockquote class="text">  <blockquote class="text">
1949  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
1950                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 1731  Intellectual Property and Copyright Stat Line 1955  Intellectual Property and Copyright Stat
1955                              which is only shown dependently to the given audio channel. At                              which is only shown dependently to the given audio channel. At
1956                              the moment the following information categories are defined:                              the moment the following information categories are defined:
1957  </p>  </p>
1958  <p></p>  <p>
1959                                    </p>
1960  <blockquote class="text">  <blockquote class="text">
1961  <p>TYPE -  <p>TYPE -
1962                                          </p>                                          </p>
# Line 1742  Intellectual Property and Copyright Stat Line 1967  Intellectual Property and Copyright Stat
1967                                              (always returned)                                              (always returned)
1968  </p>  </p>
1969  </blockquote>  </blockquote>
1970                                        
1971    
1972  <p>DESCRIPTION -  <p>DESCRIPTION -
1973                                          </p>                                          </p>
# Line 1749  Intellectual Property and Copyright Stat Line 1975  Intellectual Property and Copyright Stat
1975  <p>arbitrary text describing the purpose of the parameter (always returned)  <p>arbitrary text describing the purpose of the parameter (always returned)
1976  </p>  </p>
1977  </blockquote>  </blockquote>
1978                                        
1979    
1980  <p>FIX -  <p>FIX -
1981                                          </p>                                          </p>
# Line 1758  Intellectual Property and Copyright Stat Line 1985  Intellectual Property and Copyright Stat
1985                                              (always returned)                                              (always returned)
1986  </p>  </p>
1987  </blockquote>  </blockquote>
1988                                        
1989    
1990  <p>MULTIPLICITY -  <p>MULTIPLICITY -
1991                                          </p>                                          </p>
# Line 1768  Intellectual Property and Copyright Stat Line 1996  Intellectual Property and Copyright Stat
1996                                              (always returned)                                              (always returned)
1997  </p>  </p>
1998  </blockquote>  </blockquote>
1999                                        
2000    
2001  <p>RANGE_MIN -  <p>RANGE_MIN -
2002                                          </p>                                          </p>
# Line 1780  Intellectual Property and Copyright Stat Line 2009  Intellectual Property and Copyright Stat
2009                                              parameter)                                              parameter)
2010  </p>  </p>
2011  </blockquote>  </blockquote>
2012                                        
2013    
2014  <p>RANGE_MAX -  <p>RANGE_MAX -
2015                                          </p>                                          </p>
# Line 1792  Intellectual Property and Copyright Stat Line 2022  Intellectual Property and Copyright Stat
2022                                              parameter)                                              parameter)
2023  </p>  </p>
2024  </blockquote>  </blockquote>
2025                                        
2026    
2027  <p>POSSIBILITIES -  <p>POSSIBILITIES -
2028                                          </p>                                          </p>
# Line 1803  Intellectual Property and Copyright Stat Line 2034  Intellectual Property and Copyright Stat
2034                                              parameter)                                              parameter)
2035  </p>  </p>
2036  </blockquote>  </blockquote>
2037                                        
2038    
2039  </blockquote>  </blockquote>
2040                                
2041    
2042  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
2043  </p>  </p>
2044  </blockquote>  </blockquote><p>
2045                        
2046    </p>
2047  <p>Example:  <p>Example:
2048  </p>  </p>
2049  <p></p>  <p>
2050                            </p>
2051  <blockquote class="text">  <blockquote class="text">
2052  <p>C: "GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO 1 0 JACK_BINDINGS"  <p>C: "GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO 1 0 JACK_BINDINGS"
2053  </p>  </p>
# Line 1828  Intellectual Property and Copyright Stat Line 2063  Intellectual Property and Copyright Stat
2063  </p>  </p>
2064  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
2065  </p>  </p>
2066  </blockquote>  </blockquote><p>
2067                        
2068  <a name="rfc.section.6.2.13"></a><h4><a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER">6.2.13</a>&nbsp;Changing settings of audio output channels</h4>  </p>
2069    <a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"></a><br /><hr />
2070    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2071    <a name="rfc.section.6.2.13"></a><h3>6.2.13.&nbsp;Changing settings of audio output channels</h3>
2072    
2073  <p>Use the following command to alter a specific setting of an audio output channel:  <p>Use the following command to alter a specific setting of an audio output channel:
2074  </p>  </p>
2075  <p></p>  <p>
2076                            </p>
2077  <blockquote class="text">  <blockquote class="text">
2078  <p>SET AUDIO_OUTPUT_CHANNEL_PARAMETER &lt;dev-id&gt; &lt;chn&gt; &lt;key&gt;=&lt;value&gt;  <p>SET AUDIO_OUTPUT_CHANNEL_PARAMETER &lt;dev-id&gt; &lt;chn&gt; &lt;key&gt;=&lt;value&gt;
2079  </p>  </p>
2080  </blockquote>  </blockquote><p>
2081                        
2082    </p>
2083  <p>Where &lt;dev-id&gt; should be replaced by the numerical ID of the audio output device as returned by the  <p>Where &lt;dev-id&gt; should be replaced by the numerical ID of the audio output device as returned by the
2084                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
2085                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
2086                      command, &lt;chn&gt; by the audio channel number, &lt;key&gt; by the name of the                      command, &lt;chn&gt; by the audio channel number, &lt;key&gt; by the name of the
2087                      parameter to change and &lt;value&gt; by the new value for this parameter.                      parameter to change and &lt;value&gt; by the new value for this parameter.
2088  </p>  </p>
2089  <p>Possible Answers:  <p>Possible Answers:
2090  </p>  </p>
2091  <p></p>  <p>
2092                            </p>
2093  <blockquote class="text">  <blockquote class="text">
2094  <p>"OK" -  <p>"OK" -
2095                                  </p>                                  </p>
# Line 1856  Intellectual Property and Copyright Stat Line 2097  Intellectual Property and Copyright Stat
2097  <p>in case setting was successfully changed  <p>in case setting was successfully changed
2098  </p>  </p>
2099  </blockquote>  </blockquote>
2100                                
2101    
2102  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
2103                                  </p>                                  </p>
# Line 1865  Intellectual Property and Copyright Stat Line 2107  Intellectual Property and Copyright Stat
2107                                     warning code and warning message                                     warning code and warning message
2108  </p>  </p>
2109  </blockquote>  </blockquote>
2110                                
2111    
2112  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
2113                                  </p>                                  </p>
# Line 1873  Intellectual Property and Copyright Stat Line 2116  Intellectual Property and Copyright Stat
2116                                     error message                                     error message
2117  </p>  </p>
2118  </blockquote>  </blockquote>
2119                                
2120    
2121  </blockquote>  </blockquote><p>
2122                        
2123    </p>
2124  <p>Example:  <p>Example:
2125  </p>  </p>
2126  <p></p>  <p>
2127                            </p>
2128  <blockquote class="text">  <blockquote class="text">
2129  <p>C: "SET AUDIO_OUTPUT_CHANNEL PARAMETER 0 0 JACK_BINDINGS='PCM:0'"  <p>C: "SET AUDIO_OUTPUT_CHANNEL PARAMETER 0 0 JACK_BINDINGS='PCM:0'"
2130  </p>  </p>
2131  <p>S: "OK"  <p>S: "OK"
2132  </p>  </p>
2133  </blockquote>  </blockquote><p>
2134                        
2135  <p></p>  </p>
2136    <p>
2137                            </p>
2138  <blockquote class="text">  <blockquote class="text">
2139  <p>C: "SET AUDIO_OUTPUT_CHANNEL PARAMETER 0 0 NAME='monitor left'"  <p>C: "SET AUDIO_OUTPUT_CHANNEL PARAMETER 0 0 NAME='monitor left'"
2140  </p>  </p>
2141  <p>S: "OK"  <p>S: "OK"
2142  </p>  </p>
2143  </blockquote>  </blockquote><p>
2144                        
2145  <a name="rfc.section.6.3"></a><h4><a name="anchor10">6.3</a>&nbsp;Configuring MIDI input drivers</h4>  </p>
2146    <a name="anchor10"></a><br /><hr />
2147    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2148    <a name="rfc.section.6.3"></a><h3>6.3.&nbsp;Configuring MIDI input drivers</h3>
2149    
2150  <p>Instances of drivers in LinuxSampler are called devices. You can use  <p>Instances of drivers in LinuxSampler are called devices. You can use
2151                  multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as                  multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as
# Line 1922  Intellectual Property and Copyright Stat Line 2173  Intellectual Property and Copyright Stat
2173                  showing how to retrieve what parameters drivers are offering, how to retrieve their                  showing how to retrieve what parameters drivers are offering, how to retrieve their
2174                  possible values, etc.                  possible values, etc.
2175  </p>  </p>
2176  <a name="rfc.section.6.3.1"></a><h4><a name="GET AVAILABLE_MIDI_INPUT_DRIVERS">6.3.1</a>&nbsp;Getting amount of available MIDI input drivers</h4>  <a name="GET AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr />
2177    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2178    <a name="rfc.section.6.3.1"></a><h3>6.3.1.&nbsp;Getting amount of available MIDI input drivers</h3>
2179    
2180  <p>Use the following command to get the number of  <p>Use the following command to get the number of
2181                      MIDI input drivers currently available for the                      MIDI input drivers currently available for the
2182                      LinuxSampler instance:                      LinuxSampler instance:
2183  </p>  </p>
2184  <p></p>  <p>
2185                            </p>
2186  <blockquote class="text">  <blockquote class="text">
2187  <p>GET AVAILABLE_MIDI_INPUT_DRIVERS  <p>GET AVAILABLE_MIDI_INPUT_DRIVERS
2188  </p>  </p>
2189  </blockquote>  </blockquote><p>
2190                        
2191    </p>
2192  <p>Possible Answers:  <p>Possible Answers:
2193  </p>  </p>
2194  <p></p>  <p>
2195                            </p>
2196  <blockquote class="text">  <blockquote class="text">
2197  <p>LinuxSampler will answer by sending the  <p>LinuxSampler will answer by sending the
2198                              number of available MIDI input drivers.                              number of available MIDI input drivers.
2199  </p>  </p>
2200  </blockquote>  </blockquote><p>
2201                        
2202    </p>
2203  <p>Example:  <p>Example:
2204  </p>  </p>
2205  <p></p>  <p>
2206                            </p>
2207  <blockquote class="text">  <blockquote class="text">
2208  <p>C: "GET AVAILABLE_MIDI_INPUT_DRIVERS"  <p>C: "GET AVAILABLE_MIDI_INPUT_DRIVERS"
2209  </p>  </p>
2210  <p>S: "2"  <p>S: "2"
2211  </p>  </p>
2212  </blockquote>  </blockquote><p>
2213                        
2214  <a name="rfc.section.6.3.2"></a><h4><a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS">6.3.2</a>&nbsp;Getting all available MIDI input drivers</h4>  </p>
2215    <a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr />
2216    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2217    <a name="rfc.section.6.3.2"></a><h3>6.3.2.&nbsp;Getting all available MIDI input drivers</h3>
2218    
2219  <p>Use the following command to list all MIDI input drivers currently available  <p>Use the following command to list all MIDI input drivers currently available
2220                      for the LinuxSampler instance:                      for the LinuxSampler instance:
2221  </p>  </p>
2222  <p></p>  <p>
2223                            </p>
2224  <blockquote class="text">  <blockquote class="text">
2225  <p>LIST AVAILABLE_MIDI_INPUT_DRIVERS  <p>LIST AVAILABLE_MIDI_INPUT_DRIVERS
2226  </p>  </p>
2227  </blockquote>  </blockquote><p>
2228                        
2229    </p>
2230  <p>Possible Answers:  <p>Possible Answers:
2231  </p>  </p>
2232  <p></p>  <p>
2233                            </p>
2234  <blockquote class="text">  <blockquote class="text">
2235  <p>LinuxSampler will answer by sending comma separated character  <p>LinuxSampler will answer by sending comma separated character
2236                              strings, each symbolizing a MIDI input driver.                              strings, each symbolizing a MIDI input driver.
2237  </p>  </p>
2238  </blockquote>  </blockquote><p>
2239                        
2240    </p>
2241  <p>Example:  <p>Example:
2242  </p>  </p>
2243  <p></p>  <p>
2244                            </p>
2245  <blockquote class="text">  <blockquote class="text">
2246  <p>C: "LIST AVAILABLE_MIDI_INPUT_DRIVERS"  <p>C: "LIST AVAILABLE_MIDI_INPUT_DRIVERS"
2247  </p>  </p>
2248  <p>S: "ALSA,JACK"  <p>S: "ALSA,JACK"
2249  </p>  </p>
2250  </blockquote>  </blockquote><p>
2251                        
2252  <a name="rfc.section.6.3.3"></a><h4><a name="GET MIDI_INPUT_DRIVER INFO">6.3.3</a>&nbsp;Getting information about a specific MIDI input driver</h4>  </p>
2253    <a name="GET MIDI_INPUT_DRIVER INFO"></a><br /><hr />
2254    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2255    <a name="rfc.section.6.3.3"></a><h3>6.3.3.&nbsp;Getting information about a specific MIDI input driver</h3>
2256    
2257  <p>Use the following command to get detailed information about a specific MIDI input driver:  <p>Use the following command to get detailed information about a specific MIDI input driver:
2258  </p>  </p>
2259  <p></p>  <p>
2260                            </p>
2261  <blockquote class="text">  <blockquote class="text">
2262  <p>GET MIDI_INPUT_DRIVER INFO &lt;midi-input-driver&gt;  <p>GET MIDI_INPUT_DRIVER INFO &lt;midi-input-driver&gt;
2263  </p>  </p>
2264  </blockquote>  </blockquote><p>
2265                        
2266    </p>
2267  <p>Where &lt;midi-input-driver&gt; is the name of the MIDI input driver as returned  <p>Where &lt;midi-input-driver&gt; is the name of the MIDI input driver as returned
2268                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span>Getting all available MIDI input drivers</span></a> command.                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command.
2269  </p>  </p>
2270  <p>Possible Answers:  <p>Possible Answers:
2271  </p>  </p>
2272  <p></p>  <p>
2273                            </p>
2274  <blockquote class="text">  <blockquote class="text">
2275  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
2276                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 2006  Intellectual Property and Copyright Stat Line 2278  Intellectual Property and Copyright Stat
2278                              the info character string to that info category. At the moment                              the info character string to that info category. At the moment
2279                              the following information categories are defined:                              the following information categories are defined:
2280  </p>  </p>
2281  <p></p>  <p>
2282                                    </p>
2283  <blockquote class="text">  <blockquote class="text">
2284  <p>DESCRIPTION -  <p>DESCRIPTION -
2285                                          </p>                                          </p>
# Line 2014  Intellectual Property and Copyright Stat Line 2287  Intellectual Property and Copyright Stat
2287  <p>arbitrary description text about the MIDI input driver  <p>arbitrary description text about the MIDI input driver
2288  </p>  </p>
2289  </blockquote>  </blockquote>
2290                                        
2291    
2292  <p>VERSION -  <p>VERSION -
2293                                          </p>                                          </p>
# Line 2021  Intellectual Property and Copyright Stat Line 2295  Intellectual Property and Copyright Stat
2295  <p>arbitrary character string regarding the driver's version  <p>arbitrary character string regarding the driver's version
2296  </p>  </p>
2297  </blockquote>  </blockquote>
2298                                        
2299    
2300  <p>PARAMETERS -  <p>PARAMETERS -
2301                                          </p>                                          </p>
# Line 2028  Intellectual Property and Copyright Stat Line 2303  Intellectual Property and Copyright Stat
2303  <p>comma separated list of all parameters available for the given MIDI input driver  <p>comma separated list of all parameters available for the given MIDI input driver
2304  </p>  </p>
2305  </blockquote>  </blockquote>
2306                                        
2307    
2308  </blockquote>  </blockquote>
2309                                
2310    
2311  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
2312  </p>  </p>
2313  </blockquote>  </blockquote><p>
2314                        
2315    </p>
2316  <p>Example:  <p>Example:
2317  </p>  </p>
2318  <p></p>  <p>
2319                            </p>
2320  <blockquote class="text">  <blockquote class="text">
2321  <p>C: "GET MIDI_INPUT_DRIVER INFO ALSA"  <p>C: "GET MIDI_INPUT_DRIVER INFO ALSA"
2322  </p>  </p>
# Line 2049  Intellectual Property and Copyright Stat Line 2328  Intellectual Property and Copyright Stat
2328  </p>  </p>
2329  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
2330  </p>  </p>
2331  </blockquote>  </blockquote><p>
2332                        
2333  <a name="rfc.section.6.3.4"></a><h4><a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO">6.3.4</a>&nbsp;Getting information about specific MIDI input driver parameter</h4>  </p>
2334    <a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO"></a><br /><hr />
2335    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2336    <a name="rfc.section.6.3.4"></a><h3>6.3.4.&nbsp;Getting information about specific MIDI input driver parameter</h3>
2337    
2338  <p>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver:  <p>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver:
2339  </p>  </p>
2340  <p></p>  <p>
2341                            </p>
2342  <blockquote class="text">  <blockquote class="text">
2343  <p>GET MIDI_INPUT_DRIVER_PARAMETER INFO &lt;midit&gt; &lt;param&gt; [&lt;deplist&gt;]  <p>GET MIDI_INPUT_DRIVER_PARAMETER INFO &lt;midit&gt; &lt;param&gt; [&lt;deplist&gt;]
2344  </p>  </p>
2345  </blockquote>  </blockquote><p>
2346                        
2347    </p>
2348  <p>Where &lt;midit&gt; is the name of the MIDI input driver as returned  <p>Where &lt;midit&gt; is the name of the MIDI input driver as returned
2349                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span>Getting all available MIDI input drivers</span></a> command, &lt;param&gt; a specific                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command, &lt;param&gt; a specific
2350                      parameter name for which information should be obtained (as returned by the                      parameter name for which information should be obtained (as returned by the
2351                      <a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span>Getting information about a specific MIDI input driver</span></a> command) and &lt;deplist&gt; is an optional list                      <a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific MIDI input driver</span><span>)</span></a> command) and &lt;deplist&gt; is an optional list
2352                      of parameters on which the sought parameter &lt;param&gt; depends on,                      of parameters on which the sought parameter &lt;param&gt; depends on,
2353                      &lt;deplist&gt; is a key-value pair list in form of "key1=val1 key2=val2 ...",                      &lt;deplist&gt; is a key-value pair list in form of "key1=val1 key2=val2 ...",
2354                      where character string values are encapsulated into apostrophes ('). Arguments                      where character string values are encapsulated into apostrophes ('). Arguments
# Line 2083  Intellectual Property and Copyright Stat Line 2367  Intellectual Property and Copyright Stat
2367                      which is only shown dependent to given driver parameter. At                      which is only shown dependent to given driver parameter. At
2368                      the moment the following information categories are defined:                      the moment the following information categories are defined:
2369  </p>  </p>
2370  <p></p>  <p>
2371                            </p>
2372  <blockquote class="text">  <blockquote class="text">
2373  <p>TYPE -  <p>TYPE -
2374                                </p>                                </p>
# Line 2094  Intellectual Property and Copyright Stat Line 2379  Intellectual Property and Copyright Stat
2379                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
2380  </p>  </p>
2381  </blockquote>  </blockquote>
2382                                
2383    
2384  <p>DESCRIPTION -  <p>DESCRIPTION -
2385                                </p>                                </p>
# Line 2102  Intellectual Property and Copyright Stat Line 2388  Intellectual Property and Copyright Stat
2388                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
2389  </p>  </p>
2390  </blockquote>  </blockquote>
2391                                
2392    
2393  <p>MANDATORY -  <p>MANDATORY -
2394                                </p>                                </p>
2395  <blockquote class="text">  <blockquote class="text">
2396  <p>either true or false, defines if this parameter must be  <p>either true or false, defines if this parameter must be
2397                                  given when the device is to be created with the                                  given when the device is to be created with the
2398                                  <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span>Creating a MIDI input device</span></a> command                                  <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command
2399                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
2400  </p>  </p>
2401  </blockquote>  </blockquote>
2402                                
2403    
2404  <p>FIX -  <p>FIX -
2405                                </p>                                </p>
2406  <blockquote class="text">  <blockquote class="text">
2407  <p>either true or false, if false then this parameter can  <p>either true or false, if false then this parameter can
2408                                  be changed at any time, once the device is created by                                  be changed at any time, once the device is created by
2409                                  the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span>Creating a MIDI input device</span></a> command                                  the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command
2410                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
2411  </p>  </p>
2412  </blockquote>  </blockquote>
2413                                
2414    
2415  <p>MULTIPLICITY -  <p>MULTIPLICITY -
2416                                </p>                                </p>
# Line 2132  Intellectual Property and Copyright Stat Line 2421  Intellectual Property and Copyright Stat
2421                                  (always returned, no matter which driver parameter)                                  (always returned, no matter which driver parameter)
2422  </p>  </p>
2423  </blockquote>  </blockquote>
2424                                
2425    
2426  <p>DEPENDS -  <p>DEPENDS -
2427                                </p>                                </p>
# Line 2148  Intellectual Property and Copyright Stat Line 2438  Intellectual Property and Copyright Stat
2438                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
2439  </p>  </p>
2440  </blockquote>  </blockquote>
2441                                
2442    
2443  <p>DEFAULT -  <p>DEFAULT -
2444                                </p>                                </p>
2445  <blockquote class="text">  <blockquote class="text">
2446  <p>reflects the default value for this parameter which is  <p>reflects the default value for this parameter which is
2447                                  used when the device is created and not explicitly                                  used when the device is created and not explicitly
2448                                  given with the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span>Creating a MIDI input device</span></a> command,                                  given with the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command,
2449                                  in case of MULTIPLCITY=true, this is a comma separated                                  in case of MULTIPLCITY=true, this is a comma separated
2450                                  list, that's why character strings are encapsulated into                                  list, that's why character strings are encapsulated into
2451                                  apostrophes (')                                  apostrophes (')
2452                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
2453  </p>  </p>
2454  </blockquote>  </blockquote>
2455                                
2456    
2457  <p>RANGE_MIN -  <p>RANGE_MIN -
2458                                </p>                                </p>
# Line 2172  Intellectual Property and Copyright Stat Line 2464  Intellectual Property and Copyright Stat
2464                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
2465  </p>  </p>
2466  </blockquote>  </blockquote>
2467                                
2468    
2469  <p>RANGE_MAX -  <p>RANGE_MAX -
2470                                </p>                                </p>
# Line 2183  Intellectual Property and Copyright Stat Line 2476  Intellectual Property and Copyright Stat
2476                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
2477  </p>  </p>
2478  </blockquote>  </blockquote>
2479                                
2480    
2481  <p>POSSIBILITIES -  <p>POSSIBILITIES -
2482                                </p>                                </p>
# Line 2193  Intellectual Property and Copyright Stat Line 2487  Intellectual Property and Copyright Stat
2487                                  (optionally returned, dependent to driver parameter)                                  (optionally returned, dependent to driver parameter)
2488  </p>  </p>
2489  </blockquote>  </blockquote>
2490                                
2491    
2492  </blockquote>  </blockquote><p>
2493                        
2494    </p>
2495  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
2496  </p>  </p>
2497  <p>Example:  <p>Example:
2498  </p>  </p>
2499  <p></p>  <p>
2500                            </p>
2501  <blockquote class="text">  <blockquote class="text">
2502  <p>C: "GET MIDI_INPUT_DRIVER_PARAMETER INFO ALSA ACTIVE"  <p>C: "GET MIDI_INPUT_DRIVER_PARAMETER INFO ALSA ACTIVE"
2503  </p>  </p>
# Line 2218  Intellectual Property and Copyright Stat Line 2515  Intellectual Property and Copyright Stat
2515  </p>  </p>
2516  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
2517  </p>  </p>
2518  </blockquote>  </blockquote><p>
2519                        
2520  <a name="rfc.section.6.3.5"></a><h4><a name="CREATE MIDI_INPUT_DEVICE">6.3.5</a>&nbsp;Creating a MIDI input device</h4>  </p>
2521    <a name="CREATE MIDI_INPUT_DEVICE"></a><br /><hr />
2522    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2523    <a name="rfc.section.6.3.5"></a><h3>6.3.5.&nbsp;Creating a MIDI input device</h3>
2524    
2525  <p>Use the following command to create a new MIDI input device for  the desired MIDI input system:  <p>Use the following command to create a new MIDI input device for  the desired MIDI input system:
2526  </p>  </p>
2527  <p></p>  <p>
2528                            </p>
2529  <blockquote class="text">  <blockquote class="text">
2530  <p>CREATE MIDI_INPUT_DEVICE &lt;midi-input-driver&gt; [&lt;param-list&gt;]  <p>CREATE MIDI_INPUT_DEVICE &lt;midi-input-driver&gt; [&lt;param-list&gt;]
2531  </p>  </p>
2532  </blockquote>  </blockquote><p>
2533                        
2534    </p>
2535  <p>Where &lt;midi-input-driver&gt; should be replaced by the desired MIDI input system as returned  <p>Where &lt;midi-input-driver&gt; should be replaced by the desired MIDI input system as returned
2536                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span>Getting all available MIDI input drivers</span></a> command and &lt;param-list&gt; by an                      by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command and &lt;param-list&gt; by an
2537                      optional list of driver specific parameters in form of "key1=val1 key2=val2 ...", where                      optional list of driver specific parameters in form of "key1=val1 key2=val2 ...", where
2538                      character string values should be encapsulated into apostrophes (').                      character string values should be encapsulated into apostrophes (').
2539                      Note that there might be drivers which require parameter(s) to be                      Note that there might be drivers which require parameter(s) to be
# Line 2240  Intellectual Property and Copyright Stat Line 2542  Intellectual Property and Copyright Stat
2542  </p>  </p>
2543  <p>Possible Answers:  <p>Possible Answers:
2544  </p>  </p>
2545  <p></p>  <p>
2546                            </p>
2547  <blockquote class="text">  <blockquote class="text">
2548  <p>"OK[&lt;device-id&gt;]" -  <p>"OK[&lt;device-id&gt;]" -
2549                                  </p>                                  </p>
# Line 2249  Intellectual Property and Copyright Stat Line 2552  Intellectual Property and Copyright Stat
2552                                      &lt;device-id&gt; is the numerical ID of the new device                                      &lt;device-id&gt; is the numerical ID of the new device
2553  </p>  </p>
2554  </blockquote>  </blockquote>
2555                                
2556    
2557  <p>"WRN[&lt;device-id&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN[&lt;device-id&gt;]:&lt;warning-code&gt;:&lt;warning-message&gt;" -
2558                                  </p>                                  </p>
# Line 2259  Intellectual Property and Copyright Stat Line 2563  Intellectual Property and Copyright Stat
2563                                      appropriate warning code and warning message                                      appropriate warning code and warning message
2564  </p>  </p>
2565  </blockquote>  </blockquote>
2566                                
2567    
2568  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
2569                                  </p>                                  </p>
# Line 2266  Intellectual Property and Copyright Stat Line 2571  Intellectual Property and Copyright Stat
2571  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
2572  </p>  </p>
2573  </blockquote>  </blockquote>
2574                                
2575    
2576  </blockquote>  </blockquote><p>
2577                        
2578    </p>
2579  <p>Example:  <p>Example:
2580  </p>  </p>
2581  <p></p>  <p>
2582                            </p>
2583  <blockquote class="text">  <blockquote class="text">
2584  <p>C: "CREATE MIDI_INPUT_DEVICE ALSA"  <p>C: "CREATE MIDI_INPUT_DEVICE ALSA"
2585  </p>  </p>
2586  <p>S: "OK[0]"  <p>S: "OK[0]"
2587  </p>  </p>
2588  </blockquote>  </blockquote><p>
2589                        
2590  <a name="rfc.section.6.3.6"></a><h4><a name="DESTROY MIDI_INPUT_DEVICE">6.3.6</a>&nbsp;Destroying a MIDI input device</h4>  </p>
2591    <a name="DESTROY MIDI_INPUT_DEVICE"></a><br /><hr />
2592    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2593    <a name="rfc.section.6.3.6"></a><h3>6.3.6.&nbsp;Destroying a MIDI input device</h3>
2594    
2595  <p>Use the following command to destroy a created MIDI input device:  <p>Use the following command to destroy a created MIDI input device:
2596  </p>  </p>
2597  <p></p>  <p>
2598                            </p>
2599  <blockquote class="text">  <blockquote class="text">
2600  <p>DESTROY MIDI_INPUT_DEVICE &lt;device-id&gt;  <p>DESTROY MIDI_INPUT_DEVICE &lt;device-id&gt;
2601  </p>  </p>
2602  </blockquote>  </blockquote><p>
2603                        
2604    </p>
2605  <p>Where &lt;device-id&gt; should be replaced by the device's numerical ID as returned by the  <p>Where &lt;device-id&gt; should be replaced by the device's numerical ID as returned by the
2606                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
2607                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
2608                      command.                      command.
2609  </p>  </p>
2610  <p>Possible Answers:  <p>Possible Answers:
2611  </p>  </p>
2612  <p></p>  <p>
2613                            </p>
2614  <blockquote class="text">  <blockquote class="text">
2615  <p>"OK" -  <p>"OK" -
2616                                  </p>                                  </p>
# Line 2304  Intellectual Property and Copyright Stat Line 2618  Intellectual Property and Copyright Stat
2618  <p>in case the device was successfully destroyed  <p>in case the device was successfully destroyed
2619  </p>  </p>
2620  </blockquote>  </blockquote>
2621                                
2622    
2623  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
2624                                  </p>                                  </p>
# Line 2313  Intellectual Property and Copyright Stat Line 2628  Intellectual Property and Copyright Stat
2628                                      warning message                                      warning message
2629  </p>  </p>
2630  </blockquote>  </blockquote>
2631                                
2632    
2633  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
2634                                  </p>                                  </p>
# Line 2320  Intellectual Property and Copyright Stat Line 2636  Intellectual Property and Copyright Stat
2636  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
2637  </p>  </p>
2638  </blockquote>  </blockquote>
2639                                
2640    
2641  </blockquote>  </blockquote><p>
2642                        
2643    </p>
2644  <p>Example:  <p>Example:
2645  </p>  </p>
2646  <p></p>  <p>
2647                            </p>
2648  <blockquote class="text">  <blockquote class="text">
2649  <p>C: "DESTROY MIDI_INPUT_DEVICE 0"  <p>C: "DESTROY MIDI_INPUT_DEVICE 0"
2650  </p>  </p>
2651  <p>S: "OK"  <p>S: "OK"
2652  </p>  </p>
2653  </blockquote>  </blockquote><p>
2654                        
2655  <a name="rfc.section.6.3.7"></a><h4><a name="GET MIDI_INPUT_DEVICES">6.3.7</a>&nbsp;Getting all created MIDI input device count</h4>  </p>
2656    <a name="GET MIDI_INPUT_DEVICES"></a><br /><hr />
2657    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2658    <a name="rfc.section.6.3.7"></a><h3>6.3.7.&nbsp;Getting all created MIDI input device count</h3>
2659    
2660  <p>Use the following command to count all created MIDI input devices:  <p>Use the following command to count all created MIDI input devices:
2661  </p>  </p>
2662  <p></p>  <p>
2663                            </p>
2664  <blockquote class="text">  <blockquote class="text">
2665  <p>GET MIDI_INPUT_DEVICES  <p>GET MIDI_INPUT_DEVICES
2666  </p>  </p>
2667  </blockquote>  </blockquote><p>
2668                        
2669    </p>
2670  <p>Possible Answers:  <p>Possible Answers:
2671  </p>  </p>
2672  <p></p>  <p>
2673                            </p>
2674  <blockquote class="text">  <blockquote class="text">
2675  <p>LinuxSampler will answer by sending the current number of all  <p>LinuxSampler will answer by sending the current number of all
2676                              MIDI input devices.                              MIDI input devices.
2677  </p>  </p>
2678  </blockquote>  </blockquote><p>
2679                        
2680    </p>
2681  <p>Example:  <p>Example:
2682  </p>  </p>
2683  <p></p>  <p>
2684                            </p>
2685  <blockquote class="text">  <blockquote class="text">
2686  <p>C: "GET MIDI_INPUT_DEVICES"  <p>C: "GET MIDI_INPUT_DEVICES"
2687  </p>  </p>
2688  <p>S: "3"  <p>S: "3"
2689  </p>  </p>
2690  </blockquote>  </blockquote><p>
2691                        
2692  <a name="rfc.section.6.3.8"></a><h4><a name="LIST MIDI_INPUT_DEVICES">6.3.8</a>&nbsp;Getting all created MIDI input device list</h4>  </p>
2693    <a name="LIST MIDI_INPUT_DEVICES"></a><br /><hr />
2694    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2695    <a name="rfc.section.6.3.8"></a><h3>6.3.8.&nbsp;Getting all created MIDI input device list</h3>
2696    
2697  <p>Use the following command to list all created MIDI input devices:  <p>Use the following command to list all created MIDI input devices:
2698  </p>  </p>
2699  <p></p>  <p>
2700                            </p>
2701  <blockquote class="text">  <blockquote class="text">
2702  <p>LIST MIDI_INPUT_DEVICES  <p>LIST MIDI_INPUT_DEVICES
2703  </p>  </p>
2704  </blockquote>  </blockquote><p>
2705                        
2706    </p>
2707  <p>Possible Answers:  <p>Possible Answers:
2708  </p>  </p>
2709  <p></p>  <p>
2710                            </p>
2711  <blockquote class="text">  <blockquote class="text">
2712  <p>LinuxSampler will answer by sending a comma separated list  <p>LinuxSampler will answer by sending a comma separated list
2713                              with the numerical Ids of all created MIDI input devices.                              with the numerical Ids of all created MIDI input devices.
2714  </p>  </p>
2715  </blockquote>  </blockquote><p>
2716                        
2717    </p>
2718  <p>Examples:  <p>Examples:
2719  </p>  </p>
2720  <p></p>  <p>
2721                            </p>
2722  <blockquote class="text">  <blockquote class="text">
2723  <p>C: "LIST MIDI_INPUT_DEVICES"  <p>C: "LIST MIDI_INPUT_DEVICES"
2724  </p>  </p>
2725  <p>S: "0,1,2"  <p>S: "0,1,2"
2726  </p>  </p>
2727  </blockquote>  </blockquote><p>
2728                        
2729  <p></p>  </p>
2730    <p>
2731                            </p>
2732  <blockquote class="text">  <blockquote class="text">
2733  <p>C: "LIST MIDI_INPUT_DEVICES"  <p>C: "LIST MIDI_INPUT_DEVICES"
2734  </p>  </p>
2735  <p>S: "1,3"  <p>S: "1,3"
2736  </p>  </p>
2737  </blockquote>  </blockquote><p>
2738                        
2739  <a name="rfc.section.6.3.9"></a><h4><a name="GET MIDI_INPUT_DEVICE INFO">6.3.9</a>&nbsp;Getting current settings of a MIDI input device</h4>  </p>
2740    <a name="GET MIDI_INPUT_DEVICE INFO"></a><br /><hr />
2741    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2742    <a name="rfc.section.6.3.9"></a><h3>6.3.9.&nbsp;Getting current settings of a MIDI input device</h3>
2743    
2744  <p>Use the following command to get current settings of a specific, created MIDI input device:  <p>Use the following command to get current settings of a specific, created MIDI input device:
2745  </p>  </p>
2746  <p></p>  <p>
2747                            </p>
2748  <blockquote class="text">  <blockquote class="text">
2749  <p>GET MIDI_INPUT_DEVICE INFO &lt;device-id&gt;  <p>GET MIDI_INPUT_DEVICE INFO &lt;device-id&gt;
2750  </p>  </p>
2751  </blockquote>  </blockquote><p>
2752                        
2753    </p>
2754  <p>Where &lt;device-id&gt; is the numerical ID of the MIDI input device as returned by the  <p>Where &lt;device-id&gt; is the numerical ID of the MIDI input device as returned by the
2755                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
2756                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
2757                      command.                      command.
2758  </p>  </p>
2759  <p>Possible Answers:  <p>Possible Answers:
2760  </p>  </p>
2761  <p></p>  <p>
2762                            </p>
2763  <blockquote class="text">  <blockquote class="text">
2764  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
2765                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 2426  Intellectual Property and Copyright Stat Line 2769  Intellectual Property and Copyright Stat
2769                              encapsulated into apostrophes ('). At the moment the following                              encapsulated into apostrophes ('). At the moment the following
2770                              information categories are defined (independent of driver):                              information categories are defined (independent of driver):
2771  </p>  </p>
2772  <p></p>  <p>
2773                                    </p>
2774  <blockquote class="text">  <blockquote class="text">
2775  <p>DRIVER -  <p>DRIVER -
2776                                          </p>                                          </p>
2777  <blockquote class="text">  <blockquote class="text">
2778  <p>identifier of the used MIDI input driver, as e.g.  <p>identifier of the used MIDI input driver, as e.g.
2779                                              returned by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span>Getting all available MIDI input drivers</span></a>                                              returned by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a>
2780                                              command                                              command
2781  </p>  </p>
2782  </blockquote>  </blockquote>
2783                                        
2784    
2785  </blockquote>  </blockquote>
2786                                    
2787  <blockquote class="text">  <blockquote class="text">
2788  <p><p>ACTIVE -  <p>ACTIVE -
2789                                          </p>                                          </p>
2790  <blockquote class="text">  <blockquote class="text">
2791  <p>either true or false, if false then the MIDI device is  <p>either true or false, if false then the MIDI device is
# Line 2448  Intellectual Property and Copyright Stat Line 2794  Intellectual Property and Copyright Stat
2794                                              channels                                              channels
2795  </p>  </p>
2796  </blockquote>  </blockquote>
2797                                        
2798    
2799  </blockquote>  </blockquote>
2800                                
2801    
2802  </blockquote>  </blockquote><p>
2803                        
2804    </p>
2805  <p>The mentioned fields above don't have to be in particular  <p>The mentioned fields above don't have to be in particular
2806                      order. The fields above are only those fields which are                      order. The fields above are only those fields which are
2807                      returned by all MIDI input devices. Every MIDI input driver                      returned by all MIDI input devices. Every MIDI input driver
2808                      might have its own, additional driver specific parameters (see                      might have its own, additional driver specific parameters (see
2809                      <a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span>Getting information about a specific MIDI input driver</span></a> command) which are also returned                      <a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific MIDI input driver</span><span>)</span></a> command) which are also returned
2810                      by this command.                      by this command.
2811  </p>  </p>
2812  <p>Example:  <p>Example:
2813  </p>  </p>
2814  <p></p>  <p>
2815                            </p>
2816  <blockquote class="text">  <blockquote class="text">
2817  <p>C: "GET MIDI_INPUT_DEVICE INFO 0"  <p>C: "GET MIDI_INPUT_DEVICE INFO 0"
2818  </p>  </p>
# Line 2472  Intellectual Property and Copyright Stat Line 2822  Intellectual Property and Copyright Stat
2822  </p>  </p>
2823  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
2824  </p>  </p>
2825  </blockquote>  </blockquote><p>
2826                        
2827  <a name="rfc.section.6.3.10"></a><h4><a name="SET MIDI_INPUT_DEVICE_PARAMETER">6.3.10</a>&nbsp;Changing settings of MIDI input devices</h4>  </p>
2828    <a name="SET MIDI_INPUT_DEVICE_PARAMETER"></a><br /><hr />
2829    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2830    <a name="rfc.section.6.3.10"></a><h3>6.3.10.&nbsp;Changing settings of MIDI input devices</h3>
2831    
2832  <p>Use the following command to alter a specific setting of a created MIDI input device:  <p>Use the following command to alter a specific setting of a created MIDI input device:
2833  </p>  </p>
2834  <p></p>  <p>
2835                            </p>
2836  <blockquote class="text">  <blockquote class="text">
2837  <p>SET MIDI_INPUT_DEVICE_PARAMETER &lt;device-id&gt; &lt;key&gt;=&lt;value&gt;  <p>SET MIDI_INPUT_DEVICE_PARAMETER &lt;device-id&gt; &lt;key&gt;=&lt;value&gt;
2838  </p>  </p>
2839  </blockquote>  </blockquote><p>
2840                        
2841    </p>
2842  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the
2843                      MIDI input device as returned by the                      MIDI input device as returned by the
2844                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
2845                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
2846                      command, &lt;key&gt; by the name of the parameter to change and                      command, &lt;key&gt; by the name of the parameter to change and
2847                      &lt;value&gt; by the new value for this parameter.                      &lt;value&gt; by the new value for this parameter.
2848  </p>  </p>
2849  <p>Possible Answers:  <p>Possible Answers:
2850  </p>  </p>
2851  <p></p>  <p>
2852                            </p>
2853  <blockquote class="text">  <blockquote class="text">
2854  <p>"OK" -  <p>"OK" -
2855                                  </p>                                  </p>
# Line 2501  Intellectual Property and Copyright Stat Line 2857  Intellectual Property and Copyright Stat
2857  <p>in case setting was successfully changed  <p>in case setting was successfully changed
2858  </p>  </p>
2859  </blockquote>  </blockquote>
2860                                
2861    
2862  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
2863                                  </p>                                  </p>
# Line 2510  Intellectual Property and Copyright Stat Line 2867  Intellectual Property and Copyright Stat
2867                                      warning code and warning message                                      warning code and warning message
2868  </p>  </p>
2869  </blockquote>  </blockquote>
2870                                
2871    
2872  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
2873                                  </p>                                  </p>
# Line 2517  Intellectual Property and Copyright Stat Line 2875  Intellectual Property and Copyright Stat
2875  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
2876  </p>  </p>
2877  </blockquote>  </blockquote>
2878                                
2879    
2880  </blockquote>  </blockquote><p>
2881                        
2882    </p>
2883  <p>Example:  <p>Example:
2884  </p>  </p>
2885  <p></p>  <p>
2886                            </p>
2887  <blockquote class="text">  <blockquote class="text">
2888  <p>C: "SET MIDI_INPUT_DEVICE_PARAMETER 0 ACTIVE=false"  <p>C: "SET MIDI_INPUT_DEVICE_PARAMETER 0 ACTIVE=false"
2889  </p>  </p>
2890  <p>S: "OK"  <p>S: "OK"
2891  </p>  </p>
2892  </blockquote>  </blockquote><p>
2893                        
2894  <a name="rfc.section.6.3.11"></a><h4><a name="GET MIDI_INPUT_PORT INFO">6.3.11</a>&nbsp;Getting information about a MIDI port</h4>  </p>
2895    <a name="GET MIDI_INPUT_PORT INFO"></a><br /><hr />
2896    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2897    <a name="rfc.section.6.3.11"></a><h3>6.3.11.&nbsp;Getting information about a MIDI port</h3>
2898    
2899  <p>Use the following command to get information about a MIDI port:  <p>Use the following command to get information about a MIDI port:
2900  </p>  </p>
2901  <p></p>  <p>
2902                            </p>
2903  <blockquote class="text">  <blockquote class="text">
2904  <p>GET MIDI_INPUT_PORT INFO &lt;device-id&gt; &lt;midi-port&gt;  <p>GET MIDI_INPUT_PORT INFO &lt;device-id&gt; &lt;midi-port&gt;
2905  </p>  </p>
2906  </blockquote>  </blockquote><p>
2907                        
2908    </p>
2909  <p>Where &lt;device-id&gt; is the numerical ID of the MIDI input device as returned by the  <p>Where &lt;device-id&gt; is the numerical ID of the MIDI input device as returned by the
2910                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
2911                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
2912                      command and &lt;midi-port&gt; the MIDI input port number.                      command and &lt;midi-port&gt; the MIDI input port number.
2913  </p>  </p>
2914  <p>Possible Answers:  <p>Possible Answers:
2915  </p>  </p>
2916  <p></p>  <p>
2917                            </p>
2918  <blockquote class="text">  <blockquote class="text">
2919  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
2920                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 2561  Intellectual Property and Copyright Stat Line 2928  Intellectual Property and Copyright Stat
2928  <p>arbitrary character string naming the port  <p>arbitrary character string naming the port
2929  </p>  </p>
2930  </blockquote>  </blockquote>
2931                                
2932    
2933  </blockquote>  </blockquote><p>
2934                        
2935    </p>
2936  <p>The field above is only the one which is returned by all MIDI  <p>The field above is only the one which is returned by all MIDI
2937                      ports regardless of the MIDI driver and port. Every MIDI port                      ports regardless of the MIDI driver and port. Every MIDI port
2938                      might have its own, additional driver and port specific                      might have its own, additional driver and port specific
# Line 2571  Intellectual Property and Copyright Stat Line 2940  Intellectual Property and Copyright Stat
2940  </p>  </p>
2941  <p>Example:  <p>Example:
2942  </p>  </p>
2943  <p></p>  <p>
2944                            </p>
2945  <blockquote class="text">  <blockquote class="text">
2946  <p>C: "GET MIDI_INPUT_PORT INFO 0 0"  <p>C: "GET MIDI_INPUT_PORT INFO 0 0"
2947  </p>  </p>
# Line 2581  Intellectual Property and Copyright Stat Line 2951  Intellectual Property and Copyright Stat
2951  </p>  </p>
2952  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
2953  </p>  </p>
2954  </blockquote>  </blockquote><p>
2955                        
2956  <a name="rfc.section.6.3.12"></a><h4><a name="GET MIDI_INPUT_PORT_PARAMETER INFO">6.3.12</a>&nbsp;Getting information about specific MIDI port parameter</h4>  </p>
2957    <a name="GET MIDI_INPUT_PORT_PARAMETER INFO"></a><br /><hr />
2958    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
2959    <a name="rfc.section.6.3.12"></a><h3>6.3.12.&nbsp;Getting information about specific MIDI port parameter</h3>
2960    
2961  <p>Use the following command to get detailed information about specific MIDI port parameter:  <p>Use the following command to get detailed information about specific MIDI port parameter:
2962  </p>  </p>
2963  <p></p>  <p>
2964                            </p>
2965  <blockquote class="text">  <blockquote class="text">
2966  <p>GET MIDI_INPUT_PORT_PARAMETER INFO &lt;dev-id&gt; &lt;port&gt; &lt;param&gt;  <p>GET MIDI_INPUT_PORT_PARAMETER INFO &lt;dev-id&gt; &lt;port&gt; &lt;param&gt;
2967  </p>  </p>
2968  </blockquote>  </blockquote><p>
2969                        
2970    </p>
2971  <p>Where &lt;dev-id&gt; is the numerical ID of the MIDI input device as returned by the  <p>Where &lt;dev-id&gt; is the numerical ID of the MIDI input device as returned by the
2972                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
2973                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
2974                      command, &lt;port&gt; the MIDI port number and                      command, &lt;port&gt; the MIDI port number and
2975                      &lt;param&gt; a specific port parameter name for which information should be                      &lt;param&gt; a specific port parameter name for which information should be
2976                      obtained (as returned by the <a class="info" href="#GET MIDI_INPUT_PORT INFO">"GET MIDI_INPUT_PORT INFO"<span>Getting information about a MIDI port</span></a> command).                      obtained (as returned by the <a class="info" href="#GET MIDI_INPUT_PORT INFO">"GET MIDI_INPUT_PORT INFO"<span> (</span><span class="info">Getting information about a MIDI port</span><span>)</span></a> command).
2977  </p>  </p>
2978  <p>Possible Answers:  <p>Possible Answers:
2979  </p>  </p>
2980  <p></p>  <p>
2981                            </p>
2982  <blockquote class="text">  <blockquote class="text">
2983  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
2984                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 2622  Intellectual Property and Copyright Stat Line 2998  Intellectual Property and Copyright Stat
2998                                      (always returned)                                      (always returned)
2999  </p>  </p>
3000  </blockquote>  </blockquote>
3001                                
3002    
3003  <p>DESCRIPTION -  <p>DESCRIPTION -
3004                                  </p>                                  </p>
# Line 2630  Intellectual Property and Copyright Stat Line 3007  Intellectual Property and Copyright Stat
3007                                      (always returned)                                      (always returned)
3008  </p>  </p>
3009  </blockquote>  </blockquote>
3010                                
3011    
3012  <p>FIX -  <p>FIX -
3013                                  </p>                                  </p>
# Line 2639  Intellectual Property and Copyright Stat Line 3017  Intellectual Property and Copyright Stat
3017                                      (always returned)                                      (always returned)
3018  </p>  </p>
3019  </blockquote>  </blockquote>
3020                                
3021    
3022  <p>MULTIPLICITY -  <p>MULTIPLICITY -
3023                                  </p>                                  </p>
# Line 2649  Intellectual Property and Copyright Stat Line 3028  Intellectual Property and Copyright Stat
3028                                      (always returned)                                      (always returned)
3029  </p>  </p>
3030  </blockquote>  </blockquote>
3031                                
3032    
3033  <p>RANGE_MIN -  <p>RANGE_MIN -
3034                                  </p>                                  </p>
# Line 2661  Intellectual Property and Copyright Stat Line 3041  Intellectual Property and Copyright Stat
3041                                      parameter)                                      parameter)
3042  </p>  </p>
3043  </blockquote>  </blockquote>
3044                                
3045    
3046  <p>RANGE_MAX -  <p>RANGE_MAX -
3047                                  </p>                                  </p>
# Line 2673  Intellectual Property and Copyright Stat Line 3054  Intellectual Property and Copyright Stat
3054                                      parameter)                                      parameter)
3055  </p>  </p>
3056  </blockquote>  </blockquote>
3057                                
3058    
3059  <p>POSSIBILITIES -  <p>POSSIBILITIES -
3060                                  </p>                                  </p>
# Line 2684  Intellectual Property and Copyright Stat Line 3066  Intellectual Property and Copyright Stat
3066                                      parameter)                                      parameter)
3067  </p>  </p>
3068  </blockquote>  </blockquote>
3069                                
3070    
3071  </blockquote>  </blockquote><p>
3072                        
3073    </p>
3074  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
3075  </p>  </p>
3076  <p>Example:  <p>Example:
3077  </p>  </p>
3078  <p></p>  <p>
3079                            </p>
3080  <blockquote class="text">  <blockquote class="text">
3081  <p>C: "GET MIDI_INPUT_PORT_PARAMETER INFO 0 0 ALSA_SEQ_BINDINGS"  <p>C: "GET MIDI_INPUT_PORT_PARAMETER INFO 0 0 ALSA_SEQ_BINDINGS"
3082  </p>  </p>
# Line 2707  Intellectual Property and Copyright Stat Line 3092  Intellectual Property and Copyright Stat
3092  </p>  </p>
3093  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
3094  </p>  </p>
3095  </blockquote>  </blockquote><p>
3096                        
3097  <a name="rfc.section.6.3.13"></a><h4><a name="SET MIDI_INPUT_PORT_PARAMETER">6.3.13</a>&nbsp;Changing settings of MIDI input ports</h4>  </p>
3098    <a name="SET MIDI_INPUT_PORT_PARAMETER"></a><br /><hr />
3099    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3100    <a name="rfc.section.6.3.13"></a><h3>6.3.13.&nbsp;Changing settings of MIDI input ports</h3>
3101    
3102  <p>Use the following command to alter a specific setting of a MIDI input port:  <p>Use the following command to alter a specific setting of a MIDI input port:
3103  </p>  </p>
3104  <p></p>  <p>
3105                            </p>
3106  <blockquote class="text">  <blockquote class="text">
3107  <p>SET MIDI_INPUT_PORT_PARAMETER &lt;device-id&gt; &lt;port&gt; &lt;key&gt;=&lt;value&gt;  <p>SET MIDI_INPUT_PORT_PARAMETER &lt;device-id&gt; &lt;port&gt; &lt;key&gt;=&lt;value&gt;
3108  </p>  </p>
3109  </blockquote>  </blockquote><p>
3110                        
3111    </p>
3112  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the  <p>Where &lt;device-id&gt; should be replaced by the numerical ID of the
3113                      MIDI device as returned by the                      MIDI device as returned by the
3114                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
3115                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a>                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a>
3116                      command, &lt;port&gt; by the MIDI port number, &lt;key&gt; by the name of                      command, &lt;port&gt; by the MIDI port number, &lt;key&gt; by the name of
3117                      the parameter to change and &lt;value&gt; by the new value for this                      the parameter to change and &lt;value&gt; by the new value for this
3118                      parameter.                      parameter.
3119  </p>  </p>
3120  <p>Possible Answers:  <p>Possible Answers:
3121  </p>  </p>
3122  <p></p>  <p>
3123                            </p>
3124  <blockquote class="text">  <blockquote class="text">
3125  <p>"OK" -  <p>"OK" -
3126                                  </p>                                  </p>
# Line 2737  Intellectual Property and Copyright Stat Line 3128  Intellectual Property and Copyright Stat
3128  <p>in case setting was successfully changed  <p>in case setting was successfully changed
3129  </p>  </p>
3130  </blockquote>  </blockquote>
3131                                
3132    
3133  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3134                                  </p>                                  </p>
# Line 2746  Intellectual Property and Copyright Stat Line 3138  Intellectual Property and Copyright Stat
3138                                      warning code and warning message                                      warning code and warning message
3139  </p>  </p>
3140  </blockquote>  </blockquote>
3141                                
3142    
3143  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3144                                  </p>                                  </p>
# Line 2753  Intellectual Property and Copyright Stat Line 3146  Intellectual Property and Copyright Stat
3146  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
3147  </p>  </p>
3148  </blockquote>  </blockquote>
3149                                
3150    
3151  </blockquote>  </blockquote><p>
3152                        
3153    </p>
3154  <p>Example:  <p>Example:
3155  </p>  </p>
3156  <p></p>  <p>
3157                            </p>
3158  <blockquote class="text">  <blockquote class="text">
3159  <p>  <p>
3160  </p>  </p>
3161  </blockquote>  </blockquote><p>
3162                        
3163  <a name="rfc.section.6.4"></a><h4><a name="anchor11">6.4</a>&nbsp;Configuring sampler channels</h4>  </p>
3164    <a name="anchor11"></a><br /><hr />
3165    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3166    <a name="rfc.section.6.4"></a><h3>6.4.&nbsp;Configuring sampler channels</h3>
3167    
3168  <p>The following commands describe how to add and remove sampler channels, associate a  <p>The following commands describe how to add and remove sampler channels, associate a
3169                  sampler channel with a sampler engine, load instruments and connect sampler channels to                  sampler channel with a sampler engine, load instruments and connect sampler channels to
3170                  MIDI and audio devices.                  MIDI and audio devices.
3171  </p>  </p>
3172  <a name="rfc.section.6.4.1"></a><h4><a name="LOAD INSTRUMENT">6.4.1</a>&nbsp;Loading an instrument</h4>  <a name="LOAD INSTRUMENT"></a><br /><hr />
3173    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3174    <a name="rfc.section.6.4.1"></a><h3>6.4.1.&nbsp;Loading an instrument</h3>
3175    
3176  <p>An instrument file can be loaded and assigned to a sampler channel by one of the following commands:  <p>An instrument file can be loaded and assigned to a sampler channel by one of the following commands:
3177  </p>  </p>
3178  <p></p>  <p>
3179                            </p>
3180  <blockquote class="text">  <blockquote class="text">
3181  <p>LOAD INSTRUMENT [NON_MODAL] '&lt;filename&gt;' &lt;instr-index&gt; &lt;sampler-channel&gt;  <p>LOAD INSTRUMENT [NON_MODAL] '&lt;filename&gt;' &lt;instr-index&gt; &lt;sampler-channel&gt;
3182  </p>  </p>
3183  </blockquote>  </blockquote><p>
3184                        
3185    </p>
3186  <p>Where &lt;filename&gt; is the name of the instrument file on the  <p>Where &lt;filename&gt; is the name of the instrument file on the
3187                      LinuxSampler instance's host system, &lt;instr-index&gt; the index of the                      LinuxSampler instance's host system, &lt;instr-index&gt; the index of the
3188                      instrument in the instrument file and &lt;sampler-channel> is the                      instrument in the instrument file and &lt;sampler-channel> is the
# Line 2790  Intellectual Property and Copyright Stat Line 3193  Intellectual Property and Copyright Stat
3193                      is that the regular command returns OK only after the instrument has been                      is that the regular command returns OK only after the instrument has been
3194                      fully loaded and the channel is ready to be used while NON_MODAL version                      fully loaded and the channel is ready to be used while NON_MODAL version
3195                      returns immediately and a background process is launched to load the instrument                      returns immediately and a background process is launched to load the instrument
3196                      on the channel. The <a class="info" href="#GET CHANNEL INFO">GET CHANNEL INFO<span>Getting sampler channel information</span></a>                      on the channel. The <a class="info" href="#GET CHANNEL INFO">GET CHANNEL INFO<span> (</span><span class="info">Getting sampler channel information</span><span>)</span></a>
3197                      command can be used to obtain loading                      command can be used to obtain loading
3198                      progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks                      progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks
3199                      such as making sure that the file could be read and it is of a proper format                      such as making sure that the file could be read and it is of a proper format
# Line 2799  Intellectual Property and Copyright Stat Line 3202  Intellectual Property and Copyright Stat
3202  </p>  </p>
3203  <p>Possible Answers:  <p>Possible Answers:
3204  </p>  </p>
3205  <p></p>  <p>
3206                            </p>
3207  <blockquote class="text">  <blockquote class="text">
3208  <p>"OK" -  <p>"OK" -
3209                                  </p>                                  </p>
# Line 2807  Intellectual Property and Copyright Stat Line 3211  Intellectual Property and Copyright Stat
3211  <p>in case the instrument was successfully loaded  <p>in case the instrument was successfully loaded
3212  </p>  </p>
3213  </blockquote>  </blockquote>
3214                                
3215    
3216  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3217                                  </p>                                  </p>
# Line 2818  Intellectual Property and Copyright Stat Line 3223  Intellectual Property and Copyright Stat
3223                                      warning message                                      warning message
3224  </p>  </p>
3225  </blockquote>  </blockquote>
3226                                
3227    
3228  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3229                                  </p>                                  </p>
# Line 2825  Intellectual Property and Copyright Stat Line 3231  Intellectual Property and Copyright Stat
3231  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
3232  </p>  </p>
3233  </blockquote>  </blockquote>
3234                                
3235    
3236  </blockquote>  </blockquote><p>
3237                        
3238    </p>
3239  <p>Example:  <p>Example:
3240  </p>  </p>
3241  <p></p>  <p>
3242                            </p>
3243  <blockquote class="text">  <blockquote class="text">
3244  <p>  <p>
3245  </p>  </p>
3246  </blockquote>  </blockquote><p>
3247                        
3248  <a name="rfc.section.6.4.2"></a><h4><a name="LOAD ENGINE">6.4.2</a>&nbsp;Loading a sampler engine</h4>  </p>
3249    <a name="LOAD ENGINE"></a><br /><hr />
3250    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3251    <a name="rfc.section.6.4.2"></a><h3>6.4.2.&nbsp;Loading a sampler engine</h3>
3252    
3253  <p>A sampler engine type can be associated to a specific sampler  <p>A sampler engine type can be associated to a specific sampler
3254                      channel by the following command:                      channel by the following command:
3255  </p>  </p>
3256  <p></p>  <p>
3257                            </p>
3258  <blockquote class="text">  <blockquote class="text">
3259  <p>LOAD ENGINE &lt;engine-name&gt; &lt;sampler-channel&gt;  <p>LOAD ENGINE &lt;engine-name&gt; &lt;sampler-channel&gt;
3260  </p>  </p>
3261  </blockquote>  </blockquote><p>
3262                        
3263    </p>
3264  <p>Where &lt;engine-name&gt; is an engine name as obtained by the  <p>Where &lt;engine-name&gt; is an engine name as obtained by the
3265                      <a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span>Getting all available engines</span></a> command and &lt;sampler-channel&gt;                      <a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span> (</span><span class="info">Getting all available engines</span><span>)</span></a> command and &lt;sampler-channel&gt;
3266                      the sampler channel as returned by the                      the sampler channel as returned by the
3267                      <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a> or                      <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> or
3268                      <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command where                      <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command where
3269                      the engine type should be assigned to. This command should be issued                      the engine type should be assigned to. This command should be issued
3270                      after adding a new sampler channel and before any other control                      after adding a new sampler channel and before any other control
3271                      commands on the new sampler channel. It can also be used to change                      commands on the new sampler channel. It can also be used to change
# Line 2863  Intellectual Property and Copyright Stat Line 3277  Intellectual Property and Copyright Stat
3277  </p>  </p>
3278  <p>Possible Answers:  <p>Possible Answers:
3279  </p>  </p>
3280  <p></p>  <p>
3281                            </p>
3282  <blockquote class="text">  <blockquote class="text">
3283  <p>"OK" -  <p>"OK" -
3284                                  </p>                                  </p>
# Line 2871  Intellectual Property and Copyright Stat Line 3286  Intellectual Property and Copyright Stat
3286  <p>in case the engine was successfully deployed  <p>in case the engine was successfully deployed
3287  </p>  </p>
3288  </blockquote>  </blockquote>
3289                                
3290    
3291  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3292                                  </p>                                  </p>
# Line 2880  Intellectual Property and Copyright Stat Line 3296  Intellectual Property and Copyright Stat
3296                                      warning code and warning message                                      warning code and warning message
3297  </p>  </p>
3298  </blockquote>  </blockquote>
3299                                
3300    
3301  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3302                                  </p>                                  </p>
# Line 2888  Intellectual Property and Copyright Stat Line 3305  Intellectual Property and Copyright Stat
3305                                      error message                                      error message
3306  </p>  </p>
3307  </blockquote>  </blockquote>
3308                                
3309    
3310  </blockquote>  </blockquote><p>
3311                        
3312    </p>
3313  <p>Example:  <p>Example:
3314  </p>  </p>
3315  <p></p>  <p>
3316                            </p>
3317  <blockquote class="text">  <blockquote class="text">
3318  <p>  <p>
3319  </p>  </p>
3320  </blockquote>  </blockquote><p>
3321                        
3322  <a name="rfc.section.6.4.3"></a><h4><a name="GET CHANNELS">6.4.3</a>&nbsp;Getting all created sampler channel count</h4>  </p>
3323    <a name="GET CHANNELS"></a><br /><hr />
3324    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3325    <a name="rfc.section.6.4.3"></a><h3>6.4.3.&nbsp;Getting all created sampler channel count</h3>
3326    
3327  <p>The number of sampler channels can change on runtime. To get the  <p>The number of sampler channels can change on runtime. To get the
3328                      current amount of sampler channels, the front-end can send the                      current amount of sampler channels, the front-end can send the
3329                      following command:                      following command:
3330  </p>  </p>
3331  <p></p>  <p>
3332                            </p>
3333  <blockquote class="text">  <blockquote class="text">
3334  <p>GET CHANNELS  <p>GET CHANNELS
3335  </p>  </p>
3336  </blockquote>  </blockquote><p>
3337                        
3338    </p>
3339  <p>Possible Answers:  <p>Possible Answers:
3340  </p>  </p>
3341  <p></p>  <p>
3342                            </p>
3343  <blockquote class="text">  <blockquote class="text">
3344  <p>LinuxSampler will answer by returning the current number of sampler channels.  <p>LinuxSampler will answer by returning the current number of sampler channels.
3345  </p>  </p>
3346  </blockquote>  </blockquote><p>
3347                        
3348    </p>
3349  <p>Example:  <p>Example:
3350  </p>  </p>
3351  <p></p>  <p>
3352                            </p>
3353  <blockquote class="text">  <blockquote class="text">
3354  <p>C: "GET CHANNELS"  <p>C: "GET CHANNELS"
3355  </p>  </p>
3356  <p>S: "12"  <p>S: "12"
3357  </p>  </p>
3358  </blockquote>  </blockquote><p>
3359                        
3360  <a name="rfc.section.6.4.4"></a><h4><a name="LIST CHANNELS">6.4.4</a>&nbsp;Getting all created sampler channel list</h4>  </p>
3361    <a name="LIST CHANNELS"></a><br /><hr />
3362    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3363    <a name="rfc.section.6.4.4"></a><h3>6.4.4.&nbsp;Getting all created sampler channel list</h3>
3364    
3365  <p>The number of sampler channels can change on runtime. To get the  <p>The number of sampler channels can change on runtime. To get the
3366                      current list of sampler channels, the front-end can send the                      current list of sampler channels, the front-end can send the
3367                      following command:                      following command:
3368  </p>  </p>
3369  <p></p>  <p>
3370                            </p>
3371  <blockquote class="text">  <blockquote class="text">
3372  <p>LIST CHANNELS  <p>LIST CHANNELS
3373  </p>  </p>
3374  </blockquote>  </blockquote><p>
3375                        
3376    </p>
3377  <p>Possible Answers:  <p>Possible Answers:
3378  </p>  </p>
3379  <p></p>  <p>
3380                            </p>
3381  <blockquote class="text">  <blockquote class="text">
3382  <p>LinuxSampler will answer by returning a comma separated list  <p>LinuxSampler will answer by returning a comma separated list
3383                              with all sampler channels numerical IDs.                              with all sampler channels numerical IDs.
3384  </p>  </p>
3385  </blockquote>  </blockquote><p>
3386                        
3387    </p>
3388  <p>Example:  <p>Example:
3389  </p>  </p>
3390  <p></p>  <p>
3391                            </p>
3392  <blockquote class="text">  <blockquote class="text">
3393  <p>C: "LIST CHANNELS"  <p>C: "LIST CHANNELS"
3394  </p>  </p>
3395  <p>S: "0,1,2,3,4,5,6,9,10,11,15,20"  <p>S: "0,1,2,3,4,5,6,9,10,11,15,20"
3396  </p>  </p>
3397  </blockquote>  </blockquote><p>
3398                        
3399  <a name="rfc.section.6.4.5"></a><h4><a name="ADD CHANNEL">6.4.5</a>&nbsp;Adding a new sampler channel</h4>  </p>
3400    <a name="ADD CHANNEL"></a><br /><hr />
3401    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3402    <a name="rfc.section.6.4.5"></a><h3>6.4.5.&nbsp;Adding a new sampler channel</h3>
3403    
3404  <p>A new sampler channel can be added to the end of the sampler  <p>A new sampler channel can be added to the end of the sampler
3405                      channel list by sending the following command:                      channel list by sending the following command:
3406  </p>  </p>
3407  <p></p>  <p>
3408                            </p>
3409  <blockquote class="text">  <blockquote class="text">
3410  <p>ADD CHANNEL  <p>ADD CHANNEL
3411  </p>  </p>
3412  </blockquote>  </blockquote><p>
3413                        
3414    </p>
3415  <p>This will increment the sampler channel count by one and the new  <p>This will increment the sampler channel count by one and the new
3416                      sampler channel will be appended to the end of the sampler channel                      sampler channel will be appended to the end of the sampler channel
3417                      list. The front-end should send the respective, related commands                      list. The front-end should send the respective, related commands
# Line 2983  Intellectual Property and Copyright Stat Line 3424  Intellectual Property and Copyright Stat
3424  </p>  </p>
3425  <p>Possible Answers:  <p>Possible Answers:
3426  </p>  </p>
3427  <p></p>  <p>
3428                            </p>
3429  <blockquote class="text">  <blockquote class="text">
3430  <p>"OK[&lt;sampler-channel&gt;]" -  <p>"OK[&lt;sampler-channel&gt;]" -
3431                                  </p>                                  </p>
# Line 2995  Intellectual Property and Copyright Stat Line 3437  Intellectual Property and Copyright Stat
3437                                      commands                                      commands
3438  </p>  </p>
3439  </blockquote>  </blockquote>
3440                                
3441    
3442  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3443                                  </p>                                  </p>
# Line 3004  Intellectual Property and Copyright Stat Line 3447  Intellectual Property and Copyright Stat
3447                                      warning code and warning message                                      warning code and warning message
3448  </p>  </p>
3449  </blockquote>  </blockquote>
3450                                
3451    
3452  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3453                                  </p>                                  </p>
# Line 3012  Intellectual Property and Copyright Stat Line 3456  Intellectual Property and Copyright Stat
3456                                      error message                                      error message
3457  </p>  </p>
3458  </blockquote>  </blockquote>
3459                                
3460    
3461  </blockquote>  </blockquote><p>
3462                        
3463    </p>
3464  <p>Example:  <p>Example:
3465  </p>  </p>
3466  <p></p>  <p>
3467                            </p>
3468  <blockquote class="text">  <blockquote class="text">
3469  <p>  <p>
3470  </p>  </p>
3471  </blockquote>  </blockquote><p>
3472                        
3473  <a name="rfc.section.6.4.6"></a><h4><a name="REMOVE CHANNEL">6.4.6</a>&nbsp;Removing a sampler channel</h4>  </p>
3474    <a name="REMOVE CHANNEL"></a><br /><hr />
3475    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3476    <a name="rfc.section.6.4.6"></a><h3>6.4.6.&nbsp;Removing a sampler channel</h3>
3477    
3478  <p>A sampler channel can be removed by sending the following command:  <p>A sampler channel can be removed by sending the following command:
3479  </p>  </p>
3480  <p></p>  <p>
3481                            </p>
3482  <blockquote class="text">  <blockquote class="text">
3483  <p>REMOVE CHANNEL &lt;sampler-channel&gt;  <p>REMOVE CHANNEL &lt;sampler-channel&gt;
3484  </p>  </p>
3485  </blockquote>  </blockquote><p>
3486                        
3487    </p>
3488  <p>Where &lt;sampler-channel&gt; should be replaced by the  <p>Where &lt;sampler-channel&gt; should be replaced by the
3489                      number of the sampler channel as given by the                      number of the sampler channel as given by the
3490                      <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
3491                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a>                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a>
3492                      command. The channel numbers of all subsequent sampler channels                      command. The channel numbers of all subsequent sampler channels
3493                      remain the same.                      remain the same.
3494  </p>  </p>
3495  <p>Possible Answers:  <p>Possible Answers:
3496  </p>  </p>
3497  <p></p>  <p>
3498                            </p>
3499  <blockquote class="text">  <blockquote class="text">
3500  <p>"OK" -  <p>"OK" -
3501                                  </p>                                  </p>
# Line 3050  Intellectual Property and Copyright Stat Line 3503  Intellectual Property and Copyright Stat
3503  <p>in case the given sampler channel could be removed  <p>in case the given sampler channel could be removed
3504  </p>  </p>
3505  </blockquote>  </blockquote>
3506                                
3507    
3508  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3509                                  </p>                                  </p>
# Line 3059  Intellectual Property and Copyright Stat Line 3513  Intellectual Property and Copyright Stat
3513                                      warning code and warning message                                      warning code and warning message
3514  </p>  </p>
3515  </blockquote>  </blockquote>
3516                                
3517    
3518  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3519                                  </p>                                  </p>
# Line 3067  Intellectual Property and Copyright Stat Line 3522  Intellectual Property and Copyright Stat
3522                                      error message                                      error message
3523  </p>  </p>
3524  </blockquote>  </blockquote>
3525                                
3526    
3527  </blockquote>  </blockquote><p>
3528                        
3529    </p>
3530  <p>Example:  <p>Example:
3531  </p>  </p>
3532  <p></p>  <p>
3533                            </p>
3534  <blockquote class="text">  <blockquote class="text">
3535  <p>  <p>
3536  </p>  </p>
3537  </blockquote>  </blockquote><p>
3538                        
3539  <a name="rfc.section.6.4.7"></a><h4><a name="GET AVAILABLE_ENGINES">6.4.7</a>&nbsp;Getting amount of available engines</h4>  </p>
3540    <a name="GET AVAILABLE_ENGINES"></a><br /><hr />
3541    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3542    <a name="rfc.section.6.4.7"></a><h3>6.4.7.&nbsp;Getting amount of available engines</h3>
3543    
3544  <p>The front-end can ask for the number of available engines by sending the following command:  <p>The front-end can ask for the number of available engines by sending the following command:
3545  </p>  </p>
3546  <p></p>  <p>
3547                            </p>
3548  <blockquote class="text">  <blockquote class="text">
3549  <p>GET AVAILABLE_ENGINES  <p>GET AVAILABLE_ENGINES
3550  </p>  </p>
3551  </blockquote>  </blockquote><p>
3552                        
3553    </p>
3554  <p>Possible Answers:  <p>Possible Answers:
3555  </p>  </p>
3556  <p></p>  <p>
3557                            </p>
3558  <blockquote class="text">  <blockquote class="text">
3559  <p>LinuxSampler will answer by sending the number of available engines.  <p>LinuxSampler will answer by sending the number of available engines.
3560  </p>  </p>
3561  </blockquote>  </blockquote><p>
3562                        
3563    </p>
3564  <p>Example:  <p>Example:
3565  </p>  </p>
3566  <p></p>  <p>
3567                            </p>
3568  <blockquote class="text">  <blockquote class="text">
3569  <p>C: "GET AVAILABLE_ENGINES"  <p>C: "GET AVAILABLE_ENGINES"
3570  </p>  </p>
3571  <p>S: "4"  <p>S: "4"
3572  </p>  </p>
3573  </blockquote>  </blockquote><p>
3574                        
3575  <a name="rfc.section.6.4.8"></a><h4><a name="LIST AVAILABLE_ENGINES">6.4.8</a>&nbsp;Getting all available engines</h4>  </p>
3576    <a name="LIST AVAILABLE_ENGINES"></a><br /><hr />
3577    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3578    <a name="rfc.section.6.4.8"></a><h3>6.4.8.&nbsp;Getting all available engines</h3>
3579    
3580  <p>The front-end can ask for a list of all available engines by sending the following command:  <p>The front-end can ask for a list of all available engines by sending the following command:
3581  </p>  </p>
3582  <p></p>  <p>
3583                            </p>
3584  <blockquote class="text">  <blockquote class="text">
3585  <p>LIST AVAILABLE_ENGINES  <p>LIST AVAILABLE_ENGINES
3586  </p>  </p>
3587  </blockquote>  </blockquote><p>
3588                        
3589    </p>
3590  <p>Possible Answers:  <p>Possible Answers:
3591  </p>  </p>
3592  <p></p>  <p>
3593                            </p>
3594  <blockquote class="text">  <blockquote class="text">
3595  <p>LinuxSampler will answer by sending a comma separated list  <p>LinuxSampler will answer by sending a comma separated list
3596                              of the engines' names encapsulated into apostrophes (').                              of the engines' names encapsulated into apostrophes (').
3597                              Engine names can consist of lower and upper cases,                              Engine names can consist of lower and upper cases,
3598                              digits and underlines ("_" character).                              digits and underlines ("_" character).
3599  </p>  </p>
3600  </blockquote>  </blockquote><p>
3601                        
3602    </p>
3603  <p>Example:  <p>Example:
3604  </p>  </p>
3605  <p></p>  <p>
3606                            </p>
3607  <blockquote class="text">  <blockquote class="text">
3608  <p>C: "LIST AVAILABLE_ENGINES"  <p>C: "LIST AVAILABLE_ENGINES"
3609  </p>  </p>
3610  <p>S: "'GigEngine','AkaiEngine','DLSEngine','JoesCustomEngine'"  <p>S: "'GigEngine','AkaiEngine','DLSEngine','JoesCustomEngine'"
3611  </p>  </p>
3612  </blockquote>  </blockquote><p>
3613                        
3614  <a name="rfc.section.6.4.9"></a><h4><a name="GET ENGINE INFO">6.4.9</a>&nbsp;Getting information about an engine</h4>  </p>
3615    <a name="GET ENGINE INFO"></a><br /><hr />
3616    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3617    <a name="rfc.section.6.4.9"></a><h3>6.4.9.&nbsp;Getting information about an engine</h3>
3618    
3619  <p>The front-end can ask for information about a specific engine by  <p>The front-end can ask for information about a specific engine by
3620                      sending the following command:                      sending the following command:
3621  </p>  </p>
3622  <p></p>  <p>
3623                            </p>
3624  <blockquote class="text">  <blockquote class="text">
3625  <p>GET ENGINE INFO &lt;engine-name&gt;  <p>GET ENGINE INFO &lt;engine-name&gt;
3626  </p>  </p>
3627  </blockquote>  </blockquote><p>
3628                        
3629    </p>
3630  <p>Where &lt;engine-name&gt; is an engine name as obtained by the  <p>Where &lt;engine-name&gt; is an engine name as obtained by the
3631                      <a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span>Getting all available engines</span></a> command.                      <a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span> (</span><span class="info">Getting all available engines</span><span>)</span></a> command.
3632  </p>  </p>
3633  <p>Possible Answers:  <p>Possible Answers:
3634  </p>  </p>
3635  <p></p>  <p>
3636                            </p>
3637  <blockquote class="text">  <blockquote class="text">
3638  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
3639                              Each answer line begins with the information category name                              Each answer line begins with the information category name
# Line 3161  Intellectual Property and Copyright Stat Line 3641  Intellectual Property and Copyright Stat
3641                              the info character string to that info category. At the moment                              the info character string to that info category. At the moment
3642                              the following categories are defined:                              the following categories are defined:
3643  </p>  </p>
3644  <p></p>  <p>
3645                                    </p>
3646  <blockquote class="text">  <blockquote class="text">
3647  <p>DESCRIPTION -  <p>DESCRIPTION -
3648                                          </p>                                          </p>
# Line 3169  Intellectual Property and Copyright Stat Line 3650  Intellectual Property and Copyright Stat
3650  <p>arbitrary description text about the engine  <p>arbitrary description text about the engine
3651  </p>  </p>
3652  </blockquote>  </blockquote>
3653                                        
3654    
3655  <p>VERSION -  <p>VERSION -
3656                                          </p>                                          </p>
# Line 3176  Intellectual Property and Copyright Stat Line 3658  Intellectual Property and Copyright Stat
3658  <p>arbitrary character string regarding the engine's version  <p>arbitrary character string regarding the engine's version
3659  </p>  </p>
3660  </blockquote>  </blockquote>
3661                                        
3662    
3663  </blockquote>  </blockquote>
3664                                
3665    
3666  </blockquote>  </blockquote><p>
3667                        
3668    </p>
3669  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
3670  </p>  </p>
3671  <p>Example:  <p>Example:
3672  </p>  </p>
3673  <p></p>  <p>
3674                            </p>
3675  <blockquote class="text">  <blockquote class="text">
3676  <p>C: "GET ENGINE INFO JoesCustomEngine"  <p>C: "GET ENGINE INFO JoesCustomEngine"
3677  </p>  </p>
# Line 3195  Intellectual Property and Copyright Stat Line 3681  Intellectual Property and Copyright Stat
3681  </p>  </p>
3682  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
3683  </p>  </p>
3684  </blockquote>  </blockquote><p>
3685                        
3686  <a name="rfc.section.6.4.10"></a><h4><a name="GET CHANNEL INFO">6.4.10</a>&nbsp;Getting sampler channel information</h4>  </p>
3687    <a name="GET CHANNEL INFO"></a><br /><hr />
3688    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3689    <a name="rfc.section.6.4.10"></a><h3>6.4.10.&nbsp;Getting sampler channel information</h3>
3690    
3691  <p>The front-end can ask for the current settings of a sampler channel  <p>The front-end can ask for the current settings of a sampler channel
3692                      by sending the following command:                      by sending the following command:
3693  </p>  </p>
3694  <p></p>  <p>
3695                            </p>
3696  <blockquote class="text">  <blockquote class="text">
3697  <p>GET CHANNEL INFO &lt;sampler-channel&gt;  <p>GET CHANNEL INFO &lt;sampler-channel&gt;
3698  </p>  </p>
3699  </blockquote>  </blockquote><p>
3700                        
3701    </p>
3702  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in
3703                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
3704                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command.                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command.
3705  </p>  </p>
3706  <p>Possible Answers:  <p>Possible Answers:
3707  </p>  </p>
3708  <p></p>  <p>
3709                            </p>
3710  <blockquote class="text">  <blockquote class="text">
3711  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
3712                              Each answer line begins with the settings category name                              Each answer line begins with the settings category name
# Line 3222  Intellectual Property and Copyright Stat Line 3714  Intellectual Property and Copyright Stat
3714                              the info character string to that setting category. At the                              the info character string to that setting category. At the
3715                              moment the following categories are defined:                              moment the following categories are defined:
3716  </p>  </p>
3717  <p></p>  <p>
3718                                    </p>
3719  <blockquote class="text">  <blockquote class="text">
3720  <p>ENGINE_NAME -  <p>ENGINE_NAME -
3721                                          </p>                                          </p>
# Line 3232  Intellectual Property and Copyright Stat Line 3725  Intellectual Property and Copyright Stat
3725                                              this sampler channel                                              this sampler channel
3726  </p>  </p>
3727  </blockquote>  </blockquote>
3728                                        
3729    
3730  <p>AUDIO_OUTPUT_DEVICE -  <p>AUDIO_OUTPUT_DEVICE -
3731                                          </p>                                          </p>
# Line 3242  Intellectual Property and Copyright Stat Line 3736  Intellectual Property and Copyright Stat
3736                                              connected to this sampler channel                                              connected to this sampler channel
3737  </p>  </p>
3738  </blockquote>  </blockquote>
3739                                        
3740    
3741  <p>AUDIO_OUTPUT_CHANNELS -  <p>AUDIO_OUTPUT_CHANNELS -
3742                                          </p>                                          </p>
# Line 3250  Intellectual Property and Copyright Stat Line 3745  Intellectual Property and Copyright Stat
3745                                              (dependent to used sampler engine and loaded instrument)                                              (dependent to used sampler engine and loaded instrument)
3746  </p>  </p>
3747  </blockquote>  </blockquote>
3748                                        
3749    
3750  <p>AUDIO_OUTPUT_ROUTING -  <p>AUDIO_OUTPUT_ROUTING -
3751                                          </p>                                          </p>
# Line 3263  Intellectual Property and Copyright Stat Line 3759  Intellectual Property and Copyright Stat
3759                                              output device                                              output device
3760  </p>  </p>
3761  </blockquote>  </blockquote>
3762                                        
3763    
3764  <p>INSTRUMENT_FILE -  <p>INSTRUMENT_FILE -
3765                                          </p>                                          </p>
# Line 3272  Intellectual Property and Copyright Stat Line 3769  Intellectual Property and Copyright Stat
3769                                              channel                                              channel
3770  </p>  </p>
3771  </blockquote>  </blockquote>
3772                                        
3773    
3774  <p>INSTRUMENT_NR -  <p>INSTRUMENT_NR -
3775                                          </p>                                          </p>
# Line 3279  Intellectual Property and Copyright Stat Line 3777  Intellectual Property and Copyright Stat
3777  <p>the instrument index number of the loaded instrument  <p>the instrument index number of the loaded instrument
3778  </p>  </p>
3779  </blockquote>  </blockquote>
3780                                        
3781    
3782  <p>INSTRUMENT_NAME -  <p>INSTRUMENT_NAME -
3783                                          </p>                                          </p>
# Line 3286  Intellectual Property and Copyright Stat Line 3785  Intellectual Property and Copyright Stat
3785  <p>the instrument name of the loaded instrument  <p>the instrument name of the loaded instrument
3786  </p>  </p>
3787  </blockquote>  </blockquote>
3788                                        
3789    
3790  <p>INSTRUMENT_STATUS -  <p>INSTRUMENT_STATUS -
3791                                          </p>                                          </p>
# Line 3295  Intellectual Property and Copyright Stat Line 3795  Intellectual Property and Copyright Stat
3795                                              loaded.                                              loaded.
3796  </p>  </p>
3797  </blockquote>  </blockquote>
3798                                        
3799    
3800  <p>MIDI_INPUT_DEVICE -  <p>MIDI_INPUT_DEVICE -
3801                                          </p>                                          </p>
# Line 3305  Intellectual Property and Copyright Stat Line 3806  Intellectual Property and Copyright Stat
3806                                              connected to this sampler channel                                              connected to this sampler channel
3807  </p>  </p>
3808  </blockquote>  </blockquote>
3809                                        
3810    
3811  <p>MIDI_INPUT_PORT -  <p>MIDI_INPUT_PORT -
3812                                          </p>                                          </p>
# Line 3312  Intellectual Property and Copyright Stat Line 3814  Intellectual Property and Copyright Stat
3814  <p>port number of the MIDI input device  <p>port number of the MIDI input device
3815  </p>  </p>
3816  </blockquote>  </blockquote>
3817                                        
3818    
3819  <p>MIDI_INPUT_CHANNEL -  <p>MIDI_INPUT_CHANNEL -
3820                                          </p>                                          </p>
# Line 3320  Intellectual Property and Copyright Stat Line 3823  Intellectual Property and Copyright Stat
3823                                              should listen to or "ALL" to listen on all MIDI channels                                              should listen to or "ALL" to listen on all MIDI channels
3824  </p>  </p>
3825  </blockquote>  </blockquote>
3826                                        
3827    
3828  <p>VOLUME -  <p>VOLUME -
3829                                          </p>                                          </p>
# Line 3329  Intellectual Property and Copyright Stat Line 3833  Intellectual Property and Copyright Stat
3833                                              1.0 means amplification)                                              1.0 means amplification)
3834  </p>  </p>
3835  </blockquote>  </blockquote>
3836                                        
3837    
3838    <p>MUTE -
3839                                            </p>
3840    <blockquote class="text">
3841    <p>Determines whether the channel is muted, "true" if the
3842                                                channel is muted, "false" if the channel is not muted, and
3843                                                "MUTED_BY_SOLO" if the channel is muted because of the
3844                                                presence of a solo channel and will be unmuted when
3845                                                there are no solo channels left
3846    </p>
3847  </blockquote>  </blockquote>
3848                                        
3849    
3850    <p>SOLO -
3851                                            </p>
3852    <blockquote class="text">
3853    <p>Determines whether this is a solo channel, "true" if
3854                                                the channel is a solo channel; "false" otherwise
3855    </p>
3856  </blockquote>  </blockquote>
3857                                        
3858    
3859    </blockquote>
3860                                
3861    
3862    </blockquote><p>
3863                        
3864    </p>
3865  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
3866  </p>  </p>
3867  <p>Example:  <p>Example:
3868  </p>  </p>
3869  <p></p>  <p>
3870                            </p>
3871  <blockquote class="text">  <blockquote class="text">
3872  <p>C: "GET CHANNEL INFO 34"  <p>C: "GET CHANNEL INFO 34"
3873  </p>  </p>
# Line 3368  Intellectual Property and Copyright Stat Line 3897  Intellectual Property and Copyright Stat
3897  </p>  </p>
3898  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
3899  </p>  </p>
3900  </blockquote>  </blockquote><p>
3901                        
3902  <a name="rfc.section.6.4.11"></a><h4><a name="GET CHANNEL VOICE_COUNT">6.4.11</a>&nbsp;Current number of active voices</h4>  </p>
3903    <a name="GET CHANNEL VOICE_COUNT"></a><br /><hr />
3904    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3905    <a name="rfc.section.6.4.11"></a><h3>6.4.11.&nbsp;Current number of active voices</h3>
3906    
3907  <p>The front-end can ask for the current number of active voices on a  <p>The front-end can ask for the current number of active voices on a
3908                      sampler channel by sending the following command:                      sampler channel by sending the following command:
3909  </p>  </p>
3910  <p></p>  <p>
3911                            </p>
3912  <blockquote class="text">  <blockquote class="text">
3913  <p>GET CHANNEL VOICE_COUNT &lt;sampler-channel&gt;  <p>GET CHANNEL VOICE_COUNT &lt;sampler-channel&gt;
3914  </p>  </p>
3915  </blockquote>  </blockquote><p>
3916                        
3917    </p>
3918  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in
3919                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
3920                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command.                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command.
3921  </p>  </p>
3922  <p>Possible Answers:  <p>Possible Answers:
3923  </p>  </p>
3924  <p></p>  <p>
3925                            </p>
3926  <blockquote class="text">  <blockquote class="text">
3927  <p>LinuxSampler will answer by returning the number of active  <p>LinuxSampler will answer by returning the number of active
3928                              voices on that channel.                              voices on that channel.
3929  </p>  </p>
3930  </blockquote>  </blockquote><p>
3931                        
3932    </p>
3933  <p>Example:  <p>Example:
3934  </p>  </p>
3935  <p></p>  <p>
3936                            </p>
3937  <blockquote class="text">  <blockquote class="text">
3938  <p>  <p>
3939  </p>  </p>
3940  </blockquote>  </blockquote><p>
3941                        
3942  <a name="rfc.section.6.4.12"></a><h4><a name="GET CHANNEL STREAM_COUNT">6.4.12</a>&nbsp;Current number of active disk streams</h4>  </p>
3943    <a name="GET CHANNEL STREAM_COUNT"></a><br /><hr />
3944    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3945    <a name="rfc.section.6.4.12"></a><h3>6.4.12.&nbsp;Current number of active disk streams</h3>
3946    
3947  <p>The front-end can ask for the current number of active disk streams  <p>The front-end can ask for the current number of active disk streams
3948                      on a sampler channel by sending the following command:                      on a sampler channel by sending the following command:
3949  </p>  </p>
3950  <p></p>  <p>
3951                            </p>
3952  <blockquote class="text">  <blockquote class="text">
3953  <p>GET CHANNEL STREAM_COUNT &lt;sampler-channel&gt;  <p>GET CHANNEL STREAM_COUNT &lt;sampler-channel&gt;
3954  </p>  </p>
3955  </blockquote>  </blockquote><p>
3956                        
3957    </p>
3958  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in  <p>Where &lt;sampler-channel&gt; is the sampler channel number the front-end is interested in
3959                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
3960                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command.                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command.
3961  </p>  </p>
3962  <p>Possible Answers:  <p>Possible Answers:
3963  </p>  </p>
3964  <p></p>  <p>
3965                            </p>
3966  <blockquote class="text">  <blockquote class="text">
3967  <p>LinuxSampler will answer by returning the number of active  <p>LinuxSampler will answer by returning the number of active
3968                              disk streams on that channel in case the engine supports disk                              disk streams on that channel in case the engine supports disk
3969                              streaming, if the engine doesn't support disk streaming it will                              streaming, if the engine doesn't support disk streaming it will
3970                              return "NA" for not available.                              return "NA" for not available.
3971  </p>  </p>
3972  </blockquote>  </blockquote><p>
3973                        
3974    </p>
3975  <p>Example:  <p>Example:
3976  </p>  </p>
3977  <p></p>  <p>
3978                            </p>
3979  <blockquote class="text">  <blockquote class="text">
3980  <p>  <p>
3981  </p>  </p>
3982  </blockquote>  </blockquote><p>
3983                        
3984  <a name="rfc.section.6.4.13"></a><h4><a name="GET CHANNEL BUFFER_FILL">6.4.13</a>&nbsp;Current fill state of disk stream buffers</h4>  </p>
3985    <a name="GET CHANNEL BUFFER_FILL"></a><br /><hr />
3986    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
3987    <a name="rfc.section.6.4.13"></a><h3>6.4.13.&nbsp;Current fill state of disk stream buffers</h3>
3988    
3989  <p>The front-end can ask for the current fill state of all disk streams  <p>The front-end can ask for the current fill state of all disk streams
3990                      on a sampler channel by sending the following command:                      on a sampler channel by sending the following command:
3991  </p>  </p>
3992  <p></p>  <p>
3993                            </p>
3994  <blockquote class="text">  <blockquote class="text">
3995  <p>GET CHANNEL BUFFER_FILL BYTES &lt;sampler-channel&gt;  <p>GET CHANNEL BUFFER_FILL BYTES &lt;sampler-channel&gt;
3996  </p>  </p>
3997  </blockquote>  </blockquote><p>
3998                        
3999    </p>
4000  <p>to get the fill state in bytes or  <p>to get the fill state in bytes or
4001  </p>  </p>
4002  <p></p>  <p>
4003                            </p>
4004  <blockquote class="text">  <blockquote class="text">
4005  <p>GET CHANNEL BUFFER_FILL PERCENTAGE &lt;sampler-channel&gt;  <p>GET CHANNEL BUFFER_FILL PERCENTAGE &lt;sampler-channel&gt;
4006  </p>  </p>
4007  </blockquote>  </blockquote><p>
4008                        
4009    </p>
4010  <p>to get the fill state in percent, where &lt;sampler-channel&gt; is the  <p>to get the fill state in percent, where &lt;sampler-channel&gt; is the
4011                      sampler channel number the front-end is interested in                      sampler channel number the front-end is interested in
4012                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4013                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command.                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command.
4014  </p>  </p>
4015  <p>Possible Answers:  <p>Possible Answers:
4016  </p>  </p>
4017  <p></p>  <p>
4018                            </p>
4019  <blockquote class="text">  <blockquote class="text">
4020  <p>LinuxSampler will either answer by returning a comma separated  <p>LinuxSampler will either answer by returning a comma separated
4021                              string with the fill state of all disk stream buffers on that                              string with the fill state of all disk stream buffers on that
# Line 3475  Intellectual Property and Copyright Stat Line 4028  Intellectual Property and Copyright Stat
4028                              the response are not in particular order, thus the front-end has                              the response are not in particular order, thus the front-end has
4029                              to sort them by itself if necessary.                              to sort them by itself if necessary.
4030  </p>  </p>
4031  </blockquote>  </blockquote><p>
4032                        
4033    </p>
4034  <p>Examples:  <p>Examples:
4035  </p>  </p>
4036  <p></p>  <p>
4037                            </p>
4038  <blockquote class="text">  <blockquote class="text">
4039  <p>C: "GET CHANNEL BUFFER_FILL BYTES 4"  <p>C: "GET CHANNEL BUFFER_FILL BYTES 4"
4040  </p>  </p>
4041  <p>S: "[115]420500,[116]510300,[75]110000,[120]230700"  <p>S: "[115]420500,[116]510300,[75]110000,[120]230700"
4042  </p>  </p>
4043  </blockquote>  </blockquote><p>
4044    
4045                            </p>
4046  <blockquote class="text">  <blockquote class="text">
4047  <p><p>C: "GET CHANNEL BUFFER_FILL PERCENTAGE 4"  <p>C: "GET CHANNEL BUFFER_FILL PERCENTAGE 4"
4048  </p>  </p>
4049  <p>S: "[115]90%,[116]98%,[75]40%,[120]62%"  <p>S: "[115]90%,[116]98%,[75]40%,[120]62%"
4050  </p>  </p>
4051  </blockquote>  </blockquote><p>
4052    
4053                            </p>
4054  <blockquote class="text">  <blockquote class="text">
4055  <p><p>C: "GET CHANNEL BUFFER_FILL PERCENTAGE 4"  <p>C: "GET CHANNEL BUFFER_FILL PERCENTAGE 4"
4056  </p>  </p>
4057  <p>S: ""  <p>S: ""
4058  </p>  </p>
4059  </blockquote>  </blockquote><p>
4060                        
4061  <a name="rfc.section.6.4.14"></a><h4><a name="SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14</a>&nbsp;Setting audio output device</h4>  </p>
4062    <a name="SET CHANNEL AUDIO_OUTPUT_DEVICE"></a><br /><hr />
4063    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4064    <a name="rfc.section.6.4.14"></a><h3>6.4.14.&nbsp;Setting audio output device</h3>
4065    
4066  <p>The front-end can set the audio output device on a specific sampler  <p>The front-end can set the audio output device on a specific sampler
4067                      channel by sending the following command:                      channel by sending the following command:
4068  </p>  </p>
4069  <p></p>  <p>
4070                            </p>
4071  <blockquote class="text">  <blockquote class="text">
4072  <p>SET CHANNEL AUDIO_OUTPUT_DEVICE &lt;sampler-channel&gt; &lt;audio-device-id&gt;  <p>SET CHANNEL AUDIO_OUTPUT_DEVICE &lt;sampler-channel&gt; &lt;audio-device-id&gt;
4073  </p>  </p>
4074  </blockquote>  </blockquote><p>
4075                        
4076    </p>
4077  <p>Where &lt;sampler-channel&gt; is the respective sampler channel  <p>Where &lt;sampler-channel&gt; is the respective sampler channel
4078                      number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4079                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command and                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and
4080                      &lt;audio-device-id&gt; is the numerical ID of the audio output device as given by the                      &lt;audio-device-id&gt; is the numerical ID of the audio output device as given by the
4081                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span>Creating an audio output device</span></a>                      <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a>
4082                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span>Getting all created audio output device list</span></a>                      or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a>
4083                      command.                      command.
4084  </p>  </p>
4085  <p>Possible Answers:  <p>Possible Answers:
4086  </p>  </p>
4087  <p></p>  <p>
4088                            </p>
4089  <blockquote class="text">  <blockquote class="text">
4090  <p>"OK" -  <p>"OK" -
4091                                  </p>                                  </p>
# Line 3528  Intellectual Property and Copyright Stat Line 4093  Intellectual Property and Copyright Stat
4093  <p>on success  <p>on success
4094  </p>  </p>
4095  </blockquote>  </blockquote>
4096                                
4097    
4098  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4099                                  </p>                                  </p>
# Line 3537  Intellectual Property and Copyright Stat Line 4103  Intellectual Property and Copyright Stat
4103                                      warning message                                      warning message
4104  </p>  </p>
4105  </blockquote>  </blockquote>
4106                                
4107    
4108  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4109                                  </p>                                  </p>
# Line 3544  Intellectual Property and Copyright Stat Line 4111  Intellectual Property and Copyright Stat
4111  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4112  </p>  </p>
4113  </blockquote>  </blockquote>
4114                                
4115    
4116  </blockquote>  </blockquote><p>
4117                        
4118    </p>
4119  <p>Examples:  <p>Examples:
4120  </p>  </p>
4121  <p></p>  <p>
4122                            </p>
4123  <blockquote class="text">  <blockquote class="text">
4124  <p>  <p>
4125  </p>  </p>
4126  </blockquote>  </blockquote><p>
4127                        
4128  <a name="rfc.section.6.4.15"></a><h4><a name="SET CHANNEL AUDIO_OUTPUT_TYP">6.4.15</a>&nbsp;Setting audio output type</h4>  </p>
4129    <a name="SET CHANNEL AUDIO_OUTPUT_TYP"></a><br /><hr />
4130    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4131    <a name="rfc.section.6.4.15"></a><h3>6.4.15.&nbsp;Setting audio output type</h3>
4132    
4133  <p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!  <p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!
4134  </p>  </p>
4135  <p>The front-end can alter the audio output type on a specific sampler  <p>The front-end can alter the audio output type on a specific sampler
4136                      channel by sending the following command:                      channel by sending the following command:
4137  </p>  </p>
4138  <p></p>  <p>
4139                            </p>
4140  <blockquote class="text">  <blockquote class="text">
4141  <p>SET CHANNEL AUDIO_OUTPUT_TYPE &lt;sampler-channel&gt; &lt;audio-output-type&gt;  <p>SET CHANNEL AUDIO_OUTPUT_TYPE &lt;sampler-channel&gt; &lt;audio-output-type&gt;
4142  </p>  </p>
4143  </blockquote>  </blockquote><p>
4144                        
4145    </p>
4146  <p>Where &lt;audio-output-type&gt; is currently either "ALSA" or "JACK" and  <p>Where &lt;audio-output-type&gt; is currently either "ALSA" or "JACK" and
4147                      &lt;sampler-channel&gt; is the respective sampler channel number.                      &lt;sampler-channel&gt; is the respective sampler channel number.
4148  </p>  </p>
4149  <p>Possible Answers:  <p>Possible Answers:
4150  </p>  </p>
4151  <p></p>  <p>
4152                            </p>
4153  <blockquote class="text">  <blockquote class="text">
4154  <p>"OK" -  <p>"OK" -
4155                                  </p>                                  </p>
# Line 3581  Intellectual Property and Copyright Stat Line 4157  Intellectual Property and Copyright Stat
4157  <p>on success  <p>on success
4158  </p>  </p>
4159  </blockquote>  </blockquote>
4160                                
4161    
4162  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4163                                  </p>                                  </p>
# Line 3590  Intellectual Property and Copyright Stat Line 4167  Intellectual Property and Copyright Stat
4167                                      warning message                                      warning message
4168  </p>  </p>
4169  </blockquote>  </blockquote>
4170                                
4171    
4172  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4173                                  </p>                                  </p>
# Line 3597  Intellectual Property and Copyright Stat Line 4175  Intellectual Property and Copyright Stat
4175  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4176  </p>  </p>
4177  </blockquote>  </blockquote>
4178                                
4179    
4180  </blockquote>  </blockquote><p>
4181                        
4182    </p>
4183  <p>Examples:  <p>Examples:
4184  </p>  </p>
4185  <p></p>  <p>
4186                            </p>
4187  <blockquote class="text">  <blockquote class="text">
4188  <p>  <p>
4189  </p>  </p>
4190  </blockquote>  </blockquote><p>
4191                        
4192  <a name="rfc.section.6.4.16"></a><h4><a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16</a>&nbsp;Setting audio output channel</h4>  </p>
4193    <a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL"></a><br /><hr />
4194    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4195    <a name="rfc.section.6.4.16"></a><h3>6.4.16.&nbsp;Setting audio output channel</h3>
4196    
4197  <p>The front-end can alter the audio output channel on a specific  <p>The front-end can alter the audio output channel on a specific
4198                      sampler channel by sending the following command:                      sampler channel by sending the following command:
4199  </p>  </p>
4200  <p></p>  <p>
4201                            </p>
4202  <blockquote class="text">  <blockquote class="text">
4203  <p>SET CHANNEL AUDIO_OUTPUT_CHANNEL &lt;sampler-chan&gt; &lt;audio-out&gt; &lt;audio-in&gt;  <p>SET CHANNEL AUDIO_OUTPUT_CHANNEL &lt;sampler-chan&gt; &lt;audio-out&gt; &lt;audio-in&gt;
4204  </p>  </p>
4205  </blockquote>  </blockquote><p>
4206                        
4207    </p>
4208  <p>Where &lt;sampler-chan&gt; is the sampler channel number  <p>Where &lt;sampler-chan&gt; is the sampler channel number
4209                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4210                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command, &lt;audio-out&gt; is the                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command, &lt;audio-out&gt; is the
4211                      numerical ID of the sampler channel's audio output channel which should be                      numerical ID of the sampler channel's audio output channel which should be
4212                      rerouted and &lt;audio-in&gt; is the numerical ID of the audio channel of the selected audio                      rerouted and &lt;audio-in&gt; is the numerical ID of the audio channel of the selected audio
4213                      output device where &lt;audio-out&gt; should be routed to.                      output device where &lt;audio-out&gt; should be routed to.
4214  </p>  </p>
4215  <p>Possible Answers:  <p>Possible Answers:
4216  </p>  </p>
4217  <p></p>  <p>
4218                            </p>
4219  <blockquote class="text">  <blockquote class="text">
4220  <p>"OK" -  <p>"OK" -
4221                                  </p>                                  </p>
# Line 3636  Intellectual Property and Copyright Stat Line 4223  Intellectual Property and Copyright Stat
4223  <p>on success  <p>on success
4224  </p>  </p>
4225  </blockquote>  </blockquote>
4226                                
4227    
4228  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4229                                  </p>                                  </p>
# Line 3645  Intellectual Property and Copyright Stat Line 4233  Intellectual Property and Copyright Stat
4233                                      warning message                                      warning message
4234  </p>  </p>
4235  </blockquote>  </blockquote>
4236                                
4237    
4238  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4239                                  </p>                                  </p>
# Line 3652  Intellectual Property and Copyright Stat Line 4241  Intellectual Property and Copyright Stat
4241  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4242  </p>  </p>
4243  </blockquote>  </blockquote>
4244                                
4245    
4246  </blockquote>  </blockquote><p>
4247                        
4248    </p>
4249  <p>Examples:  <p>Examples:
4250  </p>  </p>
4251  <p></p>  <p>
4252                            </p>
4253  <blockquote class="text">  <blockquote class="text">
4254  <p>  <p>
4255  </p>  </p>
4256  </blockquote>  </blockquote><p>
4257                        
4258  <a name="rfc.section.6.4.17"></a><h4><a name="SET CHANNEL MIDI_INPUT_DEVICE">6.4.17</a>&nbsp;Setting MIDI input device</h4>  </p>
4259    <a name="SET CHANNEL MIDI_INPUT_DEVICE"></a><br /><hr />
4260    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4261    <a name="rfc.section.6.4.17"></a><h3>6.4.17.&nbsp;Setting MIDI input device</h3>
4262    
4263  <p>The front-end can set the MIDI input device on a specific sampler  <p>The front-end can set the MIDI input device on a specific sampler
4264                      channel by sending the following command:                      channel by sending the following command:
4265  </p>  </p>
4266  <p></p>  <p>
4267                            </p>
4268  <blockquote class="text">  <blockquote class="text">
4269  <p>SET CHANNEL MIDI_INPUT_DEVICE &lt;sampler-channel&gt; &lt;midi-device-id&gt;  <p>SET CHANNEL MIDI_INPUT_DEVICE &lt;sampler-channel&gt; &lt;midi-device-id&gt;
4270  </p>  </p>
4271  </blockquote>  </blockquote><p>
4272                        
4273    </p>
4274  <p>Where &lt;sampler-channel&gt; is the sampler channel number  <p>Where &lt;sampler-channel&gt; is the sampler channel number
4275                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span>Adding a new sampler channel</span></a>                      as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4276                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span>Getting all created sampler channel list</span></a> command                      or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command
4277                      and &lt;midi-device-id&gt; is  the numerical ID of the MIDI input device as returned by the                      and &lt;midi-device-id&gt; is  the numerical ID of the MIDI input device as returned by the
4278                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span>Creating a MIDI input device</span></a>                      <a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a>
4279                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span>Getting all created MIDI input device list</span></a> command.                      or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> command.
4280  </p>  </p>
4281  <p>Possible Answers:  <p>Possible Answers:
4282  </p>  </p>
4283  <p></p>  <p>
4284                            </p>
4285  <blockquote class="text">  <blockquote class="text">
4286  <p>"OK" -  <p>"OK" -
4287                                  </p>                                  </p>
# Line 3691  Intellectual Property and Copyright Stat Line 4289  Intellectual Property and Copyright Stat
4289  <p>on success  <p>on success
4290  </p>  </p>
4291  </blockquote>  </blockquote>
4292                                
4293    
4294  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4295                                  </p>                                  </p>
# Line 3700  Intellectual Property and Copyright Stat Line 4299  Intellectual Property and Copyright Stat
4299                                      warning message                                      warning message
4300  </p>  </p>
4301  </blockquote>  </blockquote>
4302                                
4303    
4304  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4305                                  </p>                                  </p>
# Line 3707  Intellectual Property and Copyright Stat Line 4307  Intellectual Property and Copyright Stat
4307  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4308  </p>  </p>
4309  </blockquote>  </blockquote>
4310                                
4311    
4312  </blockquote>  </blockquote><p>
4313                        
4314    </p>
4315  <p>Examples:  <p>Examples:
4316  </p>  </p>
4317  <p></p>  <p>
4318                            </p>
4319  <blockquote class="text">  <blockquote class="text">
4320  <p>  <p>
4321  </p>  </p>
4322  </blockquote>  </blockquote><p>
4323                        
4324  <a name="rfc.section.6.4.18"></a><h4><a name="SET CHANNEL MIDI_INPUT_TYPE">6.4.18</a>&nbsp;Setting MIDI input type</h4>  </p>
4325    <a name="SET CHANNEL MIDI_INPUT_TYPE"></a><br /><hr />
4326    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4327    <a name="rfc.section.6.4.18"></a><h3>6.4.18.&nbsp;Setting MIDI input type</h3>
4328    
4329  <p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!  <p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON!
4330  </p>  </p>
4331  <p>The front-end can alter the MIDI input type on a specific sampler  <p>The front-end can alter the MIDI input type on a specific sampler
4332                      channel by sending the following command:                      channel by sending the following command:
4333  </p>  </p>
4334  <p></p>  <p>
4335                            </p>
4336  <blockquote class="text">  <blockquote class="text">
4337  <p>SET CHANNEL MIDI_INPUT_TYPE &lt;sampler-channel&gt; &lt;midi-input-type&gt;  <p>SET CHANNEL MIDI_INPUT_TYPE &lt;sampler-channel&gt; &lt;midi-input-type&gt;
4338  </p>  </p>
4339  </blockquote>  </blockquote><p>
4340                        
4341    </p>
4342  <p>Where &lt;midi-input-type&gt; is currently only "ALSA" and  <p>Where &lt;midi-input-type&gt; is currently only "ALSA" and
4343                      &lt;sampler-channel&gt; is the respective sampler channel number.                      &lt;sampler-channel&gt; is the respective sampler channel number.
4344  </p>  </p>
4345  <p>Possible Answers:  <p>Possible Answers:
4346  </p>  </p>
4347  <p></p>  <p>
4348                            </p>
4349  <blockquote class="text">  <blockquote class="text">
4350  <p>"OK" -  <p>"OK" -
4351                                  </p>                                  </p>
# Line 3744  Intellectual Property and Copyright Stat Line 4353  Intellectual Property and Copyright Stat
4353  <p>on success  <p>on success
4354  </p>  </p>
4355  </blockquote>  </blockquote>
4356                                
4357    
4358  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4359                                  </p>                                  </p>
# Line 3753  Intellectual Property and Copyright Stat Line 4363  Intellectual Property and Copyright Stat
4363                                      warning message                                      warning message
4364  </p>  </p>
4365  </blockquote>  </blockquote>
4366                                
4367    
4368  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4369                                  </p>                                  </p>
# Line 3760  Intellectual Property and Copyright Stat Line 4371  Intellectual Property and Copyright Stat
4371  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4372  </p>  </p>
4373  </blockquote>  </blockquote>
4374                                
4375    
4376  </blockquote>  </blockquote><p>
4377                        
4378    </p>
4379  <p>Examples:  <p>Examples:
4380  </p>  </p>
4381  <p></p>  <p>
4382                            </p>
4383  <blockquote class="text">  <blockquote class="text">
4384  <p>  <p>
4385  </p>  </p>
4386  </blockquote>  </blockquote><p>
4387                        
4388  <a name="rfc.section.6.4.19"></a><h4><a name="SET CHANNEL MIDI_INPUT_PORT">6.4.19</a>&nbsp;Setting MIDI input port</h4>  </p>
4389    <a name="SET CHANNEL MIDI_INPUT_PORT"></a><br /><hr />
4390    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4391    <a name="rfc.section.6.4.19"></a><h3>6.4.19.&nbsp;Setting MIDI input port</h3>
4392    
4393  <p>The front-end can alter the MIDI input port on a specific sampler  <p>The front-end can alter the MIDI input port on a specific sampler
4394                      channel by sending the following command:                      channel by sending the following command:
4395  </p>  </p>
4396  <p></p>  <p>
4397                            </p>
4398  <blockquote class="text">  <blockquote class="text">
4399  <p>SET CHANNEL MIDI_INPUT_PORT &lt;sampler-channel&gt; &lt;midi-input-port&gt;  <p>SET CHANNEL MIDI_INPUT_PORT &lt;sampler-channel&gt; &lt;midi-input-port&gt;
4400  </p>  </p>
4401  </blockquote>  </blockquote><p>
4402                        
4403    </p>
4404  <p>Where &lt;midi-input-port&gt; is a MIDI input port number of the  <p>Where &lt;midi-input-port&gt; is a MIDI input port number of the
4405                      MIDI input device connected to the sampler channel given by                      MIDI input device connected to the sampler channel given by
4406                      &lt;sampler-channel&gt;.                      &lt;sampler-channel&gt;.
4407  </p>  </p>
4408  <p>Possible Answers:  <p>Possible Answers:
4409  </p>  </p>
4410  <p></p>  <p>
4411                            </p>
4412  <blockquote class="text">  <blockquote class="text">
4413  <p>"OK" -  <p>"OK" -
4414                                  </p>                                  </p>
# Line 3796  Intellectual Property and Copyright Stat Line 4416  Intellectual Property and Copyright Stat
4416  <p>on success  <p>on success
4417  </p>  </p>
4418  </blockquote>  </blockquote>
4419                                
4420    
4421  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4422                                  </p>                                  </p>
# Line 3805  Intellectual Property and Copyright Stat Line 4426  Intellectual Property and Copyright Stat
4426                                      warning message                                      warning message
4427  </p>  </p>
4428  </blockquote>  </blockquote>
4429                                
4430    
4431  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4432                                  </p>                                  </p>
# Line 3812  Intellectual Property and Copyright Stat Line 4434  Intellectual Property and Copyright Stat
4434  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4435  </p>  </p>
4436  </blockquote>  </blockquote>
4437                                
4438    
4439  </blockquote>  </blockquote><p>
4440                        
4441    </p>
4442  <p>Examples:  <p>Examples:
4443  </p>  </p>
4444  <p></p>  <p>
4445                            </p>
4446  <blockquote class="text">  <blockquote class="text">
4447  <p>  <p>
4448  </p>  </p>
4449  </blockquote>  </blockquote><p>
4450                        
4451  <a name="rfc.section.6.4.20"></a><h4><a name="SET CHANNEL MIDI_INPUT_CHANNEL">6.4.20</a>&nbsp;Setting MIDI input channel</h4>  </p>
4452    <a name="SET CHANNEL MIDI_INPUT_CHANNEL"></a><br /><hr />
4453    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4454    <a name="rfc.section.6.4.20"></a><h3>6.4.20.&nbsp;Setting MIDI input channel</h3>
4455    
4456  <p>The front-end can alter the MIDI channel a sampler channel should  <p>The front-end can alter the MIDI channel a sampler channel should
4457                      listen to by sending the following command:                      listen to by sending the following command:
4458  </p>  </p>
4459  <p></p>  <p>
4460                            </p>
4461  <blockquote class="text">  <blockquote class="text">
4462  <p>SET CHANNEL MIDI_INPUT_CHANNEL &lt;sampler-channel&gt; &lt;midi-input-chan&gt;  <p>SET CHANNEL MIDI_INPUT_CHANNEL &lt;sampler-channel&gt; &lt;midi-input-chan&gt;
4463  </p>  </p>
4464  </blockquote>  </blockquote><p>
4465                        
4466    </p>
4467  <p>Where &lt;midi-input-chan&gt; is the number of the new MIDI input channel where  <p>Where &lt;midi-input-chan&gt; is the number of the new MIDI input channel where
4468                      &lt;sampler-channel&gt; should listen to or "ALL" to listen on all 16 MIDI                      &lt;sampler-channel&gt; should listen to or "ALL" to listen on all 16 MIDI
4469                      channels.                      channels.
4470  </p>  </p>
4471  <p>Possible Answers:  <p>Possible Answers:
4472  </p>  </p>
4473  <p></p>  <p>
4474                            </p>
4475  <blockquote class="text">  <blockquote class="text">
4476  <p>"OK" -  <p>"OK" -
4477                                  </p>                                  </p>
# Line 3848  Intellectual Property and Copyright Stat Line 4479  Intellectual Property and Copyright Stat
4479  <p>on success  <p>on success
4480  </p>  </p>
4481  </blockquote>  </blockquote>
4482                                
4483    
4484  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4485                                  </p>                                  </p>
# Line 3857  Intellectual Property and Copyright Stat Line 4489  Intellectual Property and Copyright Stat
4489                                      warning message                                      warning message
4490  </p>  </p>
4491  </blockquote>  </blockquote>
4492                                
4493    
4494  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4495                                  </p>                                  </p>
# Line 3864  Intellectual Property and Copyright Stat Line 4497  Intellectual Property and Copyright Stat
4497  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4498  </p>  </p>
4499  </blockquote>  </blockquote>
4500                                
4501    
4502  </blockquote>  </blockquote><p>
4503                        
4504    </p>
4505  <p>Examples:  <p>Examples:
4506  </p>  </p>
4507  <p></p>  <p>
4508                            </p>
4509  <blockquote class="text">  <blockquote class="text">
4510  <p>  <p>
4511  </p>  </p>
4512  </blockquote>  </blockquote><p>
4513                        
4514  <a name="rfc.section.6.4.21"></a><h4><a name="SET CHANNEL VOLUME">6.4.21</a>&nbsp;Setting channel volume</h4>  </p>
4515    <a name="SET CHANNEL VOLUME"></a><br /><hr />
4516    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4517    <a name="rfc.section.6.4.21"></a><h3>6.4.21.&nbsp;Setting channel volume</h3>
4518    
4519  <p>The front-end can alter the volume of a sampler channel by sending  <p>The front-end can alter the volume of a sampler channel by sending
4520                      the following command:                      the following command:
4521  </p>  </p>
4522  <p></p>  <p>
4523                            </p>
4524  <blockquote class="text">  <blockquote class="text">
4525  <p>SET CHANNEL VOLUME &lt;sampler-channel&gt; &lt;volume&gt;  <p>SET CHANNEL VOLUME &lt;sampler-channel&gt; &lt;volume&gt;
4526  </p>  </p>
4527  </blockquote>  </blockquote><p>
4528                        
4529    </p>
4530  <p>Where &lt;volume&gt; is an optionally dotted positive number (a value  <p>Where &lt;volume&gt; is an optionally dotted positive number (a value
4531                      smaller than 1.0 means attenuation, whereas a value greater than                      smaller than 1.0 means attenuation, whereas a value greater than
4532                      1.0 means amplification) and &lt;sampler-channel&gt; defines the sampler                      1.0 means amplification) and &lt;sampler-channel&gt; defines the sampler
# Line 3893  Intellectual Property and Copyright Stat Line 4534  Intellectual Property and Copyright Stat
4534  </p>  </p>
4535  <p>Possible Answers:  <p>Possible Answers:
4536  </p>  </p>
4537  <p></p>  <p>
4538                            </p>
4539  <blockquote class="text">  <blockquote class="text">
4540  <p>"OK" -  <p>"OK" -
4541                                  </p>                                  </p>
# Line 3901  Intellectual Property and Copyright Stat Line 4543  Intellectual Property and Copyright Stat
4543  <p>on success  <p>on success
4544  </p>  </p>
4545  </blockquote>  </blockquote>
4546                                
4547    
4548  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4549                                  </p>                                  </p>
# Line 3910  Intellectual Property and Copyright Stat Line 4553  Intellectual Property and Copyright Stat
4553                                      warning message                                      warning message
4554  </p>  </p>
4555  </blockquote>  </blockquote>
4556                                
4557    
4558  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4559                                  </p>                                  </p>
# Line 3917  Intellectual Property and Copyright Stat Line 4561  Intellectual Property and Copyright Stat
4561  <p>in case it failed, providing an appropriate error code and error message  <p>in case it failed, providing an appropriate error code and error message
4562  </p>  </p>
4563  </blockquote>  </blockquote>
4564                                
4565    
4566    </blockquote><p>
4567                        
4568    </p>
4569    <p>Examples:
4570    </p>
4571    <p>
4572                            </p>
4573    <blockquote class="text">
4574    <p>
4575    </p>
4576    </blockquote><p>
4577                        
4578    </p>
4579    <a name="SET CHANNEL MUTE"></a><br /><hr />
4580    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4581    <a name="rfc.section.6.4.22"></a><h3>6.4.22.&nbsp;Muting a sampler channel</h3>
4582    
4583    <p>The front-end can mute/unmute a specific sampler
4584                        channel by sending the following command:
4585    </p>
4586    <p>
4587                            </p>
4588    <blockquote class="text">
4589    <p>SET CHANNEL MUTE &lt;sampler-channel&gt; &lt;mute&gt;
4590    </p>
4591    </blockquote><p>
4592                        
4593    </p>
4594    <p>Where &lt;sampler-channel&gt; is the respective sampler channel
4595                        number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4596                        or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and
4597                        &lt;mute&gt; should be replaced either by "1" to mute the channel or "0"
4598                        to unmute the channel.
4599    </p>
4600    <p>Possible Answers:
4601    </p>
4602    <p>
4603                            </p>
4604    <blockquote class="text">
4605    <p>"OK" -
4606                                    </p>
4607    <blockquote class="text">
4608    <p>on success
4609    </p>
4610    </blockquote>
4611                                
4612    
4613    <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4614                                    </p>
4615    <blockquote class="text">
4616    <p>if the channel was muted/unmuted, but there are noteworthy
4617                                        issue(s) related, providing an appropriate warning code and
4618                                        warning message
4619    </p>
4620  </blockquote>  </blockquote>
4621                                
4622    
4623    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4624                                    </p>
4625    <blockquote class="text">
4626    <p>in case it failed, providing an appropriate error code and error message
4627    </p>
4628    </blockquote>
4629                                
4630    
4631    </blockquote><p>
4632                        
4633    </p>
4634  <p>Examples:  <p>Examples:
4635  </p>  </p>
4636  <p></p>  <p>
4637                            </p>
4638  <blockquote class="text">  <blockquote class="text">
4639  <p>  <p>
4640  </p>  </p>
4641    </blockquote><p>
4642                        
4643    </p>
4644    <a name="SET CHANNEL SOLO"></a><br /><hr />
4645    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4646    <a name="rfc.section.6.4.23"></a><h3>6.4.23.&nbsp;Soloing a sampler channel</h3>
4647    
4648    <p>The front-end can solo/unsolo a specific sampler channel
4649                        by sending the following command:
4650    </p>
4651    <p>
4652                            </p>
4653    <blockquote class="text">
4654    <p>SET CHANNEL SOLO &lt;sampler-channel&gt; &lt;solo&gt;
4655    </p>
4656    </blockquote><p>
4657                        
4658    </p>
4659    <p>Where &lt;sampler-channel&gt; is the respective sampler channel
4660                        number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a>
4661                        or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and
4662                        &lt;solo&gt; should be replaced either by "1" to solo the channel or "0"
4663                        to unsolo the channel.
4664    </p>
4665    <p>Possible Answers:
4666    </p>
4667    <p>
4668                            </p>
4669    <blockquote class="text">
4670    <p>"OK" -
4671                                    </p>
4672    <blockquote class="text">
4673    <p>on success
4674    </p>
4675  </blockquote>  </blockquote>
4676                                
4677    
4678  <a name="rfc.section.6.4.22"></a><h4><a name="RESET CHANNEL">6.4.22</a>&nbsp;Resetting a sampler channel</h4>  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4679                                    </p>
4680    <blockquote class="text">
4681    <p>if the channel was soloed/unsoloed, but there are noteworthy
4682                                        issue(s) related, providing an appropriate warning code and
4683                                        warning message
4684    </p>
4685    </blockquote>
4686                                
4687    
4688    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4689                                    </p>
4690    <blockquote class="text">
4691    <p>in case it failed, providing an appropriate error code and error message
4692    </p>
4693    </blockquote>
4694                                
4695    
4696    </blockquote><p>
4697                        
4698    </p>
4699    <p>Examples:
4700    </p>
4701    <p>
4702                            </p>
4703    <blockquote class="text">
4704    <p>
4705    </p>
4706    </blockquote><p>
4707                        
4708    </p>
4709    <a name="RESET CHANNEL"></a><br /><hr />
4710    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4711    <a name="rfc.section.6.4.24"></a><h3>6.4.24.&nbsp;Resetting a sampler channel</h3>
4712    
4713  <p>The front-end can reset a particular sampler channel by sending the following command:  <p>The front-end can reset a particular sampler channel by sending the following command:
4714  </p>  </p>
4715  <p></p>  <p>
4716                            </p>
4717  <blockquote class="text">  <blockquote class="text">
4718  <p>RESET CHANNEL &lt;sampler-channel&gt;  <p>RESET CHANNEL &lt;sampler-channel&gt;
4719  </p>  </p>
4720  </blockquote>  </blockquote><p>
4721                        
4722    </p>
4723  <p>  <p>
4724                      Where &lt;sampler-channel&gt; defines the sampler channel to be reset.                      Where &lt;sampler-channel&gt; defines the sampler channel to be reset.
4725                      This will cause the engine on that sampler channel, its voices and                      This will cause the engine on that sampler channel, its voices and
# Line 3946  Intellectual Property and Copyright Stat Line 4728  Intellectual Property and Copyright Stat
4728  </p>  </p>
4729  <p>Possible Answers:  <p>Possible Answers:
4730  </p>  </p>
4731  <p></p>  <p>
4732                            </p>
4733  <blockquote class="text">  <blockquote class="text">
4734  <p>"OK" -  <p>"OK" -
4735                                  </p>                                  </p>
# Line 3954  Intellectual Property and Copyright Stat Line 4737  Intellectual Property and Copyright Stat
4737  <p>on success  <p>on success
4738  </p>  </p>
4739  </blockquote>  </blockquote>
4740                                
4741    
4742  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4743                                  </p>                                  </p>
# Line 3963  Intellectual Property and Copyright Stat Line 4747  Intellectual Property and Copyright Stat
4747                                      message                                      message
4748  </p>  </p>
4749  </blockquote>  </blockquote>
4750                                
4751    
4752  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4753                                  </p>                                  </p>
# Line 3971  Intellectual Property and Copyright Stat Line 4756  Intellectual Property and Copyright Stat
4756                                      error message                                      error message
4757  </p>  </p>
4758  </blockquote>  </blockquote>
4759                                
4760    
4761  </blockquote>  </blockquote><p>
4762                        
4763    </p>
4764  <p>Examples:  <p>Examples:
4765  </p>  </p>
4766  <p></p>  <p>
4767                            </p>
4768  <blockquote class="text">  <blockquote class="text">
4769  <p>  <p>
4770  </p>  </p>
4771  </blockquote>  </blockquote><p>
4772                        
4773  <a name="rfc.section.6.5"></a><h4><a name="anchor12">6.5</a>&nbsp;Controlling connection</h4>  </p>
4774    <a name="anchor12"></a><br /><hr />
4775    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4776    <a name="rfc.section.6.5"></a><h3>6.5.&nbsp;Controlling connection</h3>
4777    
4778  <p>The following commands are used to control the connection to LinuxSampler.  <p>The following commands are used to control the connection to LinuxSampler.
4779  </p>  </p>
4780  <a name="rfc.section.6.5.1"></a><h4><a name="SUBSCRIBE">6.5.1</a>&nbsp;Register front-end for receiving event messages</h4>  <a name="SUBSCRIBE"></a><br /><hr />
4781    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4782    <a name="rfc.section.6.5.1"></a><h3>6.5.1.&nbsp;Register front-end for receiving event messages</h3>
4783    
4784  <p>The front-end can register itself to the LinuxSampler application to  <p>The front-end can register itself to the LinuxSampler application to
4785                      be informed about noteworthy events by sending this command:                      be informed about noteworthy events by sending this command:
4786  </p>  </p>
4787  <p></p>  <p>
4788                            </p>
4789  <blockquote class="text">  <blockquote class="text">
4790  <p>SUBSCRIBE &lt;event-id&gt;  <p>SUBSCRIBE &lt;event-id&gt;
4791  </p>  </p>
4792  </blockquote>  </blockquote><p>
4793                        
4794    </p>
4795  <p>where &lt;event-id&gt; will be replaced by the respective event that  <p>where &lt;event-id&gt; will be replaced by the respective event that
4796                      client wants to subscribe to.                      client wants to subscribe to.
4797  </p>  </p>
4798  <p>Possible Answers:  <p>Possible Answers:
4799  </p>  </p>
4800  <p></p>  <p>
4801                            </p>
4802  <blockquote class="text">  <blockquote class="text">
4803  <p>"OK" -  <p>"OK" -
4804                                  </p>                                  </p>
# Line 4010  Intellectual Property and Copyright Stat Line 4806  Intellectual Property and Copyright Stat
4806  <p>on success  <p>on success
4807  </p>  </p>
4808  </blockquote>  </blockquote>
4809                                
4810    
4811  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4812                                  </p>                                  </p>
# Line 4019  Intellectual Property and Copyright Stat Line 4816  Intellectual Property and Copyright Stat
4816                                      warning message                                      warning message
4817  </p>  </p>
4818  </blockquote>  </blockquote>
4819                                
4820    
4821  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4822                                  </p>                                  </p>
# Line 4027  Intellectual Property and Copyright Stat Line 4825  Intellectual Property and Copyright Stat
4825                                      error message                                      error message
4826  </p>  </p>
4827  </blockquote>  </blockquote>
4828                                
4829    
4830  </blockquote>  </blockquote><p>
4831                        
4832    </p>
4833  <p>Examples:  <p>Examples:
4834  </p>  </p>
4835  <p></p>  <p>
4836                            </p>
4837  <blockquote class="text">  <blockquote class="text">
4838  <p>  <p>
4839  </p>  </p>
4840  </blockquote>  </blockquote><p>
4841                        
4842  <a name="rfc.section.6.5.2"></a><h4><a name="UNSUBSCRIBE">6.5.2</a>&nbsp;Unregister front-end for not receiving event messages</h4>  </p>
4843    <a name="UNSUBSCRIBE"></a><br /><hr />
4844    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4845    <a name="rfc.section.6.5.2"></a><h3>6.5.2.&nbsp;Unregister front-end for not receiving event messages</h3>
4846    
4847  <p>The front-end can unregister itself if it doesn't want to receive event  <p>The front-end can unregister itself if it doesn't want to receive event
4848                      messages anymore by sending the following command:                      messages anymore by sending the following command:
4849  </p>  </p>
4850  <p></p>  <p>
4851                            </p>
4852  <blockquote class="text">  <blockquote class="text">
4853  <p>UNSUBSCRIBE &lt;event-id&gt;  <p>UNSUBSCRIBE &lt;event-id&gt;
4854  </p>  </p>
4855  </blockquote>  </blockquote><p>
4856                        
4857    </p>
4858  <p>Where &lt;event-id&gt; will be replaced by the respective event that  <p>Where &lt;event-id&gt; will be replaced by the respective event that
4859                      client doesn't want to receive anymore.                      client doesn't want to receive anymore.
4860  </p>  </p>
4861  <p>Possible Answers:  <p>Possible Answers:
4862  </p>  </p>
4863  <p></p>  <p>
4864                            </p>
4865  <blockquote class="text">  <blockquote class="text">
4866  <p>"OK" -  <p>"OK" -
4867                                  </p>                                  </p>
# Line 4062  Intellectual Property and Copyright Stat Line 4869  Intellectual Property and Copyright Stat
4869  <p>on success  <p>on success
4870  </p>  </p>
4871  </blockquote>  </blockquote>
4872                                
4873    
4874  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -  <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
4875                                  </p>                                  </p>
# Line 4071  Intellectual Property and Copyright Stat Line 4879  Intellectual Property and Copyright Stat
4879                                      warning message                                      warning message
4880  </p>  </p>
4881  </blockquote>  </blockquote>
4882                                
4883    
4884  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4885                                  </p>                                  </p>
# Line 4079  Intellectual Property and Copyright Stat Line 4888  Intellectual Property and Copyright Stat
4888                                      error message                                      error message
4889  </p>  </p>
4890  </blockquote>  </blockquote>
4891                                
4892    
4893  </blockquote>  </blockquote><p>
4894                        
4895    </p>
4896  <p>Examples:  <p>Examples:
4897  </p>  </p>
4898  <p></p>  <p>
4899                            </p>
4900  <blockquote class="text">  <blockquote class="text">
4901  <p>  <p>
4902  </p>  </p>
4903  </blockquote>  </blockquote><p>
4904                        
4905  <a name="rfc.section.6.5.3"></a><h4><a name="SET ECHO">6.5.3</a>&nbsp;Enable or disable echo of commands</h4>  </p>
4906    <a name="SET ECHO"></a><br /><hr />
4907    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4908    <a name="rfc.section.6.5.3"></a><h3>6.5.3.&nbsp;Enable or disable echo of commands</h3>
4909    
4910  <p>To enable or disable back sending of commands to the client the following command can be used:  <p>To enable or disable back sending of commands to the client the following command can be used:
4911  </p>  </p>
4912  <p></p>  <p>
4913                            </p>
4914  <blockquote class="text">  <blockquote class="text">
4915  <p>SET ECHO &lt;value&gt;  <p>SET ECHO &lt;value&gt;
4916  </p>  </p>
4917  </blockquote>  </blockquote><p>
4918                        
4919    </p>
4920  <p>Where &lt;value&gt; should be replaced either by "1" to enable echo mode  <p>Where &lt;value&gt; should be replaced either by "1" to enable echo mode
4921                      or "0" to disable echo mode. When echo mode is enabled, all                      or "0" to disable echo mode. When echo mode is enabled, all
4922                      commands send to LinuxSampler will be immediately send back and                      commands send to LinuxSampler will be immediately send back and
# Line 4110  Intellectual Property and Copyright Stat Line 4927  Intellectual Property and Copyright Stat
4927  </p>  </p>
4928  <p>Possible Answers:  <p>Possible Answers:
4929  </p>  </p>
4930  <p></p>  <p>
4931                            </p>
4932  <blockquote class="text">  <blockquote class="text">
4933  <p>"OK" -  <p>"OK" -
4934                                  </p>                                  </p>
# Line 4118  Intellectual Property and Copyright Stat Line 4936  Intellectual Property and Copyright Stat
4936  <p>usually  <p>usually
4937  </p>  </p>
4938  </blockquote>  </blockquote>
4939                                
4940    
4941  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -  <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
4942                                  </p>                                  </p>
# Line 4125  Intellectual Property and Copyright Stat Line 4944  Intellectual Property and Copyright Stat
4944  <p>on syntax error, e.g. non boolean value  <p>on syntax error, e.g. non boolean value
4945  </p>  </p>
4946  </blockquote>  </blockquote>
4947                                
4948    
4949  </blockquote>  </blockquote><p>
4950                        
4951    </p>
4952  <p>Examples:  <p>Examples:
4953  </p>  </p>
4954  <p></p>  <p>
4955                            </p>
4956  <blockquote class="text">  <blockquote class="text">
4957  <p>  <p>
4958  </p>  </p>
4959  </blockquote>  </blockquote><p>
4960                        
4961  <a name="rfc.section.6.5.4"></a><h4><a name="QUIT">6.5.4</a>&nbsp;Close client connection</h4>  </p>
4962    <a name="QUIT"></a><br /><hr />
4963    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4964    <a name="rfc.section.6.5.4"></a><h3>6.5.4.&nbsp;Close client connection</h3>
4965    
4966  <p>The client can close its network connection to LinuxSampler by sending the following command:  <p>The client can close its network connection to LinuxSampler by sending the following command:
4967  </p>  </p>
4968  <p></p>  <p>
4969                            </p>
4970  <blockquote class="text">  <blockquote class="text">
4971  <p>QUIT  <p>QUIT
4972  </p>  </p>
4973  </blockquote>  </blockquote><p>
4974                        
4975    </p>
4976  <p>This is probably more interesting for manual telnet connections to  <p>This is probably more interesting for manual telnet connections to
4977                      LinuxSampler than really useful for a front-end implementation.                      LinuxSampler than really useful for a front-end implementation.
4978  </p>  </p>
4979  <a name="rfc.section.6.6"></a><h4><a name="anchor13">6.6</a>&nbsp;Global commands</h4>  <a name="anchor13"></a><br /><hr />
4980    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4981    <a name="rfc.section.6.6"></a><h3>6.6.&nbsp;Global commands</h3>
4982    
4983  <p>The following commands have global impact on the sampler.  <p>The following commands have global impact on the sampler.
4984  </p>  </p>
4985  <a name="rfc.section.6.6.1"></a><h4><a name="RESET">6.6.1</a>&nbsp;Reset sampler</h4>  <a name="GET TOTAL_VOICE_COUNT"></a><br /><hr />
4986    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
4987    <a name="rfc.section.6.6.1"></a><h3>6.6.1.&nbsp;Current number of active voices</h3>
4988    
4989    <p>The front-end can ask for the current number of active voices on
4990                        the sampler by sending the following command:
4991    </p>
4992    <p>
4993                            </p>
4994    <blockquote class="text">
4995    <p>GET TOTAL_VOICE_COUNT
4996    </p>
4997    </blockquote><p>
4998                        
4999    </p>
5000    <p>Possible Answers:
5001    </p>
5002    <p>
5003                            </p>
5004    <blockquote class="text">
5005    <p>LinuxSampler will answer by returning the number of all active
5006                                voices on the sampler.
5007    </p>
5008    </blockquote><p>
5009                        
5010    </p>
5011    <a name="GET TOTAL_VOICE_COUNT_MAX"></a><br /><hr />
5012    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5013    <a name="rfc.section.6.6.2"></a><h3>6.6.2.&nbsp;Maximum amount of active voices</h3>
5014    
5015    <p>The front-end can ask for the maximum number of active voices
5016                        by sending the following command:
5017    </p>
5018    <p>
5019                            </p>
5020    <blockquote class="text">
5021    <p>GET TOTAL_VOICE_COUNT_MAX
5022    </p>
5023    </blockquote><p>
5024                        
5025    </p>
5026    <p>Possible Answers:
5027    </p>
5028    <p>
5029                            </p>
5030    <blockquote class="text">
5031    <p>LinuxSampler will answer by returning the maximum number
5032                                of active voices.
5033    </p>
5034    </blockquote><p>
5035                        
5036    </p>
5037    <a name="RESET"></a><br /><hr />
5038    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5039    <a name="rfc.section.6.6.3"></a><h3>6.6.3.&nbsp;Reset sampler</h3>
5040    
5041  <p>The front-end can reset the whole sampler by sending the following command:  <p>The front-end can reset the whole sampler by sending the following command:
5042  </p>  </p>
5043  <p></p>  <p>
5044                            </p>
5045  <blockquote class="text">  <blockquote class="text">
5046  <p>RESET  <p>RESET
5047  </p>  </p>
5048  </blockquote>  </blockquote><p>
5049                        
5050    </p>
5051  <p>Possible Answers:  <p>Possible Answers:
5052  </p>  </p>
5053  <p></p>  <p>
5054                            </p>
5055  <blockquote class="text">  <blockquote class="text">
5056  <p>"OK" -  <p>"OK" -
5057                                  </p>                                  </p>
# Line 4173  Intellectual Property and Copyright Stat Line 5059  Intellectual Property and Copyright Stat
5059  <p>always  <p>always
5060  </p>  </p>
5061  </blockquote>  </blockquote>
5062                                
5063    
5064  </blockquote>  </blockquote><p>
5065                        
5066    </p>
5067  <p>Examples:  <p>Examples:
5068  </p>  </p>
5069  <p></p>  <p>
5070                            </p>
5071  <blockquote class="text">  <blockquote class="text">
5072  <p>  <p>
5073  </p>  </p>
5074  </blockquote>  </blockquote><p>
5075                        
5076  <a name="rfc.section.6.6.2"></a><h4><a name="GET SERVER INFO">6.6.2</a>&nbsp;General sampler informations</h4>  </p>
5077    <a name="GET SERVER INFO"></a><br /><hr />
5078    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5079    <a name="rfc.section.6.6.4"></a><h3>6.6.4.&nbsp;General sampler informations</h3>
5080    
5081  <p>The client can ask for general informations about the LinuxSampler  <p>The client can ask for general informations about the LinuxSampler
5082                         instance by sending the following command:                         instance by sending the following command:
5083  </p>  </p>
5084  <p></p>  <p>
5085                            </p>
5086  <blockquote class="text">  <blockquote class="text">
5087  <p>GET SERVER INFO  <p>GET SERVER INFO
5088  </p>  </p>
5089  </blockquote>  </blockquote><p>
5090                        
5091    </p>
5092  <p>Possible Answers:  <p>Possible Answers:
5093  </p>  </p>
5094  <p></p>  <p>
5095                            </p>
5096  <blockquote class="text">  <blockquote class="text">
5097  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.  <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
5098                                 Each answer line begins with the information category name                                 Each answer line begins with the information category name
# Line 4206  Intellectual Property and Copyright Stat Line 5101  Intellectual Property and Copyright Stat
5101                                 moment the following categories are defined:                                 moment the following categories are defined:
5102                                                            
5103  </p>  </p>
5104  <p></p>  <p>
5105                                    </p>
5106  <blockquote class="text">  <blockquote class="text">
5107  <p>DESCRIPTION -  <p>DESCRIPTION -
5108                                          </p>                                          </p>
# Line 4214  Intellectual Property and Copyright Stat Line 5110  Intellectual Property and Copyright Stat
5110  <p>arbitrary textual description about the sampler  <p>arbitrary textual description about the sampler
5111  </p>  </p>
5112  </blockquote>  </blockquote>
5113                                        
5114    
5115  <p>VERSION -  <p>VERSION -
5116                                          </p>                                          </p>
# Line 4221  Intellectual Property and Copyright Stat Line 5118  Intellectual Property and Copyright Stat
5118  <p>version of the sampler  <p>version of the sampler
5119  </p>  </p>
5120  </blockquote>  </blockquote>
5121                                        
5122    
5123  <p>PROTOCOL_VERSION -  <p>PROTOCOL_VERSION -
5124                                          </p>                                          </p>
5125  <blockquote class="text">  <blockquote class="text">
5126  <p>version of the LSCP specification the sampler  <p>version of the LSCP specification the sampler
5127                                              complies with (see <a class="info" href="#LSCP versioning">Section 2<span>Versioning of this specification</span></a> for details)                                              complies with (see <a class="info" href="#LSCP versioning">Section&nbsp;2<span> (</span><span class="info">Versioning of this specification</span><span>)</span></a> for details)
5128  </p>  </p>
5129  </blockquote>  </blockquote>
5130                                        
5131    
5132  </blockquote>  </blockquote>
5133                                
5134    
5135  </blockquote>  </blockquote><p>
5136                        
5137    </p>
5138  <p>The mentioned fields above don't have to be in particular order.  <p>The mentioned fields above don't have to be in particular order.
5139                      Other fields might be added in future.                      Other fields might be added in future.
5140  </p>  </p>
# Line 4241  Intellectual Property and Copyright Stat Line 5142  Intellectual Property and Copyright Stat
5142  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5143  <a name="rfc.section.7"></a><h3>7.&nbsp;Command Syntax</h3>  <a name="rfc.section.7"></a><h3>7.&nbsp;Command Syntax</h3>
5144    
5145  <p>The grammar of the control protocol as descibed in <a class="info" href="#control_commands">Section 6<span>Description for control commands</span></a>  <p>The grammar of the control protocol as descibed in <a class="info" href="#control_commands">Section&nbsp;6<span> (</span><span class="info">Description for control commands</span><span>)</span></a>
5146              is defined below using Backus-Naur Form (BNF as described in <a class="info" href="#RFC2234">[RFC2234]<span>Crocker, D. and P. Overell, Augmented BNF for Syntax Specifications, 1997.</span></a>)              is defined below using Backus-Naur Form (BNF as described in <a class="info" href="#RFC2234">[RFC2234]<span> (</span><span class="info">Crocker, D. and P. Overell, &ldquo;Augmented BNF for Syntax Specifications,&rdquo; 1997.</span><span>)</span></a>)
5147              where applicable.              where applicable.
5148                            
5149  </p>  </p>
# Line 4255  Intellectual Property and Copyright Stat Line 5156  Intellectual Property and Copyright Stat
5156  <p>/ line CR LF  <p>/ line CR LF
5157                                    
5158  </p>  </p>
5159  </blockquote>  </blockquote><p>
5160    
5161    </p>
5162  <p>line =  <p>line =
5163          </p>          </p>
5164  <blockquote class="text">  <blockquote class="text">
# Line 4272  Intellectual Property and Copyright Stat Line 5174  Intellectual Property and Copyright Stat
5174  <p>/ error  <p>/ error
5175                                    
5176  </p>  </p>
5177  </blockquote>  </blockquote><p>
5178    
5179    </p>
5180  <p>comment =  <p>comment =
5181          </p>          </p>
5182  <blockquote class="text">  <blockquote class="text">
# Line 4292  Intellectual Property and Copyright Stat Line 5195  Intellectual Property and Copyright Stat
5195  <p>/ comment string  <p>/ comment string
5196                                    
5197  </p>  </p>
5198  </blockquote>  </blockquote><p>
5199    
5200    </p>
5201  <p>command =  <p>command =
5202          </p>          </p>
5203  <blockquote class="text">  <blockquote class="text">
# Line 4339  Intellectual Property and Copyright Stat Line 5243  Intellectual Property and Copyright Stat
5243  <p>/ QUIT  <p>/ QUIT
5244                                    
5245  </p>  </p>
5246  </blockquote>  </blockquote><p>
5247    
5248    </p>
5249  <p>subscribe_event =  <p>subscribe_event =
5250          </p>          </p>
5251  <blockquote class="text">  <blockquote class="text">
# Line 4362  Intellectual Property and Copyright Stat Line 5267  Intellectual Property and Copyright Stat
5267  <p>/ MISCELLANEOUS  <p>/ MISCELLANEOUS
5268                                    
5269  </p>  </p>
5270  </blockquote>  <p>/ TOTAL_VOICE_COUNT
5271                    
5272    </p>
5273    </blockquote><p>
5274    
5275    </p>
5276  <p>unsubscribe_event =  <p>unsubscribe_event =
5277          </p>          </p>
5278  <blockquote class="text">  <blockquote class="text">
# Line 4385  Intellectual Property and Copyright Stat Line 5294  Intellectual Property and Copyright Stat
5294  <p>/ MISCELLANEOUS  <p>/ MISCELLANEOUS
5295                                    
5296  </p>  </p>
5297  </blockquote>  <p>/ TOTAL_VOICE_COUNT
5298                    
5299    </p>
5300    </blockquote><p>
5301    
5302    </p>
5303  <p>get_instruction =  <p>get_instruction =
5304          </p>          </p>
5305  <blockquote class="text">  <blockquote class="text">
# Line 4462  Intellectual Property and Copyright Stat Line 5375  Intellectual Property and Copyright Stat
5375  <p>/ SERVER SP INFO  <p>/ SERVER SP INFO
5376                                    
5377  </p>  </p>
5378  </blockquote>  <p>/ TOTAL_VOICE_COUNT
5379                    
5380    </p>
5381    <p>/ TOTAL_VOICE_COUNT_MAX
5382                    
5383    </p>
5384    </blockquote><p>
5385    
5386    </p>
5387  <p>set_instruction =  <p>set_instruction =
5388          </p>          </p>
5389  <blockquote class="text">  <blockquote class="text">
# Line 4485  Intellectual Property and Copyright Stat Line 5405  Intellectual Property and Copyright Stat
5405  <p>/ ECHO SP boolean  <p>/ ECHO SP boolean
5406                                    
5407  </p>  </p>
5408  </blockquote>  </blockquote><p>
5409    
5410    </p>
5411  <p>create_instruction =  <p>create_instruction =
5412          </p>          </p>
5413  <blockquote class="text">  <blockquote class="text">
# Line 4502  Intellectual Property and Copyright Stat Line 5423  Intellectual Property and Copyright Stat
5423  <p>/ MIDI_INPUT_DEVICE SP string  <p>/ MIDI_INPUT_DEVICE SP string
5424                                    
5425  </p>  </p>
5426  </blockquote>  </blockquote><p>
5427    
5428    </p>
5429  <p>destroy_instruction =  <p>destroy_instruction =
5430          </p>          </p>
5431  <blockquote class="text">  <blockquote class="text">
# Line 4513  Intellectual Property and Copyright Stat Line 5435  Intellectual Property and Copyright Stat
5435  <p>/ MIDI_INPUT_DEVICE SP number  <p>/ MIDI_INPUT_DEVICE SP number
5436                                    
5437  </p>  </p>
5438  </blockquote>  </blockquote><p>
5439    
5440    </p>
5441  <p>load_instruction =  <p>load_instruction =
5442          </p>          </p>
5443  <blockquote class="text">  <blockquote class="text">
# Line 4524  Intellectual Property and Copyright Stat Line 5447  Intellectual Property and Copyright Stat
5447  <p>/ ENGINE SP load_engine_args  <p>/ ENGINE SP load_engine_args
5448                                    
5449  </p>  </p>
5450  </blockquote>  </blockquote><p>
5451    
5452    </p>
5453  <p>set_chan_instruction =  <p>set_chan_instruction =
5454          </p>          </p>
5455  <blockquote class="text">  <blockquote class="text">
# Line 4556  Intellectual Property and Copyright Stat Line 5480  Intellectual Property and Copyright Stat
5480  <p>/ VOLUME SP sampler_channel SP volume_value  <p>/ VOLUME SP sampler_channel SP volume_value
5481                                    
5482  </p>  </p>
5483  </blockquote>  <p>/ MUTE SP sampler_channel SP boolean
5484                    
5485    </p>
5486    <p>/ SOLO SP sampler_channel SP boolean
5487                    
5488    </p>
5489    </blockquote><p>
5490    
5491    </p>
5492  <p>key_val_list =  <p>key_val_list =
5493          </p>          </p>
5494  <blockquote class="text">  <blockquote class="text">
# Line 4567  Intellectual Property and Copyright Stat Line 5498  Intellectual Property and Copyright Stat
5498  <p>/ key_val_list SP string '=' param_val_list  <p>/ key_val_list SP string '=' param_val_list
5499                                    
5500  </p>  </p>
5501  </blockquote>  </blockquote><p>
5502    
5503    </p>
5504  <p>buffer_size_type =  <p>buffer_size_type =
5505          </p>          </p>
5506  <blockquote class="text">  <blockquote class="text">
# Line 4578  Intellectual Property and Copyright Stat Line 5510  Intellectual Property and Copyright Stat
5510  <p>/ PERCENTAGE  <p>/ PERCENTAGE
5511                                    
5512  </p>  </p>
5513  </blockquote>  </blockquote><p>
5514    
5515    </p>
5516  <p>list_instruction =  <p>list_instruction =
5517          </p>          </p>
5518  <blockquote class="text">  <blockquote class="text">
# Line 4601  Intellectual Property and Copyright Stat Line 5534  Intellectual Property and Copyright Stat
5534  <p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS  <p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS
5535                                    
5536  </p>  </p>
5537  </blockquote>  </blockquote><p>
5538    
5539    </p>
5540  <p>load_instr_args =  <p>load_instr_args =
5541          </p>          </p>
5542  <blockquote class="text">  <blockquote class="text">
# Line 4612  Intellectual Property and Copyright Stat Line 5546  Intellectual Property and Copyright Stat
5546  <p>/ NON_MODAL SP filename SP instrument_index SP sampler_channel  <p>/ NON_MODAL SP filename SP instrument_index SP sampler_channel
5547                                    
5548  </p>  </p>
5549  </blockquote>  </blockquote><p>
5550    
5551    </p>
5552  <p>load_engine_args =  <p>load_engine_args =
5553          </p>          </p>
5554  <blockquote class="text">  <blockquote class="text">
5555  <p>engine_name SP sampler_channel  <p>engine_name SP sampler_channel
5556                                    
5557  </p>  </p>
5558  </blockquote>  </blockquote><p>
5559    
5560    </p>
5561  <p>device_index =  <p>device_index =
5562          </p>          </p>
5563  <blockquote class="text">  <blockquote class="text">
5564  <p>number  <p>number
5565                                    
5566  </p>  </p>
5567  </blockquote>  </blockquote><p>
5568    
5569    </p>
5570  <p>audio_channel_index =  <p>audio_channel_index =
5571          </p>          </p>
5572  <blockquote class="text">  <blockquote class="text">
5573  <p>number  <p>number
5574                                    
5575  </p>  </p>
5576  </blockquote>  </blockquote><p>
5577    
5578    </p>
5579  <p>audio_output_type_name =  <p>audio_output_type_name =
5580          </p>          </p>
5581  <blockquote class="text">  <blockquote class="text">
5582  <p>string  <p>string
5583                                    
5584  </p>  </p>
5585  </blockquote>  </blockquote><p>
5586    
5587    </p>
5588  <p>midi_input_port_index =  <p>midi_input_port_index =
5589          </p>          </p>
5590  <blockquote class="text">  <blockquote class="text">
5591  <p>number  <p>number
5592                                    
5593  </p>  </p>
5594  </blockquote>  </blockquote><p>
5595    
5596    </p>
5597  <p>midi_input_channel_index =  <p>midi_input_channel_index =
5598          </p>          </p>
5599  <blockquote class="text">  <blockquote class="text">
# Line 4663  Intellectual Property and Copyright Stat Line 5603  Intellectual Property and Copyright Stat
5603  <p>/ ALL  <p>/ ALL
5604                                    
5605  </p>  </p>
5606  </blockquote>  </blockquote><p>
5607    
5608    </p>
5609  <p>midi_input_type_name =  <p>midi_input_type_name =
5610          </p>          </p>
5611  <blockquote class="text">  <blockquote class="text">
5612  <p>string  <p>string
5613                                    
5614  </p>  </p>
5615  </blockquote>  </blockquote><p>
5616    
5617    </p>
5618  <p>volume_value =  <p>volume_value =
5619          </p>          </p>
5620  <blockquote class="text">  <blockquote class="text">
# Line 4682  Intellectual Property and Copyright Stat Line 5624  Intellectual Property and Copyright Stat
5624  <p>/ number  <p>/ number
5625                                    
5626  </p>  </p>
5627  </blockquote>  </blockquote><p>
5628    
5629    </p>
5630  <p>sampler_channel =  <p>sampler_channel =
5631          </p>          </p>
5632  <blockquote class="text">  <blockquote class="text">
5633  <p>number  <p>number
5634                                    
5635  </p>  </p>
5636  </blockquote>  </blockquote><p>
5637    
5638    </p>
5639  <p>instrument_index =  <p>instrument_index =
5640          </p>          </p>
5641  <blockquote class="text">  <blockquote class="text">
5642  <p>number  <p>number
5643                                    
5644  </p>  </p>
5645  </blockquote>  </blockquote><p>
5646    
5647    </p>
5648  <p>engine_name =  <p>engine_name =
5649          </p>          </p>
5650  <blockquote class="text">  <blockquote class="text">
5651  <p>string  <p>string
5652                                    
5653  </p>  </p>
5654  </blockquote>  </blockquote><p>
5655    
5656    </p>
5657  <p>filename =  <p>filename =
5658          </p>          </p>
5659  <blockquote class="text">  <blockquote class="text">
5660  <p>stringval  <p>stringval
5661                                    
5662  </p>  </p>
5663  </blockquote>  </blockquote><p>
5664    
5665    </p>
5666  <p>param_val_list =  <p>param_val_list =
5667          </p>          </p>
5668  <blockquote class="text">  <blockquote class="text">
# Line 4725  Intellectual Property and Copyright Stat Line 5672  Intellectual Property and Copyright Stat
5672  <p>/ param_val_list','param_val  <p>/ param_val_list','param_val
5673                                    
5674  </p>  </p>
5675  </blockquote>  </blockquote><p>
5676    
5677    </p>
5678  <p>param_val =  <p>param_val =
5679          </p>          </p>
5680  <blockquote class="text">  <blockquote class="text">
5681  <p>string  <p>string
5682                                    
5683  </p>  </p>
5684  <p>/ '\'' string '\''  <p>/ stringval
                   
 </p>  
 <p>/ '\"' string '\"'  
5685                                    
5686  </p>  </p>
5687  <p>/ number  <p>/ number
# Line 4745  Intellectual Property and Copyright Stat Line 5690  Intellectual Property and Copyright Stat
5690  <p>/ dotnum  <p>/ dotnum
5691                                    
5692  </p>  </p>
5693  </blockquote>  </blockquote><p>
5694    
5695    </p>
5696  <a name="events"></a><br /><hr />  <a name="events"></a><br /><hr />
5697  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5698  <a name="rfc.section.8"></a><h3>8.&nbsp;Events</h3>  <a name="rfc.section.8"></a><h3>8.&nbsp;Events</h3>
5699    
5700  <p>This chapter will describe all currently defined events supported by LinuxSampler.  <p>This chapter will describe all currently defined events supported by LinuxSampler.
5701  </p>  </p>
5702  <a name="rfc.section.8.1"></a><h4><a name="SUBSCRIBE CHANNEL">8.1</a>&nbsp;Number of sampler channels changed</h4>  <a name="SUBSCRIBE CHANNEL"></a><br /><hr />
5703    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5704    <a name="rfc.section.8.1"></a><h3>8.1.&nbsp;Number of sampler channels changed</h3>
5705    
5706  <p>Client may want to be notified when the total number of channels on the  <p>Client may want to be notified when the total number of channels on the
5707                  back-end changes by issuing the following command:                  back-end changes by issuing the following command:
5708  </p>  </p>
5709  <p></p>  <p>
5710                        </p>
5711  <blockquote class="text">  <blockquote class="text">
5712  <p>SUBSCRIBE CHANNEL_COUNT  <p>SUBSCRIBE CHANNEL_COUNT
5713  </p>  </p>
5714  </blockquote>  </blockquote><p>
5715                    
5716    </p>
5717  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5718  </p>  </p>
5719  <p></p>  <p>
5720                        </p>
5721  <blockquote class="text">  <blockquote class="text">
5722  <p>"NOTIFY:CHANNEL_COUNT:&lt;channels&gt;"  <p>"NOTIFY:CHANNEL_COUNT:&lt;channels&gt;"
5723  </p>  </p>
5724  </blockquote>  </blockquote><p>
5725                    
5726    </p>
5727  <p>where &lt;channels&gt; will be replaced by the new number  <p>where &lt;channels&gt; will be replaced by the new number
5728                  of sampler channels.                  of sampler channels.
5729  </p>  </p>
5730  <a name="rfc.section.8.2"></a><h4><a name="SUBSCRIBE VOICE_COUNT">8.2</a>&nbsp;Number of active voices changed</h4>  <a name="SUBSCRIBE VOICE_COUNT"></a><br /><hr />
5731    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5732    <a name="rfc.section.8.2"></a><h3>8.2.&nbsp;Number of active voices changed</h3>
5733    
5734  <p>Client may want to be notified when the number of voices on the  <p>Client may want to be notified when the number of voices on the
5735                  back-end changes by issuing the following command:                  back-end changes by issuing the following command:
5736  </p>  </p>
5737  <p></p>  <p>
5738                        </p>
5739  <blockquote class="text">  <blockquote class="text">
5740  <p>SUBSCRIBE VOICE_COUNT  <p>SUBSCRIBE VOICE_COUNT
5741  </p>  </p>
5742  </blockquote>  </blockquote><p>
5743                    
5744    </p>
5745  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5746  </p>  </p>
5747  <p></p>  <p>
5748                        </p>
5749  <blockquote class="text">  <blockquote class="text">
5750  <p>"NOTIFY:VOICE_COUNT:&lt;sampler-channel&gt; &lt;voices&gt;  <p>"NOTIFY:VOICE_COUNT:&lt;sampler-channel&gt; &lt;voices&gt;
5751  </p>  </p>
5752  </blockquote>  </blockquote><p>
5753                    
5754    </p>
5755  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the
5756                  voice count change occurred and &lt;voices&gt; by the new number of                  voice count change occurred and &lt;voices&gt; by the new number of
5757                  active voices on that channel.                  active voices on that channel.
5758  </p>  </p>
5759  <a name="rfc.section.8.3"></a><h4><a name="SUBSCRIBE STREAM_COUNT">8.3</a>&nbsp;Number of active disk streams changed</h4>  <a name="SUBSCRIBE STREAM_COUNT"></a><br /><hr />
5760    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5761    <a name="rfc.section.8.3"></a><h3>8.3.&nbsp;Number of active disk streams changed</h3>
5762    
5763  <p>Client may want to be notified when the number of streams on the back-end  <p>Client may want to be notified when the number of streams on the back-end
5764                  changes by issuing the following command: SUBSCRIBE STREAM_COUNT                  changes by issuing the following command: SUBSCRIBE STREAM_COUNT
5765  </p>  </p>
5766  <p></p>  <p>
5767                        </p>
5768  <blockquote class="text">  <blockquote class="text">
5769  <p>SUBSCRIBE STREAM_COUNT  <p>SUBSCRIBE STREAM_COUNT
5770  </p>  </p>
5771  </blockquote>  </blockquote><p>
5772                    
5773    </p>
5774  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5775  </p>  </p>
5776  <p></p>  <p>
5777                        </p>
5778  <blockquote class="text">  <blockquote class="text">
5779  <p>"NOTIFY:STREAM_COUNT:&lt;sampler-channel&gt; &lt;streams&gt;"  <p>"NOTIFY:STREAM_COUNT:&lt;sampler-channel&gt; &lt;streams&gt;"
5780  </p>  </p>
5781  </blockquote>  </blockquote><p>
5782                    
5783    </p>
5784  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the
5785                  stream count change occurred and &lt;streams&gt; by the new number of                  stream count change occurred and &lt;streams&gt; by the new number of
5786                  active disk streams on that channel.                  active disk streams on that channel.
5787  </p>  </p>
5788  <a name="rfc.section.8.4"></a><h4><a name="SUBSCRIBE BUFFER_FILL">8.4</a>&nbsp;Disk stream buffer fill state changed</h4>  <a name="SUBSCRIBE BUFFER_FILL"></a><br /><hr />
5789    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5790    <a name="rfc.section.8.4"></a><h3>8.4.&nbsp;Disk stream buffer fill state changed</h3>
5791    
5792  <p>Client may want to be notified when the buffer fill state of a disk stream  <p>Client may want to be notified when the buffer fill state of a disk stream
5793                  on the back-end changes by issuing the following command:                  on the back-end changes by issuing the following command:
5794  </p>  </p>
5795  <p></p>  <p>
5796                        </p>
5797  <blockquote class="text">  <blockquote class="text">
5798  <p>SUBSCRIBE BUFFER_FILL  <p>SUBSCRIBE BUFFER_FILL
5799  </p>  </p>
5800  </blockquote>  </blockquote><p>
5801                    
5802    </p>
5803  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5804  </p>  </p>
5805  <p></p>  <p>
5806                        </p>
5807  <blockquote class="text">  <blockquote class="text">
5808  <p>"NOTIFY:BUFFER_FILL:&lt;sampler-channel&gt; &lt;fill-data&gt;"  <p>"NOTIFY:BUFFER_FILL:&lt;sampler-channel&gt; &lt;fill-data&gt;"
5809  </p>  </p>
5810  </blockquote>  </blockquote><p>
5811                    
5812    </p>
5813  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the
5814                  buffer fill state change occurred on and &lt;fill-data&gt; will be replaced by the                  buffer fill state change occurred on and &lt;fill-data&gt; will be replaced by the
5815                  buffer fill data for this channel as described in <a class="info" href="#GET CHANNEL BUFFER_FILL">Section 6.4.13<span>Current fill state of disk stream buffers</span></a>                  buffer fill data for this channel as described in <a class="info" href="#GET CHANNEL BUFFER_FILL">Section&nbsp;6.4.13<span> (</span><span class="info">Current fill state of disk stream buffers</span><span>)</span></a>
5816                  as if the <a class="info" href="#GET CHANNEL BUFFER_FILL">"GET CHANNEL BUFFER_FILL PERCENTAGE"<span>Current fill state of disk stream buffers</span></a> command was issued on this channel.                  as if the <a class="info" href="#GET CHANNEL BUFFER_FILL">"GET CHANNEL BUFFER_FILL PERCENTAGE"<span> (</span><span class="info">Current fill state of disk stream buffers</span><span>)</span></a> command was issued on this channel.
5817  </p>  </p>
5818  <a name="rfc.section.8.5"></a><h4><a name="SUBSCRIBE INFO">8.5</a>&nbsp;Channel information changed</h4>  <a name="SUBSCRIBE INFO"></a><br /><hr />
5819    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5820    <a name="rfc.section.8.5"></a><h3>8.5.&nbsp;Channel information changed</h3>
5821    
5822  <p>Client may want to be notified when changes were made to sampler channels on the  <p>Client may want to be notified when changes were made to sampler channels on the
5823                  back-end by issuing the following command:                  back-end by issuing the following command:
5824  </p>  </p>
5825  <p></p>  <p>
5826                        </p>
5827  <blockquote class="text">  <blockquote class="text">
5828  <p>SUBSCRIBE CHANNEL_INFO  <p>SUBSCRIBE CHANNEL_INFO
5829  </p>  </p>
5830  </blockquote>  </blockquote><p>
5831                    
5832    </p>
5833  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5834  </p>  </p>
5835  <p></p>  <p>
5836                        </p>
5837  <blockquote class="text">  <blockquote class="text">
5838  <p>"NOTIFY:CHANNEL_INFO:&lt;sampler-channel&gt;"  <p>"NOTIFY:CHANNEL_INFO:&lt;sampler-channel&gt;"
5839  </p>  </p>
5840  </blockquote>  </blockquote><p>
5841                    
5842    </p>
5843  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the  <p>where &lt;sampler-channel&gt; will be replaced by the sampler channel the
5844                  channel info change occurred. The front-end will have to send                  channel info change occurred. The front-end will have to send
5845                  the respective command to actually get the channel info. Because these messages                  the respective command to actually get the channel info. Because these messages
# Line 4871  Intellectual Property and Copyright Stat Line 5847  Intellectual Property and Copyright Stat
5847                  time events happening on the server, it is believed that an empty notification                  time events happening on the server, it is believed that an empty notification
5848                  message is sufficient here.                  message is sufficient here.
5849  </p>  </p>
5850  <a name="rfc.section.8.6"></a><h4><a name="SUBSCRIBE MISCELLANEOUS">8.6</a>&nbsp;Miscellaneous and debugging events</h4>  <a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr />
5851    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5852    <a name="rfc.section.8.6"></a><h3>8.6.&nbsp;Total number of active voices changed</h3>
5853    
5854    <p>Client may want to be notified when the total number of voices on the
5855                    back-end changes by issuing the following command:
5856    </p>
5857    <p>
5858                        </p>
5859    <blockquote class="text">
5860    <p>SUBSCRIBE TOTAL_VOICE_COUNT
5861    </p>
5862    </blockquote><p>
5863                    
5864    </p>
5865    <p>Server will start sending the following notification messages:
5866    </p>
5867    <p>
5868                        </p>
5869    <blockquote class="text">
5870    <p>"NOTIFY:TOTAL_VOICE_COUNT:&lt;voices&gt;
5871    </p>
5872    </blockquote><p>
5873                    
5874    </p>
5875    <p>where &lt;voices&gt; will be replaced by the new number of
5876                    all currently active voices.
5877    </p>
5878    <a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr />
5879    <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5880    <a name="rfc.section.8.7"></a><h3>8.7.&nbsp;Miscellaneous and debugging events</h3>
5881    
5882  <p>Client may want to be notified of miscellaneous and debugging events occurring at  <p>Client may want to be notified of miscellaneous and debugging events occurring at
5883                  the server by issuing the following command:                  the server by issuing the following command:
5884  </p>  </p>
5885  <p></p>  <p>
5886                        </p>
5887  <blockquote class="text">  <blockquote class="text">
5888  <p>SUBSCRIBE MISCELLANEOUS  <p>SUBSCRIBE MISCELLANEOUS
5889  </p>  </p>
5890  </blockquote>  </blockquote><p>
5891                    
5892    </p>
5893  <p>Server will start sending the following notification messages:  <p>Server will start sending the following notification messages:
5894  </p>  </p>
5895  <p></p>  <p>
5896                        </p>
5897  <blockquote class="text">  <blockquote class="text">
5898  <p>"NOTIFY:MISCELLANEOUS:&lt;string&gt;"  <p>"NOTIFY:MISCELLANEOUS:&lt;string&gt;"
5899  </p>  </p>
5900  </blockquote>  </blockquote><p>
5901                    
5902    </p>
5903  <p>where &lt;string&gt; will be replaced by whatever data server  <p>where &lt;string&gt; will be replaced by whatever data server
5904                  wants to send to the client. Client MAY display this data to the                  wants to send to the client. Client MAY display this data to the
5905                  user AS IS to facilitate debugging.                  user AS IS to facilitate debugging.
# Line 4911  Intellectual Property and Copyright Stat Line 5921  Intellectual Property and Copyright Stat
5921              following people, discussed on the LinuxSampler developer's mailing              following people, discussed on the LinuxSampler developer's mailing
5922              list:              list:
5923  </p>  </p>
5924  <p></p>  <p>
5925                    </p>
5926  <blockquote class="text">  <blockquote class="text">
5927  <p>Rui Nuno Capela  <p>Rui Nuno Capela
5928  </p>  </p>
# Line 4921  Intellectual Property and Copyright Stat Line 5932  Intellectual Property and Copyright Stat
5932  </p>  </p>
5933  <p>Grigor Iliev  <p>Grigor Iliev
5934  </p>  </p>
5935  </blockquote>  </blockquote><p>
5936                
5937    </p>
5938  <a name="rfc.references1"></a><br /><hr />  <a name="rfc.references1"></a><br /><hr />
5939  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2">&nbsp;TOC&nbsp;</a></td></tr></table>
5940  <h3>11&nbsp;References</h3>  <h3>11.&nbsp;References</h3>
5941  <table width="99%" border="0">  <table width="99%" border="0">
5942  <tr><td class="author-text" valign="top"><a name="RFC2119">[RFC2119]</a></td>  <tr><td class="author-text" valign="top"><a name="RFC2119">[RFC2119]</a></td>
5943  <td class="author-text">Bradner, S., "<a href="ftp://ftp.isi.edu/in-notes/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>", RFC 2119, 1997.</td></tr>  <td class="author-text">Bradner, S., &ldquo;<a href="ftp://ftp.isi.edu/in-notes/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>,&rdquo; RFC&nbsp;2119, 1997.</td></tr>
5944  <tr><td class="author-text" valign="top"><a name="RFC2234">[RFC2234]</a></td>  <tr><td class="author-text" valign="top"><a name="RFC2234">[RFC2234]</a></td>
5945  <td class="author-text">Crocker, D. and P. Overell, "<a href="ftp://ftp.isi.edu/in-notes/rfc2234.txt">Augmented BNF for Syntax Specifications</a>", RFC 2234, 1997.</td></tr>  <td class="author-text">Crocker, D. and P. Overell, &ldquo;<a href="ftp://ftp.isi.edu/in-notes/rfc2234.txt">Augmented BNF for Syntax Specifications</a>,&rdquo; RFC&nbsp;2234, 1997.</td></tr>
5946  <tr><td class="author-text" valign="top"><a name="RFC793">[RFC793]</a></td>  <tr><td class="author-text" valign="top"><a name="RFC793">[RFC793]</a></td>
5947  <td class="author-text">Defense Advanced Research Projects Agency, "<a href="ftp://ftp.isi.edu/in-notes/rfc793.txt">TRANSMISSION CONTROL PROTOCOL</a>", RFC 793, 1981.</td></tr>  <td class="author-text">Defense Advanced Research Projects Agency, &ldquo;<a href="ftp://ftp.isi.edu/in-notes/rfc793.txt">TRANSMISSION CONTROL PROTOCOL</a>,&rdquo; RFC&nbsp;793, 1981.</td></tr>
5948  </table>  </table>
5949    
5950  <a name="rfc.authors"></a><br /><hr />  <a name="rfc.authors"></a><br /><hr />
# Line 4950  Schoenebeck</td></tr> Line 5962  Schoenebeck</td></tr>
5962  <td class="author-text">74081 Heilbronn</td></tr>  <td class="author-text">74081 Heilbronn</td></tr>
5963  <tr><td class="author-text">&nbsp;</td>  <tr><td class="author-text">&nbsp;</td>
5964  <td class="author-text">Germany</td></tr>  <td class="author-text">Germany</td></tr>
5965  <tr><td class="author" align="right">EMail:&nbsp;</td>  <tr><td class="author" align="right">Email:&nbsp;</td>
5966  <td class="author-text"><a href="mailto:schoenebeck at software minus engineering dot org">schoenebeck at software minus engineering dot org</a></td></tr>  <td class="author-text"><a href="mailto:schoenebeck at software minus engineering dot org">schoenebeck at software minus engineering dot org</a></td></tr>
5967  </table>  </table>
5968  <a name="rfc.copyright"></a><br /><hr />  <a name="rfc.copyright"></a><br /><hr />
# Line 4965  under such rights might or might not be Line 5977  under such rights might or might not be
5977  it represent that it has made any effort to identify any such  it represent that it has made any effort to identify any such
5978  rights. Information on the IETF's procedures with respect to  rights. Information on the IETF's procedures with respect to
5979  rights in standards-track and standards-related documentation  rights in standards-track and standards-related documentation
5980  can be found in BCP-11. Copies of claims of rights made  can be found in BCP&nbsp;11. Copies of claims of rights made
5981  available for publication and any assurances of licenses to  available for publication and any assurances of licenses to
5982  be made available, or the result of an attempt made  be made available, or the result of an attempt made
5983  to obtain a general license or permission for the use of such  to obtain a general license or permission for the use of such
# Line 4979  required to practice this standard. Plea Line 5991  required to practice this standard. Plea
5991  information to the IETF Executive Director.</p>  information to the IETF Executive Director.</p>
5992  <h3>Full Copyright Statement</h3>  <h3>Full Copyright Statement</h3>
5993  <p class='copyright'>  <p class='copyright'>
5994  Copyright (C) The Internet Society (2005). All Rights Reserved.</p>  Copyright &copy; The Internet Society (2006). All Rights Reserved.</p>
5995  <p class='copyright'>  <p class='copyright'>
5996  This document and translations of it may be copied and furnished to  This document and translations of it may be copied and furnished to
5997  others, and derivative works that comment on or otherwise explain it  others, and derivative works that comment on or otherwise explain it
# Line 4999  The limited permissions granted above ar Line 6011  The limited permissions granted above ar
6011  revoked by the Internet Society or its successors or assignees.</p>  revoked by the Internet Society or its successors or assignees.</p>
6012  <p class='copyright'>  <p class='copyright'>
6013  This document and the information contained herein is provided on an  This document and the information contained herein is provided on an
6014  &quot;AS IS&quot; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING  &ldquo;AS IS&rdquo; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
6015  TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING  TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
6016  BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION  BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
6017  HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF  HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF

Legend:
Removed from v.575  
changed lines
  Added in v.940

  ViewVC Help
Powered by ViewVC