/[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 1002 by schoenebeck, Wed Dec 27 16:23:46 2006 UTC revision 1201 by iliev, Thu May 24 14:22:39 2007 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.31 (http://xml.resource.org/)">  <meta name="generator" content="xml2rfc v1.32 (http://xml.resource.org/)">
7  <style type='text/css'><!--  <style type='text/css'><!--
8          body {          body {
9                  font-family: verdana, charcoal, helvetica, arial, sans-serif;                  font-family: verdana, charcoal, helvetica, arial, sans-serif;
10                  font-size: small; color: #000; background-color: #FFF;                  font-size: small; color: #000; background-color: #FFF;
11                  margin: 2em;                  margin: 2em;
12          }          }
13          h1, h2, h3, h4, h5, h6 {          h1, h2, h3, h4, h5, h6 {
14                  font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif;                  font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif;
15                  font-weight: bold; font-style: normal;                  font-weight: bold; font-style: normal;
16          }          }
17          h1 { color: #900; background-color: transparent; text-align: right; }          h1 { color: #900; background-color: transparent; text-align: right; }
18          h3 { color: #333; background-color: transparent; }          h3 { color: #333; background-color: transparent; }
19    
20          td.RFCbug {          td.RFCbug {
21                  font-size: x-small; text-decoration: none;                  font-size: x-small; text-decoration: none;
22                  width: 30px; height: 30px; padding-top: 2px;                  width: 30px; height: 30px; padding-top: 2px;
23                  text-align: justify; vertical-align: middle;                  text-align: justify; vertical-align: middle;
24                  background-color: #000;                  background-color: #000;
25          }          }
26          td.RFCbug span.RFC {          td.RFCbug span.RFC {
27                  font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;                  font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
28                  font-weight: bold; color: #666;                  font-weight: bold; color: #666;
29          }          }
30          td.RFCbug span.hotText {          td.RFCbug span.hotText {
31                  font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;                  font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
32                  font-weight: normal; text-align: center; color: #FFF;                  font-weight: normal; text-align: center; color: #FFF;
33          }          }
34    
35          table.TOCbug { width: 30px; height: 15px; }          table.TOCbug { width: 30px; height: 15px; }
36          td.TOCbug {          td.TOCbug {
37                  text-align: center; width: 30px; height: 15px;                  text-align: center; width: 30px; height: 15px;
38                  color: #FFF; background-color: #900;                  color: #FFF; background-color: #900;
39          }          }
40          td.TOCbug a {          td.TOCbug a {
41                  font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif;                  font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif;
42                  font-weight: bold; font-size: x-small; text-decoration: none;                  font-weight: bold; font-size: x-small; text-decoration: none;
43                  color: #FFF; background-color: transparent;                  color: #FFF; background-color: transparent;
44          }          }
45    
46          td.header {          td.header {
47                  font-family: arial, helvetica, sans-serif; font-size: x-small;                  font-family: arial, helvetica, sans-serif; font-size: x-small;
48                  vertical-align: top; width: 33%;                  vertical-align: top; width: 33%;
49                  color: #FFF; background-color: #666;                  color: #FFF; background-color: #666;
50          }          }
51          td.author { font-weight: bold; font-size: x-small; margin-left: 4em; }          td.author { font-weight: bold; font-size: x-small; margin-left: 4em; }
52          td.author-text { font-size: x-small; }          td.author-text { font-size: x-small; }
53    
54          /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */          /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
55          a.info {          a.info {
56                  /* This is the key. */                  /* This is the key. */
57                  position: relative;                  position: relative;
58                  z-index: 24;                  z-index: 24;
59                  text-decoration: none;                  text-decoration: none;
60          }          }
61          a.info:hover {          a.info:hover {
62                  z-index: 25;                  z-index: 25;
63                  color: #FFF; background-color: #900;                  color: #FFF; background-color: #900;
64          }          }
65          a.info span { display: none; }          a.info span { display: none; }
66          a.info:hover span.info {          a.info:hover span.info {
67                  /* The span will display just on :hover state. */                  /* The span will display just on :hover state. */
68                  display: block;                  display: block;
69                  position: absolute;                  position: absolute;
70                  font-size: smaller;                  font-size: smaller;
71                  top: 2em; left: -5em; width: 15em;                  top: 2em; left: -5em; width: 15em;
72                  padding: 2px; border: 1px solid #333;                  padding: 2px; border: 1px solid #333;
73                  color: #900; background-color: #EEE;                  color: #900; background-color: #EEE;
74                  text-align: left;                  text-align: left;
75          }          }
76    
77          a { font-weight: bold; }          a { font-weight: bold; }
78          a:link    { color: #900; background-color: transparent; }          a:link    { color: #900; background-color: transparent; }
79          a:visited { color: #633; background-color: transparent; }          a:visited { color: #633; background-color: transparent; }
80          a:active  { color: #633; background-color: transparent; }          a:active  { color: #633; background-color: transparent; }
81    
82          p { margin-left: 2em; margin-right: 2em; }          p { margin-left: 2em; margin-right: 2em; }
83          p.copyright { font-size: x-small; }          p.copyright { font-size: x-small; }
84          p.toc { font-size: small; font-weight: bold; margin-left: 3em; }          p.toc { font-size: small; font-weight: bold; margin-left: 3em; }
85          table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }          table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }
86          td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }          td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }
87    
88          ol.text { margin-left: 2em; margin-right: 2em; }          ol.text { margin-left: 2em; margin-right: 2em; }
89          ul.text { margin-left: 2em; margin-right: 2em; }          ul.text { margin-left: 2em; margin-right: 2em; }
90          li      { margin-left: 3em; }          li      { margin-left: 3em; }
91    
92          /* RFC-2629 <spanx>s and <artwork>s. */          /* RFC-2629 <spanx>s and <artwork>s. */
93          em     { font-style: italic; }          em     { font-style: italic; }
94          strong { font-weight: bold; }          strong { font-weight: bold; }
95          dfn    { font-weight: bold; font-style: normal; }          dfn    { font-weight: bold; font-style: normal; }
96          cite   { font-weight: normal; font-style: normal; }          cite   { font-weight: normal; font-style: normal; }
97          tt     { color: #036; }          tt     { color: #036; }
98          tt, pre, pre dfn, pre em, pre cite, pre span {          tt, pre, pre dfn, pre em, pre cite, pre span {
99                  font-family: "Courier New", Courier, monospace; font-size: small;                  font-family: "Courier New", Courier, monospace; font-size: small;
100          }          }
101          pre {          pre {
102                  text-align: left; padding: 4px;                  text-align: left; padding: 4px;
103                  color: #000; background-color: #CCC;                  color: #000; background-color: #CCC;
104          }          }
105          pre dfn  { color: #900; }          pre dfn  { color: #900; }
106          pre em   { color: #66F; background-color: #FFC; font-weight: normal; }          pre em   { color: #66F; background-color: #FFC; font-weight: normal; }
107          pre .key { color: #33C; font-weight: bold; }          pre .key { color: #33C; font-weight: bold; }
108          pre .id  { color: #900; }          pre .id  { color: #900; }
109          pre .str { color: #000; background-color: #CFF; }          pre .str { color: #000; background-color: #CFF; }
110          pre .val { color: #066; }          pre .val { color: #066; }
111          pre .rep { color: #909; }          pre .rep { color: #909; }
112          pre .oth { color: #000; background-color: #FCF; }          pre .oth { color: #000; background-color: #FCF; }
113          pre .err { background-color: #FCC; }          pre .err { background-color: #FCC; }
114    
115          /* RFC-2629 <texttable>s. */          /* RFC-2629 <texttable>s. */
116          table.full, table.headers, table.none {          table.all, table.full, table.headers, table.none {
117                  font-size: small; text-align: center; border-width: 2px;                  font-size: small; text-align: center; border-width: 2px;
118                  vertical-align: top; border-collapse: collapse;                  vertical-align: top; border-collapse: collapse;
119          }          }
120          table.full { border-style: solid; border-color: black; }          table.all, table.full { border-style: solid; border-color: black; }
121          table.headers, table.none { border-style: none; }          table.headers, table.none { border-style: none; }
122          th {          th {
123                  font-weight: bold; border-color: black;                  font-weight: bold; border-color: black;
124                  border-width: 2px 2px 3px 2px;                  border-width: 2px 2px 3px 2px;
125          }          }
126          table.full th { border-style: solid; }          table.all th, table.full th { border-style: solid; }
127          table.headers th { border-style: none none solid none; }          table.headers th { border-style: none none solid none; }
128          table.none th { border-style: none; }          table.none th { border-style: none; }
129          table.full td {          table.all td {
130                  border-style: solid; border-color: #333;                  border-style: solid; border-color: #333;
131                  border-width: 1px 2px;                  border-width: 1px 2px;
132          }          }
133          table.headers td, table.none td { border-style: none; }          table.full td, table.headers td, table.none td { border-style: none; }
134    
135          hr { height: 1px; }          hr { height: 1px; }
136          hr.insert {          hr.insert {
137                  width: 80%; border-style: none; border-width: 0;                  width: 80%; border-style: none; border-width: 0;
138                  color: #CCC; background-color: #CCC;                  color: #CCC; background-color: #CCC;
139          }          }
140  --></style>  --></style>
141  </head>  </head>
142  <body>  <body>
# Line 145  Line 145 
145  <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>
146  <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>
147  <tr><td class="header">Intended status: Standards Track</td><td class="header">Engineering e. V.</td></tr>  <tr><td class="header">Intended status: Standards Track</td><td class="header">Engineering e. V.</td></tr>
148  <tr><td class="header">Expires: June 30, 2007</td><td class="header">December 27, 2006</td></tr>  <tr><td class="header">Expires: November 25, 2007</td><td class="header">May 24, 2007</td></tr>
149  </table></td></tr></table>  </table></td></tr></table>
150  <h1><br />LinuxSampler Control Protocol<br />LSCP 1.2</h1>  <h1><br />LinuxSampler Control Protocol<br />LSCP 1.2</h1>
151    
# Line 173  The list of current Internet-Drafts can Line 173  The list of current Internet-Drafts can
173  The list of Internet-Draft Shadow Directories can be accessed at  The list of Internet-Draft Shadow Directories can be accessed at
174  <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>
175  <p>  <p>
176  This Internet-Draft will expire on June 30, 2007.</p>  This Internet-Draft will expire on November 25, 2007.</p>
177    
178  <h3>Copyright Notice</h3>  <h3>Copyright Notice</h3>
179  <p>  <p>
180  Copyright &copy; The Internet Society (2006).</p>  Copyright &copy; The IETF Trust (2007).</p>
181    
182  <h3>Abstract</h3>  <h3>Abstract</h3>
183    
# Line 328  Getting amount of effect sends on a samp Line 328  Getting amount of effect sends on a samp
328  Listing all effect sends on a sampler channel<br />  Listing all effect sends on a sampler channel<br />
329  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET FX_SEND INFO">6.4.29.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET FX_SEND INFO">6.4.29.</a>&nbsp;
330  Getting effect send information<br />  Getting effect send information<br />
331  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.30.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET FX_SEND NAME">6.4.30.</a>&nbsp;
332    Changing effect send's name<br />
333    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.31.</a>&nbsp;
334  Altering effect send's audio routing<br />  Altering effect send's audio routing<br />
335  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET CHANNEL">6.4.31.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET FX_SEND MIDI_CONTROLLER">6.4.32.</a>&nbsp;
336    Altering effect send's MIDI controller<br />
337    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET FX_SEND LEVEL">6.4.33.</a>&nbsp;
338    Altering effect send's send level<br />
339    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#RESET CHANNEL">6.4.34.</a>&nbsp;
340  Resetting a sampler channel<br />  Resetting a sampler channel<br />
341  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor12">6.5.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor12">6.5.</a>&nbsp;
342  Controlling connection<br />  Controlling connection<br />
# Line 352  Maximum amount of active voices<br /> Line 358  Maximum amount of active voices<br />
358  Reset sampler<br />  Reset sampler<br />
359  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET SERVER INFO">6.6.4.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET SERVER INFO">6.6.4.</a>&nbsp;
360  General sampler informations<br />  General sampler informations<br />
361    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET VOLUME">6.6.5.</a>&nbsp;
362    Getting global volume attenuation<br />
363    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET VOLUME">6.6.6.</a>&nbsp;
364    Setting global volume attenuation<br />
365  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#MIDI Instrument Mapping">6.7.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#MIDI Instrument Mapping">6.7.</a>&nbsp;
366  MIDI Instrument Mapping<br />  MIDI Instrument Mapping<br />
367  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD MIDI_INSTRUMENT MAP">6.7.1.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD MIDI_INSTRUMENT MAP">6.7.1.</a>&nbsp;
# Line 378  Remove an entry from the MIDI instrument Line 388  Remove an entry from the MIDI instrument
388  Get current settings of MIDI instrument map entry<br />  Get current settings of MIDI instrument map entry<br />
389  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a>&nbsp;
390  Clear MIDI instrument map<br />  Clear MIDI instrument map<br />
391    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#Managing Instruments Database">6.8.</a>&nbsp;
392    Managing Instruments Database<br />
393    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD DB_INSTRUMENT_DIRECTORY">6.8.1.</a>&nbsp;
394    Creating a new instrument directory<br />
395    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#REMOVE DB_INSTRUMENT_DIRECTORY">6.8.2.</a>&nbsp;
396    Deleting an instrument directory<br />
397    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET DB_INSTRUMENT_DIRECTORIES">6.8.3.</a>&nbsp;
398    Getting amount of instrument directories<br />
399    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST DB_INSTRUMENT_DIRECTORIES">6.8.4.</a>&nbsp;
400    Listing all directories in specific directory<br />
401    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET DB_INSTRUMENT_DIRECTORY INFO">6.8.5.</a>&nbsp;
402    Getting instrument directory information<br />
403    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET DB_INSTRUMENT_DIRECTORY NAME">6.8.6.</a>&nbsp;
404    Renaming an instrument directory<br />
405    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#MOVE DB_INSTRUMENT_DIRECTORY">6.8.7.</a>&nbsp;
406    Moving an instrument directory<br />
407    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#COPY DB_INSTRUMENT_DIRECTORY">6.8.8.</a>&nbsp;
408    Copying instrument directories<br />
409    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">6.8.9.</a>&nbsp;
410    Changing the description of directory<br />
411    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#FIND DB_INSTRUMENT_DIRECTORIES">6.8.10.</a>&nbsp;
412    Finding directories<br />
413    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#ADD DB_INSTRUMENTS">6.8.11.</a>&nbsp;
414    Adding instruments to the instruments database<br />
415    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#REMOVE DB_INSTRUMENT">6.8.12.</a>&nbsp;
416    Removing an instrument<br />
417    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET DB_INSTRUMENTS">6.8.13.</a>&nbsp;
418    Getting amount of instruments<br />
419    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#LIST DB_INSTRUMENTS">6.8.14.</a>&nbsp;
420    Listing all instruments in specific directory<br />
421    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET DB_INSTRUMENT INFO">6.8.15.</a>&nbsp;
422    Getting instrument information<br />
423    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET DB_INSTRUMENT NAME">6.8.16.</a>&nbsp;
424    Renaming an instrument<br />
425    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#MOVE DB_INSTRUMENT">6.8.17.</a>&nbsp;
426    Moving an instrument<br />
427    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#COPY DB_INSTRUMENT">6.8.18.</a>&nbsp;
428    Copying instruments<br />
429    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#SET DB_INSTRUMENT DESCRIPTION">6.8.19.</a>&nbsp;
430    Changing the description of instrument<br />
431    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#FIND DB_INSTRUMENTS">6.8.20.</a>&nbsp;
432    Finding instruments<br />
433    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#GET DB_INSTRUMENTS_JOB INFO">6.8.21.</a>&nbsp;
434    Getting job status information<br />
435  <a href="#command_syntax">7.</a>&nbsp;  <a href="#command_syntax">7.</a>&nbsp;
436  Command Syntax<br />  Command Syntax<br />
437  <a href="#events">8.</a>&nbsp;  <a href="#events">8.</a>&nbsp;
# Line 400  Number of active disk streams changed<br Line 454  Number of active disk streams changed<br
454  Disk stream buffer fill state changed<br />  Disk stream buffer fill state changed<br />
455  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE CHANNEL_INFO">8.9.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE CHANNEL_INFO">8.9.</a>&nbsp;
456  Channel information changed<br />  Channel information changed<br />
457  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.10.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE FX_SEND_COUNT">8.10.</a>&nbsp;
458    Number of effect sends changed<br />
459    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE FX_SEND_INFO">8.11.</a>&nbsp;
460    Effect send information changed<br />
461    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.12.</a>&nbsp;
462  Total number of active voices changed<br />  Total number of active voices changed<br />
463  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.11.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.13.</a>&nbsp;
464  Number of MIDI instrument maps changed<br />  Number of MIDI instrument maps changed<br />
465  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.12.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.14.</a>&nbsp;
466  MIDI instrument map information changed<br />  MIDI instrument map information changed<br />
467  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.13.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.15.</a>&nbsp;
468  Number of MIDI instruments changed<br />  Number of MIDI instruments changed<br />
469  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.14.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.16.</a>&nbsp;
470  MIDI instrument information changed<br />  MIDI instrument information changed<br />
471  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MISCELLANEOUS">8.15.</a>&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE GLOBAL_INFO">8.17.</a>&nbsp;
472    Global settings changed<br />
473    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT">8.18.</a>&nbsp;
474    Number of database instrument directories changed<br />
475    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO">8.19.</a>&nbsp;
476    Database instrument directory information changed<br />
477    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE DB_INSTRUMENT_COUNT">8.20.</a>&nbsp;
478    Number of database instruments changed<br />
479    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE DB_INSTRUMENT_INFO">8.21.</a>&nbsp;
480    Database instrument information changed<br />
481    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE DB_INSTRUMENTS_JOB_INFO">8.22.</a>&nbsp;
482    Database job status information changed<br />
483    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#SUBSCRIBE MISCELLANEOUS">8.23.</a>&nbsp;
484  Miscellaneous and debugging events<br />  Miscellaneous and debugging events<br />
485  <a href="#anchor14">9.</a>&nbsp;  <a href="#anchor14">9.</a>&nbsp;
486  Security Considerations<br />  Security Considerations<br />
# Line 3954  Getting sampler channel information</h3> Line 4024  Getting sampler channel information</h3>
4024                                          </p>                                          </p>
4025  <blockquote class="text">  <blockquote class="text">
4026  <p>optionally dotted number for the channel volume factor  <p>optionally dotted number for the channel volume factor
4027                                              (where a value < 1.0 means attenuation and a value >                                              (where a value &lt; 1.0 means attenuation and a value >
4028                                              1.0 means amplification)                                              1.0 means amplification)
4029  </p>  </p>
4030  </blockquote>  </blockquote>
# Line 5256  Getting effect send information</h3> Line 5326  Getting effect send information</h3>
5326  </blockquote>  </blockquote>
5327                                                                            
5328    
5329    <p>MIDI_CONTROLLER -
5330                                            </p>
5331    <blockquote class="text">
5332    <p>a value between 0 and 127 reflecting the MIDI controller
5333                                                which is able to modify the effect send's send level
5334    </p>
5335    </blockquote>
5336                                        
5337    
5338    <p>LEVEL -
5339                                            </p>
5340    <blockquote class="text">
5341    <p>optionally dotted number reflecting the effect send's
5342                                                current send level (where a value &lt; 1.0 means attenuation
5343                                                and a value > 1.0 means amplification)
5344    </p>
5345    </blockquote>
5346                                        
5347    
5348  <p>AUDIO_OUTPUT_ROUTING -  <p>AUDIO_OUTPUT_ROUTING -
5349                                          </p>                                          </p>
5350  <blockquote class="text">  <blockquote class="text">
# Line 5289  Getting effect send information</h3> Line 5378  Getting effect send information</h3>
5378  </p>  </p>
5379  <p>S: "NAME: Reverb Send"  <p>S: "NAME: Reverb Send"
5380  </p>  </p>
5381    <p>&nbsp;&nbsp;&nbsp;"MIDI_CONTROLLER: 91"
5382    </p>
5383    <p>&nbsp;&nbsp;&nbsp;"LEVEL: 0.3"
5384    </p>
5385  <p>&nbsp;&nbsp;&nbsp;"AUDIO_OUTPUT_ROUTING: 2,3"  <p>&nbsp;&nbsp;&nbsp;"AUDIO_OUTPUT_ROUTING: 2,3"
5386  </p>  </p>
5387  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
# Line 5296  Getting effect send information</h3> Line 5389  Getting effect send information</h3>
5389  </blockquote><p>  </blockquote><p>
5390                                            
5391  </p>  </p>
5392  <a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr />  <a name="SET FX_SEND NAME"></a><br /><hr />
5393  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
5394  <a name="rfc.section.6.4.30"></a><h3>6.4.30.&nbsp;  <a name="rfc.section.6.4.30"></a><h3>6.4.30.&nbsp;
5395    Changing effect send's name</h3>
5396    
5397    <p>The front-end can alter the current name of an effect
5398                        send entity by sending the following command:
5399    </p>
5400    <p>
5401                            </p>
5402    <blockquote class="text">
5403    <p>SET FX_SEND NAME &lt;sampler-chan&gt; &lt;fx-send-id&gt; &lt;name&gt;
5404    </p>
5405    </blockquote><p>
5406                        
5407    </p>
5408    <p>Where &lt;sampler-chan&gt; is the sampler channel number
5409                        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>
5410                        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,
5411                        &lt;fx-send-id&gt; reflects the numerical ID of the effect send entity
5412                        as returned by the <a class='info' href='#CREATE FX_SEND'>"CREATE FX_SEND"<span> (</span><span class='info'>Adding an effect send to a sampler channel</span><span>)</span></a>
5413                        or <a class='info' href='#LIST FX_SENDS'>"LIST FX_SENDS"<span> (</span><span class='info'>Listing all effect sends on a sampler channel</span><span>)</span></a> command and
5414                        &lt;name&gt; is the new name of the effect send entity, which
5415                        does not have to be unique.
5416    </p>
5417    <p>Possible Answers:
5418    </p>
5419    <p>
5420                            </p>
5421    <blockquote class="text">
5422    <p>"OK" -
5423                                    </p>
5424    <blockquote class="text">
5425    <p>on success
5426    </p>
5427    </blockquote>
5428                                
5429    
5430    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
5431                                    </p>
5432    <blockquote class="text">
5433    <p>in case it failed, providing an appropriate error code and error message
5434    </p>
5435    </blockquote>
5436                                
5437    
5438    </blockquote><p>
5439                        
5440    </p>
5441    <p>Example:
5442    </p>
5443    <p>
5444                            </p>
5445    <blockquote class="text">
5446    <p>C: "SET FX_SEND NAME 0 0 'Fx Send 1'"
5447    </p>
5448    <p>S: "OK"
5449    </p>
5450    </blockquote><p>
5451                        
5452    </p>
5453    <a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr />
5454    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
5455    <a name="rfc.section.6.4.31"></a><h3>6.4.31.&nbsp;
5456  Altering effect send's audio routing</h3>  Altering effect send's audio routing</h3>
5457    
5458  <p>The front-end can alter the destination of an effect send's audio channel on a specific  <p>The front-end can alter the destination of an effect send's audio channel on a specific
# Line 5379  Altering effect send's audio routing</h3 Line 5533  Altering effect send's audio routing</h3
5533  </blockquote><p>  </blockquote><p>
5534                                            
5535  </p>  </p>
5536    <a name="SET FX_SEND MIDI_CONTROLLER"></a><br /><hr />
5537    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
5538    <a name="rfc.section.6.4.32"></a><h3>6.4.32.&nbsp;
5539    Altering effect send's MIDI controller</h3>
5540    
5541    <p>The front-end can alter the MIDI controller of an effect
5542                        send entity by sending the following command:
5543    </p>
5544    <p>
5545                            </p>
5546    <blockquote class="text">
5547    <p>SET FX_SEND MIDI_CONTROLLER &lt;sampler-chan&gt; &lt;fx-send-id&gt; &lt;midi-ctrl&gt;
5548    </p>
5549    </blockquote><p>
5550                        
5551    </p>
5552    <p>Where &lt;sampler-chan&gt; is the sampler channel number
5553                        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>
5554                        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,
5555                        &lt;fx-send-id&gt; reflects the numerical ID of the effect send entity
5556                        as returned by the <a class='info' href='#CREATE FX_SEND'>"CREATE FX_SEND"<span> (</span><span class='info'>Adding an effect send to a sampler channel</span><span>)</span></a>
5557                        or <a class='info' href='#LIST FX_SENDS'>"LIST FX_SENDS"<span> (</span><span class='info'>Listing all effect sends on a sampler channel</span><span>)</span></a> command and
5558                        &lt;midi-ctrl&gt; reflects the MIDI controller which shall be
5559                        able to modify the effect send's send level.
5560    </p>
5561    <p>Possible Answers:
5562    </p>
5563    <p>
5564                            </p>
5565    <blockquote class="text">
5566    <p>"OK" -
5567                                    </p>
5568    <blockquote class="text">
5569    <p>on success
5570    </p>
5571    </blockquote>
5572                                
5573    
5574    <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
5575                                    </p>
5576    <blockquote class="text">
5577    <p>if MIDI controller was set, but there are noteworthy
5578                                        issue(s) related, providing an appropriate warning code and
5579                                        warning message
5580    </p>
5581    </blockquote>
5582                                
5583    
5584    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
5585                                    </p>
5586    <blockquote class="text">
5587    <p>in case it failed, providing an appropriate error code and error message
5588    </p>
5589    </blockquote>
5590                                
5591    
5592    </blockquote><p>
5593                        
5594    </p>
5595    <p>Example:
5596    </p>
5597    <p>
5598                            </p>
5599    <blockquote class="text">
5600    <p>C: "SET FX_SEND MIDI_CONTROLLER 0 0 91"
5601    </p>
5602    <p>S: "OK"
5603    </p>
5604    </blockquote><p>
5605                        
5606    </p>
5607    <a name="SET FX_SEND LEVEL"></a><br /><hr />
5608    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
5609    <a name="rfc.section.6.4.33"></a><h3>6.4.33.&nbsp;
5610    Altering effect send's send level</h3>
5611    
5612    <p>The front-end can alter the current send level of an effect
5613                        send entity by sending the following command:
5614    </p>
5615    <p>
5616                            </p>
5617    <blockquote class="text">
5618    <p>SET FX_SEND LEVEL &lt;sampler-chan&gt; &lt;fx-send-id&gt; &lt;volume&gt;
5619    </p>
5620    </blockquote><p>
5621                        
5622    </p>
5623    <p>Where &lt;sampler-chan&gt; is the sampler channel number
5624                        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>
5625                        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,
5626                        &lt;fx-send-id&gt; reflects the numerical ID of the effect send entity
5627                        as returned by the <a class='info' href='#CREATE FX_SEND'>"CREATE FX_SEND"<span> (</span><span class='info'>Adding an effect send to a sampler channel</span><span>)</span></a>
5628                        or <a class='info' href='#LIST FX_SENDS'>"LIST FX_SENDS"<span> (</span><span class='info'>Listing all effect sends on a sampler channel</span><span>)</span></a> command and
5629                        &lt;volume&gt; is an optionally dotted positive number (a value
5630                        smaller than 1.0 means attenuation, whereas a value greater than
5631                        1.0 means amplification) reflecting the new send level.
5632    </p>
5633    <p>Possible Answers:
5634    </p>
5635    <p>
5636                            </p>
5637    <blockquote class="text">
5638    <p>"OK" -
5639                                    </p>
5640    <blockquote class="text">
5641    <p>on success
5642    </p>
5643    </blockquote>
5644                                
5645    
5646    <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
5647                                    </p>
5648    <blockquote class="text">
5649    <p>if new send level was set, but there are noteworthy
5650                                        issue(s) related, providing an appropriate warning code and
5651                                        warning message
5652    </p>
5653    </blockquote>
5654                                
5655    
5656    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
5657                                    </p>
5658    <blockquote class="text">
5659    <p>in case it failed, providing an appropriate error code and error message
5660    </p>
5661    </blockquote>
5662                                
5663    
5664    </blockquote><p>
5665                        
5666    </p>
5667    <p>Example:
5668    </p>
5669    <p>
5670                            </p>
5671    <blockquote class="text">
5672    <p>C: "SET FX_SEND LEVEL 0 0 0.15"
5673    </p>
5674    <p>S: "OK"
5675    </p>
5676    </blockquote><p>
5677                        
5678    </p>
5679  <a name="RESET CHANNEL"></a><br /><hr />  <a name="RESET CHANNEL"></a><br /><hr />
5680  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
5681  <a name="rfc.section.6.4.31"></a><h3>6.4.31.&nbsp;  <a name="rfc.section.6.4.34"></a><h3>6.4.34.&nbsp;
5682  Resetting a sampler channel</h3>  Resetting a sampler channel</h3>
5683    
5684  <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:
# Line 5813  General sampler informations</h3> Line 6110  General sampler informations</h3>
6110  </blockquote>  </blockquote>
6111                                                                            
6112    
6113    <p>INSTRUMENTS_DB_SUPPORT -
6114                                            </p>
6115    <blockquote class="text">
6116    <p>either yes or no, specifies whether the
6117                                                sampler is build with instruments database support.
6118    </p>
6119    </blockquote>
6120                                        
6121    
6122  </blockquote>  </blockquote>
6123                                                            
6124    
# Line 5822  General sampler informations</h3> Line 6128  General sampler informations</h3>
6128  <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.
6129                      Other fields might be added in future.                      Other fields might be added in future.
6130  </p>  </p>
6131    <a name="GET VOLUME"></a><br /><hr />
6132    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
6133    <a name="rfc.section.6.6.5"></a><h3>6.6.5.&nbsp;
6134    Getting global volume attenuation</h3>
6135    
6136    <p>The client can ask for the current global sampler-wide volume
6137                        attenuation by sending the following command:
6138    </p>
6139    <p>
6140                            </p>
6141    <blockquote class="text">
6142    <p>GET VOLUME
6143    </p>
6144    </blockquote><p>
6145                        
6146    </p>
6147    <p>Possible Answers:
6148    </p>
6149    <p>
6150                            </p>
6151    <blockquote class="text">
6152    <p>The sampler will always answer by returning the optional
6153                                dotted floating point coefficient, reflecting the current
6154                                global volume attenuation.
6155                                
6156    </p>
6157    </blockquote><p>
6158                        
6159    </p>
6160    <p>Note: it is up to the respective sampler engine whether to obey
6161                        that global volume parameter or not, but in general all engines SHOULD
6162                        use this parameter.
6163    </p>
6164    <a name="SET VOLUME"></a><br /><hr />
6165    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
6166    <a name="rfc.section.6.6.6"></a><h3>6.6.6.&nbsp;
6167    Setting global volume attenuation</h3>
6168    
6169    <p>The client can alter the current global sampler-wide volume
6170                        attenuation by sending the following command:
6171    </p>
6172    <p>
6173                            </p>
6174    <blockquote class="text">
6175    <p>SET VOLUME &lt;volume&gt;
6176    </p>
6177    </blockquote><p>
6178                        
6179    </p>
6180    <p>Where &lt;volume&gt; should be replaced by the optional dotted
6181                       floating point value, reflecting the new global volume parameter.
6182                       This value might usually be in the range between 0.0 and 1.0, that
6183                       is for attenuating the overall volume.
6184    </p>
6185    <p>Possible Answers:
6186    </p>
6187    <p>
6188                            </p>
6189    <blockquote class="text">
6190    <p>"OK" -
6191                                    </p>
6192    <blockquote class="text">
6193    <p>on success
6194    </p>
6195    </blockquote>
6196                                
6197    
6198    <p>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
6199                                    </p>
6200    <blockquote class="text">
6201    <p>if the global volume was set, but there are noteworthy
6202                                        issue(s) related, providing an appropriate warning code and
6203                                        warning message
6204    </p>
6205    </blockquote>
6206                                
6207    
6208    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
6209                                    </p>
6210    <blockquote class="text">
6211    <p>in case it failed, providing an appropriate error code and error message
6212    </p>
6213    </blockquote>
6214                                
6215    
6216    </blockquote><p>
6217                        
6218    </p>
6219  <a name="MIDI Instrument Mapping"></a><br /><hr />  <a name="MIDI Instrument Mapping"></a><br /><hr />
6220  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
6221  <a name="rfc.section.6.7"></a><h3>6.7.&nbsp;  <a name="rfc.section.6.7"></a><h3>6.7.&nbsp;
# Line 6136  Getting MIDI instrument map information< Line 6530  Getting MIDI instrument map information<
6530  </blockquote>  </blockquote>
6531                                                                            
6532    
6533    <p>DEFAULT -
6534                                            </p>
6535    <blockquote class="text">
6536    <p>either true or false,
6537                                                defines whether this map is the default map
6538    </p>
6539    </blockquote>
6540                                        
6541    
6542  </blockquote>  </blockquote>
6543                                                            
6544    
# Line 6153  Getting MIDI instrument map information< Line 6556  Getting MIDI instrument map information<
6556  </p>  </p>
6557  <p>S: "NAME: Standard Map"  <p>S: "NAME: Standard Map"
6558  </p>  </p>
6559    <p>&nbsp;&nbsp;&nbsp;"DEFAULT: true"
6560    </p>
6561  <p>&nbsp;&nbsp;&nbsp;"."  <p>&nbsp;&nbsp;&nbsp;"."
6562  </p>  </p>
6563  </blockquote><p>  </blockquote><p>
# Line 6226  Create or replace a MIDI instrument map Line 6631  Create or replace a MIDI instrument map
6631  <p>  <p>
6632                          </p>                          </p>
6633  <blockquote class="text">  <blockquote class="text">
6634  <p>MAP MIDI_INSTRUMENT &lt;map&gt;  <p>MAP MIDI_INSTRUMENT [NON_MODAL] &lt;map&gt;
6635                              &lt;midi_bank&gt; &lt;midi_prog&gt; &lt;engine_name&gt;                              &lt;midi_bank&gt; &lt;midi_prog&gt; &lt;engine_name&gt;
6636                              &lt;filename&gt; &lt;instrument_index&gt; &lt;volume_value&gt;                              &lt;filename&gt; &lt;instrument_index&gt; &lt;volume_value&gt;
6637                              [&lt;instr_load_mode&gt;] [&lt;name&gt;]                              [&lt;instr_load_mode&gt;] [&lt;name&gt;]
# Line 6246  Create or replace a MIDI instrument map Line 6651  Create or replace a MIDI instrument map
6651                      &lt;instrument_index&gt; the index (integer value) of the instrument                      &lt;instrument_index&gt; the index (integer value) of the instrument
6652                      within the given file, &lt;volume_value&gt; reflects the master                      within the given file, &lt;volume_value&gt; reflects the master
6653                      volume of the instrument as optionally dotted number (where a                      volume of the instrument as optionally dotted number (where a
6654                      value < 1.0 means attenuation and a value > 1.0 means                      value &lt; 1.0 means attenuation and a value > 1.0 means
6655                      amplification). This parameter easily allows to adjust the                      amplification). This parameter easily allows to adjust the
6656                      volume of all intruments within a custom instrument map                      volume of all intruments within a custom instrument map
6657                      without having to adjust their instrument files. The                      without having to adjust their instrument files. The
# Line 6290  Create or replace a MIDI instrument map Line 6695  Create or replace a MIDI instrument map
6695                                  </p>                                  </p>
6696  <blockquote class="text">  <blockquote class="text">
6697  <p>The instrument will immediately be loaded  <p>The instrument will immediately be loaded
6698                                      into memory in the background when this mapping                                      into memory when this mapping
6699                                      command is sent and the instrument is kept all                                      command is sent and the instrument is kept all
6700                                      the time. Instruments with this mode are                                      the time. Instruments with this mode are
6701                                      only freed when the sampler is reset or all                                      only freed when the sampler is reset or all
# Line 6347  Create or replace a MIDI instrument map Line 6752  Create or replace a MIDI instrument map
6752                                            
6753  </p>  </p>
6754  <p>  <p>
6755                      The "MAP MIDI_INSTRUMENT" command                      By default, "MAP MIDI_INSTRUMENT" commands block until the mapping is
6756                      will immediately return, thus it will not block when an                      completely established in the sampler. The OPTIONAL "NON_MODAL" argument
6757                      instrument is to be loaded due to a "PERSISTENT" type                      however causes the respective "MAP MIDI_INSTRUMENT" command to return
6758                      entry as instruments are loaded in the background. As a                      immediately, that is to let the sampler establish the mapping in the
6759                      consequence this command may not necessarily return an error                      background. So this argument might be especially useful for mappings with
6760                      i.e. when the given instrument file does not exist or may                      a "PERSISTENT" type, because these have to load the respective instruments
6761                      turn out to be corrupt.                      immediately and might thus block for a very long time. It is recommended
6762                        however to use the OPTIONAL "NON_MODAL" argument only if really necessary,
6763                        because it has the following drawbacks: as "NON_MODAL" instructions return
6764                        immediately, they may not necessarily return an error i.e. when the given
6765                        instrument file turns out to be corrupt, beside that subsequent commands
6766                        in a LSCP instruction sequence might fail, because mandatory mappings are
6767                        not yet completed.
6768                                            
6769  </p>  </p>
6770  <p>Possible Answers:  <p>Possible Answers:
# Line 6420  Create or replace a MIDI instrument map Line 6831  Create or replace a MIDI instrument map
6831  <p>  <p>
6832                          </p>                          </p>
6833  <blockquote class="text">  <blockquote class="text">
6834  <p>C: "MAP MIDI_INSTRUMENT 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'"  <p>C: "MAP MIDI_INSTRUMENT NON_MODAL 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'"
6835  </p>  </p>
6836  <p>S: "OK"  <p>S: "OK"
6837  </p>  </p>
# Line 6709  Get current settings of MIDI instrument Line 7120  Get current settings of MIDI instrument
7120                                  </p>                                  </p>
7121  <blockquote class="text">  <blockquote class="text">
7122  <p>master volume of the instrument as optionally  <p>master volume of the instrument as optionally
7123                                      dotted number (where a value < 1.0 means attenuation                                      dotted number (where a value &lt; 1.0 means attenuation
7124                                      and a value > 1.0 means amplification)                                      and a value > 1.0 means amplification)
7125  </p>  </p>
7126  </blockquote>  </blockquote>
# Line 6818  Clear MIDI instrument map</h3> Line 7229  Clear MIDI instrument map</h3>
7229  </blockquote><p>  </blockquote><p>
7230                                            
7231  </p>  </p>
7232    <a name="Managing Instruments Database"></a><br /><hr />
7233    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7234    <a name="rfc.section.6.8"></a><h3>6.8.&nbsp;
7235    Managing Instruments Database</h3>
7236    
7237    <p>The following commands describe how to use and manage
7238                    the instruments database.
7239    </p>
7240    <a name="ADD DB_INSTRUMENT_DIRECTORY"></a><br /><hr />
7241    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7242    <a name="rfc.section.6.8.1"></a><h3>6.8.1.&nbsp;
7243    Creating a new instrument directory</h3>
7244    
7245    <p>The front-end can add a new instrument directory to the
7246                        instruments database by sending the following command:
7247    </p>
7248    <p>
7249                            </p>
7250    <blockquote class="text">
7251    <p>ADD DB_INSTRUMENT_DIRECTORY &lt;dir&gt;
7252    </p>
7253    </blockquote><p>
7254                        
7255    </p>
7256    <p>Where &lt;dir&gt; is the absolute path name of the directory
7257                        to be created (encapsulated into apostrophes).
7258    </p>
7259    <p>Possible Answers:
7260    </p>
7261    <p>
7262                            </p>
7263    <blockquote class="text">
7264    <p>"OK" -
7265                                    </p>
7266    <blockquote class="text">
7267    <p>on success
7268    </p>
7269    </blockquote>
7270                                
7271    
7272    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7273                                    </p>
7274    <blockquote class="text">
7275    <p>when the directory could not be created, which
7276                                        can happen if the directory already exists or the
7277                                        name contains not allowed symbols
7278    </p>
7279    </blockquote>
7280                                
7281    
7282    </blockquote><p>
7283                        
7284    </p>
7285    <p>Examples:
7286    </p>
7287    <p>
7288                            </p>
7289    <blockquote class="text">
7290    <p>C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'"
7291    </p>
7292    <p>S: "OK"
7293    </p>
7294    </blockquote><p>
7295                        
7296    </p>
7297    <a name="REMOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr />
7298    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7299    <a name="rfc.section.6.8.2"></a><h3>6.8.2.&nbsp;
7300    Deleting an instrument directory</h3>
7301    
7302    <p>The front-end can delete a particular instrument directory
7303                        from the instruments database by sending the following command:
7304    </p>
7305    <p>
7306                            </p>
7307    <blockquote class="text">
7308    <p>REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] &lt;dir&gt;
7309    </p>
7310    </blockquote><p>
7311                        
7312    </p>
7313    <p>Where &lt;dir&gt; is the absolute path name of the directory
7314                        to delete. The optional FORCE argument can be used to
7315                        force the deletion of a non-empty directory and all its content.
7316    </p>
7317    <p>Possible Answers:
7318    </p>
7319    <p>
7320                            </p>
7321    <blockquote class="text">
7322    <p>"OK" -
7323                                    </p>
7324    <blockquote class="text">
7325    <p>if the directory is deleted successfully
7326    </p>
7327    </blockquote>
7328                                
7329    
7330    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7331                                    </p>
7332    <blockquote class="text">
7333    <p>if the given directory does not exist, or
7334                                        if trying to delete a non-empty directory,
7335                                        without using the FORCE argument.
7336    </p>
7337    </blockquote>
7338                                
7339    
7340    </blockquote><p>
7341                        
7342    </p>
7343    <p>Examples:
7344    </p>
7345    <p>
7346                            </p>
7347    <blockquote class="text">
7348    <p>C: "REMOVE DB_INSTRUMENT_DIRECTORY FORCE '/Piano Collection'"
7349    </p>
7350    <p>S: "OK"
7351    </p>
7352    </blockquote><p>
7353                        
7354    </p>
7355    <a name="GET DB_INSTRUMENT_DIRECTORIES"></a><br /><hr />
7356    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7357    <a name="rfc.section.6.8.3"></a><h3>6.8.3.&nbsp;
7358    Getting amount of instrument directories</h3>
7359    
7360    <p>The front-end can retrieve the current amount of
7361                        directories in a specific directory by sending the following command:
7362    </p>
7363    <p>
7364                            </p>
7365    <blockquote class="text">
7366    <p>GET DB_INSTRUMENT_DIRECTORIES [RECURSIVE] &lt;dir&gt;
7367    </p>
7368    </blockquote><p>
7369                        
7370    </p>
7371    <p>Where &lt;dir&gt; should be replaced by the absolute path
7372                        name of the directory. If RECURSIVE is specified, the number of
7373                        all directories, including those located in subdirectories of the
7374                        specified directory, will be returned.
7375    </p>
7376    <p>Possible Answers:
7377    </p>
7378    <p>
7379                            </p>
7380    <blockquote class="text">
7381    <p>The current number of instrument directories
7382                                in the specified directory.
7383    </p>
7384    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7385                                    </p>
7386    <blockquote class="text">
7387    <p>if the given directory does not exist.
7388    </p>
7389    </blockquote>
7390                                
7391    
7392    </blockquote><p>
7393                        
7394    </p>
7395    <p>Example:
7396    </p>
7397    <p>
7398                            </p>
7399    <blockquote class="text">
7400    <p>C: "GET DB_INSTRUMENT_DIRECTORIES '/'"
7401    </p>
7402    <p>S: "2"
7403    </p>
7404    </blockquote><p>
7405                        
7406    </p>
7407    <a name="LIST DB_INSTRUMENT_DIRECTORIES"></a><br /><hr />
7408    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7409    <a name="rfc.section.6.8.4"></a><h3>6.8.4.&nbsp;
7410    Listing all directories in specific directory</h3>
7411    
7412    <p>The front-end can retrieve the current list of directories
7413                        in specific directory by sending the following command:
7414    </p>
7415    <p>
7416                            </p>
7417    <blockquote class="text">
7418    <p>LIST DB_INSTRUMENT_DIRECTORIES [RECURSIVE] &lt;dir&gt;
7419    </p>
7420    </blockquote><p>
7421                        
7422    </p>
7423    <p>Where &lt;dir&gt; should be replaced by the absolute path
7424                        name of the directory. If RECURSIVE is specified, the absolute path names
7425                        of all directories, including those located in subdirectories of the
7426                        specified directory, will be returned.
7427    </p>
7428    <p>Possible Answers:
7429    </p>
7430    <p>
7431                            </p>
7432    <blockquote class="text">
7433    <p>A comma separated list of all instrument directories
7434                                (encapsulated into apostrophes) in the specified directory.
7435    </p>
7436    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7437                                    </p>
7438    <blockquote class="text">
7439    <p>if the given directory does not exist.
7440    </p>
7441    </blockquote>
7442                                
7443    
7444    </blockquote><p>
7445                        
7446    </p>
7447    <p>Example:
7448    </p>
7449    <p>
7450                            </p>
7451    <blockquote class="text">
7452    <p>C: "LIST DB_INSTRUMENT_DIRECTORIES '/'"
7453    </p>
7454    <p>S: "'Piano Collection','Percussion Collection'"
7455    </p>
7456    </blockquote><p>
7457                        
7458    </p>
7459    <p>
7460                            </p>
7461    <blockquote class="text">
7462    <p>C: "LIST DB_INSTRUMENT_DIRECTORIES RECURSIVE '/'"
7463    </p>
7464    <p>S: "'/Piano Collection','/Piano Collection/Acoustic','/Piano Collection/Acoustic/New','/Percussion Collection'"
7465    </p>
7466    </blockquote><p>
7467                        
7468    </p>
7469    <a name="GET DB_INSTRUMENT_DIRECTORY INFO"></a><br /><hr />
7470    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7471    <a name="rfc.section.6.8.5"></a><h3>6.8.5.&nbsp;
7472    Getting instrument directory information</h3>
7473    
7474    <p>The front-end can ask for the current settings of an
7475                        instrument directory by sending the following command:
7476    </p>
7477    <p>
7478                            </p>
7479    <blockquote class="text">
7480    <p>GET DB_INSTRUMENT_DIRECTORY INFO &lt;dir&gt;
7481    </p>
7482    </blockquote><p>
7483                        
7484    </p>
7485    <p>Where &lt;dir&gt; should be replaced by the absolute path
7486                        name of the directory the front-end is interested in.
7487    </p>
7488    <p>Possible Answers:
7489    </p>
7490    <p>
7491                            </p>
7492    <blockquote class="text">
7493    <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
7494                                Each answer line begins with the settings category name
7495                                followed by a colon and then a space character &lt;SP&gt; and finally
7496                                the info character string to that setting category. At the
7497                                moment the following categories are defined:
7498    </p>
7499    <p>
7500                                    </p>
7501    <blockquote class="text">
7502    <p>DESCRIPTION -
7503                                            </p>
7504    <blockquote class="text">
7505    <p>A brief description of the directory content
7506    </p>
7507    </blockquote>
7508                                        
7509    
7510    <p>CREATED -
7511                                            </p>
7512    <blockquote class="text">
7513    <p>The creation date and time of the directory,
7514                                                represented in "YYYY-MM-DD HH:MM:SS" format
7515    </p>
7516    </blockquote>
7517                                        
7518    
7519    <p>MODIFIED -
7520                                            </p>
7521    <blockquote class="text">
7522    <p>The date and time of the last modification of the
7523                                                directory, represented in "YYYY-MM-DD HH:MM:SS" format
7524    </p>
7525    </blockquote>
7526                                        
7527    
7528    </blockquote>
7529                                
7530    
7531    </blockquote><p>
7532                        
7533    </p>
7534    <p>The mentioned fields above don't have to be in particular order.
7535    </p>
7536    <p>Example:
7537    </p>
7538    <p>
7539                            </p>
7540    <blockquote class="text">
7541    <p>C: "GET DB_INSTRUMENT_DIRECTORY INFO '/Piano Collection'"
7542    </p>
7543    <p>S: "DESCRIPTION: Piano collection of instruments in GigaSampler format."
7544    </p>
7545    <p>&nbsp;&nbsp;&nbsp;"CREATED: 2007-02-05 10:23:12"
7546    </p>
7547    <p>&nbsp;&nbsp;&nbsp;"MODIFIED: 2007-04-07 12:50:21"
7548    </p>
7549    <p>&nbsp;&nbsp;&nbsp;"."
7550    </p>
7551    </blockquote><p>
7552                        
7553    </p>
7554    <a name="SET DB_INSTRUMENT_DIRECTORY NAME"></a><br /><hr />
7555    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7556    <a name="rfc.section.6.8.6"></a><h3>6.8.6.&nbsp;
7557    Renaming an instrument directory</h3>
7558    
7559    <p>The front-end can alter the name of a specific
7560                        instrument directory by sending the following command:
7561    </p>
7562    <p>
7563                            </p>
7564    <blockquote class="text">
7565    <p>SET DB_INSTRUMENT_DIRECTORY NAME &lt;dir&gt; &lt;name&gt;
7566    </p>
7567    </blockquote><p>
7568                        
7569    </p>
7570    <p>Where &lt;dir&gt; is the absolute path name of the directory and
7571                        &lt;name&gt; is the new name for that directory.
7572    </p>
7573    <p>Possible Answers:
7574    </p>
7575    <p>
7576                            </p>
7577    <blockquote class="text">
7578    <p>"OK" -
7579                                    </p>
7580    <blockquote class="text">
7581    <p>on success
7582    </p>
7583    </blockquote>
7584                                
7585    
7586    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7587                                    </p>
7588    <blockquote class="text">
7589    <p>in case the given directory does not exists,
7590                                        or if a directory with name equal to the new
7591                                        name already exists.
7592    </p>
7593    </blockquote>
7594                                
7595    
7596    </blockquote><p>
7597                        
7598    </p>
7599    <p>Example:
7600    </p>
7601    <p>
7602                            </p>
7603    <blockquote class="text">
7604    <p>C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' 'Acoustic'"
7605    </p>
7606    <p>S: "OK"
7607    </p>
7608    </blockquote><p>
7609                        
7610    </p>
7611    <a name="MOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr />
7612    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7613    <a name="rfc.section.6.8.7"></a><h3>6.8.7.&nbsp;
7614    Moving an instrument directory</h3>
7615    
7616    <p>The front-end can move a specific
7617                        instrument directory by sending the following command:
7618    </p>
7619    <p>
7620                            </p>
7621    <blockquote class="text">
7622    <p>MOVE DB_INSTRUMENT_DIRECTORY &lt;dir&gt; &lt;dst&gt;
7623    </p>
7624    </blockquote><p>
7625                        
7626    </p>
7627    <p>Where &lt;dir&gt; is the absolute path name of the directory
7628                        to move and &lt;dst&gt; is the location where the directory will
7629                        be moved to.
7630    </p>
7631    <p>Possible Answers:
7632    </p>
7633    <p>
7634                            </p>
7635    <blockquote class="text">
7636    <p>"OK" -
7637                                    </p>
7638    <blockquote class="text">
7639    <p>on success
7640    </p>
7641    </blockquote>
7642                                
7643    
7644    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7645                                    </p>
7646    <blockquote class="text">
7647    <p>in case a given directory does not exists,
7648                                        or if a directory with name equal to the name
7649                                        of the specified directory already exists in
7650                                        the destination directory. Error is also thrown
7651                                        when trying to move a directory to a subdirectory
7652                                        of itself.
7653    </p>
7654    </blockquote>
7655                                
7656    
7657    </blockquote><p>
7658                        
7659    </p>
7660    <p>Example:
7661    </p>
7662    <p>
7663                            </p>
7664    <blockquote class="text">
7665    <p>C: "MOVE DB_INSTRUMENT_DIRECTORY '/Acoustic' '/Piano Collection/Acoustic'"
7666    </p>
7667    <p>S: "OK"
7668    </p>
7669    </blockquote><p>
7670                        
7671    </p>
7672    <a name="COPY DB_INSTRUMENT_DIRECTORY"></a><br /><hr />
7673    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7674    <a name="rfc.section.6.8.8"></a><h3>6.8.8.&nbsp;
7675    Copying instrument directories</h3>
7676    
7677    <p>The front-end can copy a specific
7678                        instrument directory by sending the following command:
7679    </p>
7680    <p>
7681                            </p>
7682    <blockquote class="text">
7683    <p>COPY DB_INSTRUMENT_DIRECTORY &lt;dir&gt; &lt;dst&gt;
7684    </p>
7685    </blockquote><p>
7686                        
7687    </p>
7688    <p>Where &lt;dir&gt; is the absolute path name of the directory
7689                        to copy and &lt;dst&gt; is the location where the directory will
7690                        be copied to.
7691    </p>
7692    <p>Possible Answers:
7693    </p>
7694    <p>
7695                            </p>
7696    <blockquote class="text">
7697    <p>"OK" -
7698                                    </p>
7699    <blockquote class="text">
7700    <p>on success
7701    </p>
7702    </blockquote>
7703                                
7704    
7705    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7706                                    </p>
7707    <blockquote class="text">
7708    <p>in case a given directory does not exists,
7709                                        or if a directory with name equal to the name
7710                                        of the specified directory already exists in
7711                                        the destination directory. Error is also thrown
7712                                        when trying to copy a directory to a subdirectory
7713                                        of itself.
7714    </p>
7715    </blockquote>
7716                                
7717    
7718    </blockquote><p>
7719                        
7720    </p>
7721    <p>Example:
7722    </p>
7723    <p>
7724                            </p>
7725    <blockquote class="text">
7726    <p>C: "COPY DB_INSTRUMENT_DIRECTORY '/Piano Collection/Acoustic' '/Acoustic/Pianos'"
7727    </p>
7728    <p>S: "OK"
7729    </p>
7730    </blockquote><p>
7731                        
7732    </p>
7733    <a name="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"></a><br /><hr />
7734    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7735    <a name="rfc.section.6.8.9"></a><h3>6.8.9.&nbsp;
7736    Changing the description of directory</h3>
7737    
7738    <p>The front-end can alter the description of a specific
7739                        instrument directory by sending the following command:
7740    </p>
7741    <p>
7742                            </p>
7743    <blockquote class="text">
7744    <p>SET DB_INSTRUMENT_DIRECTORY DESCRIPTION &lt;dir&gt; &lt;desc&gt;
7745    </p>
7746    </blockquote><p>
7747                        
7748    </p>
7749    <p>Where &lt;dir&gt; is the absolute path name of the directory and
7750                        &lt;desc&gt; is the new description for the directory.
7751    </p>
7752    <p>Possible Answers:
7753    </p>
7754    <p>
7755                            </p>
7756    <blockquote class="text">
7757    <p>"OK" -
7758                                    </p>
7759    <blockquote class="text">
7760    <p>on success
7761    </p>
7762    </blockquote>
7763                                
7764    
7765    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7766                                    </p>
7767    <blockquote class="text">
7768    <p>in case the given directory does not exists.
7769    </p>
7770    </blockquote>
7771                                
7772    
7773    </blockquote><p>
7774                        
7775    </p>
7776    <p>Example:
7777    </p>
7778    <p>
7779                            </p>
7780    <blockquote class="text">
7781    <p>C: "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION '/Piano Collection' 'A collection of piano instruments in various format.'"
7782    </p>
7783    <p>S: "OK"
7784    </p>
7785    </blockquote><p>
7786                        
7787    </p>
7788    <a name="FIND DB_INSTRUMENT_DIRECTORIES"></a><br /><hr />
7789    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7790    <a name="rfc.section.6.8.10"></a><h3>6.8.10.&nbsp;
7791    Finding directories</h3>
7792    
7793    <p>The front-end can search for directories
7794                        in specific directory by sending the following command:
7795    </p>
7796    <p>
7797                            </p>
7798    <blockquote class="text">
7799    <p>FIND DB_INSTRUMENT_DIRECTORIES [NON_RECURSIVE] &lt;dir&gt; &lt;criteria-list&gt;
7800    </p>
7801    </blockquote><p>
7802                        
7803    </p>
7804    <p>Where &lt;dir&gt; should be replaced by the absolute path
7805                        name of the directory to search in. If NON_RECURSIVE is specified, the
7806                        directories located in subdirectories of the specified directory will not
7807                        be searched. &lt;criteria-list&gt; is a list of search criterias
7808                        in form of "key1=val1 key2=val2 ...". The following criterias are
7809                        allowed:
7810    </p>
7811    <p>
7812                          
7813    <p>NAME='&lt;search-string&gt;'
7814                              </p>
7815    <blockquote class="text">
7816    <p>Restricts the search to directories, which names
7817                                  satisfy the supplied search string.
7818    </p>
7819    </blockquote><p>
7820                          
7821    </p>
7822    
7823                          
7824    <p>CREATED='[&lt;date-after&gt;]..[&lt;date-before&gt;]'
7825                              </p>
7826    <blockquote class="text">
7827    <p>Restricts the search to directories, which creation
7828                                  date satisfies the specified period, where &lt;date-after&gt;
7829                                  and &lt;date-before&gt; are in "YYYY-MM-DD HH:MM:SS" format.
7830                                  If &lt;date-after&gt; is omitted the search is restricted to
7831                                  directories created before &lt;date-before&gt;. If
7832                                  &lt;date-before&gt; is omitted, the search is restricted
7833                                  to directories created after &lt;date-after&gt;.
7834    </p>
7835    </blockquote><p>
7836                          
7837    </p>
7838    
7839                          
7840    <p>MODIFIED='[&lt;date-after&gt;]..[&lt;date-before&gt;]'
7841                              </p>
7842    <blockquote class="text">
7843    <p>Restricts the search to directories, which
7844                                  date of last modification satisfies the specified period, where
7845                                  &lt;date-after&gt; and &lt;date-before&gt; are in "YYYY-MM-DD HH:MM:SS"
7846                                  format. If &lt;date-after&gt; is omitted the search is restricted to
7847                                  directories, which are last modified before &lt;date-before&gt;. If
7848                                  &lt;date-before&gt; is omitted, the search is restricted to directories,
7849                                  which are last modified after &lt;date-after&gt;.
7850    </p>
7851    </blockquote><p>
7852                          
7853    </p>
7854    
7855                          
7856    <p>DESCRIPTION='&lt;search-string&gt;'
7857                              </p>
7858    <blockquote class="text">
7859    <p>Restricts the search to directories with description
7860                                  that satisfies the supplied search string.
7861    </p>
7862    </blockquote><p>
7863                          
7864    </p>
7865                        
7866    
7867    <p>Where &lt;search-string&gt; is either a regular expression, or a
7868                        word list separated with spaces for OR search and with '+' for AND search.
7869    </p>
7870    <p>Possible Answers:
7871    </p>
7872    <p>
7873                            </p>
7874    <blockquote class="text">
7875    <p>A comma separated list with the absolute path names (encapsulated into
7876                                apostrophes) of all directories in the specified directory that satisfy
7877                                the supplied search criterias.
7878    </p>
7879    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
7880                                    </p>
7881    <blockquote class="text">
7882    <p>if the given directory does not exist.
7883    </p>
7884    </blockquote>
7885                                
7886    
7887    </blockquote><p>
7888                        
7889    </p>
7890    <p>Example:
7891    </p>
7892    <p>
7893                            </p>
7894    <blockquote class="text">
7895    <p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' NAME='Piano'"
7896    </p>
7897    <p>S: "'/Piano Collection'"
7898    </p>
7899    </blockquote><p>
7900                        
7901    </p>
7902    <p>
7903                            </p>
7904    <blockquote class="text">
7905    <p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' CREATED='..2007-04-01 09:30:13'"
7906    </p>
7907    <p>S: "'/Piano Collection','/Percussions'"
7908    </p>
7909    </blockquote><p>
7910                        
7911    </p>
7912    <a name="ADD DB_INSTRUMENTS"></a><br /><hr />
7913    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
7914    <a name="rfc.section.6.8.11"></a><h3>6.8.11.&nbsp;
7915    Adding instruments to the instruments database</h3>
7916    
7917    <p>The front-end can add one or more instruments
7918                        to the instruments database by sending the following command:
7919    </p>
7920    <p>
7921                            </p>
7922    <blockquote class="text">
7923    <p>ADD DB_INSTRUMENTS [NON_MODAL] [&lt;mode&gt;] &lt;db_dir&gt; &lt;file_path&gt; [&lt;instr_index&gt;]
7924    </p>
7925    </blockquote><p>
7926                        
7927    </p>
7928    <p>Where &lt;db_dir&gt; is the absolute path name of a directory
7929                        (encapsulated into apostrophes) in the instruments database in which
7930                        only the new instruments (that are not already in the database) will
7931                        be added, &lt;file_path&gt; is the absolute path name of a file or
7932                        directory in the file system (encapsulated into apostrophes). In case
7933                        an instrument file is supplied, only the instruments in the specified
7934                        file will be added to the instruments database. If the optional
7935                        &lt;instr_index&gt; (the index of the instrument within the given file)
7936                        is supplied too, then only the specified instrument will be added.
7937                        In case a directory is supplied, the instruments in that directory
7938                        will be added. The OPTIONAL &lt;mode&gt; argument is only applied
7939                        when a directory is provided as &lt;file_path&gt; and specifies how the
7940                        scanning will be done and has exactly the following possibilities:
7941    </p>
7942    <p>
7943                            </p>
7944    <blockquote class="text">
7945    <p>"RECURSIVE" -
7946                                    </p>
7947    <blockquote class="text">
7948    <p>All instruments will be processed, including those
7949                                        in the subdirectories, and the respective subdirectory
7950                                        tree structure will be recreated in the instruments
7951                                        database
7952    </p>
7953    </blockquote>
7954                                
7955    
7956    <p>"NON_RECURSIVE" -
7957                                    </p>
7958    <blockquote class="text">
7959    <p>Only the instruments in the specified directory
7960                                        will be added, the instruments in the subdirectories
7961                                        will not be processed.
7962    </p>
7963    </blockquote>
7964                                
7965    
7966    <p>"FLAT" -
7967                                    </p>
7968    <blockquote class="text">
7969    <p>All instruments will be processed, including those
7970                                        in the subdirectories, but the respective subdirectory
7971                                        structure will not be recreated in the instruments
7972                                        database. All instruments will be added directly in
7973                                        the specified database directory.
7974    </p>
7975    </blockquote>
7976                                
7977    
7978    </blockquote><p>
7979                        
7980    </p>
7981    <p>The difference between regular and NON_MODAL versions of the command
7982                        is that the regular command returns when the scanning is finished
7983                        while NON_MODAL version returns immediately and a background process is launched.
7984                        The <a class='info' href='#GET DB_INSTRUMENTS_JOB INFO'>GET DB_INSTRUMENTS_JOB INFO<span> (</span><span class='info'>Getting job status information</span><span>)</span></a>
7985                        command can be used to monitor the scanning progress.
7986    </p>
7987    <p>Possible Answers:
7988    </p>
7989    <p>
7990                            </p>
7991    <blockquote class="text">
7992    <p>"OK" -
7993                                    </p>
7994    <blockquote class="text">
7995    <p>on success when NON_MODAL is not supplied
7996    </p>
7997    </blockquote>
7998                                
7999    
8000    <p>"OK[&lt;job-id&gt;]" -
8001                                    </p>
8002    <blockquote class="text">
8003    <p>on success when NON_MODAL is supplied, where &lt;job-id&gt;
8004                                        is a numerical ID used to obtain status information about the job progress.
8005                                        See <a class='info' href='#GET DB_INSTRUMENTS_JOB INFO'>GET DB_INSTRUMENTS_JOB INFO<span> (</span><span class='info'>Getting job status information</span><span>)</span></a>
8006                                        
8007    </p>
8008    </blockquote>
8009                                
8010    
8011    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8012                                    </p>
8013    <blockquote class="text">
8014    <p>if an invalid path is specified.
8015    </p>
8016    </blockquote>
8017                                
8018    
8019    </blockquote><p>
8020                        
8021    </p>
8022    <p>Examples:
8023    </p>
8024    <p>
8025                            </p>
8026    <blockquote class="text">
8027    <p>C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI Bosendorfer 290.gig' 0"
8028    </p>
8029    <p>S: "OK"
8030    </p>
8031    </blockquote><p>
8032                        
8033    </p>
8034    <a name="REMOVE DB_INSTRUMENT"></a><br /><hr />
8035    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8036    <a name="rfc.section.6.8.12"></a><h3>6.8.12.&nbsp;
8037    Removing an instrument</h3>
8038    
8039    <p>The front-end can remove a particular instrument
8040                        from the instruments database by sending the following command:
8041    </p>
8042    <p>
8043                            </p>
8044    <blockquote class="text">
8045    <p>REMOVE DB_INSTRUMENT &lt;instr_path&gt;
8046    </p>
8047    </blockquote><p>
8048                        
8049    </p>
8050    <p>Where &lt;instr_path&gt; is the absolute path name
8051                        (in the instruments database) of the instrument to remove.
8052    </p>
8053    <p>Possible Answers:
8054    </p>
8055    <p>
8056                            </p>
8057    <blockquote class="text">
8058    <p>"OK" -
8059                                    </p>
8060    <blockquote class="text">
8061    <p>if the instrument is removed successfully
8062    </p>
8063    </blockquote>
8064                                
8065    
8066    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8067                                    </p>
8068    <blockquote class="text">
8069    <p>if the given path does not exist or
8070                                        is a directory.
8071    </p>
8072    </blockquote>
8073                                
8074    
8075    </blockquote><p>
8076                        
8077    </p>
8078    <p>Examples:
8079    </p>
8080    <p>
8081                            </p>
8082    <blockquote class="text">
8083    <p>C: "REMOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290'"
8084    </p>
8085    <p>S: "OK"
8086    </p>
8087    </blockquote><p>
8088                        
8089    </p>
8090    <a name="GET DB_INSTRUMENTS"></a><br /><hr />
8091    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8092    <a name="rfc.section.6.8.13"></a><h3>6.8.13.&nbsp;
8093    Getting amount of instruments</h3>
8094    
8095    <p>The front-end can retrieve the current amount of
8096                        instruments in a specific directory by sending the following command:
8097    </p>
8098    <p>
8099                            </p>
8100    <blockquote class="text">
8101    <p>GET DB_INSTRUMENTS [RECURSIVE] &lt;dir&gt;
8102    </p>
8103    </blockquote><p>
8104                        
8105    </p>
8106    <p>Where &lt;dir&gt; should be replaced by the absolute path name
8107                        of the directory. If RECURSIVE is specified, the number of all
8108                        instruments, including those located in subdirectories of the
8109                        specified directory, will be returned.
8110    </p>
8111    <p>Possible Answers:
8112    </p>
8113    <p>
8114                            </p>
8115    <blockquote class="text">
8116    <p>The current number of instruments
8117                                in the specified directory.
8118    </p>
8119    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8120                                    </p>
8121    <blockquote class="text">
8122    <p>if the given directory does not exist.
8123    </p>
8124    </blockquote>
8125                                
8126    
8127    </blockquote><p>
8128                        
8129    </p>
8130    <p>Example:
8131    </p>
8132    <p>
8133                            </p>
8134    <blockquote class="text">
8135    <p>C: "GET DB_INSTRUMENTS '/Piano Collection'"
8136    </p>
8137    <p>S: "2"
8138    </p>
8139    </blockquote><p>
8140                        
8141    </p>
8142    <a name="LIST DB_INSTRUMENTS"></a><br /><hr />
8143    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8144    <a name="rfc.section.6.8.14"></a><h3>6.8.14.&nbsp;
8145    Listing all instruments in specific directory</h3>
8146    
8147    <p>The front-end can retrieve the current list of instruments
8148                        in specific directory by sending the following command:
8149    </p>
8150    <p>
8151                            </p>
8152    <blockquote class="text">
8153    <p>LIST DB_INSTRUMENTS [RECURSIVE] &lt;dir&gt;
8154    </p>
8155    </blockquote><p>
8156                        
8157    </p>
8158    <p>Where &lt;dir&gt; should be replaced by the absolute path
8159                        name of the directory. If RECURSIVE is specified, the absolute path
8160                        names of all instruments, including those located in subdirectories
8161                        of the specified directory, will be returned.
8162    </p>
8163    <p>Possible Answers:
8164    </p>
8165    <p>
8166                            </p>
8167    <blockquote class="text">
8168    <p>A comma separated list of all instruments
8169                                (encapsulated into apostrophes) in the specified directory.
8170    </p>
8171    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8172                                    </p>
8173    <blockquote class="text">
8174    <p>if the given directory does not exist.
8175    </p>
8176    </blockquote>
8177                                
8178    
8179    </blockquote><p>
8180                        
8181    </p>
8182    <p>Example:
8183    </p>
8184    <p>
8185                            </p>
8186    <blockquote class="text">
8187    <p>C: "LIST DB_INSTRUMENTS '/Piano Collection'"
8188    </p>
8189    <p>S: "'Bosendorfer 290','Steinway D'"
8190    </p>
8191    </blockquote><p>
8192                        
8193    </p>
8194    <p>
8195                            </p>
8196    <blockquote class="text">
8197    <p>C: "LIST DB_INSTRUMENTS RECURSIVE '/Piano Collection'"
8198    </p>
8199    <p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D','/Piano Collection/Lite/Free Piano'"
8200    </p>
8201    </blockquote><p>
8202                        
8203    </p>
8204    <a name="GET DB_INSTRUMENT INFO"></a><br /><hr />
8205    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8206    <a name="rfc.section.6.8.15"></a><h3>6.8.15.&nbsp;
8207    Getting instrument information</h3>
8208    
8209    <p>The front-end can ask for the current settings of an
8210                        instrument by sending the following command:
8211    </p>
8212    <p>
8213                            </p>
8214    <blockquote class="text">
8215    <p>GET DB_INSTRUMENT INFO &lt;instr_path&gt;
8216    </p>
8217    </blockquote><p>
8218                        
8219    </p>
8220    <p>Where &lt;instr_path&gt; should be replaced by the absolute path
8221                        name of the instrument the front-end is interested in.
8222    </p>
8223    <p>Possible Answers:
8224    </p>
8225    <p>
8226                            </p>
8227    <blockquote class="text">
8228    <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
8229                                Each answer line begins with the settings category name
8230                                followed by a colon and then a space character &lt;SP&gt; and finally
8231                                the info character string to that setting category. At the
8232                                moment the following categories are defined:
8233    </p>
8234    <p>
8235                                    </p>
8236    <blockquote class="text">
8237    <p>INSTRUMENT_FILE -
8238                                            </p>
8239    <blockquote class="text">
8240    <p>File name of the instrument.
8241    </p>
8242    </blockquote>
8243                                        
8244    
8245    <p>INSTRUMENT_NR -
8246                                            </p>
8247    <blockquote class="text">
8248    <p>Index of the instrument within the file.
8249    </p>
8250    </blockquote>
8251                                        
8252    
8253    <p>FORMAT_FAMILY -
8254                                            </p>
8255    <blockquote class="text">
8256    <p>The format family of the instrument.
8257    </p>
8258    </blockquote>
8259                                        
8260    
8261    <p>FORMAT_VERSION -
8262                                            </p>
8263    <blockquote class="text">
8264    <p>The format version of the instrument.
8265    </p>
8266    </blockquote>
8267                                        
8268    
8269    <p>SIZE -
8270                                            </p>
8271    <blockquote class="text">
8272    <p>The size of the instrument in bytes.
8273    </p>
8274    </blockquote>
8275                                        
8276    
8277    <p>CREATED -
8278                                            </p>
8279    <blockquote class="text">
8280    <p>The date and time when the instrument is added
8281                                                in the instruments database, represented in
8282                                               "YYYY-MM-DD HH:MM:SS" format
8283    </p>
8284    </blockquote>
8285                                        
8286    
8287    <p>MODIFIED -
8288                                            </p>
8289    <blockquote class="text">
8290    <p>The date and time of the last modification of the
8291                                                instrument's database settings, represented in
8292                                                "YYYY-MM-DD HH:MM:SS" format
8293    </p>
8294    </blockquote>
8295                                        
8296    
8297    <p>DESCRIPTION -
8298                                            </p>
8299    <blockquote class="text">
8300    <p>A brief description of the instrument
8301    </p>
8302    </blockquote>
8303                                        
8304    
8305    <p>IS_DRUM -
8306                                            </p>
8307    <blockquote class="text">
8308    <p>either true or false, determines whether the
8309                                                instrument is a drumkit or a chromatic instrument
8310    </p>
8311    </blockquote>
8312                                        
8313    
8314    <p>PRODUCT -
8315                                            </p>
8316    <blockquote class="text">
8317    <p>The product title of the instrument
8318    </p>
8319    </blockquote>
8320                                        
8321    
8322    <p>ARTISTS -
8323                                            </p>
8324    <blockquote class="text">
8325    <p>Lists the artist names
8326    </p>
8327    </blockquote>
8328                                        
8329    
8330    <p>KEYWORDS -
8331                                            </p>
8332    <blockquote class="text">
8333    <p>Provides a list of keywords that refer to the instrument.
8334                                                Keywords are separated with semicolon and blank.
8335    </p>
8336    </blockquote>
8337                                        
8338    
8339    </blockquote>
8340                                
8341    
8342    </blockquote><p>
8343                        
8344    </p>
8345    <p>The mentioned fields above don't have to be in particular order.
8346    </p>
8347    <p>Example:
8348    </p>
8349    <p>
8350                            </p>
8351    <blockquote class="text">
8352    <p>C: "GET DB_INSTRUMENT INFO '/Piano Collection/Bosendorfer 290'"
8353    </p>
8354    <p>S: "INSTRUMENT_FILE: /home/me/gigs/Bosendorfer 290.gig"
8355    </p>
8356    <p>&nbsp;&nbsp;&nbsp;"INSTRUMENT_NR: 0"
8357    </p>
8358    <p>&nbsp;&nbsp;&nbsp;"FORMAT_FAMILY: GIG"
8359    </p>
8360    <p>&nbsp;&nbsp;&nbsp;"FORMAT_VERSION: 2"
8361    </p>
8362    <p>&nbsp;&nbsp;&nbsp;"SIZE: 2050871870"
8363    </p>
8364    <p>&nbsp;&nbsp;&nbsp;"CREATED: 2007-02-05 10:23:12"
8365    </p>
8366    <p>&nbsp;&nbsp;&nbsp;"MODIFIED: 2007-04-07 12:50:21"
8367    </p>
8368    <p>&nbsp;&nbsp;&nbsp;"DESCRIPTION: "
8369    </p>
8370    <p>&nbsp;&nbsp;&nbsp;"IS_DRUM: false"
8371    </p>
8372    <p>&nbsp;&nbsp;&nbsp;"PRODUCT: GRANDIOSO Bosendorfer 290"
8373    </p>
8374    <p>&nbsp;&nbsp;&nbsp;"ARTISTS: Post Musical Instruments"
8375    </p>
8376    <p>&nbsp;&nbsp;&nbsp;"KEYWORDS: Bosendorfer"
8377    </p>
8378    <p>&nbsp;&nbsp;&nbsp;"."
8379    </p>
8380    </blockquote><p>
8381                        
8382    </p>
8383    <a name="SET DB_INSTRUMENT NAME"></a><br /><hr />
8384    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8385    <a name="rfc.section.6.8.16"></a><h3>6.8.16.&nbsp;
8386    Renaming an instrument</h3>
8387    
8388    <p>The front-end can alter the name of a specific
8389                        instrument by sending the following command:
8390    </p>
8391    <p>
8392                            </p>
8393    <blockquote class="text">
8394    <p>SET DB_INSTRUMENT NAME &lt;instr&gt; &lt;name&gt;
8395    </p>
8396    </blockquote><p>
8397                        
8398    </p>
8399    <p>Where &lt;instr&gt; is the absolute path name of the instrument and
8400                        &lt;name&gt; is the new name for that instrument.
8401    </p>
8402    <p>Possible Answers:
8403    </p>
8404    <p>
8405                            </p>
8406    <blockquote class="text">
8407    <p>"OK" -
8408                                    </p>
8409    <blockquote class="text">
8410    <p>on success
8411    </p>
8412    </blockquote>
8413                                
8414    
8415    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8416                                    </p>
8417    <blockquote class="text">
8418    <p>in case the given instrument does not exists,
8419                                        or if an instrument with name equal to the new
8420                                        name already exists.
8421    </p>
8422    </blockquote>
8423                                
8424    
8425    </blockquote><p>
8426                        
8427    </p>
8428    <p>Example:
8429    </p>
8430    <p>
8431                            </p>
8432    <blockquote class="text">
8433    <p>C: "SET DB_INSTRUMENT NAME '/Piano Collection/Bosendorfer' 'Bosendorfer 290'"
8434    </p>
8435    <p>S: "OK"
8436    </p>
8437    </blockquote><p>
8438                        
8439    </p>
8440    <a name="MOVE DB_INSTRUMENT"></a><br /><hr />
8441    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8442    <a name="rfc.section.6.8.17"></a><h3>6.8.17.&nbsp;
8443    Moving an instrument</h3>
8444    
8445    <p>The front-end can move a specific instrument to another directory by
8446                        sending the following command:
8447    </p>
8448    <p>
8449                            </p>
8450    <blockquote class="text">
8451    <p>MOVE DB_INSTRUMENT &lt;instr&gt; &lt;dst&gt;
8452    </p>
8453    </blockquote><p>
8454                        
8455    </p>
8456    <p>Where &lt;instr&gt; is the absolute path name of the instrument
8457                        to move and &lt;dst&gt; is the directory where the instrument will
8458                        be moved to.
8459    </p>
8460    <p>Possible Answers:
8461    </p>
8462    <p>
8463                            </p>
8464    <blockquote class="text">
8465    <p>"OK" -
8466                                    </p>
8467    <blockquote class="text">
8468    <p>on success
8469    </p>
8470    </blockquote>
8471                                
8472    
8473    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8474                                    </p>
8475    <blockquote class="text">
8476    <p>in case the given instrument does not exists,
8477                                        or if an instrument with name equal to the name of the
8478                                        specified instrument already exists in the destination
8479                                        directory.
8480    </p>
8481    </blockquote>
8482                                
8483    
8484    </blockquote><p>
8485                        
8486    </p>
8487    <p>Example:
8488    </p>
8489    <p>
8490                            </p>
8491    <blockquote class="text">
8492    <p>C: "MOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Piano Collection/Acoustic'"
8493    </p>
8494    <p>S: "OK"
8495    </p>
8496    </blockquote><p>
8497                        
8498    </p>
8499    <a name="COPY DB_INSTRUMENT"></a><br /><hr />
8500    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8501    <a name="rfc.section.6.8.18"></a><h3>6.8.18.&nbsp;
8502    Copying instruments</h3>
8503    
8504    <p>The front-end can copy a specific instrument to another directory by
8505                        sending the following command:
8506    </p>
8507    <p>
8508                            </p>
8509    <blockquote class="text">
8510    <p>COPY DB_INSTRUMENT &lt;instr&gt; &lt;dst&gt;
8511    </p>
8512    </blockquote><p>
8513                        
8514    </p>
8515    <p>Where &lt;instr&gt; is the absolute path name of the instrument
8516                        to copy and &lt;dst&gt; is the directory where the instrument will
8517                        be copied to.
8518    </p>
8519    <p>Possible Answers:
8520    </p>
8521    <p>
8522                            </p>
8523    <blockquote class="text">
8524    <p>"OK" -
8525                                    </p>
8526    <blockquote class="text">
8527    <p>on success
8528    </p>
8529    </blockquote>
8530                                
8531    
8532    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8533                                    </p>
8534    <blockquote class="text">
8535    <p>in case the given instrument does not exists,
8536                                        or if an instrument with name equal to the name of the
8537                                        specified instrument already exists in the destination
8538                                        directory.
8539    </p>
8540    </blockquote>
8541                                
8542    
8543    </blockquote><p>
8544                        
8545    </p>
8546    <p>Example:
8547    </p>
8548    <p>
8549                            </p>
8550    <blockquote class="text">
8551    <p>C: "COPY DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Acoustic/Pianos/'"
8552    </p>
8553    <p>S: "OK"
8554    </p>
8555    </blockquote><p>
8556                        
8557    </p>
8558    <a name="SET DB_INSTRUMENT DESCRIPTION"></a><br /><hr />
8559    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8560    <a name="rfc.section.6.8.19"></a><h3>6.8.19.&nbsp;
8561    Changing the description of instrument</h3>
8562    
8563    <p>The front-end can alter the description of a specific
8564                        instrument by sending the following command:
8565    </p>
8566    <p>
8567                            </p>
8568    <blockquote class="text">
8569    <p>SET DB_INSTRUMENT DESCRIPTION &lt;instr&gt; &lt;desc&gt;
8570    </p>
8571    </blockquote><p>
8572                        
8573    </p>
8574    <p>Where &lt;instr&gt; is the absolute path name of the instrument and
8575                        &lt;desc&gt; is the new description for the instrument.
8576    </p>
8577    <p>Possible Answers:
8578    </p>
8579    <p>
8580                            </p>
8581    <blockquote class="text">
8582    <p>"OK" -
8583                                    </p>
8584    <blockquote class="text">
8585    <p>on success
8586    </p>
8587    </blockquote>
8588                                
8589    
8590    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8591                                    </p>
8592    <blockquote class="text">
8593    <p>in case the given instrument does not exists.
8594    </p>
8595    </blockquote>
8596                                
8597    
8598    </blockquote><p>
8599                        
8600    </p>
8601    <p>Example:
8602    </p>
8603    <p>
8604                            </p>
8605    <blockquote class="text">
8606    <p>C: "SET DB_INSTRUMENT DESCRIPTION '/Piano Collection/Acoustic/Bosendorfer 290' 'No comment :)'"
8607    </p>
8608    <p>S: "OK"
8609    </p>
8610    </blockquote><p>
8611                        
8612    </p>
8613    <a name="FIND DB_INSTRUMENTS"></a><br /><hr />
8614    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8615    <a name="rfc.section.6.8.20"></a><h3>6.8.20.&nbsp;
8616    Finding instruments</h3>
8617    
8618    <p>The front-end can search for instruments
8619                        in specific directory by sending the following command:
8620    </p>
8621    <p>
8622                            </p>
8623    <blockquote class="text">
8624    <p>FIND DB_INSTRUMENTS [NON_RECURSIVE] &lt;dir&gt; &lt;criteria-list&gt;
8625    </p>
8626    </blockquote><p>
8627                        
8628    </p>
8629    <p>Where &lt;dir&gt; should be replaced by the absolute path
8630                        name of the directory to search in. If NON_RECURSIVE is specified, the
8631                        directories located in subdirectories of the specified directory will not
8632                        be searched. &lt;criteria-list&gt; is a list of search criterias
8633                        in form of "key1=val1 key2=val2 ...". The following criterias are
8634                        allowed:
8635    </p>
8636    <p>
8637                          
8638    <p>NAME='&lt;search-string&gt;'
8639                              </p>
8640    <blockquote class="text">
8641    <p>Restricts the search to instruments, which names
8642                                  satisfy the supplied search string.
8643    </p>
8644    </blockquote><p>
8645                          
8646    </p>
8647    
8648                          
8649    <p>SIZE=[&lt;min&gt;]..[&lt;max&gt;]
8650                              </p>
8651    <blockquote class="text">
8652    <p>Restricts the search to instruments, which
8653                                  size is in the specified range. If &lt;min&gt; is omitted,
8654                                  the search results are restricted to instruments with size less then
8655                                  or equal to &lt;max&gt;. If &lt;max&gt; is omitted, the
8656                                  search is restricted to instruments with size greater then
8657                                  or equal to &lt;min&gt;.
8658    </p>
8659    </blockquote><p>
8660                          
8661    </p>
8662    
8663                          
8664    <p>CREATED='[&lt;date-after&gt;]..[&lt;date-before&gt;]'
8665                              </p>
8666    <blockquote class="text">
8667    <p>Restricts the search to instruments, which creation
8668                                  date satisfies the specified period, where &lt;date-after&gt;
8669                                  and &lt;date-before&gt; are in "YYYY-MM-DD HH:MM:SS" format.
8670                                  If &lt;date-after&gt; is omitted the search is restricted to
8671                                  instruments created before &lt;date-before&gt;. If
8672                                  &lt;date-before&gt; is omitted, the search is restricted
8673                                  to instruments created after &lt;date-after&gt;.
8674    </p>
8675    </blockquote><p>
8676                          
8677    </p>
8678    
8679                          
8680    <p>MODIFIED='[&lt;date-after&gt;]..[&lt;date-before&gt;]'
8681                              </p>
8682    <blockquote class="text">
8683    <p>Restricts the search to instruments, which
8684                                  date of last modification satisfies the specified period, where
8685                                  &lt;date-after&gt; and &lt;date-before&gt; are in "YYYY-MM-DD HH:MM:SS"
8686                                  format. If &lt;date-after&gt; is omitted the search is restricted to
8687                                  instruments, which are last modified before &lt;date-before&gt;. If
8688                                  &lt;date-before&gt; is omitted, the search is restricted to instruments,
8689                                  which are last modified after &lt;date-after&gt;.
8690    </p>
8691    </blockquote><p>
8692                          
8693    </p>
8694    
8695                          
8696    <p>DESCRIPTION='&lt;search-string&gt;'
8697                              </p>
8698    <blockquote class="text">
8699    <p>Restricts the search to instruments with description
8700                                  that satisfies the supplied search string.
8701    </p>
8702    </blockquote><p>
8703                          
8704    </p>
8705    
8706                          
8707    <p>PRODUCT='&lt;search-string&gt;'
8708                              </p>
8709    <blockquote class="text">
8710    <p>Restricts the search to instruments with product info
8711                                  that satisfies the supplied search string.
8712    </p>
8713    </blockquote><p>
8714                          
8715    </p>
8716    
8717                          
8718    <p>ARTISTS='&lt;search-string&gt;'
8719                              </p>
8720    <blockquote class="text">
8721    <p>Restricts the search to instruments with artists info
8722                                  that satisfies the supplied search string.
8723    </p>
8724    </blockquote><p>
8725                          
8726    </p>
8727    
8728                          
8729    <p>KEYWORDS='&lt;search-string&gt;'
8730                              </p>
8731    <blockquote class="text">
8732    <p>Restricts the search to instruments with keyword list
8733                                  that satisfies the supplied search string.
8734    </p>
8735    </blockquote><p>
8736                          
8737    </p>
8738    
8739                          
8740    <p>IS_DRUM=true | false
8741                              </p>
8742    <blockquote class="text">
8743    <p>Either true or false. Restricts the search to
8744                                  drum kits or chromatic instruments.
8745    </p>
8746    </blockquote><p>
8747                          
8748    </p>
8749    
8750                          
8751    <p>FORMAT_FAMILIES='&lt;format-list&gt;'
8752                              </p>
8753    <blockquote class="text">
8754    <p>Restricts the search to instruments of the supplied format families,
8755                                  where &lt;format-list&gt; is a comma separated list of format families.
8756    </p>
8757    </blockquote><p>
8758                          
8759    </p>
8760                        
8761    
8762    <p>Where &lt;search-string&gt; is either a regular expression, or a
8763                        word list separated with spaces for OR search and with '+' for AND search.
8764    </p>
8765    <p>Possible Answers:
8766    </p>
8767    <p>
8768                            </p>
8769    <blockquote class="text">
8770    <p>A comma separated list with the absolute path names (encapsulated into
8771                                apostrophes) of all instruments in the specified directory that satisfy
8772                                the supplied search criterias.
8773    </p>
8774    <p>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
8775                                    </p>
8776    <blockquote class="text">
8777    <p>if the given directory does not exist.
8778    </p>
8779    </blockquote>
8780                                
8781    
8782    </blockquote><p>
8783                        
8784    </p>
8785    <p>Example:
8786    </p>
8787    <p>
8788                            </p>
8789    <blockquote class="text">
8790    <p>C: "FIND DB_INSTRUMENTS '/Piano Collection' NAME='bosendorfer+290'"
8791    </p>
8792    <p>S: "'/Piano Collection/Bosendorfer 290'"
8793    </p>
8794    </blockquote><p>
8795                        
8796    </p>
8797    <p>
8798                            </p>
8799    <blockquote class="text">
8800    <p>C: "FIND DB_INSTRUMENTS '/Piano Collection' CREATED='2007-04-01 09:30:13..'"
8801    </p>
8802    <p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D'"
8803    </p>
8804    </blockquote><p>
8805                        
8806    </p>
8807    <a name="GET DB_INSTRUMENTS_JOB INFO"></a><br /><hr />
8808    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8809    <a name="rfc.section.6.8.21"></a><h3>6.8.21.&nbsp;
8810    Getting job status information</h3>
8811    
8812    <p>The front-end can ask for the current status of a
8813                        particular database instruments job by sending the following command:
8814    </p>
8815    <p>
8816                            </p>
8817    <blockquote class="text">
8818    <p>GET DB_INSTRUMENTS_JOB INFO &lt;job-id&gt;
8819    </p>
8820    </blockquote><p>
8821                        
8822    </p>
8823    <p>Where &lt;job-id&gt; should be replaced by the numerical ID
8824                        of the job the front-end is interested in.
8825    </p>
8826    <p>Possible Answers:
8827    </p>
8828    <p>
8829                            </p>
8830    <blockquote class="text">
8831    <p>LinuxSampler will answer by sending a &lt;CRLF&gt; separated list.
8832                                Each answer line begins with the settings category name
8833                                followed by a colon and then a space character &lt;SP&gt; and finally
8834                                the info character string to that setting category. At the
8835                                moment the following categories are defined:
8836    </p>
8837    <p>
8838                                    </p>
8839    <blockquote class="text">
8840    <p>FILES_TOTAL -
8841                                            </p>
8842    <blockquote class="text">
8843    <p>The total number of files scheduled for scanning
8844    </p>
8845    </blockquote>
8846                                        
8847    
8848    <p>FILES_SCANNED -
8849                                            </p>
8850    <blockquote class="text">
8851    <p>The current number of scanned files
8852    </p>
8853    </blockquote>
8854                                        
8855    
8856    <p>SCANNING -
8857                                            </p>
8858    <blockquote class="text">
8859    <p>The absolute path name of the file which is currently
8860                                                being scanned
8861    </p>
8862    </blockquote>
8863                                        
8864    
8865    <p>STATUS -
8866                                            </p>
8867    <blockquote class="text">
8868    <p>An integer value between 0 and 100 indicating the
8869                                                scanning progress percentage of the file which is
8870                                                currently being scanned
8871    </p>
8872    </blockquote>
8873                                        
8874    
8875    </blockquote>
8876                                
8877    
8878    </blockquote><p>
8879                        
8880    </p>
8881    <p>The mentioned fields above don't have to be in particular order.
8882    </p>
8883    <p>Example:
8884    </p>
8885    <p>
8886                            </p>
8887    <blockquote class="text">
8888    <p>C: "GET DB_INSTRUMENTS_JOB INFO 2"
8889    </p>
8890    <p>S: "FILES_TOTAL: 12"
8891    </p>
8892    <p>&nbsp;&nbsp;&nbsp;"FILES_SCANNED: 7"
8893    </p>
8894    <p>&nbsp;&nbsp;&nbsp;"SCANNING: /home/me/gigs/Bosendorfer 290.gig"
8895    </p>
8896    <p>&nbsp;&nbsp;&nbsp;"STATUS: 42"
8897    </p>
8898    <p>&nbsp;&nbsp;&nbsp;"."
8899    </p>
8900    </blockquote><p>
8901                        
8902    </p>
8903  <a name="command_syntax"></a><br /><hr />  <a name="command_syntax"></a><br /><hr />
8904  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
8905  <a name="rfc.section.7"></a><h3>7.&nbsp;  <a name="rfc.section.7"></a><h3>7.&nbsp;
# Line 6918  Command Syntax</h3> Line 9000  Command Syntax</h3>
9000  <p>/ UNSUBSCRIBE SP unsubscribe_event  <p>/ UNSUBSCRIBE SP unsubscribe_event
9001                                    
9002  </p>  </p>
 <p>/ SELECT SP text  
                   
 </p>  
9003  <p>/ RESET SP reset_instruction  <p>/ RESET SP reset_instruction
9004                                    
9005  </p>  </p>
9006  <p>/ CLEAR SP clear_instruction  <p>/ CLEAR SP clear_instruction
9007                                    
9008  </p>  </p>
9009    <p>/ FIND SP find_instruction
9010                    
9011    </p>
9012    <p>/ MOVE SP move_instruction
9013                    
9014    </p>
9015    <p>/ COPY SP copy_instruction
9016                    
9017    </p>
9018  <p>/ RESET  <p>/ RESET
9019                                    
9020  </p>  </p>
# Line 6942  Command Syntax</h3> Line 9030  Command Syntax</h3>
9030  <p>CHANNEL  <p>CHANNEL
9031                                    
9032  </p>  </p>
9033    <p>/ DB_INSTRUMENT_DIRECTORY SP pathname
9034                    
9035    </p>
9036    <p>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP pathname SP pathname
9037                    
9038    </p>
9039    <p>/ DB_INSTRUMENTS SP scan_mode SP pathname SP pathname
9040                    
9041    </p>
9042    <p>/ DB_INSTRUMENTS SP NON_MODAL SP pathname SP pathname
9043                    
9044    </p>
9045    <p>/ DB_INSTRUMENTS SP NON_MODAL SP pathname SP pathname SP instrument_index
9046                    
9047    </p>
9048    <p>/ DB_INSTRUMENTS SP pathname SP pathname
9049                    
9050    </p>
9051    <p>/ DB_INSTRUMENTS SP pathname SP pathname SP instrument_index
9052                    
9053    </p>
9054  <p>/ MIDI_INSTRUMENT_MAP  <p>/ MIDI_INSTRUMENT_MAP
9055                                    
9056  </p>  </p>
# Line 6981  Command Syntax</h3> Line 9090  Command Syntax</h3>
9090  <p>/ CHANNEL_INFO  <p>/ CHANNEL_INFO
9091                                    
9092  </p>  </p>
9093    <p>/ FX_SEND_COUNT
9094                    
9095    </p>
9096    <p>/ FX_SEND_INFO
9097                    
9098    </p>
9099  <p>/ MIDI_INSTRUMENT_MAP_COUNT  <p>/ MIDI_INSTRUMENT_MAP_COUNT
9100                                    
9101  </p>  </p>
# Line 6993  Command Syntax</h3> Line 9108  Command Syntax</h3>
9108  <p>/ MIDI_INSTRUMENT_INFO  <p>/ MIDI_INSTRUMENT_INFO
9109                                    
9110  </p>  </p>
9111    <p>/ DB_INSTRUMENT_DIRECTORY_COUNT
9112                    
9113    </p>
9114    <p>/ DB_INSTRUMENT_DIRECTORY_INFO
9115                    
9116    </p>
9117    <p>/ DB_INSTRUMENT_COUNT
9118                    
9119    </p>
9120    <p>/ DB_INSTRUMENT_INFO
9121                    
9122    </p>
9123    <p>/ DB_INSTRUMENTS_JOB_INFO
9124                    
9125    </p>
9126  <p>/ MISCELLANEOUS  <p>/ MISCELLANEOUS
9127                                    
9128  </p>  </p>
9129  <p>/ TOTAL_VOICE_COUNT  <p>/ TOTAL_VOICE_COUNT
9130                                    
9131  </p>  </p>
9132    <p>/ GLOBAL_INFO
9133                    
9134    </p>
9135  </blockquote><p>  </blockquote><p>
9136    
9137  </p>  </p>
# Line 7032  Command Syntax</h3> Line 9165  Command Syntax</h3>
9165  <p>/ CHANNEL_INFO  <p>/ CHANNEL_INFO
9166                                    
9167  </p>  </p>
9168    <p>/ FX_SEND_COUNT
9169                    
9170    </p>
9171    <p>/ FX_SEND_INFO
9172                    
9173    </p>
9174  <p>/ MIDI_INSTRUMENT_MAP_COUNT  <p>/ MIDI_INSTRUMENT_MAP_COUNT
9175                                    
9176  </p>  </p>
# Line 7044  Command Syntax</h3> Line 9183  Command Syntax</h3>
9183  <p>/ MIDI_INSTRUMENT_INFO  <p>/ MIDI_INSTRUMENT_INFO
9184                                    
9185  </p>  </p>
9186    <p>/ DB_INSTRUMENT_DIRECTORY_COUNT
9187                    
9188    </p>
9189    <p>/ DB_INSTRUMENT_DIRECTORY_INFO
9190                    
9191    </p>
9192    <p>/ DB_INSTRUMENT_COUNT
9193                    
9194    </p>
9195    <p>/ DB_INSTRUMENT_INFO
9196                    
9197    </p>
9198    <p>/ DB_INSTRUMENTS_JOB_INFO
9199                    
9200    </p>
9201  <p>/ MISCELLANEOUS  <p>/ MISCELLANEOUS
9202                                    
9203  </p>  </p>
9204  <p>/ TOTAL_VOICE_COUNT  <p>/ TOTAL_VOICE_COUNT
9205                                    
9206  </p>  </p>
9207    <p>/ GLOBAL_INFO
9208                    
9209    </p>
9210  </blockquote><p>  </blockquote><p>
9211    
9212  </p>  </p>
9213  <p>map_instruction =  <p>map_instruction =
9214          </p>          </p>
9215  <blockquote class="text">  <blockquote class="text">
9216  <p>MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value  <p>MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value
9217                                    
9218  </p>  </p>
9219  <p>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode  <p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode
9220                                    
9221  </p>  </p>
9222  <p>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name  <p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name
9223                                    
9224  </p>  </p>
9225  <p>/ MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name  <p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name
9226                                    
9227  </p>  </p>
9228  </blockquote><p>  </blockquote><p>
# Line 7092  Command Syntax</h3> Line 9249  Command Syntax</h3>
9249  <p>/ MIDI_INSTRUMENT_MAP SP ALL  <p>/ MIDI_INSTRUMENT_MAP SP ALL
9250                                    
9251  </p>  </p>
9252    <p>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP pathname
9253                    
9254    </p>
9255    <p>/ DB_INSTRUMENT_DIRECTORY SP pathname
9256                    
9257    </p>
9258    <p>/ DB_INSTRUMENT SP pathname
9259                    
9260    </p>
9261  </blockquote><p>  </blockquote><p>
9262    
9263  </p>  </p>
# Line 7197  Command Syntax</h3> Line 9363  Command Syntax</h3>
9363  <p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id  <p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id
9364                                    
9365  </p>  </p>
9366    <p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP pathname
9367                    
9368    </p>
9369    <p>/ DB_INSTRUMENT_DIRECTORIES SP pathname
9370                    
9371    </p>
9372    <p>/ DB_INSTRUMENT_DIRECTORY SP INFO SP pathname
9373                    
9374    </p>
9375    <p>/ DB_INSTRUMENTS SP RECURSIVE SP pathname
9376                    
9377    </p>
9378    <p>/ DB_INSTRUMENTS SP pathname
9379                    
9380    </p>
9381    <p>/ DB_INSTRUMENT SP INFO SP pathname
9382                    
9383    </p>
9384    <p>/ DB_INSTRUMENTS_JOB SP INFO SP number
9385                    
9386    </p>
9387    <p>/ VOLUME
9388                    
9389    </p>
9390  </blockquote><p>  </blockquote><p>
9391    
9392  </p>  </p>
# Line 7221  Command Syntax</h3> Line 9411  Command Syntax</h3>
9411  <p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name  <p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name
9412                                    
9413  </p>  </p>
9414    <p>/ FX_SEND SP NAME SP sampler_channel SP fx_send_id SP fx_send_name
9415                    
9416    </p>
9417  <p>/ FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id SP audio_channel_index SP audio_channel_index  <p>/ FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id SP audio_channel_index SP audio_channel_index
9418                                    
9419  </p>  </p>
9420    <p>/ FX_SEND SP MIDI_CONTROLLER SP sampler_channel SP fx_send_id SP midi_ctrl
9421                    
9422    </p>
9423    <p>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value
9424                    
9425    </p>
9426    <p>/ DB_INSTRUMENT_DIRECTORY SP NAME SP pathname SP dirname
9427                    
9428    </p>
9429    <p>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP pathname SP stringval
9430                    
9431    </p>
9432    <p>/ DB_INSTRUMENT SP NAME SP pathname SP dirname
9433                    
9434    </p>
9435    <p>/ DB_INSTRUMENT SP DESCRIPTION SP pathname SP stringval
9436                    
9437    </p>
9438  <p>/ ECHO SP boolean  <p>/ ECHO SP boolean
9439                                    
9440  </p>  </p>
9441    <p>/ VOLUME SP volume_value
9442                    
9443    </p>
9444  </blockquote><p>  </blockquote><p>
9445    
9446  </p>  </p>
# Line 7275  Command Syntax</h3> Line 9489  Command Syntax</h3>
9489  </blockquote><p>  </blockquote><p>
9490    
9491  </p>  </p>
9492    <p>find_instruction =
9493            </p>
9494    <blockquote class="text">
9495    <p>DB_INSTRUMENTS SP NON_RECURSIVE SP pathname SP query_val_list
9496                    
9497    </p>
9498    <p>/ DB_INSTRUMENTS SP pathname SP query_val_list
9499                    
9500    </p>
9501    <p>/ DB_INSTRUMENT_DIRECTORIES SP NON_RECURSIVE SP pathname SP query_val_list
9502                    
9503    </p>
9504    <p>/ DB_INSTRUMENT_DIRECTORIES SP pathname SP query_val_list
9505                    
9506    </p>
9507    </blockquote><p>
9508    
9509    </p>
9510    <p>move_instruction =
9511            </p>
9512    <blockquote class="text">
9513    <p>DB_INSTRUMENT_DIRECTORY SP pathname SP pathname
9514                    
9515    </p>
9516    <p>/ DB_INSTRUMENT SP pathname SP pathname
9517                    
9518    </p>
9519    </blockquote><p>
9520    
9521    </p>
9522    <p>copy_instruction =
9523            </p>
9524    <blockquote class="text">
9525    <p>DB_INSTRUMENT_DIRECTORY SP pathname SP pathname
9526                    
9527    </p>
9528    <p>/ DB_INSTRUMENT SP pathname SP pathname
9529                    
9530    </p>
9531    </blockquote><p>
9532    
9533    </p>
9534  <p>destroy_instruction =  <p>destroy_instruction =
9535          </p>          </p>
9536  <blockquote class="text">  <blockquote class="text">
# Line 7350  Command Syntax</h3> Line 9606  Command Syntax</h3>
9606  </blockquote><p>  </blockquote><p>
9607    
9608  </p>  </p>
9609    <p>modal_arg =
9610            </p>
9611    <blockquote class="text">
9612    <p>/* epsilon (empty argument) */
9613                    
9614    </p>
9615    <p>/ NON_MODAL SP
9616                    
9617    </p>
9618    </blockquote><p>
9619    
9620    </p>
9621  <p>key_val_list =  <p>key_val_list =
9622          </p>          </p>
9623  <blockquote class="text">  <blockquote class="text">
# Line 7407  Command Syntax</h3> Line 9675  Command Syntax</h3>
9675  <p>/ FX_SENDS SP sampler_channel  <p>/ FX_SENDS SP sampler_channel
9676                                    
9677  </p>  </p>
9678    <p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP pathname
9679                    
9680    </p>
9681    <p>/ DB_INSTRUMENT_DIRECTORIES SP pathname
9682                    
9683    </p>
9684    <p>/ DB_INSTRUMENTS SP RECURSIVE SP pathname
9685                    
9686    </p>
9687    <p>/ DB_INSTRUMENTS SP pathname
9688                    
9689    </p>
9690  </blockquote><p>  </blockquote><p>
9691    
9692  </p>  </p>
# Line 7587  Command Syntax</h3> Line 9867  Command Syntax</h3>
9867  </blockquote><p>  </blockquote><p>
9868    
9869  </p>  </p>
9870    <p>pathname =
9871            </p>
9872    <blockquote class="text">
9873    <p>stringval
9874                    
9875    </p>
9876    </blockquote><p>
9877    
9878    </p>
9879    <p>dirname =
9880            </p>
9881    <blockquote class="text">
9882    <p>stringval
9883                    
9884    </p>
9885    </blockquote><p>
9886    
9887    </p>
9888  <p>filename =  <p>filename =
9889          </p>          </p>
9890  <blockquote class="text">  <blockquote class="text">
# Line 7653  Command Syntax</h3> Line 9951  Command Syntax</h3>
9951  </blockquote><p>  </blockquote><p>
9952    
9953  </p>  </p>
9954    <p>query_val_list =
9955            </p>
9956    <blockquote class="text">
9957    <p>string '=' query_val
9958                    
9959    </p>
9960    <p>/ query_val_list SP string '=' query_val
9961                    
9962    </p>
9963    </blockquote><p>
9964    
9965    </p>
9966    <p>query_val =
9967            </p>
9968    <blockquote class="text">
9969    <p>string
9970                    
9971    </p>
9972    <p>/ stringval
9973                    
9974    </p>
9975    </blockquote><p>
9976    
9977    </p>
9978    <p>scan_mode =
9979            </p>
9980    <blockquote class="text">
9981    <p>RECURSIVE
9982                    
9983    </p>
9984    <p>/ NON_RECURSIVE
9985                    
9986    </p>
9987    <p>/ FLAT
9988                    
9989    </p>
9990    </blockquote><p>
9991    
9992    </p>
9993  <a name="events"></a><br /><hr />  <a name="events"></a><br /><hr />
9994  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
9995  <a name="rfc.section.8"></a><h3>8.&nbsp;  <a name="rfc.section.8"></a><h3>8.&nbsp;
# Line 7834  Number of active voices changed</h3> Line 10171  Number of active voices changed</h3>
10171  <p>  <p>
10172                      </p>                      </p>
10173  <blockquote class="text">  <blockquote class="text">
10174  <p>"NOTIFY:VOICE_COUNT:&lt;sampler-channel&gt; &lt;voices&gt;  <p>"NOTIFY:VOICE_COUNT:&lt;sampler-channel&gt; &lt;voices&gt;"
10175  </p>  </p>
10176  </blockquote><p>  </blockquote><p>
10177                                    
# Line 7937  Channel information changed</h3> Line 10274  Channel information changed</h3>
10274                  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
10275                  message is sufficient here.                  message is sufficient here.
10276  </p>  </p>
10277  <a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr />  <a name="SUBSCRIBE FX_SEND_COUNT"></a><br /><hr />
10278  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10279  <a name="rfc.section.8.10"></a><h3>8.10.&nbsp;  <a name="rfc.section.8.10"></a><h3>8.10.&nbsp;
10280    Number of effect sends changed</h3>
10281    
10282    <p>Client may want to be notified when the number of effect sends on
10283                    a particular sampler channel is changed by issuing the following command:
10284    </p>
10285    <p>
10286                        </p>
10287    <blockquote class="text">
10288    <p>SUBSCRIBE FX_SEND_COUNT
10289    </p>
10290    </blockquote><p>
10291                    
10292    </p>
10293    <p>Server will start sending the following notification messages:
10294    </p>
10295    <p>
10296                        </p>
10297    <blockquote class="text">
10298    <p>"NOTIFY:FX_SEND_COUNT:&lt;channel-id&gt; &lt;fx-sends&gt;"
10299    </p>
10300    </blockquote><p>
10301                    
10302    </p>
10303    <p>where &lt;channel-id&gt; will be replaced by the numerical ID of the sampler
10304                    channel, on which the effect sends number is changed and &lt;fx-sends&gt; will
10305                    be replaced by the new number of effect sends on that channel.
10306    </p>
10307    <a name="SUBSCRIBE FX_SEND_INFO"></a><br /><hr />
10308    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10309    <a name="rfc.section.8.11"></a><h3>8.11.&nbsp;
10310    Effect send information changed</h3>
10311    
10312    <p>Client may want to be notified when changes were made to effect sends on a
10313                    a particular sampler channel by issuing the following command:
10314    </p>
10315    <p>
10316                        </p>
10317    <blockquote class="text">
10318    <p>SUBSCRIBE FX_SEND_INFO
10319    </p>
10320    </blockquote><p>
10321                    
10322    </p>
10323    <p>Server will start sending the following notification messages:
10324    </p>
10325    <p>
10326                        </p>
10327    <blockquote class="text">
10328    <p>"NOTIFY:FX_SEND_INFO:&lt;channel-id&gt; &lt;fx-send-id&gt;"
10329    </p>
10330    </blockquote><p>
10331                    
10332    </p>
10333    <p>where &lt;channel-id&gt; will be replaced by the numerical ID of the sampler
10334                    channel, on which an effect send entity is changed and &lt;fx-send-id&gt; will
10335                    be replaced by the numerical ID of the changed effect send.
10336    </p>
10337    <a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr />
10338    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10339    <a name="rfc.section.8.12"></a><h3>8.12.&nbsp;
10340  Total number of active voices changed</h3>  Total number of active voices changed</h3>
10341    
10342  <p>Client may want to be notified when the total number of voices on the  <p>Client may want to be notified when the total number of voices on the
# Line 7958  Total number of active voices changed</h Line 10355  Total number of active voices changed</h
10355  <p>  <p>
10356                      </p>                      </p>
10357  <blockquote class="text">  <blockquote class="text">
10358  <p>"NOTIFY:TOTAL_VOICE_COUNT:&lt;voices&gt;  <p>"NOTIFY:TOTAL_VOICE_COUNT:&lt;voices&gt;"
10359  </p>  </p>
10360  </blockquote><p>  </blockquote><p>
10361                                    
# Line 7968  Total number of active voices changed</h Line 10365  Total number of active voices changed</h
10365  </p>  </p>
10366  <a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr />  <a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr />
10367  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10368  <a name="rfc.section.8.11"></a><h3>8.11.&nbsp;  <a name="rfc.section.8.13"></a><h3>8.13.&nbsp;
10369  Number of MIDI instrument maps changed</h3>  Number of MIDI instrument maps changed</h3>
10370    
10371  <p>Client may want to be notified when the number of MIDI instrument maps on the  <p>Client may want to be notified when the number of MIDI instrument maps on the
# Line 7997  Number of MIDI instrument maps changed</ Line 10394  Number of MIDI instrument maps changed</
10394  </p>  </p>
10395  <a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr />  <a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr />
10396  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10397  <a name="rfc.section.8.12"></a><h3>8.12.&nbsp;  <a name="rfc.section.8.14"></a><h3>8.14.&nbsp;
10398  MIDI instrument map information changed</h3>  MIDI instrument map information changed</h3>
10399    
10400  <p>Client may want to be notified when changes were made to MIDI instrument maps on the  <p>Client may want to be notified when changes were made to MIDI instrument maps on the
# Line 8030  MIDI instrument map information changed< Line 10427  MIDI instrument map information changed<
10427  </p>  </p>
10428  <a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr />  <a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr />
10429  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10430  <a name="rfc.section.8.13"></a><h3>8.13.&nbsp;  <a name="rfc.section.8.15"></a><h3>8.15.&nbsp;
10431  Number of MIDI instruments changed</h3>  Number of MIDI instruments changed</h3>
10432    
10433  <p>Client may want to be notified when the number of MIDI instrument maps on the  <p>Client may want to be notified when the number of MIDI instrument maps on the
# Line 8060  Number of MIDI instruments changed</h3> Line 10457  Number of MIDI instruments changed</h3>
10457  </p>  </p>
10458  <a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr />  <a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr />
10459  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10460  <a name="rfc.section.8.14"></a><h3>8.14.&nbsp;  <a name="rfc.section.8.16"></a><h3>8.16.&nbsp;
10461  MIDI instrument information changed</h3>  MIDI instrument information changed</h3>
10462    
10463  <p>Client may want to be notified when changes were made to MIDI instruments on the  <p>Client may want to be notified when changes were made to MIDI instruments on the
# Line 8092  MIDI instrument information changed</h3> Line 10489  MIDI instrument information changed</h3>
10489                  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
10490                  message is sufficient here.                  message is sufficient here.
10491  </p>  </p>
10492    <a name="SUBSCRIBE GLOBAL_INFO"></a><br /><hr />
10493    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10494    <a name="rfc.section.8.17"></a><h3>8.17.&nbsp;
10495    Global settings changed</h3>
10496    
10497    <p>Client may want to be notified when changes to the global settings
10498                    of the sampler were made by issuing the following command:
10499    </p>
10500    <p>
10501                        </p>
10502    <blockquote class="text">
10503    <p>SUBSCRIBE GLOBAL_INFO
10504    </p>
10505    </blockquote><p>
10506                    
10507    </p>
10508    <p>Server will start sending the following types of notification messages:
10509    </p>
10510    <p>
10511                        </p>
10512    <blockquote class="text">
10513    <p>"NOTIFY:GLOBAL_INFO:VOLUME &lt;volume&gt;" - Notifies that the
10514                            golbal volume of the sampler is changed, where &lt;volume&gt; will be
10515                            replaced by the optional dotted floating point value, reflecting the
10516                            new global volume parameter.
10517    </p>
10518    </blockquote><p>
10519                    
10520    </p>
10521    <a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT"></a><br /><hr />
10522    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10523    <a name="rfc.section.8.18"></a><h3>8.18.&nbsp;
10524    Number of database instrument directories changed</h3>
10525    
10526    <p>Client may want to be notified when the number of instrument
10527                    directories in a particular directory in the instruments database
10528                    is changed by issuing the following command:
10529    </p>
10530    <p>
10531                        </p>
10532    <blockquote class="text">
10533    <p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT
10534    </p>
10535    </blockquote><p>
10536                    
10537    </p>
10538    <p>Server will start sending the following notification messages:
10539    </p>
10540    <p>
10541                        </p>
10542    <blockquote class="text">
10543    <p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:&lt;dir-path&gt;"
10544    </p>
10545    </blockquote><p>
10546                    
10547    </p>
10548    <p>where &lt;dir-path&gt; will be replaced by the absolute path
10549                    name of the directory in the instruments database,
10550                    in which the number of directories is changed.
10551    </p>
10552    <p>Note that when a non-empty directory is removed, this event
10553                    is not sent for the subdirectories in that directory.
10554    </p>
10555    <a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO"></a><br /><hr />
10556    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10557    <a name="rfc.section.8.19"></a><h3>8.19.&nbsp;
10558    Database instrument directory information changed</h3>
10559    
10560    <p>Client may want to be notified when changes were made to directories
10561                    in the instruments database by issuing the following command:
10562    </p>
10563    <p>
10564                        </p>
10565    <blockquote class="text">
10566    <p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO
10567    </p>
10568    </blockquote><p>
10569                    
10570    </p>
10571    <p>Server will start sending the following notification messages:
10572    </p>
10573    <p>
10574                        </p>
10575    <blockquote class="text">
10576    <p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:&lt;dir-path&gt;"
10577    </p>
10578    </blockquote><p>
10579                    
10580    </p>
10581    <p>where &lt;dir-path&gt; will be replaced by the absolute path name
10582                    of the directory, for which information changes occurred. The front-end will have to send
10583                    the respective command to actually get the updated directory info. Because these messages
10584                    will be triggered by LSCP commands issued by other clients rather than real
10585                    time events happening on the server, it is believed that an empty notification
10586                    message is sufficient here.
10587    </p>
10588    <p>
10589                        </p>
10590    <blockquote class="text">
10591    <p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:NAME &lt;old-dir-path&gt; &lt;new-name&gt;"
10592    </p>
10593    </blockquote><p>
10594                    
10595    </p>
10596    <p>where &lt;old-dir-path&gt; is the old absolute path name of the directory
10597                    (encapsulated into apostrophes), which name is changes and &lt;new-name&gt; is
10598                    the new name of the directory, encapsulated into apostrophes.
10599    </p>
10600    <a name="SUBSCRIBE DB_INSTRUMENT_COUNT"></a><br /><hr />
10601    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10602    <a name="rfc.section.8.20"></a><h3>8.20.&nbsp;
10603    Number of database instruments changed</h3>
10604    
10605    <p>Client may want to be notified when the number of instruments
10606                    in a particular directory in the instruments database
10607                    is changed by issuing the following command:
10608    </p>
10609    <p>
10610                        </p>
10611    <blockquote class="text">
10612    <p>SUBSCRIBE DB_INSTRUMENT_COUNT
10613    </p>
10614    </blockquote><p>
10615                    
10616    </p>
10617    <p>Server will start sending the following notification messages:
10618    </p>
10619    <p>
10620                        </p>
10621    <blockquote class="text">
10622    <p>"NOTIFY:DB_INSTRUMENT_COUNT:&lt;dir-path&gt;"
10623    </p>
10624    </blockquote><p>
10625                    
10626    </p>
10627    <p>where &lt;dir-path&gt; will be replaced by the absolute path
10628                    name of the directory in the instruments database,
10629                    in which the number of instruments is changed.
10630    </p>
10631    <p>Note that when a non-empty directory is removed, this event
10632                    is not sent for the instruments in that directory.
10633    </p>
10634    <a name="SUBSCRIBE DB_INSTRUMENT_INFO"></a><br /><hr />
10635    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10636    <a name="rfc.section.8.21"></a><h3>8.21.&nbsp;
10637    Database instrument information changed</h3>
10638    
10639    <p>Client may want to be notified when changes were made to instruments
10640                    in the instruments database by issuing the following command:
10641    </p>
10642    <p>
10643                        </p>
10644    <blockquote class="text">
10645    <p>SUBSCRIBE DB_INSTRUMENT_INFO
10646    </p>
10647    </blockquote><p>
10648                    
10649    </p>
10650    <p>Server will start sending the following notification messages:
10651    </p>
10652    <p>
10653                        </p>
10654    <blockquote class="text">
10655    <p>"NOTIFY:DB_INSTRUMENT_INFO:&lt;instr-path&gt;"
10656    </p>
10657    </blockquote><p>
10658                    
10659    </p>
10660    <p>where &lt;instr-path&gt; will be replaced by the absolute path name
10661                    of the instrument, which settings are changed. The front-end will have to send
10662                    the respective command to actually get the updated directory info. Because these messages
10663                    will be triggered by LSCP commands issued by other clients rather than real
10664                    time events happening on the server, it is believed that an empty notification
10665                    message is sufficient here.
10666    </p>
10667    <p>
10668                        </p>
10669    <blockquote class="text">
10670    <p>"NOTIFY:DB_INSTRUMENT_INFO:NAME &lt;old-instr-path&gt; &lt;new-name&gt;"
10671    </p>
10672    </blockquote><p>
10673                    
10674    </p>
10675    <p>where &lt;old-instr-path&gt; is the old absolute path name of the instrument
10676                    (encapsulated into apostrophes), which name is changes and &lt;new-name&gt; is
10677                    the new name of the instrument, encapsulated into apostrophes.
10678    </p>
10679    <a name="SUBSCRIBE DB_INSTRUMENTS_JOB_INFO"></a><br /><hr />
10680    <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10681    <a name="rfc.section.8.22"></a><h3>8.22.&nbsp;
10682    Database job status information changed</h3>
10683    
10684    <p>Client may want to be notified when the status of particular database
10685                    instruments job is changed by issuing the following command:
10686    </p>
10687    <p>
10688                        </p>
10689    <blockquote class="text">
10690    <p>SUBSCRIBE DB_INSTRUMENTS_JOB_INFO
10691    </p>
10692    </blockquote><p>
10693                    
10694    </p>
10695    <p>Server will start sending the following notification messages:
10696    </p>
10697    <p>
10698                        </p>
10699    <blockquote class="text">
10700    <p>"NOTIFY:DB_INSTRUMENTS_JOB_INFO:&lt;job-id&gt;"
10701    </p>
10702    </blockquote><p>
10703                    
10704    </p>
10705    <p>where &lt;job-id&gt; will be replaced by the numerical ID of the job,
10706                    which status is changed. The front-end will have to send the respective
10707                    command to actually get the status info. Because these messages
10708                    will be triggered by LSCP commands issued by other clients rather than real
10709                    time events happening on the server, it is believed that an empty notification
10710                    message is sufficient here.
10711    </p>
10712  <a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr />  <a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr />
10713  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10714  <a name="rfc.section.8.15"></a><h3>8.15.&nbsp;  <a name="rfc.section.8.23"></a><h3>8.23.&nbsp;
10715  Miscellaneous and debugging events</h3>  Miscellaneous and debugging events</h3>
10716    
10717  <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
# Line 8189  Schoenebeck</td></tr> Line 10806  Schoenebeck</td></tr>
10806  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>  <table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
10807  <h3>Full Copyright Statement</h3>  <h3>Full Copyright Statement</h3>
10808  <p class='copyright'>  <p class='copyright'>
10809  Copyright &copy; The Internet Society (2006).</p>  Copyright &copy; The IETF Trust (2007).</p>
10810  <p class='copyright'>  <p class='copyright'>
10811  This document is subject to the rights,  This document is subject to the rights,
10812  licenses and restrictions contained in BCP&nbsp;78,  licenses and restrictions contained in BCP&nbsp;78,
# Line 8198  the authors retain all their rights.</p> Line 10815  the authors retain all their rights.</p>
10815  <p class='copyright'>  <p class='copyright'>
10816  This document and the information contained herein are provided  This document and the information contained herein are provided
10817  on an &ldquo;AS IS&rdquo; basis and THE CONTRIBUTOR,  on an &ldquo;AS IS&rdquo; basis and THE CONTRIBUTOR,
10818  THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),  THE ORGANIZATION HE/SHE REPRESENTS
10819  THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM  OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST
10820  ALL WARRANTIES,  AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
10821  EXPRESS OR IMPLIED,  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT
10822  INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE  THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
10823  INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED  IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
10824  WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</p>  PURPOSE.</p>
10825  <h3>Intellectual Property</h3>  <h3>Intellectual Property</h3>
10826  <p class='copyright'>  <p class='copyright'>
10827  The IETF takes no position regarding the validity or scope of any  The IETF takes no position regarding the validity or scope of any

Legend:
Removed from v.1002  
changed lines
  Added in v.1201

  ViewVC Help
Powered by ViewVC