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> |
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: July 18, 2007</td><td class="header">January 14, 2007</td></tr> |
<tr><td class="header">Expires: October 18, 2007</td><td class="header">April 16, 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 |
|
|
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 July 18, 2007.</p> |
This Internet-Draft will expire on October 18, 2007.</p> |
177 |
|
|
178 |
<h3>Copyright Notice</h3> |
<h3>Copyright Notice</h3> |
179 |
<p> |
<p> |
180 |
Copyright © The Internet Society (2007).</p> |
Copyright © The IETF Trust (2007).</p> |
181 |
|
|
182 |
<h3>Abstract</h3> |
<h3>Abstract</h3> |
183 |
|
|
328 |
Listing all effect sends on a sampler channel<br /> |
Listing all effect sends on a sampler channel<br /> |
329 |
<a href="#GET FX_SEND INFO">6.4.29.</a> |
<a href="#GET FX_SEND INFO">6.4.29.</a> |
330 |
Getting effect send information<br /> |
Getting effect send information<br /> |
331 |
<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.30.</a> |
<a href="#SET FX_SEND NAME">6.4.30.</a> |
332 |
|
Changing effect send's name<br /> |
333 |
|
<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.31.</a> |
334 |
Altering effect send's audio routing<br /> |
Altering effect send's audio routing<br /> |
335 |
<a href="#SET FX_SEND MIDI_CONTROLLER">6.4.31.</a> |
<a href="#SET FX_SEND MIDI_CONTROLLER">6.4.32.</a> |
336 |
Altering effect send's MIDI controller<br /> |
Altering effect send's MIDI controller<br /> |
337 |
<a href="#SET FX_SEND LEVEL">6.4.32.</a> |
<a href="#SET FX_SEND LEVEL">6.4.33.</a> |
338 |
Altering effect send's send level<br /> |
Altering effect send's send level<br /> |
339 |
<a href="#RESET CHANNEL">6.4.33.</a> |
<a href="#RESET CHANNEL">6.4.34.</a> |
340 |
Resetting a sampler channel<br /> |
Resetting a sampler channel<br /> |
341 |
<a href="#anchor12">6.5.</a> |
<a href="#anchor12">6.5.</a> |
342 |
Controlling connection<br /> |
Controlling connection<br /> |
388 |
Get current settings of MIDI instrument map entry<br /> |
Get current settings of MIDI instrument map entry<br /> |
389 |
<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a> |
<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a> |
390 |
Clear MIDI instrument map<br /> |
Clear MIDI instrument map<br /> |
391 |
|
<a href="#Managing Instruments Database">6.8.</a> |
392 |
|
Managing Instruments Database<br /> |
393 |
|
<a href="#ADD DB_INSTRUMENT_DIRECTORY">6.8.1.</a> |
394 |
|
Creating a new instrument directory<br /> |
395 |
|
<a href="#REMOVE DB_INSTRUMENT_DIRECTORY">6.8.2.</a> |
396 |
|
Deleting an instrument directory<br /> |
397 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORIES">6.8.3.</a> |
398 |
|
Getting amount of instrument directories<br /> |
399 |
|
<a href="#LIST DB_INSTRUMENT_DIRECTORIES">6.8.4.</a> |
400 |
|
Listing all directories in specific directory<br /> |
401 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORY INFO">6.8.5.</a> |
402 |
|
Getting instrument directory information<br /> |
403 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY NAME">6.8.6.</a> |
404 |
|
Renaming an instrument directory<br /> |
405 |
|
<a href="#MOVE DB_INSTRUMENT_DIRECTORY">6.8.7.</a> |
406 |
|
Moving an instrument directory<br /> |
407 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">6.8.8.</a> |
408 |
|
Changing the description of directory<br /> |
409 |
|
<a href="#ADD DB_INSTRUMENTS">6.8.9.</a> |
410 |
|
Adding instruments to the instruments database<br /> |
411 |
|
<a href="#REMOVE DB_INSTRUMENT">6.8.10.</a> |
412 |
|
Removing an instrument<br /> |
413 |
|
<a href="#GET DB_INSTRUMENTS">6.8.11.</a> |
414 |
|
Getting amount of instruments<br /> |
415 |
|
<a href="#LIST DB_INSTRUMENTS">6.8.12.</a> |
416 |
|
Listing all instruments in specific directory<br /> |
417 |
|
<a href="#GET DB_INSTRUMENT INFO">6.8.13.</a> |
418 |
|
Getting instrument information<br /> |
419 |
|
<a href="#SET DB_INSTRUMENT NAME">6.8.14.</a> |
420 |
|
Renaming an instrument<br /> |
421 |
|
<a href="#MOVE DB_INSTRUMENT">6.8.15.</a> |
422 |
|
Moving an instrument<br /> |
423 |
|
<a href="#SET DB_INSTRUMENT DESCRIPTION">6.8.16.</a> |
424 |
|
Changing the description of instrument<br /> |
425 |
<a href="#command_syntax">7.</a> |
<a href="#command_syntax">7.</a> |
426 |
Command Syntax<br /> |
Command Syntax<br /> |
427 |
<a href="#events">8.</a> |
<a href="#events">8.</a> |
444 |
Disk stream buffer fill state changed<br /> |
Disk stream buffer fill state changed<br /> |
445 |
<a href="#SUBSCRIBE CHANNEL_INFO">8.9.</a> |
<a href="#SUBSCRIBE CHANNEL_INFO">8.9.</a> |
446 |
Channel information changed<br /> |
Channel information changed<br /> |
447 |
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.10.</a> |
<a href="#SUBSCRIBE FX_SEND_COUNT">8.10.</a> |
448 |
|
Number of effect sends changed<br /> |
449 |
|
<a href="#SUBSCRIBE FX_SEND_INFO">8.11.</a> |
450 |
|
Effect send information changed<br /> |
451 |
|
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.12.</a> |
452 |
Total number of active voices changed<br /> |
Total number of active voices changed<br /> |
453 |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.11.</a> |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.13.</a> |
454 |
Number of MIDI instrument maps changed<br /> |
Number of MIDI instrument maps changed<br /> |
455 |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.12.</a> |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.14.</a> |
456 |
MIDI instrument map information changed<br /> |
MIDI instrument map information changed<br /> |
457 |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.13.</a> |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.15.</a> |
458 |
Number of MIDI instruments changed<br /> |
Number of MIDI instruments changed<br /> |
459 |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.14.</a> |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.16.</a> |
460 |
MIDI instrument information changed<br /> |
MIDI instrument information changed<br /> |
461 |
<a href="#SUBSCRIBE MISCELLANEOUS">8.15.</a> |
<a href="#SUBSCRIBE GLOBAL_INFO">8.17.</a> |
462 |
|
Global settings changed<br /> |
463 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT">8.18.</a> |
464 |
|
Number of database instrument directories changed<br /> |
465 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO">8.19.</a> |
466 |
|
Database instrument directory information changed<br /> |
467 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_COUNT">8.20.</a> |
468 |
|
Number of database instruments changed<br /> |
469 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_INFO">8.21.</a> |
470 |
|
Database instrument information changed<br /> |
471 |
|
<a href="#SUBSCRIBE MISCELLANEOUS">8.22.</a> |
472 |
Miscellaneous and debugging events<br /> |
Miscellaneous and debugging events<br /> |
473 |
<a href="#anchor14">9.</a> |
<a href="#anchor14">9.</a> |
474 |
Security Considerations<br /> |
Security Considerations<br /> |
5377 |
</blockquote><p> |
</blockquote><p> |
5378 |
|
|
5379 |
</p> |
</p> |
5380 |
<a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
<a name="SET FX_SEND NAME"></a><br /><hr /> |
5381 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5382 |
<a name="rfc.section.6.4.30"></a><h3>6.4.30. |
<a name="rfc.section.6.4.30"></a><h3>6.4.30. |
5383 |
|
Changing effect send's name</h3> |
5384 |
|
|
5385 |
|
<p>The front-end can alter the current name of an effect |
5386 |
|
send entity by sending the following command: |
5387 |
|
</p> |
5388 |
|
<p> |
5389 |
|
</p> |
5390 |
|
<blockquote class="text"> |
5391 |
|
<p>SET FX_SEND NAME <sampler-chan> <fx-send-id> <name> |
5392 |
|
</p> |
5393 |
|
</blockquote><p> |
5394 |
|
|
5395 |
|
</p> |
5396 |
|
<p>Where <sampler-chan> is the sampler channel number |
5397 |
|
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> |
5398 |
|
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, |
5399 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5400 |
|
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> |
5401 |
|
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 |
5402 |
|
<name> is the new name of the effect send entity, which |
5403 |
|
does not have to be unique. |
5404 |
|
</p> |
5405 |
|
<p>Possible Answers: |
5406 |
|
</p> |
5407 |
|
<p> |
5408 |
|
</p> |
5409 |
|
<blockquote class="text"> |
5410 |
|
<p>"OK" - |
5411 |
|
</p> |
5412 |
|
<blockquote class="text"> |
5413 |
|
<p>on success |
5414 |
|
</p> |
5415 |
|
</blockquote> |
5416 |
|
|
5417 |
|
|
5418 |
|
<p>"ERR:<error-code>:<error-message>" - |
5419 |
|
</p> |
5420 |
|
<blockquote class="text"> |
5421 |
|
<p>in case it failed, providing an appropriate error code and error message |
5422 |
|
</p> |
5423 |
|
</blockquote> |
5424 |
|
|
5425 |
|
|
5426 |
|
</blockquote><p> |
5427 |
|
|
5428 |
|
</p> |
5429 |
|
<p>Example: |
5430 |
|
</p> |
5431 |
|
<p> |
5432 |
|
</p> |
5433 |
|
<blockquote class="text"> |
5434 |
|
<p>C: "SET FX_SEND NAME 0 0 'Fx Send 1'" |
5435 |
|
</p> |
5436 |
|
<p>S: "OK" |
5437 |
|
</p> |
5438 |
|
</blockquote><p> |
5439 |
|
|
5440 |
|
</p> |
5441 |
|
<a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
5442 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5443 |
|
<a name="rfc.section.6.4.31"></a><h3>6.4.31. |
5444 |
Altering effect send's audio routing</h3> |
Altering effect send's audio routing</h3> |
5445 |
|
|
5446 |
<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 |
5523 |
</p> |
</p> |
5524 |
<a name="SET FX_SEND MIDI_CONTROLLER"></a><br /><hr /> |
<a name="SET FX_SEND MIDI_CONTROLLER"></a><br /><hr /> |
5525 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5526 |
<a name="rfc.section.6.4.31"></a><h3>6.4.31. |
<a name="rfc.section.6.4.32"></a><h3>6.4.32. |
5527 |
Altering effect send's MIDI controller</h3> |
Altering effect send's MIDI controller</h3> |
5528 |
|
|
5529 |
<p>The front-end can alter the MIDI controller of an effect |
<p>The front-end can alter the MIDI controller of an effect |
5594 |
</p> |
</p> |
5595 |
<a name="SET FX_SEND LEVEL"></a><br /><hr /> |
<a name="SET FX_SEND LEVEL"></a><br /><hr /> |
5596 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5597 |
<a name="rfc.section.6.4.32"></a><h3>6.4.32. |
<a name="rfc.section.6.4.33"></a><h3>6.4.33. |
5598 |
Altering effect send's send level</h3> |
Altering effect send's send level</h3> |
5599 |
|
|
5600 |
<p>The front-end can alter the current send level of an effect |
<p>The front-end can alter the current send level of an effect |
5666 |
</p> |
</p> |
5667 |
<a name="RESET CHANNEL"></a><br /><hr /> |
<a name="RESET CHANNEL"></a><br /><hr /> |
5668 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5669 |
<a name="rfc.section.6.4.33"></a><h3>6.4.33. |
<a name="rfc.section.6.4.34"></a><h3>6.4.34. |
5670 |
Resetting a sampler channel</h3> |
Resetting a sampler channel</h3> |
5671 |
|
|
5672 |
<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: |
6098 |
</blockquote> |
</blockquote> |
6099 |
|
|
6100 |
|
|
6101 |
|
<p>INSTRUMENTS_DB_SUPPORT - |
6102 |
|
</p> |
6103 |
|
<blockquote class="text"> |
6104 |
|
<p>either yes or no, specifies whether the |
6105 |
|
sampler is build with instruments database support. |
6106 |
|
</p> |
6107 |
|
</blockquote> |
6108 |
|
|
6109 |
|
|
6110 |
</blockquote> |
</blockquote> |
6111 |
|
|
6112 |
|
|
6518 |
</blockquote> |
</blockquote> |
6519 |
|
|
6520 |
|
|
6521 |
|
<p>DEFAULT - |
6522 |
|
</p> |
6523 |
|
<blockquote class="text"> |
6524 |
|
<p>either true or false, |
6525 |
|
defines whether this map is the default map |
6526 |
|
</p> |
6527 |
|
</blockquote> |
6528 |
|
|
6529 |
|
|
6530 |
</blockquote> |
</blockquote> |
6531 |
|
|
6532 |
|
|
6544 |
</p> |
</p> |
6545 |
<p>S: "NAME: Standard Map" |
<p>S: "NAME: Standard Map" |
6546 |
</p> |
</p> |
6547 |
|
<p> "DEFAULT: true" |
6548 |
|
</p> |
6549 |
<p> "." |
<p> "." |
6550 |
</p> |
</p> |
6551 |
</blockquote><p> |
</blockquote><p> |
6619 |
<p> |
<p> |
6620 |
</p> |
</p> |
6621 |
<blockquote class="text"> |
<blockquote class="text"> |
6622 |
<p>MAP MIDI_INSTRUMENT <map> |
<p>MAP MIDI_INSTRUMENT [NON_MODAL] <map> |
6623 |
<midi_bank> <midi_prog> <engine_name> |
<midi_bank> <midi_prog> <engine_name> |
6624 |
<filename> <instrument_index> <volume_value> |
<filename> <instrument_index> <volume_value> |
6625 |
[<instr_load_mode>] [<name>] |
[<instr_load_mode>] [<name>] |
6683 |
</p> |
</p> |
6684 |
<blockquote class="text"> |
<blockquote class="text"> |
6685 |
<p>The instrument will immediately be loaded |
<p>The instrument will immediately be loaded |
6686 |
into memory in the background when this mapping |
into memory when this mapping |
6687 |
command is sent and the instrument is kept all |
command is sent and the instrument is kept all |
6688 |
the time. Instruments with this mode are |
the time. Instruments with this mode are |
6689 |
only freed when the sampler is reset or all |
only freed when the sampler is reset or all |
6740 |
|
|
6741 |
</p> |
</p> |
6742 |
<p> |
<p> |
6743 |
The "MAP MIDI_INSTRUMENT" command |
By default, "MAP MIDI_INSTRUMENT" commands block until the mapping is |
6744 |
will immediately return, thus it will not block when an |
completely established in the sampler. The OPTIONAL "NON_MODAL" argument |
6745 |
instrument is to be loaded due to a "PERSISTENT" type |
however causes the respective "MAP MIDI_INSTRUMENT" command to return |
6746 |
entry as instruments are loaded in the background. As a |
immediately, that is to let the sampler establish the mapping in the |
6747 |
consequence this command may not necessarily return an error |
background. So this argument might be especially useful for mappings with |
6748 |
i.e. when the given instrument file does not exist or may |
a "PERSISTENT" type, because these have to load the respective instruments |
6749 |
turn out to be corrupt. |
immediately and might thus block for a very long time. It is recommended |
6750 |
|
however to use the OPTIONAL "NON_MODAL" argument only if really necessary, |
6751 |
|
because it has the following drawbacks: as "NON_MODAL" instructions return |
6752 |
|
immediately, they may not necessarily return an error i.e. when the given |
6753 |
|
instrument file turns out to be corrupt, beside that subsequent commands |
6754 |
|
in a LSCP instruction sequence might fail, because mandatory mappings are |
6755 |
|
not yet completed. |
6756 |
|
|
6757 |
</p> |
</p> |
6758 |
<p>Possible Answers: |
<p>Possible Answers: |
6819 |
<p> |
<p> |
6820 |
</p> |
</p> |
6821 |
<blockquote class="text"> |
<blockquote class="text"> |
6822 |
<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'" |
6823 |
</p> |
</p> |
6824 |
<p>S: "OK" |
<p>S: "OK" |
6825 |
</p> |
</p> |
7217 |
</blockquote><p> |
</blockquote><p> |
7218 |
|
|
7219 |
</p> |
</p> |
7220 |
|
<a name="Managing Instruments Database"></a><br /><hr /> |
7221 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7222 |
|
<a name="rfc.section.6.8"></a><h3>6.8. |
7223 |
|
Managing Instruments Database</h3> |
7224 |
|
|
7225 |
|
<p>The following commands describe how to use and manage |
7226 |
|
the instruments database. |
7227 |
|
</p> |
7228 |
|
<a name="ADD DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7229 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7230 |
|
<a name="rfc.section.6.8.1"></a><h3>6.8.1. |
7231 |
|
Creating a new instrument directory</h3> |
7232 |
|
|
7233 |
|
<p>The front-end can add a new instrument directory to the |
7234 |
|
instruments database by sending the following command: |
7235 |
|
</p> |
7236 |
|
<p> |
7237 |
|
</p> |
7238 |
|
<blockquote class="text"> |
7239 |
|
<p>ADD DB_INSTRUMENT_DIRECTORY <dir> |
7240 |
|
</p> |
7241 |
|
</blockquote><p> |
7242 |
|
|
7243 |
|
</p> |
7244 |
|
<p>Where <dir> is the absolute path name of the directory |
7245 |
|
to be created (encapsulated into apostrophes). |
7246 |
|
</p> |
7247 |
|
<p>Possible Answers: |
7248 |
|
</p> |
7249 |
|
<p> |
7250 |
|
</p> |
7251 |
|
<blockquote class="text"> |
7252 |
|
<p>"OK" - |
7253 |
|
</p> |
7254 |
|
<blockquote class="text"> |
7255 |
|
<p>on success |
7256 |
|
</p> |
7257 |
|
</blockquote> |
7258 |
|
|
7259 |
|
|
7260 |
|
<p>"ERR:<error-code>:<error-message>" - |
7261 |
|
</p> |
7262 |
|
<blockquote class="text"> |
7263 |
|
<p>when the directory could not be created, which |
7264 |
|
can happen if the directory already exists or the |
7265 |
|
name contains not allowed symbols |
7266 |
|
</p> |
7267 |
|
</blockquote> |
7268 |
|
|
7269 |
|
|
7270 |
|
</blockquote><p> |
7271 |
|
|
7272 |
|
</p> |
7273 |
|
<p>Examples: |
7274 |
|
</p> |
7275 |
|
<p> |
7276 |
|
</p> |
7277 |
|
<blockquote class="text"> |
7278 |
|
<p>C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'" |
7279 |
|
</p> |
7280 |
|
<p>S: "OK" |
7281 |
|
</p> |
7282 |
|
</blockquote><p> |
7283 |
|
|
7284 |
|
</p> |
7285 |
|
<a name="REMOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7286 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7287 |
|
<a name="rfc.section.6.8.2"></a><h3>6.8.2. |
7288 |
|
Deleting an instrument directory</h3> |
7289 |
|
|
7290 |
|
<p>The front-end can delete a particular instrument directory |
7291 |
|
from the instruments database by sending the following command: |
7292 |
|
</p> |
7293 |
|
<p> |
7294 |
|
</p> |
7295 |
|
<blockquote class="text"> |
7296 |
|
<p>REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] <dir> |
7297 |
|
</p> |
7298 |
|
</blockquote><p> |
7299 |
|
|
7300 |
|
</p> |
7301 |
|
<p>Where <dir> is the absolute path name of the directory |
7302 |
|
to delete. The optional FORCE argument can be used to |
7303 |
|
force the deletion of a non-empty directory and all its content. |
7304 |
|
</p> |
7305 |
|
<p>Possible Answers: |
7306 |
|
</p> |
7307 |
|
<p> |
7308 |
|
</p> |
7309 |
|
<blockquote class="text"> |
7310 |
|
<p>"OK" - |
7311 |
|
</p> |
7312 |
|
<blockquote class="text"> |
7313 |
|
<p>if the directory is deleted successfully |
7314 |
|
</p> |
7315 |
|
</blockquote> |
7316 |
|
|
7317 |
|
|
7318 |
|
<p>"ERR:<error-code>:<error-message>" - |
7319 |
|
</p> |
7320 |
|
<blockquote class="text"> |
7321 |
|
<p>if the given directory does not exist, or |
7322 |
|
if trying to delete a non-empty directory, |
7323 |
|
without using the FORCE argument. |
7324 |
|
</p> |
7325 |
|
</blockquote> |
7326 |
|
|
7327 |
|
|
7328 |
|
</blockquote><p> |
7329 |
|
|
7330 |
|
</p> |
7331 |
|
<p>Examples: |
7332 |
|
</p> |
7333 |
|
<p> |
7334 |
|
</p> |
7335 |
|
<blockquote class="text"> |
7336 |
|
<p>C: "REMOVE DB_INSTRUMENT_DIRECTORY FORCE '/Piano Collection'" |
7337 |
|
</p> |
7338 |
|
<p>S: "OK" |
7339 |
|
</p> |
7340 |
|
</blockquote><p> |
7341 |
|
|
7342 |
|
</p> |
7343 |
|
<a name="GET DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7344 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7345 |
|
<a name="rfc.section.6.8.3"></a><h3>6.8.3. |
7346 |
|
Getting amount of instrument directories</h3> |
7347 |
|
|
7348 |
|
<p>The front-end can retrieve the current amount of |
7349 |
|
directories in a specific directory by sending the following command: |
7350 |
|
</p> |
7351 |
|
<p> |
7352 |
|
</p> |
7353 |
|
<blockquote class="text"> |
7354 |
|
<p>GET DB_INSTRUMENT_DIRECTORIES <dir> |
7355 |
|
</p> |
7356 |
|
</blockquote><p> |
7357 |
|
|
7358 |
|
</p> |
7359 |
|
<p>Where <dir> should be replaced by the absolute path |
7360 |
|
name of the directory. |
7361 |
|
</p> |
7362 |
|
<p>Possible Answers: |
7363 |
|
</p> |
7364 |
|
<p> |
7365 |
|
</p> |
7366 |
|
<blockquote class="text"> |
7367 |
|
<p>The current number of instrument directories |
7368 |
|
in the specified directory. |
7369 |
|
</p> |
7370 |
|
<p>"ERR:<error-code>:<error-message>" - |
7371 |
|
</p> |
7372 |
|
<blockquote class="text"> |
7373 |
|
<p>if the given directory does not exist. |
7374 |
|
</p> |
7375 |
|
</blockquote> |
7376 |
|
|
7377 |
|
|
7378 |
|
</blockquote><p> |
7379 |
|
|
7380 |
|
</p> |
7381 |
|
<p>Example: |
7382 |
|
</p> |
7383 |
|
<p> |
7384 |
|
</p> |
7385 |
|
<blockquote class="text"> |
7386 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORIES '/'" |
7387 |
|
</p> |
7388 |
|
<p>S: "2" |
7389 |
|
</p> |
7390 |
|
</blockquote><p> |
7391 |
|
|
7392 |
|
</p> |
7393 |
|
<a name="LIST DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7394 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7395 |
|
<a name="rfc.section.6.8.4"></a><h3>6.8.4. |
7396 |
|
Listing all directories in specific directory</h3> |
7397 |
|
|
7398 |
|
<p>The front-end can retrieve the current list of directories |
7399 |
|
in specific directory by sending the following command: |
7400 |
|
</p> |
7401 |
|
<p> |
7402 |
|
</p> |
7403 |
|
<blockquote class="text"> |
7404 |
|
<p>LIST DB_INSTRUMENT_DIRECTORIES <dir> |
7405 |
|
</p> |
7406 |
|
</blockquote><p> |
7407 |
|
|
7408 |
|
</p> |
7409 |
|
<p>Where <dir> should be replaced by the absolute path |
7410 |
|
name of the directory. |
7411 |
|
</p> |
7412 |
|
<p>Possible Answers: |
7413 |
|
</p> |
7414 |
|
<p> |
7415 |
|
</p> |
7416 |
|
<blockquote class="text"> |
7417 |
|
<p>A comma separated list of all instrument directories |
7418 |
|
(encapsulated into apostrophes) in the specified directory. |
7419 |
|
</p> |
7420 |
|
<p>"ERR:<error-code>:<error-message>" - |
7421 |
|
</p> |
7422 |
|
<blockquote class="text"> |
7423 |
|
<p>if the given directory does not exist. |
7424 |
|
</p> |
7425 |
|
</blockquote> |
7426 |
|
|
7427 |
|
|
7428 |
|
</blockquote><p> |
7429 |
|
|
7430 |
|
</p> |
7431 |
|
<p>Example: |
7432 |
|
</p> |
7433 |
|
<p> |
7434 |
|
</p> |
7435 |
|
<blockquote class="text"> |
7436 |
|
<p>C: "LIST DB_INSTRUMENT_DIRECTORIES '/'" |
7437 |
|
</p> |
7438 |
|
<p>S: "'Piano Collection','Percussion Collection'" |
7439 |
|
</p> |
7440 |
|
</blockquote><p> |
7441 |
|
|
7442 |
|
</p> |
7443 |
|
<a name="GET DB_INSTRUMENT_DIRECTORY INFO"></a><br /><hr /> |
7444 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7445 |
|
<a name="rfc.section.6.8.5"></a><h3>6.8.5. |
7446 |
|
Getting instrument directory information</h3> |
7447 |
|
|
7448 |
|
<p>The front-end can ask for the current settings of an |
7449 |
|
instrument directory by sending the following command: |
7450 |
|
</p> |
7451 |
|
<p> |
7452 |
|
</p> |
7453 |
|
<blockquote class="text"> |
7454 |
|
<p>GET DB_INSTRUMENT_DIRECTORY INFO <dir> |
7455 |
|
</p> |
7456 |
|
</blockquote><p> |
7457 |
|
|
7458 |
|
</p> |
7459 |
|
<p>Where <dir> should be replaced by the absolute path |
7460 |
|
name of the directory the front-end is interested in. |
7461 |
|
</p> |
7462 |
|
<p>Possible Answers: |
7463 |
|
</p> |
7464 |
|
<p> |
7465 |
|
</p> |
7466 |
|
<blockquote class="text"> |
7467 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
7468 |
|
Each answer line begins with the settings category name |
7469 |
|
followed by a colon and then a space character <SP> and finally |
7470 |
|
the info character string to that setting category. At the |
7471 |
|
moment the following categories are defined: |
7472 |
|
</p> |
7473 |
|
<p> |
7474 |
|
</p> |
7475 |
|
<blockquote class="text"> |
7476 |
|
<p>DESCRIPTION - |
7477 |
|
</p> |
7478 |
|
<blockquote class="text"> |
7479 |
|
<p>A brief description of the directory content |
7480 |
|
</p> |
7481 |
|
</blockquote> |
7482 |
|
|
7483 |
|
|
7484 |
|
<p>CREATED - |
7485 |
|
</p> |
7486 |
|
<blockquote class="text"> |
7487 |
|
<p>The creation date and time of the directory, |
7488 |
|
represented in "YYYY-MM-DD HH:MM:SS" format |
7489 |
|
</p> |
7490 |
|
</blockquote> |
7491 |
|
|
7492 |
|
|
7493 |
|
<p>MODIFIED - |
7494 |
|
</p> |
7495 |
|
<blockquote class="text"> |
7496 |
|
<p>The date and time of the last modification of the |
7497 |
|
directory, represented in "YYYY-MM-DD HH:MM:SS" format |
7498 |
|
</p> |
7499 |
|
</blockquote> |
7500 |
|
|
7501 |
|
|
7502 |
|
</blockquote> |
7503 |
|
|
7504 |
|
|
7505 |
|
</blockquote><p> |
7506 |
|
|
7507 |
|
</p> |
7508 |
|
<p>The mentioned fields above don't have to be in particular order. |
7509 |
|
</p> |
7510 |
|
<p>Example: |
7511 |
|
</p> |
7512 |
|
<p> |
7513 |
|
</p> |
7514 |
|
<blockquote class="text"> |
7515 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORY INFO '/Piano Collection'" |
7516 |
|
</p> |
7517 |
|
<p>S: "DESCRIPTION: Piano collection of instruments in GigaSampler format." |
7518 |
|
</p> |
7519 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
7520 |
|
</p> |
7521 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
7522 |
|
</p> |
7523 |
|
<p> "." |
7524 |
|
</p> |
7525 |
|
</blockquote><p> |
7526 |
|
|
7527 |
|
</p> |
7528 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY NAME"></a><br /><hr /> |
7529 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7530 |
|
<a name="rfc.section.6.8.6"></a><h3>6.8.6. |
7531 |
|
Renaming an instrument directory</h3> |
7532 |
|
|
7533 |
|
<p>The front-end can alter the name of a specific |
7534 |
|
instrument directory by sending the following command: |
7535 |
|
</p> |
7536 |
|
<p> |
7537 |
|
</p> |
7538 |
|
<blockquote class="text"> |
7539 |
|
<p>SET DB_INSTRUMENT_DIRECTORY NAME <dir> <name> |
7540 |
|
</p> |
7541 |
|
</blockquote><p> |
7542 |
|
|
7543 |
|
</p> |
7544 |
|
<p>Where <dir> is the absolute path name of the directory and |
7545 |
|
<name> is the new name for that directory. |
7546 |
|
</p> |
7547 |
|
<p>Possible Answers: |
7548 |
|
</p> |
7549 |
|
<p> |
7550 |
|
</p> |
7551 |
|
<blockquote class="text"> |
7552 |
|
<p>"OK" - |
7553 |
|
</p> |
7554 |
|
<blockquote class="text"> |
7555 |
|
<p>on success |
7556 |
|
</p> |
7557 |
|
</blockquote> |
7558 |
|
|
7559 |
|
|
7560 |
|
<p>"ERR:<error-code>:<error-message>" - |
7561 |
|
</p> |
7562 |
|
<blockquote class="text"> |
7563 |
|
<p>in case the given directory does not exists, |
7564 |
|
or if a directory with name equal to the new |
7565 |
|
name already exists. |
7566 |
|
</p> |
7567 |
|
</blockquote> |
7568 |
|
|
7569 |
|
|
7570 |
|
</blockquote><p> |
7571 |
|
|
7572 |
|
</p> |
7573 |
|
<p>Example: |
7574 |
|
</p> |
7575 |
|
<p> |
7576 |
|
</p> |
7577 |
|
<blockquote class="text"> |
7578 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' 'Acoustic'" |
7579 |
|
</p> |
7580 |
|
<p>S: "OK" |
7581 |
|
</p> |
7582 |
|
</blockquote><p> |
7583 |
|
|
7584 |
|
</p> |
7585 |
|
<a name="MOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7586 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7587 |
|
<a name="rfc.section.6.8.7"></a><h3>6.8.7. |
7588 |
|
Moving an instrument directory</h3> |
7589 |
|
|
7590 |
|
<p>The front-end can move a specific |
7591 |
|
instrument directory by sending the following command: |
7592 |
|
</p> |
7593 |
|
<p> |
7594 |
|
</p> |
7595 |
|
<blockquote class="text"> |
7596 |
|
<p>MOVE DB_INSTRUMENT_DIRECTORY <dir> <dst> |
7597 |
|
</p> |
7598 |
|
</blockquote><p> |
7599 |
|
|
7600 |
|
</p> |
7601 |
|
<p>Where <dir> is the absolute path name of the directory |
7602 |
|
to move and <dst> is the location where the directory will |
7603 |
|
be moved to. |
7604 |
|
</p> |
7605 |
|
<p>Possible Answers: |
7606 |
|
</p> |
7607 |
|
<p> |
7608 |
|
</p> |
7609 |
|
<blockquote class="text"> |
7610 |
|
<p>"OK" - |
7611 |
|
</p> |
7612 |
|
<blockquote class="text"> |
7613 |
|
<p>on success |
7614 |
|
</p> |
7615 |
|
</blockquote> |
7616 |
|
|
7617 |
|
|
7618 |
|
<p>"ERR:<error-code>:<error-message>" - |
7619 |
|
</p> |
7620 |
|
<blockquote class="text"> |
7621 |
|
<p>in case a given directory does not exists, |
7622 |
|
or if a directory with name equal to the name |
7623 |
|
of the specified directory already exists in |
7624 |
|
the destination directory. Error is also thrown |
7625 |
|
when trying to move a directory to a subdirectory |
7626 |
|
of itself. |
7627 |
|
</p> |
7628 |
|
</blockquote> |
7629 |
|
|
7630 |
|
|
7631 |
|
</blockquote><p> |
7632 |
|
|
7633 |
|
</p> |
7634 |
|
<p>Example: |
7635 |
|
</p> |
7636 |
|
<p> |
7637 |
|
</p> |
7638 |
|
<blockquote class="text"> |
7639 |
|
<p>C: "MOVE DB_INSTRUMENT_DIRECTORY '/Acoustic' '/Piano Collection/Acoustic'" |
7640 |
|
</p> |
7641 |
|
<p>S: "OK" |
7642 |
|
</p> |
7643 |
|
</blockquote><p> |
7644 |
|
|
7645 |
|
</p> |
7646 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"></a><br /><hr /> |
7647 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7648 |
|
<a name="rfc.section.6.8.8"></a><h3>6.8.8. |
7649 |
|
Changing the description of directory</h3> |
7650 |
|
|
7651 |
|
<p>The front-end can alter the description of a specific |
7652 |
|
instrument directory by sending the following command: |
7653 |
|
</p> |
7654 |
|
<p> |
7655 |
|
</p> |
7656 |
|
<blockquote class="text"> |
7657 |
|
<p>SET DB_INSTRUMENT_DIRECTORY DESCRIPTION <dir> <desc> |
7658 |
|
</p> |
7659 |
|
</blockquote><p> |
7660 |
|
|
7661 |
|
</p> |
7662 |
|
<p>Where <dir> is the absolute path name of the directory and |
7663 |
|
<desc> is the new description for the directory. |
7664 |
|
</p> |
7665 |
|
<p>Possible Answers: |
7666 |
|
</p> |
7667 |
|
<p> |
7668 |
|
</p> |
7669 |
|
<blockquote class="text"> |
7670 |
|
<p>"OK" - |
7671 |
|
</p> |
7672 |
|
<blockquote class="text"> |
7673 |
|
<p>on success |
7674 |
|
</p> |
7675 |
|
</blockquote> |
7676 |
|
|
7677 |
|
|
7678 |
|
<p>"ERR:<error-code>:<error-message>" - |
7679 |
|
</p> |
7680 |
|
<blockquote class="text"> |
7681 |
|
<p>in case the given directory does not exists. |
7682 |
|
</p> |
7683 |
|
</blockquote> |
7684 |
|
|
7685 |
|
|
7686 |
|
</blockquote><p> |
7687 |
|
|
7688 |
|
</p> |
7689 |
|
<p>Example: |
7690 |
|
</p> |
7691 |
|
<p> |
7692 |
|
</p> |
7693 |
|
<blockquote class="text"> |
7694 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION '/Piano Collection' 'A collection of piano instruments in various format.'" |
7695 |
|
</p> |
7696 |
|
<p>S: "OK" |
7697 |
|
</p> |
7698 |
|
</blockquote><p> |
7699 |
|
|
7700 |
|
</p> |
7701 |
|
<a name="ADD DB_INSTRUMENTS"></a><br /><hr /> |
7702 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7703 |
|
<a name="rfc.section.6.8.9"></a><h3>6.8.9. |
7704 |
|
Adding instruments to the instruments database</h3> |
7705 |
|
|
7706 |
|
<p>The front-end can add one or more instruments |
7707 |
|
to the instruments database by sending the following command: |
7708 |
|
</p> |
7709 |
|
<p> |
7710 |
|
</p> |
7711 |
|
<blockquote class="text"> |
7712 |
|
<p>ADD DB_INSTRUMENTS [<mode>] <db_dir> <file_path> [<instr_index>] |
7713 |
|
</p> |
7714 |
|
</blockquote><p> |
7715 |
|
|
7716 |
|
</p> |
7717 |
|
<p>Where <db_dir> is the absolute path name of a directory |
7718 |
|
(encapsulated into apostrophes) in the instruments database in which |
7719 |
|
only the new instruments (that are not already in the database) will |
7720 |
|
be added, <file_path> is the absolute path name of a file or |
7721 |
|
directory in the file system (encapsulated into apostrophes). In case |
7722 |
|
an instrument file is supplied, only the instruments in the specified |
7723 |
|
file will be added to the instruments database. If the optional |
7724 |
|
<instr_index> (the index of the instrument within the given file) |
7725 |
|
is supplied too, then only the specified instrument will be added. |
7726 |
|
In case a directory is supplied, the instruments in that directory |
7727 |
|
will be added. The OPTIONAL <mode> argument is only applied |
7728 |
|
when a directory is provided as <file_path> and specifies how the |
7729 |
|
scanning will be done and has exactly the following possibilities: |
7730 |
|
</p> |
7731 |
|
<p> |
7732 |
|
</p> |
7733 |
|
<blockquote class="text"> |
7734 |
|
<p>"NON_RECURSIVE" - |
7735 |
|
</p> |
7736 |
|
<blockquote class="text"> |
7737 |
|
<p>Only the instruments in the specified directory |
7738 |
|
will be added, the instruments in the subdirectories |
7739 |
|
will not be processed. |
7740 |
|
</p> |
7741 |
|
</blockquote> |
7742 |
|
|
7743 |
|
|
7744 |
|
<p>"FLAT" - |
7745 |
|
</p> |
7746 |
|
<blockquote class="text"> |
7747 |
|
<p>All instruments will be processed, including those |
7748 |
|
in the subdirectories, but the respective subdirectory |
7749 |
|
structure will not be recreated in the instruments |
7750 |
|
database. All instruments will be added directly in |
7751 |
|
the specified database directory. |
7752 |
|
</p> |
7753 |
|
</blockquote> |
7754 |
|
|
7755 |
|
|
7756 |
|
<p>not supplied - |
7757 |
|
</p> |
7758 |
|
<blockquote class="text"> |
7759 |
|
<p>The subdirectory tree structure will be recreated |
7760 |
|
in the instruments database and all instruments will be |
7761 |
|
processed and added to the respective subdirectory |
7762 |
|
in the instruments database. |
7763 |
|
</p> |
7764 |
|
</blockquote> |
7765 |
|
|
7766 |
|
|
7767 |
|
</blockquote><p> |
7768 |
|
|
7769 |
|
</p> |
7770 |
|
<p>Possible Answers: |
7771 |
|
</p> |
7772 |
|
<p> |
7773 |
|
</p> |
7774 |
|
<blockquote class="text"> |
7775 |
|
<p>"OK" - |
7776 |
|
</p> |
7777 |
|
<blockquote class="text"> |
7778 |
|
<p>on success |
7779 |
|
</p> |
7780 |
|
</blockquote> |
7781 |
|
|
7782 |
|
|
7783 |
|
<p>"ERR:<error-code>:<error-message>" - |
7784 |
|
</p> |
7785 |
|
<blockquote class="text"> |
7786 |
|
<p>if an invalid path is specified. |
7787 |
|
</p> |
7788 |
|
</blockquote> |
7789 |
|
|
7790 |
|
|
7791 |
|
</blockquote><p> |
7792 |
|
|
7793 |
|
</p> |
7794 |
|
<p>Examples: |
7795 |
|
</p> |
7796 |
|
<p> |
7797 |
|
</p> |
7798 |
|
<blockquote class="text"> |
7799 |
|
<p>C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI Bosendorfer 290.gig' 0" |
7800 |
|
</p> |
7801 |
|
<p>S: "OK" |
7802 |
|
</p> |
7803 |
|
</blockquote><p> |
7804 |
|
|
7805 |
|
</p> |
7806 |
|
<a name="REMOVE DB_INSTRUMENT"></a><br /><hr /> |
7807 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7808 |
|
<a name="rfc.section.6.8.10"></a><h3>6.8.10. |
7809 |
|
Removing an instrument</h3> |
7810 |
|
|
7811 |
|
<p>The front-end can remove a particular instrument |
7812 |
|
from the instruments database by sending the following command: |
7813 |
|
</p> |
7814 |
|
<p> |
7815 |
|
</p> |
7816 |
|
<blockquote class="text"> |
7817 |
|
<p>REMOVE DB_INSTRUMENT <instr_path> |
7818 |
|
</p> |
7819 |
|
</blockquote><p> |
7820 |
|
|
7821 |
|
</p> |
7822 |
|
<p>Where <instr_path> is the absolute path name |
7823 |
|
(in the instruments database) of the instrument to remove. |
7824 |
|
</p> |
7825 |
|
<p>Possible Answers: |
7826 |
|
</p> |
7827 |
|
<p> |
7828 |
|
</p> |
7829 |
|
<blockquote class="text"> |
7830 |
|
<p>"OK" - |
7831 |
|
</p> |
7832 |
|
<blockquote class="text"> |
7833 |
|
<p>if the instrument is removed successfully |
7834 |
|
</p> |
7835 |
|
</blockquote> |
7836 |
|
|
7837 |
|
|
7838 |
|
<p>"ERR:<error-code>:<error-message>" - |
7839 |
|
</p> |
7840 |
|
<blockquote class="text"> |
7841 |
|
<p>if the given path does not exist or |
7842 |
|
is a directory. |
7843 |
|
</p> |
7844 |
|
</blockquote> |
7845 |
|
|
7846 |
|
|
7847 |
|
</blockquote><p> |
7848 |
|
|
7849 |
|
</p> |
7850 |
|
<p>Examples: |
7851 |
|
</p> |
7852 |
|
<p> |
7853 |
|
</p> |
7854 |
|
<blockquote class="text"> |
7855 |
|
<p>C: "REMOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290'" |
7856 |
|
</p> |
7857 |
|
<p>S: "OK" |
7858 |
|
</p> |
7859 |
|
</blockquote><p> |
7860 |
|
|
7861 |
|
</p> |
7862 |
|
<a name="GET DB_INSTRUMENTS"></a><br /><hr /> |
7863 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7864 |
|
<a name="rfc.section.6.8.11"></a><h3>6.8.11. |
7865 |
|
Getting amount of instruments</h3> |
7866 |
|
|
7867 |
|
<p>The front-end can retrieve the current amount of |
7868 |
|
instruments in a specific directory by sending the following command: |
7869 |
|
</p> |
7870 |
|
<p> |
7871 |
|
</p> |
7872 |
|
<blockquote class="text"> |
7873 |
|
<p>GET DB_INSTRUMENTS <dir> |
7874 |
|
</p> |
7875 |
|
</blockquote><p> |
7876 |
|
|
7877 |
|
</p> |
7878 |
|
<p>Where <dir> should be replaced by the absolute path name |
7879 |
|
of the directory. |
7880 |
|
</p> |
7881 |
|
<p>Possible Answers: |
7882 |
|
</p> |
7883 |
|
<p> |
7884 |
|
</p> |
7885 |
|
<blockquote class="text"> |
7886 |
|
<p>The current number of instruments |
7887 |
|
in the specified directory. |
7888 |
|
</p> |
7889 |
|
<p>"ERR:<error-code>:<error-message>" - |
7890 |
|
</p> |
7891 |
|
<blockquote class="text"> |
7892 |
|
<p>if the given directory does not exist. |
7893 |
|
</p> |
7894 |
|
</blockquote> |
7895 |
|
|
7896 |
|
|
7897 |
|
</blockquote><p> |
7898 |
|
|
7899 |
|
</p> |
7900 |
|
<p>Example: |
7901 |
|
</p> |
7902 |
|
<p> |
7903 |
|
</p> |
7904 |
|
<blockquote class="text"> |
7905 |
|
<p>C: "GET DB_INSTRUMENTS '/Piano Collection'" |
7906 |
|
</p> |
7907 |
|
<p>S: "2" |
7908 |
|
</p> |
7909 |
|
</blockquote><p> |
7910 |
|
|
7911 |
|
</p> |
7912 |
|
<a name="LIST DB_INSTRUMENTS"></a><br /><hr /> |
7913 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7914 |
|
<a name="rfc.section.6.8.12"></a><h3>6.8.12. |
7915 |
|
Listing all instruments in specific directory</h3> |
7916 |
|
|
7917 |
|
<p>The front-end can retrieve the current list of instruments |
7918 |
|
in specific directory by sending the following command: |
7919 |
|
</p> |
7920 |
|
<p> |
7921 |
|
</p> |
7922 |
|
<blockquote class="text"> |
7923 |
|
<p>LIST DB_INSTRUMENTS <dir> |
7924 |
|
</p> |
7925 |
|
</blockquote><p> |
7926 |
|
|
7927 |
|
</p> |
7928 |
|
<p>Where <dir> should be replaced by the absolute path |
7929 |
|
name of the directory. |
7930 |
|
</p> |
7931 |
|
<p>Possible Answers: |
7932 |
|
</p> |
7933 |
|
<p> |
7934 |
|
</p> |
7935 |
|
<blockquote class="text"> |
7936 |
|
<p>A comma separated list of all instruments |
7937 |
|
(encapsulated into apostrophes) in the specified directory. |
7938 |
|
</p> |
7939 |
|
<p>"ERR:<error-code>:<error-message>" - |
7940 |
|
</p> |
7941 |
|
<blockquote class="text"> |
7942 |
|
<p>if the given directory does not exist. |
7943 |
|
</p> |
7944 |
|
</blockquote> |
7945 |
|
|
7946 |
|
|
7947 |
|
</blockquote><p> |
7948 |
|
|
7949 |
|
</p> |
7950 |
|
<p>Example: |
7951 |
|
</p> |
7952 |
|
<p> |
7953 |
|
</p> |
7954 |
|
<blockquote class="text"> |
7955 |
|
<p>C: "LIST DB_INSTRUMENTS '/Piano Collection'" |
7956 |
|
</p> |
7957 |
|
<p>S: "'Bosendorfer 290','Steinway D'" |
7958 |
|
</p> |
7959 |
|
</blockquote><p> |
7960 |
|
|
7961 |
|
</p> |
7962 |
|
<a name="GET DB_INSTRUMENT INFO"></a><br /><hr /> |
7963 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7964 |
|
<a name="rfc.section.6.8.13"></a><h3>6.8.13. |
7965 |
|
Getting instrument information</h3> |
7966 |
|
|
7967 |
|
<p>The front-end can ask for the current settings of an |
7968 |
|
instrument by sending the following command: |
7969 |
|
</p> |
7970 |
|
<p> |
7971 |
|
</p> |
7972 |
|
<blockquote class="text"> |
7973 |
|
<p>GET DB_INSTRUMENT INFO <instr_path> |
7974 |
|
</p> |
7975 |
|
</blockquote><p> |
7976 |
|
|
7977 |
|
</p> |
7978 |
|
<p>Where <instr_path> should be replaced by the absolute path |
7979 |
|
name of the instrument the front-end is interested in. |
7980 |
|
</p> |
7981 |
|
<p>Possible Answers: |
7982 |
|
</p> |
7983 |
|
<p> |
7984 |
|
</p> |
7985 |
|
<blockquote class="text"> |
7986 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
7987 |
|
Each answer line begins with the settings category name |
7988 |
|
followed by a colon and then a space character <SP> and finally |
7989 |
|
the info character string to that setting category. At the |
7990 |
|
moment the following categories are defined: |
7991 |
|
</p> |
7992 |
|
<p> |
7993 |
|
</p> |
7994 |
|
<blockquote class="text"> |
7995 |
|
<p>INSTRUMENT_FILE - |
7996 |
|
</p> |
7997 |
|
<blockquote class="text"> |
7998 |
|
<p>File name of the instrument. |
7999 |
|
</p> |
8000 |
|
</blockquote> |
8001 |
|
|
8002 |
|
|
8003 |
|
<p>INSTRUMENT_NR - |
8004 |
|
</p> |
8005 |
|
<blockquote class="text"> |
8006 |
|
<p>Index of the instrument within the file. |
8007 |
|
</p> |
8008 |
|
</blockquote> |
8009 |
|
|
8010 |
|
|
8011 |
|
<p>FORMAT_FAMILY - |
8012 |
|
</p> |
8013 |
|
<blockquote class="text"> |
8014 |
|
<p>The format family of the instrument. |
8015 |
|
</p> |
8016 |
|
</blockquote> |
8017 |
|
|
8018 |
|
|
8019 |
|
<p>FORMAT_VERSION - |
8020 |
|
</p> |
8021 |
|
<blockquote class="text"> |
8022 |
|
<p>The format version of the instrument. |
8023 |
|
</p> |
8024 |
|
</blockquote> |
8025 |
|
|
8026 |
|
|
8027 |
|
<p>SIZE - |
8028 |
|
</p> |
8029 |
|
<blockquote class="text"> |
8030 |
|
<p>The size of the instrument in bytes. |
8031 |
|
</p> |
8032 |
|
</blockquote> |
8033 |
|
|
8034 |
|
|
8035 |
|
<p>CREATED - |
8036 |
|
</p> |
8037 |
|
<blockquote class="text"> |
8038 |
|
<p>The date and time when the instrument is added |
8039 |
|
in the instruments database, represented in |
8040 |
|
"YYYY-MM-DD HH:MM:SS" format |
8041 |
|
</p> |
8042 |
|
</blockquote> |
8043 |
|
|
8044 |
|
|
8045 |
|
<p>MODIFIED - |
8046 |
|
</p> |
8047 |
|
<blockquote class="text"> |
8048 |
|
<p>The date and time of the last modification of the |
8049 |
|
instrument's database settings, represented in |
8050 |
|
"YYYY-MM-DD HH:MM:SS" format |
8051 |
|
</p> |
8052 |
|
</blockquote> |
8053 |
|
|
8054 |
|
|
8055 |
|
<p>DESCRIPTION - |
8056 |
|
</p> |
8057 |
|
<blockquote class="text"> |
8058 |
|
<p>A brief description of the instrument |
8059 |
|
</p> |
8060 |
|
</blockquote> |
8061 |
|
|
8062 |
|
|
8063 |
|
<p>IS_DRUM - |
8064 |
|
</p> |
8065 |
|
<blockquote class="text"> |
8066 |
|
<p>either true or false, determines whether the |
8067 |
|
instrument is a drumkit or a chromatic instrument |
8068 |
|
</p> |
8069 |
|
</blockquote> |
8070 |
|
|
8071 |
|
|
8072 |
|
<p>PRODUCT - |
8073 |
|
</p> |
8074 |
|
<blockquote class="text"> |
8075 |
|
<p>The product title of the instrument |
8076 |
|
</p> |
8077 |
|
</blockquote> |
8078 |
|
|
8079 |
|
|
8080 |
|
<p>ARTISTS - |
8081 |
|
</p> |
8082 |
|
<blockquote class="text"> |
8083 |
|
<p>Lists the artist names |
8084 |
|
</p> |
8085 |
|
</blockquote> |
8086 |
|
|
8087 |
|
|
8088 |
|
<p>KEYWORDS - |
8089 |
|
</p> |
8090 |
|
<blockquote class="text"> |
8091 |
|
<p>Provides a list of keywords that refer to the instrument. |
8092 |
|
Keywords are separated with semicolon and blank. |
8093 |
|
</p> |
8094 |
|
</blockquote> |
8095 |
|
|
8096 |
|
|
8097 |
|
</blockquote> |
8098 |
|
|
8099 |
|
|
8100 |
|
</blockquote><p> |
8101 |
|
|
8102 |
|
</p> |
8103 |
|
<p>The mentioned fields above don't have to be in particular order. |
8104 |
|
</p> |
8105 |
|
<p>Example: |
8106 |
|
</p> |
8107 |
|
<p> |
8108 |
|
</p> |
8109 |
|
<blockquote class="text"> |
8110 |
|
<p>C: "GET DB_INSTRUMENT INFO '/Piano Collection/Bosendorfer 290'" |
8111 |
|
</p> |
8112 |
|
<p>S: "INSTRUMENT_FILE: /home/me/gigs/Bosendorfer 290.gig" |
8113 |
|
</p> |
8114 |
|
<p> "INSTRUMENT_NR: 0" |
8115 |
|
</p> |
8116 |
|
<p> "FORMAT_FAMILY: GIG" |
8117 |
|
</p> |
8118 |
|
<p> "FORMAT_VERSION: 2" |
8119 |
|
</p> |
8120 |
|
<p> "SIZE: 2050871870" |
8121 |
|
</p> |
8122 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
8123 |
|
</p> |
8124 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
8125 |
|
</p> |
8126 |
|
<p> "DESCRIPTION: " |
8127 |
|
</p> |
8128 |
|
<p> "IS_DRUM: false" |
8129 |
|
</p> |
8130 |
|
<p> "PRODUCT: GRANDIOSO Bosendorfer 290" |
8131 |
|
</p> |
8132 |
|
<p> "ARTISTS: Post Musical Instruments" |
8133 |
|
</p> |
8134 |
|
<p> "KEYWORDS: Bosendorfer" |
8135 |
|
</p> |
8136 |
|
<p> "." |
8137 |
|
</p> |
8138 |
|
</blockquote><p> |
8139 |
|
|
8140 |
|
</p> |
8141 |
|
<a name="SET DB_INSTRUMENT NAME"></a><br /><hr /> |
8142 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8143 |
|
<a name="rfc.section.6.8.14"></a><h3>6.8.14. |
8144 |
|
Renaming an instrument</h3> |
8145 |
|
|
8146 |
|
<p>The front-end can alter the name of a specific |
8147 |
|
instrument by sending the following command: |
8148 |
|
</p> |
8149 |
|
<p> |
8150 |
|
</p> |
8151 |
|
<blockquote class="text"> |
8152 |
|
<p>SET DB_INSTRUMENT NAME <instr> <name> |
8153 |
|
</p> |
8154 |
|
</blockquote><p> |
8155 |
|
|
8156 |
|
</p> |
8157 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8158 |
|
<name> is the new name for that instrument. |
8159 |
|
</p> |
8160 |
|
<p>Possible Answers: |
8161 |
|
</p> |
8162 |
|
<p> |
8163 |
|
</p> |
8164 |
|
<blockquote class="text"> |
8165 |
|
<p>"OK" - |
8166 |
|
</p> |
8167 |
|
<blockquote class="text"> |
8168 |
|
<p>on success |
8169 |
|
</p> |
8170 |
|
</blockquote> |
8171 |
|
|
8172 |
|
|
8173 |
|
<p>"ERR:<error-code>:<error-message>" - |
8174 |
|
</p> |
8175 |
|
<blockquote class="text"> |
8176 |
|
<p>in case the given instrument does not exists, |
8177 |
|
or if an instrument with name equal to the new |
8178 |
|
name already exists. |
8179 |
|
</p> |
8180 |
|
</blockquote> |
8181 |
|
|
8182 |
|
|
8183 |
|
</blockquote><p> |
8184 |
|
|
8185 |
|
</p> |
8186 |
|
<p>Example: |
8187 |
|
</p> |
8188 |
|
<p> |
8189 |
|
</p> |
8190 |
|
<blockquote class="text"> |
8191 |
|
<p>C: "SET DB_INSTRUMENT NAME '/Piano Collection/Bosendorfer' 'Bosendorfer 290'" |
8192 |
|
</p> |
8193 |
|
<p>S: "OK" |
8194 |
|
</p> |
8195 |
|
</blockquote><p> |
8196 |
|
|
8197 |
|
</p> |
8198 |
|
<a name="MOVE DB_INSTRUMENT"></a><br /><hr /> |
8199 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8200 |
|
<a name="rfc.section.6.8.15"></a><h3>6.8.15. |
8201 |
|
Moving an instrument</h3> |
8202 |
|
|
8203 |
|
<p>The front-end can move a specific instrument to another directory by |
8204 |
|
sending the following command: |
8205 |
|
</p> |
8206 |
|
<p> |
8207 |
|
</p> |
8208 |
|
<blockquote class="text"> |
8209 |
|
<p>MOVE DB_INSTRUMENT <instr> <dst> |
8210 |
|
</p> |
8211 |
|
</blockquote><p> |
8212 |
|
|
8213 |
|
</p> |
8214 |
|
<p>Where <instr> is the absolute path name of the instrument |
8215 |
|
to move and <dst> is the directory where the instrument will |
8216 |
|
be moved to. |
8217 |
|
</p> |
8218 |
|
<p>Possible Answers: |
8219 |
|
</p> |
8220 |
|
<p> |
8221 |
|
</p> |
8222 |
|
<blockquote class="text"> |
8223 |
|
<p>"OK" - |
8224 |
|
</p> |
8225 |
|
<blockquote class="text"> |
8226 |
|
<p>on success |
8227 |
|
</p> |
8228 |
|
</blockquote> |
8229 |
|
|
8230 |
|
|
8231 |
|
<p>"ERR:<error-code>:<error-message>" - |
8232 |
|
</p> |
8233 |
|
<blockquote class="text"> |
8234 |
|
<p>in case the given instrument does not exists, |
8235 |
|
or if an instrument with name equal to the name of the |
8236 |
|
specified instrument already exists in the destination |
8237 |
|
directory. |
8238 |
|
</p> |
8239 |
|
</blockquote> |
8240 |
|
|
8241 |
|
|
8242 |
|
</blockquote><p> |
8243 |
|
|
8244 |
|
</p> |
8245 |
|
<p>Example: |
8246 |
|
</p> |
8247 |
|
<p> |
8248 |
|
</p> |
8249 |
|
<blockquote class="text"> |
8250 |
|
<p>C: "MOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Piano Collection/Acoustic'" |
8251 |
|
</p> |
8252 |
|
<p>S: "OK" |
8253 |
|
</p> |
8254 |
|
</blockquote><p> |
8255 |
|
|
8256 |
|
</p> |
8257 |
|
<a name="SET DB_INSTRUMENT DESCRIPTION"></a><br /><hr /> |
8258 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8259 |
|
<a name="rfc.section.6.8.16"></a><h3>6.8.16. |
8260 |
|
Changing the description of instrument</h3> |
8261 |
|
|
8262 |
|
<p>The front-end can alter the description of a specific |
8263 |
|
instrument by sending the following command: |
8264 |
|
</p> |
8265 |
|
<p> |
8266 |
|
</p> |
8267 |
|
<blockquote class="text"> |
8268 |
|
<p>SET DB_INSTRUMENT DESCRIPTION <instr> <desc> |
8269 |
|
</p> |
8270 |
|
</blockquote><p> |
8271 |
|
|
8272 |
|
</p> |
8273 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8274 |
|
<desc> is the new description for the instrument. |
8275 |
|
</p> |
8276 |
|
<p>Possible Answers: |
8277 |
|
</p> |
8278 |
|
<p> |
8279 |
|
</p> |
8280 |
|
<blockquote class="text"> |
8281 |
|
<p>"OK" - |
8282 |
|
</p> |
8283 |
|
<blockquote class="text"> |
8284 |
|
<p>on success |
8285 |
|
</p> |
8286 |
|
</blockquote> |
8287 |
|
|
8288 |
|
|
8289 |
|
<p>"ERR:<error-code>:<error-message>" - |
8290 |
|
</p> |
8291 |
|
<blockquote class="text"> |
8292 |
|
<p>in case the given instrument does not exists. |
8293 |
|
</p> |
8294 |
|
</blockquote> |
8295 |
|
|
8296 |
|
|
8297 |
|
</blockquote><p> |
8298 |
|
|
8299 |
|
</p> |
8300 |
|
<p>Example: |
8301 |
|
</p> |
8302 |
|
<p> |
8303 |
|
</p> |
8304 |
|
<blockquote class="text"> |
8305 |
|
<p>C: "SET DB_INSTRUMENT DESCRIPTION '/Piano Collection/Acoustic/Bosendorfer 290' 'No comment :)'" |
8306 |
|
</p> |
8307 |
|
<p>S: "OK" |
8308 |
|
</p> |
8309 |
|
</blockquote><p> |
8310 |
|
|
8311 |
|
</p> |
8312 |
<a name="command_syntax"></a><br /><hr /> |
<a name="command_syntax"></a><br /><hr /> |
8313 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8314 |
<a name="rfc.section.7"></a><h3>7. |
<a name="rfc.section.7"></a><h3>7. |
8409 |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
8410 |
|
|
8411 |
</p> |
</p> |
|
<p>/ SELECT SP text |
|
|
|
|
|
</p> |
|
8412 |
<p>/ RESET SP reset_instruction |
<p>/ RESET SP reset_instruction |
8413 |
|
|
8414 |
</p> |
</p> |
8415 |
<p>/ CLEAR SP clear_instruction |
<p>/ CLEAR SP clear_instruction |
8416 |
|
|
8417 |
</p> |
</p> |
8418 |
|
<p>/ MOVE SP move_instruction |
8419 |
|
|
8420 |
|
</p> |
8421 |
<p>/ RESET |
<p>/ RESET |
8422 |
|
|
8423 |
</p> |
</p> |
8433 |
<p>CHANNEL |
<p>CHANNEL |
8434 |
|
|
8435 |
</p> |
</p> |
8436 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP pathname |
8437 |
|
|
8438 |
|
</p> |
8439 |
|
<p>/ DB_INSTRUMENTS SP FLAT SP pathname SP pathname |
8440 |
|
|
8441 |
|
</p> |
8442 |
|
<p>/ DB_INSTRUMENTS SP NON_RECURSIVE SP pathname SP pathname |
8443 |
|
|
8444 |
|
</p> |
8445 |
|
<p>/ DB_INSTRUMENTS SP pathname SP pathname |
8446 |
|
|
8447 |
|
</p> |
8448 |
|
<p>/ DB_INSTRUMENTS SP pathname SP pathname SP instrument_index |
8449 |
|
|
8450 |
|
</p> |
8451 |
<p>/ MIDI_INSTRUMENT_MAP |
<p>/ MIDI_INSTRUMENT_MAP |
8452 |
|
|
8453 |
</p> |
</p> |
8487 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
8488 |
|
|
8489 |
</p> |
</p> |
8490 |
|
<p>/ FX_SEND_COUNT |
8491 |
|
|
8492 |
|
</p> |
8493 |
|
<p>/ FX_SEND_INFO |
8494 |
|
|
8495 |
|
</p> |
8496 |
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
8497 |
|
|
8498 |
</p> |
</p> |
8505 |
<p>/ MIDI_INSTRUMENT_INFO |
<p>/ MIDI_INSTRUMENT_INFO |
8506 |
|
|
8507 |
</p> |
</p> |
8508 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
8509 |
|
|
8510 |
|
</p> |
8511 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
8512 |
|
|
8513 |
|
</p> |
8514 |
|
<p>/ DB_INSTRUMENT_COUNT |
8515 |
|
|
8516 |
|
</p> |
8517 |
|
<p>/ DB_INSTRUMENT_INFO |
8518 |
|
|
8519 |
|
</p> |
8520 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
8521 |
|
|
8522 |
</p> |
</p> |
8523 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
8524 |
|
|
8525 |
</p> |
</p> |
8526 |
|
<p>/ GLOBAL_INFO |
8527 |
|
|
8528 |
|
</p> |
8529 |
</blockquote><p> |
</blockquote><p> |
8530 |
|
|
8531 |
</p> |
</p> |
8559 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
8560 |
|
|
8561 |
</p> |
</p> |
8562 |
|
<p>/ FX_SEND_COUNT |
8563 |
|
|
8564 |
|
</p> |
8565 |
|
<p>/ FX_SEND_INFO |
8566 |
|
|
8567 |
|
</p> |
8568 |
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
8569 |
|
|
8570 |
</p> |
</p> |
8577 |
<p>/ MIDI_INSTRUMENT_INFO |
<p>/ MIDI_INSTRUMENT_INFO |
8578 |
|
|
8579 |
</p> |
</p> |
8580 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
8581 |
|
|
8582 |
|
</p> |
8583 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
8584 |
|
|
8585 |
|
</p> |
8586 |
|
<p>/ DB_INSTRUMENT_COUNT |
8587 |
|
|
8588 |
|
</p> |
8589 |
|
<p>/ DB_INSTRUMENT_INFO |
8590 |
|
|
8591 |
|
</p> |
8592 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
8593 |
|
|
8594 |
</p> |
</p> |
8595 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
8596 |
|
|
8597 |
</p> |
</p> |
8598 |
|
<p>/ GLOBAL_INFO |
8599 |
|
|
8600 |
|
</p> |
8601 |
</blockquote><p> |
</blockquote><p> |
8602 |
|
|
8603 |
</p> |
</p> |
8604 |
<p>map_instruction = |
<p>map_instruction = |
8605 |
</p> |
</p> |
8606 |
<blockquote class="text"> |
<blockquote class="text"> |
8607 |
<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 |
8608 |
|
|
8609 |
</p> |
</p> |
8610 |
<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 |
8611 |
|
|
8612 |
</p> |
</p> |
8613 |
<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 |
8614 |
|
|
8615 |
</p> |
</p> |
8616 |
<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 |
8617 |
|
|
8618 |
</p> |
</p> |
8619 |
</blockquote><p> |
</blockquote><p> |
8640 |
<p>/ MIDI_INSTRUMENT_MAP SP ALL |
<p>/ MIDI_INSTRUMENT_MAP SP ALL |
8641 |
|
|
8642 |
</p> |
</p> |
8643 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP pathname |
8644 |
|
|
8645 |
|
</p> |
8646 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP pathname |
8647 |
|
|
8648 |
|
</p> |
8649 |
|
<p>/ DB_INSTRUMENT SP pathname |
8650 |
|
|
8651 |
|
</p> |
8652 |
</blockquote><p> |
</blockquote><p> |
8653 |
|
|
8654 |
</p> |
</p> |
8754 |
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
8755 |
|
|
8756 |
</p> |
</p> |
8757 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP pathname |
8758 |
|
|
8759 |
|
</p> |
8760 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP INFO SP pathname |
8761 |
|
|
8762 |
|
</p> |
8763 |
|
<p>/ DB_INSTRUMENTS SP pathname |
8764 |
|
|
8765 |
|
</p> |
8766 |
|
<p>/ DB_INSTRUMENT SP INFO SP pathname |
8767 |
|
|
8768 |
|
</p> |
8769 |
<p>/ VOLUME |
<p>/ VOLUME |
8770 |
|
|
8771 |
</p> |
</p> |
8793 |
<p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
<p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
8794 |
|
|
8795 |
</p> |
</p> |
8796 |
|
<p>/ FX_SEND SP NAME SP sampler_channel SP fx_send_id SP fx_send_name |
8797 |
|
|
8798 |
|
</p> |
8799 |
<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 |
8800 |
|
|
8801 |
</p> |
</p> |
8805 |
<p>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
<p>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
8806 |
|
|
8807 |
</p> |
</p> |
8808 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP NAME SP pathname SP dirname |
8809 |
|
|
8810 |
|
</p> |
8811 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP pathname SP stringval |
8812 |
|
|
8813 |
|
</p> |
8814 |
|
<p>/ DB_INSTRUMENT SP NAME SP pathname SP dirname |
8815 |
|
|
8816 |
|
</p> |
8817 |
|
<p>/ DB_INSTRUMENT SP DESCRIPTION SP pathname SP stringval |
8818 |
|
|
8819 |
|
</p> |
8820 |
<p>/ ECHO SP boolean |
<p>/ ECHO SP boolean |
8821 |
|
|
8822 |
</p> |
</p> |
8871 |
</blockquote><p> |
</blockquote><p> |
8872 |
|
|
8873 |
</p> |
</p> |
8874 |
|
<p>move_instruction = |
8875 |
|
</p> |
8876 |
|
<blockquote class="text"> |
8877 |
|
<p>DB_INSTRUMENT_DIRECTORY SP pathname SP pathname |
8878 |
|
|
8879 |
|
</p> |
8880 |
|
<p>/ DB_INSTRUMENT SP pathname SP pathname |
8881 |
|
|
8882 |
|
</p> |
8883 |
|
</blockquote><p> |
8884 |
|
|
8885 |
|
</p> |
8886 |
<p>destroy_instruction = |
<p>destroy_instruction = |
8887 |
</p> |
</p> |
8888 |
<blockquote class="text"> |
<blockquote class="text"> |
8958 |
</blockquote><p> |
</blockquote><p> |
8959 |
|
|
8960 |
</p> |
</p> |
8961 |
|
<p>modal_arg = |
8962 |
|
</p> |
8963 |
|
<blockquote class="text"> |
8964 |
|
<p>/* epsilon (empty argument) */ |
8965 |
|
|
8966 |
|
</p> |
8967 |
|
<p>/ NON_MODAL SP |
8968 |
|
|
8969 |
|
</p> |
8970 |
|
</blockquote><p> |
8971 |
|
|
8972 |
|
</p> |
8973 |
<p>key_val_list = |
<p>key_val_list = |
8974 |
</p> |
</p> |
8975 |
<blockquote class="text"> |
<blockquote class="text"> |
9027 |
<p>/ FX_SENDS SP sampler_channel |
<p>/ FX_SENDS SP sampler_channel |
9028 |
|
|
9029 |
</p> |
</p> |
9030 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP pathname |
9031 |
|
|
9032 |
|
</p> |
9033 |
|
<p>/ DB_INSTRUMENTS SP pathname |
9034 |
|
|
9035 |
|
</p> |
9036 |
</blockquote><p> |
</blockquote><p> |
9037 |
|
|
9038 |
</p> |
</p> |
9213 |
</blockquote><p> |
</blockquote><p> |
9214 |
|
|
9215 |
</p> |
</p> |
9216 |
|
<p>pathname = |
9217 |
|
</p> |
9218 |
|
<blockquote class="text"> |
9219 |
|
<p>stringval |
9220 |
|
|
9221 |
|
</p> |
9222 |
|
</blockquote><p> |
9223 |
|
|
9224 |
|
</p> |
9225 |
|
<p>dirname = |
9226 |
|
</p> |
9227 |
|
<blockquote class="text"> |
9228 |
|
<p>stringval |
9229 |
|
|
9230 |
|
</p> |
9231 |
|
</blockquote><p> |
9232 |
|
|
9233 |
|
</p> |
9234 |
<p>filename = |
<p>filename = |
9235 |
</p> |
</p> |
9236 |
<blockquote class="text"> |
<blockquote class="text"> |
9478 |
<p> |
<p> |
9479 |
</p> |
</p> |
9480 |
<blockquote class="text"> |
<blockquote class="text"> |
9481 |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices> |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices>" |
9482 |
</p> |
</p> |
9483 |
</blockquote><p> |
</blockquote><p> |
9484 |
|
|
9581 |
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 |
9582 |
message is sufficient here. |
message is sufficient here. |
9583 |
</p> |
</p> |
9584 |
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE FX_SEND_COUNT"></a><br /><hr /> |
9585 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9586 |
<a name="rfc.section.8.10"></a><h3>8.10. |
<a name="rfc.section.8.10"></a><h3>8.10. |
9587 |
|
Number of effect sends changed</h3> |
9588 |
|
|
9589 |
|
<p>Client may want to be notified when the number of effect sends on |
9590 |
|
a particular sampler channel is changed by issuing the following command: |
9591 |
|
</p> |
9592 |
|
<p> |
9593 |
|
</p> |
9594 |
|
<blockquote class="text"> |
9595 |
|
<p>SUBSCRIBE FX_SEND_COUNT |
9596 |
|
</p> |
9597 |
|
</blockquote><p> |
9598 |
|
|
9599 |
|
</p> |
9600 |
|
<p>Server will start sending the following notification messages: |
9601 |
|
</p> |
9602 |
|
<p> |
9603 |
|
</p> |
9604 |
|
<blockquote class="text"> |
9605 |
|
<p>"NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>" |
9606 |
|
</p> |
9607 |
|
</blockquote><p> |
9608 |
|
|
9609 |
|
</p> |
9610 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
9611 |
|
channel, on which the effect sends number is changed and <fx-sends> will |
9612 |
|
be replaced by the new number of effect sends on that channel. |
9613 |
|
</p> |
9614 |
|
<a name="SUBSCRIBE FX_SEND_INFO"></a><br /><hr /> |
9615 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9616 |
|
<a name="rfc.section.8.11"></a><h3>8.11. |
9617 |
|
Effect send information changed</h3> |
9618 |
|
|
9619 |
|
<p>Client may want to be notified when changes were made to effect sends on a |
9620 |
|
a particular sampler channel by issuing the following command: |
9621 |
|
</p> |
9622 |
|
<p> |
9623 |
|
</p> |
9624 |
|
<blockquote class="text"> |
9625 |
|
<p>SUBSCRIBE FX_SEND_INFO |
9626 |
|
</p> |
9627 |
|
</blockquote><p> |
9628 |
|
|
9629 |
|
</p> |
9630 |
|
<p>Server will start sending the following notification messages: |
9631 |
|
</p> |
9632 |
|
<p> |
9633 |
|
</p> |
9634 |
|
<blockquote class="text"> |
9635 |
|
<p>"NOTIFY:FX_SEND_INFO:<channel-id> <fx-send-id>" |
9636 |
|
</p> |
9637 |
|
</blockquote><p> |
9638 |
|
|
9639 |
|
</p> |
9640 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
9641 |
|
channel, on which an effect send entity is changed and <fx-send-id> will |
9642 |
|
be replaced by the numerical ID of the changed effect send. |
9643 |
|
</p> |
9644 |
|
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
9645 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9646 |
|
<a name="rfc.section.8.12"></a><h3>8.12. |
9647 |
Total number of active voices changed</h3> |
Total number of active voices changed</h3> |
9648 |
|
|
9649 |
<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 |
9662 |
<p> |
<p> |
9663 |
</p> |
</p> |
9664 |
<blockquote class="text"> |
<blockquote class="text"> |
9665 |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices> |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices>" |
9666 |
</p> |
</p> |
9667 |
</blockquote><p> |
</blockquote><p> |
9668 |
|
|
9672 |
</p> |
</p> |
9673 |
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr /> |
9674 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9675 |
<a name="rfc.section.8.11"></a><h3>8.11. |
<a name="rfc.section.8.13"></a><h3>8.13. |
9676 |
Number of MIDI instrument maps changed</h3> |
Number of MIDI instrument maps changed</h3> |
9677 |
|
|
9678 |
<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 |
9701 |
</p> |
</p> |
9702 |
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr /> |
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr /> |
9703 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9704 |
<a name="rfc.section.8.12"></a><h3>8.12. |
<a name="rfc.section.8.14"></a><h3>8.14. |
9705 |
MIDI instrument map information changed</h3> |
MIDI instrument map information changed</h3> |
9706 |
|
|
9707 |
<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 |
9734 |
</p> |
</p> |
9735 |
<a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr /> |
9736 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9737 |
<a name="rfc.section.8.13"></a><h3>8.13. |
<a name="rfc.section.8.15"></a><h3>8.15. |
9738 |
Number of MIDI instruments changed</h3> |
Number of MIDI instruments changed</h3> |
9739 |
|
|
9740 |
<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 |
9764 |
</p> |
</p> |
9765 |
<a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr /> |
<a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr /> |
9766 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9767 |
<a name="rfc.section.8.14"></a><h3>8.14. |
<a name="rfc.section.8.16"></a><h3>8.16. |
9768 |
MIDI instrument information changed</h3> |
MIDI instrument information changed</h3> |
9769 |
|
|
9770 |
<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 |
9796 |
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 |
9797 |
message is sufficient here. |
message is sufficient here. |
9798 |
</p> |
</p> |
9799 |
|
<a name="SUBSCRIBE GLOBAL_INFO"></a><br /><hr /> |
9800 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9801 |
|
<a name="rfc.section.8.17"></a><h3>8.17. |
9802 |
|
Global settings changed</h3> |
9803 |
|
|
9804 |
|
<p>Client may want to be notified when changes to the global settings |
9805 |
|
of the sampler were made by issuing the following command: |
9806 |
|
</p> |
9807 |
|
<p> |
9808 |
|
</p> |
9809 |
|
<blockquote class="text"> |
9810 |
|
<p>SUBSCRIBE GLOBAL_INFO |
9811 |
|
</p> |
9812 |
|
</blockquote><p> |
9813 |
|
|
9814 |
|
</p> |
9815 |
|
<p>Server will start sending the following types of notification messages: |
9816 |
|
</p> |
9817 |
|
<p> |
9818 |
|
</p> |
9819 |
|
<blockquote class="text"> |
9820 |
|
<p>"NOTIFY:GLOBAL_INFO:VOLUME <volume>" - Notifies that the |
9821 |
|
golbal volume of the sampler is changed, where <volume> will be |
9822 |
|
replaced by the optional dotted floating point value, reflecting the |
9823 |
|
new global volume parameter. |
9824 |
|
</p> |
9825 |
|
</blockquote><p> |
9826 |
|
|
9827 |
|
</p> |
9828 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT"></a><br /><hr /> |
9829 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9830 |
|
<a name="rfc.section.8.18"></a><h3>8.18. |
9831 |
|
Number of database instrument directories changed</h3> |
9832 |
|
|
9833 |
|
<p>Client may want to be notified when the number of instrument |
9834 |
|
directories in a particular directory in the instruments database |
9835 |
|
is changed by issuing the following command: |
9836 |
|
</p> |
9837 |
|
<p> |
9838 |
|
</p> |
9839 |
|
<blockquote class="text"> |
9840 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT |
9841 |
|
</p> |
9842 |
|
</blockquote><p> |
9843 |
|
|
9844 |
|
</p> |
9845 |
|
<p>Server will start sending the following notification messages: |
9846 |
|
</p> |
9847 |
|
<p> |
9848 |
|
</p> |
9849 |
|
<blockquote class="text"> |
9850 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>" |
9851 |
|
</p> |
9852 |
|
</blockquote><p> |
9853 |
|
|
9854 |
|
</p> |
9855 |
|
<p>where <dir-path> will be replaced by the absolute path |
9856 |
|
name of the directory in the instruments database, |
9857 |
|
in which the number of directories is changed. |
9858 |
|
</p> |
9859 |
|
<p>Note that when a non-empty directory is removed, this event |
9860 |
|
is not sent for the subdirectories in that directory. |
9861 |
|
</p> |
9862 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO"></a><br /><hr /> |
9863 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9864 |
|
<a name="rfc.section.8.19"></a><h3>8.19. |
9865 |
|
Database instrument directory information changed</h3> |
9866 |
|
|
9867 |
|
<p>Client may want to be notified when changes were made to directories |
9868 |
|
in the instruments database by issuing the following command: |
9869 |
|
</p> |
9870 |
|
<p> |
9871 |
|
</p> |
9872 |
|
<blockquote class="text"> |
9873 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO |
9874 |
|
</p> |
9875 |
|
</blockquote><p> |
9876 |
|
|
9877 |
|
</p> |
9878 |
|
<p>Server will start sending the following notification messages: |
9879 |
|
</p> |
9880 |
|
<p> |
9881 |
|
</p> |
9882 |
|
<blockquote class="text"> |
9883 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:<dir-path>" |
9884 |
|
</p> |
9885 |
|
</blockquote><p> |
9886 |
|
|
9887 |
|
</p> |
9888 |
|
<p>where <dir-path> will be replaced by the absolute path name |
9889 |
|
of the directory, for which information changes occurred. The front-end will have to send |
9890 |
|
the respective command to actually get the updated directory info. Because these messages |
9891 |
|
will be triggered by LSCP commands issued by other clients rather than real |
9892 |
|
time events happening on the server, it is believed that an empty notification |
9893 |
|
message is sufficient here. |
9894 |
|
</p> |
9895 |
|
<p> |
9896 |
|
</p> |
9897 |
|
<blockquote class="text"> |
9898 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:NAME <old-dir-path> <new-name>" |
9899 |
|
</p> |
9900 |
|
</blockquote><p> |
9901 |
|
|
9902 |
|
</p> |
9903 |
|
<p>where <old-dir-path> is the old absolute path name of the directory |
9904 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
9905 |
|
the new name of the directory, encapsulated into apostrophes. |
9906 |
|
</p> |
9907 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_COUNT"></a><br /><hr /> |
9908 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9909 |
|
<a name="rfc.section.8.20"></a><h3>8.20. |
9910 |
|
Number of database instruments changed</h3> |
9911 |
|
|
9912 |
|
<p>Client may want to be notified when the number of instruments |
9913 |
|
in a particular directory in the instruments database |
9914 |
|
is changed by issuing the following command: |
9915 |
|
</p> |
9916 |
|
<p> |
9917 |
|
</p> |
9918 |
|
<blockquote class="text"> |
9919 |
|
<p>SUBSCRIBE DB_INSTRUMENT_COUNT |
9920 |
|
</p> |
9921 |
|
</blockquote><p> |
9922 |
|
|
9923 |
|
</p> |
9924 |
|
<p>Server will start sending the following notification messages: |
9925 |
|
</p> |
9926 |
|
<p> |
9927 |
|
</p> |
9928 |
|
<blockquote class="text"> |
9929 |
|
<p>"NOTIFY:DB_INSTRUMENT_COUNT:<dir-path>" |
9930 |
|
</p> |
9931 |
|
</blockquote><p> |
9932 |
|
|
9933 |
|
</p> |
9934 |
|
<p>where <dir-path> will be replaced by the absolute path |
9935 |
|
name of the directory in the instruments database, |
9936 |
|
in which the number of instruments is changed. |
9937 |
|
</p> |
9938 |
|
<p>Note that when a non-empty directory is removed, this event |
9939 |
|
is not sent for the instruments in that directory. |
9940 |
|
</p> |
9941 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_INFO"></a><br /><hr /> |
9942 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9943 |
|
<a name="rfc.section.8.21"></a><h3>8.21. |
9944 |
|
Database instrument information changed</h3> |
9945 |
|
|
9946 |
|
<p>Client may want to be notified when changes were made to instruments |
9947 |
|
in the instruments database by issuing the following command: |
9948 |
|
</p> |
9949 |
|
<p> |
9950 |
|
</p> |
9951 |
|
<blockquote class="text"> |
9952 |
|
<p>SUBSCRIBE DB_INSTRUMENT_INFO |
9953 |
|
</p> |
9954 |
|
</blockquote><p> |
9955 |
|
|
9956 |
|
</p> |
9957 |
|
<p>Server will start sending the following notification messages: |
9958 |
|
</p> |
9959 |
|
<p> |
9960 |
|
</p> |
9961 |
|
<blockquote class="text"> |
9962 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:<instr-path>" |
9963 |
|
</p> |
9964 |
|
</blockquote><p> |
9965 |
|
|
9966 |
|
</p> |
9967 |
|
<p>where <instr-path> will be replaced by the absolute path name |
9968 |
|
of the instrument, which settings are changed. The front-end will have to send |
9969 |
|
the respective command to actually get the updated directory info. Because these messages |
9970 |
|
will be triggered by LSCP commands issued by other clients rather than real |
9971 |
|
time events happening on the server, it is believed that an empty notification |
9972 |
|
message is sufficient here. |
9973 |
|
</p> |
9974 |
|
<p> |
9975 |
|
</p> |
9976 |
|
<blockquote class="text"> |
9977 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>" |
9978 |
|
</p> |
9979 |
|
</blockquote><p> |
9980 |
|
|
9981 |
|
</p> |
9982 |
|
<p>where <old-instr-path> is the old absolute path name of the instrument |
9983 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
9984 |
|
the new name of the instrument, encapsulated into apostrophes. |
9985 |
|
</p> |
9986 |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
9987 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9988 |
<a name="rfc.section.8.15"></a><h3>8.15. |
<a name="rfc.section.8.22"></a><h3>8.22. |
9989 |
Miscellaneous and debugging events</h3> |
Miscellaneous and debugging events</h3> |
9990 |
|
|
9991 |
<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 |
10080 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10081 |
<h3>Full Copyright Statement</h3> |
<h3>Full Copyright Statement</h3> |
10082 |
<p class='copyright'> |
<p class='copyright'> |
10083 |
Copyright © The Internet Society (2007).</p> |
Copyright © The IETF Trust (2007).</p> |
10084 |
<p class='copyright'> |
<p class='copyright'> |
10085 |
This document is subject to the rights, |
This document is subject to the rights, |
10086 |
licenses and restrictions contained in BCP 78, |
licenses and restrictions contained in BCP 78, |
10089 |
<p class='copyright'> |
<p class='copyright'> |
10090 |
This document and the information contained herein are provided |
This document and the information contained herein are provided |
10091 |
on an “AS IS” basis and THE CONTRIBUTOR, |
on an “AS IS” basis and THE CONTRIBUTOR, |
10092 |
THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), |
THE ORGANIZATION HE/SHE REPRESENTS |
10093 |
THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM |
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST |
10094 |
ALL WARRANTIES, |
AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, |
10095 |
EXPRESS OR IMPLIED, |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT |
10096 |
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 |
10097 |
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED |
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR |
10098 |
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</p> |
PURPOSE.</p> |
10099 |
<h3>Intellectual Property</h3> |
<h3>Intellectual Property</h3> |
10100 |
<p class='copyright'> |
<p class='copyright'> |
10101 |
The IETF takes no position regarding the validity or scope of any |
The IETF takes no position regarding the validity or scope of any |