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.30 (http://xml.resource.org/)"> |
<meta name="generator" content="xml2rfc v1.33 (http://xml.resource.org/)"> |
7 |
<style type='text/css'> |
<style type='text/css'><!-- |
8 |
<!-- |
body { |
9 |
body { |
font-family: verdana, charcoal, helvetica, arial, sans-serif; |
10 |
font-family: verdana, charcoal, helvetica, arial, sans-serif; |
font-size: small; color: #000; background-color: #FFF; |
11 |
margin: 2em; |
margin: 2em; |
|
font-size: small ; color: #000000 ; background-color: #ffffff ; } |
|
|
.title { color: #990000; font-size: x-large ; |
|
|
font-weight: bold; text-align: right; |
|
|
font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif; |
|
|
background-color: transparent; } |
|
|
.filename { color: #666666; font-size: 18px; line-height: 28px; |
|
|
font-weight: bold; text-align: right; |
|
|
font-family: helvetica, arial, sans-serif; |
|
|
background-color: transparent; } |
|
|
td.rfcbug { background-color: #000000 ; width: 30px ; height: 30px ; |
|
|
text-align: justify; vertical-align: middle ; padding-top: 2px ; } |
|
|
td.rfcbug span.RFC { color: #666666; font-weight: bold; text-decoration: none; |
|
|
background-color: #000000 ; |
|
|
font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif; |
|
|
font-size: x-small ; } |
|
|
td.rfcbug span.hotText { color: #ffffff; font-weight: normal; text-decoration: none; |
|
|
text-align: center ; |
|
|
font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif; |
|
|
font-size: x-small ; background-color: #000000; } |
|
|
/* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */ |
|
|
div#counter{margin-top: 100px} |
|
|
|
|
|
a.info{ |
|
|
position:relative; /*this is the key*/ |
|
|
z-index:24; |
|
|
text-decoration:none} |
|
|
|
|
|
a.info:hover{z-index:25; background-color:#990000 ; color: #ffffff ;} |
|
|
|
|
|
a.info span{display: none} |
|
|
|
|
|
a.info:hover span.info{ /*the span will display just on :hover state*/ |
|
|
display:block; |
|
|
position:absolute; |
|
|
font-size: smaller ; |
|
|
top:2em; left:2em; width:15em; |
|
|
padding: 2px ; |
|
|
border:1px solid #333333; |
|
|
background-color:#eeeeee; color:#990000; |
|
|
text-align: left ;} |
|
|
|
|
|
A { font-weight: bold; } |
|
|
A:link { color: #990000; background-color: transparent ; } |
|
|
A:visited { color: #333333; background-color: transparent ; } |
|
|
A:active { color: #333333; background-color: transparent ; } |
|
|
|
|
|
p { margin-left: 2em; margin-right: 2em; } |
|
|
p.copyright { font-size: x-small ; } |
|
|
p.toc { font-size: small ; font-weight: bold ; margin-left: 3em ;} |
|
|
table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; } |
|
|
td.toc { font-size: small; font-weight: bold; vertical-align: text-top; } |
|
|
|
|
|
span.emph { font-style: italic; } |
|
|
span.strong { font-weight: bold; } |
|
|
span.verb, span.vbare { font-family: "Courier New", Courier, monospace ; } |
|
|
|
|
|
span.vemph { font-style: italic; font-family: "Courier New", Courier, monospace ; } |
|
|
span.vstrong { font-weight: bold; font-family: "Courier New", Courier, monospace ; } |
|
|
span.vdeluxe { font-weight: bold; font-style: italic; font-family: "Courier New", Courier, monospace ; } |
|
|
|
|
|
ol.text { margin-left: 2em; margin-right: 2em; } |
|
|
ul.text { margin-left: 2em; margin-right: 2em; } |
|
|
li { margin-left: 3em; } |
|
|
|
|
|
pre { margin-left: 3em; color: #333333; background-color: transparent; |
|
|
font-family: "Courier New", Courier, monospace ; font-size: small ; |
|
|
text-align: left; |
|
12 |
} |
} |
13 |
|
h1, h2, h3, h4, h5, h6 { |
14 |
|
font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif; |
15 |
|
font-weight: bold; font-style: normal; |
16 |
|
} |
17 |
|
h1 { color: #900; background-color: transparent; text-align: right; } |
18 |
|
h3 { color: #333; background-color: transparent; } |
19 |
|
|
20 |
|
td.RFCbug { |
21 |
|
font-size: x-small; text-decoration: none; |
22 |
|
width: 30px; height: 30px; padding-top: 2px; |
23 |
|
text-align: justify; vertical-align: middle; |
24 |
|
background-color: #000; |
25 |
|
} |
26 |
|
td.RFCbug span.RFC { |
27 |
|
font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif; |
28 |
|
font-weight: bold; color: #666; |
29 |
|
} |
30 |
|
td.RFCbug span.hotText { |
31 |
|
font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif; |
32 |
|
font-weight: normal; text-align: center; color: #FFF; |
33 |
|
} |
34 |
|
|
35 |
|
table.TOCbug { width: 30px; height: 15px; } |
36 |
|
td.TOCbug { |
37 |
|
text-align: center; width: 30px; height: 15px; |
38 |
|
color: #FFF; background-color: #900; |
39 |
|
} |
40 |
|
td.TOCbug a { |
41 |
|
font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif; |
42 |
|
font-weight: bold; font-size: x-small; text-decoration: none; |
43 |
|
color: #FFF; background-color: transparent; |
44 |
|
} |
45 |
|
|
46 |
|
td.header { |
47 |
|
font-family: arial, helvetica, sans-serif; font-size: x-small; |
48 |
|
vertical-align: top; width: 33%; |
49 |
|
color: #FFF; background-color: #666; |
50 |
|
} |
51 |
|
td.author { font-weight: bold; font-size: x-small; margin-left: 4em; } |
52 |
|
td.author-text { font-size: x-small; } |
53 |
|
|
54 |
|
/* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */ |
55 |
|
a.info { |
56 |
|
/* This is the key. */ |
57 |
|
position: relative; |
58 |
|
z-index: 24; |
59 |
|
text-decoration: none; |
60 |
|
} |
61 |
|
a.info:hover { |
62 |
|
z-index: 25; |
63 |
|
color: #FFF; background-color: #900; |
64 |
|
} |
65 |
|
a.info span { display: none; } |
66 |
|
a.info:hover span.info { |
67 |
|
/* The span will display just on :hover state. */ |
68 |
|
display: block; |
69 |
|
position: absolute; |
70 |
|
font-size: smaller; |
71 |
|
top: 2em; left: -5em; width: 15em; |
72 |
|
padding: 2px; border: 1px solid #333; |
73 |
|
color: #900; background-color: #EEE; |
74 |
|
text-align: left; |
75 |
|
} |
76 |
|
|
77 |
|
a { font-weight: bold; } |
78 |
|
a:link { color: #900; background-color: transparent; } |
79 |
|
a:visited { color: #633; background-color: transparent; } |
80 |
|
a:active { color: #633; background-color: transparent; } |
81 |
|
|
82 |
|
p { margin-left: 2em; margin-right: 2em; } |
83 |
|
p.copyright { font-size: x-small; } |
84 |
|
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; } |
86 |
|
td.toc { font-size: small; font-weight: bold; vertical-align: text-top; } |
87 |
|
|
88 |
|
ol.text { margin-left: 2em; margin-right: 2em; } |
89 |
|
ul.text { margin-left: 2em; margin-right: 2em; } |
90 |
|
li { margin-left: 3em; } |
91 |
|
|
92 |
|
/* RFC-2629 <spanx>s and <artwork>s. */ |
93 |
|
em { font-style: italic; } |
94 |
|
strong { font-weight: bold; } |
95 |
|
dfn { font-weight: bold; font-style: normal; } |
96 |
|
cite { font-weight: normal; font-style: normal; } |
97 |
|
tt { color: #036; } |
98 |
|
tt, pre, pre dfn, pre em, pre cite, pre span { |
99 |
|
font-family: "Courier New", Courier, monospace; font-size: small; |
100 |
|
} |
101 |
|
pre { |
102 |
|
text-align: left; padding: 4px; |
103 |
|
color: #000; background-color: #CCC; |
104 |
|
} |
105 |
|
pre dfn { color: #900; } |
106 |
|
pre em { color: #66F; background-color: #FFC; font-weight: normal; } |
107 |
|
pre .key { color: #33C; font-weight: bold; } |
108 |
|
pre .id { color: #900; } |
109 |
|
pre .str { color: #000; background-color: #CFF; } |
110 |
|
pre .val { color: #066; } |
111 |
|
pre .rep { color: #909; } |
112 |
|
pre .oth { color: #000; background-color: #FCF; } |
113 |
|
pre .err { background-color: #FCC; } |
114 |
|
|
115 |
|
/* RFC-2629 <texttable>s. */ |
116 |
|
table.all, table.full, table.headers, table.none { |
117 |
|
font-size: small; text-align: center; border-width: 2px; |
118 |
|
vertical-align: top; border-collapse: collapse; |
119 |
|
} |
120 |
|
table.all, table.full { border-style: solid; border-color: black; } |
121 |
|
table.headers, table.none { border-style: none; } |
122 |
|
th { |
123 |
|
font-weight: bold; border-color: black; |
124 |
|
border-width: 2px 2px 3px 2px; |
125 |
|
} |
126 |
|
table.all th, table.full th { border-style: solid; } |
127 |
|
table.headers th { border-style: none none solid none; } |
128 |
|
table.none th { border-style: none; } |
129 |
|
table.all td { |
130 |
|
border-style: solid; border-color: #333; |
131 |
|
border-width: 1px 2px; |
132 |
|
} |
133 |
|
table.full td, table.headers td, table.none td { border-style: none; } |
134 |
|
|
135 |
h3 { color: #333333; font-size: medium ; |
hr { height: 1px; } |
136 |
font-family: helvetica, arial, sans-serif ; |
hr.insert { |
137 |
background-color: transparent; } |
width: 80%; border-style: none; border-width: 0; |
138 |
h4 { font-size: small; font-family: helvetica, arial, sans-serif ; } |
color: #CCC; background-color: #CCC; |
139 |
|
} |
140 |
table.bug { width: 30px ; height: 15px ; } |
--></style> |
|
td.bug { color: #ffffff ; background-color: #990000 ; |
|
|
text-align: center ; width: 30px ; height: 15px ; |
|
|
} |
|
|
td.bug A.link2 { color: #ffffff ; font-weight: bold; |
|
|
text-decoration: none; |
|
|
font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif; |
|
|
font-size: x-small ; background-color: transparent } |
|
|
|
|
|
td.header { color: #ffffff; font-size: x-small ; |
|
|
font-family: arial, helvetica, sans-serif; vertical-align: top; |
|
|
background-color: #666666 ; width: 33% ; } |
|
|
td.author { font-weight: bold; margin-left: 4em; font-size: x-small ; } |
|
|
td.author-text { font-size: x-small; } |
|
|
table.full { vertical-align: top ; border-collapse: collapse ; |
|
|
border-style: solid solid solid solid ; |
|
|
border-color: black black black black ; |
|
|
font-size: small ; text-align: center ; } |
|
|
table.headers, table.none { vertical-align: top ; border-collapse: collapse ; |
|
|
border-style: none; |
|
|
font-size: small ; text-align: center ; } |
|
|
table.full th { font-weight: bold ; |
|
|
border-style: solid ; |
|
|
border-color: black black black black ; } |
|
|
table.headers th { font-weight: bold ; |
|
|
border-style: none none solid none; |
|
|
border-color: black black black black ; } |
|
|
table.none th { font-weight: bold ; |
|
|
border-style: none; } |
|
|
table.full td { |
|
|
border-style: solid solid solid solid ; |
|
|
border-color: #333333 #333333 #333333 #333333 ; } |
|
|
table.headers td, table.none td { border-style: none; } |
|
|
|
|
|
hr { height: 1px } |
|
|
--> |
|
|
</style> |
|
141 |
</head> |
</head> |
142 |
<body> |
<body> |
143 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
144 |
<table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1"> |
<table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1"> |
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">Expires: May 29, 2007</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"> </td><td class="header">November 25, 2006</td></tr> |
<tr><td class="header">Expires: October 3, 2008</td><td class="header">April 2008</td></tr> |
149 |
</table></td></tr></table> |
</table></td></tr></table> |
150 |
<div align="right"><span class="title"><br />LinuxSampler Control Protocol</span></div> |
<h1><br />LinuxSampler Control Protocol<br />LSCP 1.4</h1> |
|
<div align="right"><span class="title"><br />LSCP 1.1</span></div> |
|
151 |
|
|
152 |
<h3>Status of this Memo</h3> |
<h3>Status of this Memo</h3> |
153 |
<p> |
<p> |
154 |
This document is an Internet-Draft and is |
By submitting this Internet-Draft, |
155 |
in full conformance with all provisions of Section 10 of RFC 2026.</p> |
each author represents that any applicable patent or other IPR claims of which |
156 |
|
he or she is aware have been or will be disclosed, |
157 |
|
and any of which he or she becomes aware will be disclosed, |
158 |
|
in accordance with Section 6 of BCP 79.</p> |
159 |
<p> |
<p> |
160 |
Internet-Drafts are working documents of the Internet Engineering |
Internet-Drafts are working documents of the Internet Engineering |
161 |
Task Force (IETF), its areas, and its working groups. |
Task Force (IETF), its areas, and its working groups. |
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 May 29, 2007.</p> |
This Internet-Draft will expire on October 3, 2008.</p> |
|
|
|
|
<h3>Copyright Notice</h3> |
|
|
<p> |
|
|
Copyright © The Internet Society (2006). All Rights Reserved.</p> |
|
177 |
|
|
178 |
<h3>Abstract</h3> |
<h3>Abstract</h3> |
179 |
|
|
294 |
Current fill state of disk stream buffers<br /> |
Current fill state of disk stream buffers<br /> |
295 |
<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14.</a> |
296 |
Setting audio output device<br /> |
Setting audio output device<br /> |
297 |
<a href="#SET CHANNEL AUDIO_OUTPUT_TYP">6.4.15.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_TYPE">6.4.15.</a> |
298 |
Setting audio output type<br /> |
Setting audio output type<br /> |
299 |
<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16.</a> |
300 |
Setting audio output channel<br /> |
Setting audio output channel<br /> |
312 |
Muting a sampler channel<br /> |
Muting a sampler channel<br /> |
313 |
<a href="#SET CHANNEL SOLO">6.4.23.</a> |
<a href="#SET CHANNEL SOLO">6.4.23.</a> |
314 |
Soloing a sampler channel<br /> |
Soloing a sampler channel<br /> |
315 |
<a href="#RESET CHANNEL">6.4.24.</a> |
<a href="#SET CHANNEL MIDI_INSTRUMENT_MAP">6.4.24.</a> |
316 |
|
Assigning a MIDI instrument map to a sampler channel<br /> |
317 |
|
<a href="#CREATE FX_SEND">6.4.25.</a> |
318 |
|
Adding an effect send to a sampler channel<br /> |
319 |
|
<a href="#DESTROY FX_SEND">6.4.26.</a> |
320 |
|
Removing an effect send from a sampler channel<br /> |
321 |
|
<a href="#GET FX_SENDS">6.4.27.</a> |
322 |
|
Getting amount of effect sends on a sampler channel<br /> |
323 |
|
<a href="#LIST FX_SENDS">6.4.28.</a> |
324 |
|
Listing all effect sends on a sampler channel<br /> |
325 |
|
<a href="#GET FX_SEND INFO">6.4.29.</a> |
326 |
|
Getting effect send information<br /> |
327 |
|
<a href="#SET FX_SEND NAME">6.4.30.</a> |
328 |
|
Changing effect send's name<br /> |
329 |
|
<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.31.</a> |
330 |
|
Altering effect send's audio routing<br /> |
331 |
|
<a href="#SET FX_SEND MIDI_CONTROLLER">6.4.32.</a> |
332 |
|
Altering effect send's MIDI controller<br /> |
333 |
|
<a href="#SET FX_SEND LEVEL">6.4.33.</a> |
334 |
|
Altering effect send's send level<br /> |
335 |
|
<a href="#RESET CHANNEL">6.4.34.</a> |
336 |
Resetting a sampler channel<br /> |
Resetting a sampler channel<br /> |
337 |
<a href="#anchor12">6.5.</a> |
<a href="#anchor12">6.5.</a> |
338 |
Controlling connection<br /> |
Controlling connection<br /> |
350 |
Current number of active voices<br /> |
Current number of active voices<br /> |
351 |
<a href="#GET TOTAL_VOICE_COUNT_MAX">6.6.2.</a> |
<a href="#GET TOTAL_VOICE_COUNT_MAX">6.6.2.</a> |
352 |
Maximum amount of active voices<br /> |
Maximum amount of active voices<br /> |
353 |
<a href="#RESET">6.6.3.</a> |
<a href="#GET TOTAL_STREAM_COUNT">6.6.3.</a> |
354 |
|
Current number of active disk streams<br /> |
355 |
|
<a href="#RESET">6.6.4.</a> |
356 |
Reset sampler<br /> |
Reset sampler<br /> |
357 |
<a href="#GET SERVER INFO">6.6.4.</a> |
<a href="#GET SERVER INFO">6.6.5.</a> |
358 |
General sampler informations<br /> |
General sampler informations<br /> |
359 |
|
<a href="#GET VOLUME">6.6.6.</a> |
360 |
|
Getting global volume attenuation<br /> |
361 |
|
<a href="#SET VOLUME">6.6.7.</a> |
362 |
|
Setting global volume attenuation<br /> |
363 |
|
<a href="#MIDI Instrument Mapping">6.7.</a> |
364 |
|
MIDI Instrument Mapping<br /> |
365 |
|
<a href="#ADD MIDI_INSTRUMENT_MAP">6.7.1.</a> |
366 |
|
Create a new MIDI instrument map<br /> |
367 |
|
<a href="#REMOVE MIDI_INSTRUMENT_MAP">6.7.2.</a> |
368 |
|
Delete one particular or all MIDI instrument maps<br /> |
369 |
|
<a href="#GET MIDI_INSTRUMENT_MAPS">6.7.3.</a> |
370 |
|
Get amount of existing MIDI instrument maps<br /> |
371 |
|
<a href="#LIST MIDI_INSTRUMENT_MAPS">6.7.4.</a> |
372 |
|
Getting all created MIDI instrument maps<br /> |
373 |
|
<a href="#GET MIDI_INSTRUMENT_MAP INFO">6.7.5.</a> |
374 |
|
Getting MIDI instrument map information<br /> |
375 |
|
<a href="#SET MIDI_INSTRUMENT_MAP NAME">6.7.6.</a> |
376 |
|
Renaming a MIDI instrument map<br /> |
377 |
|
<a href="#MAP MIDI_INSTRUMENT">6.7.7.</a> |
378 |
|
Create or replace a MIDI instrument map entry<br /> |
379 |
|
<a href="#GET MIDI_INSTRUMENTS">6.7.8.</a> |
380 |
|
Getting ammount of MIDI instrument map entries<br /> |
381 |
|
<a href="#LIST MIDI_INSTRUMENTS">6.7.9.</a> |
382 |
|
Getting indeces of all entries of a MIDI instrument map<br /> |
383 |
|
<a href="#UNMAP MIDI_INSTRUMENT">6.7.10.</a> |
384 |
|
Remove an entry from the MIDI instrument map<br /> |
385 |
|
<a href="#GET MIDI_INSTRUMENT INFO">6.7.11.</a> |
386 |
|
Get current settings of MIDI instrument map entry<br /> |
387 |
|
<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a> |
388 |
|
Clear MIDI instrument map<br /> |
389 |
|
<a href="#Managing Instruments Database">6.8.</a> |
390 |
|
Managing Instruments Database<br /> |
391 |
|
<a href="#ADD DB_INSTRUMENT_DIRECTORY">6.8.1.</a> |
392 |
|
Creating a new instrument directory<br /> |
393 |
|
<a href="#REMOVE DB_INSTRUMENT_DIRECTORY">6.8.2.</a> |
394 |
|
Deleting an instrument directory<br /> |
395 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORIES">6.8.3.</a> |
396 |
|
Getting amount of instrument directories<br /> |
397 |
|
<a href="#LIST DB_INSTRUMENT_DIRECTORIES">6.8.4.</a> |
398 |
|
Listing all directories in specific directory<br /> |
399 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORY INFO">6.8.5.</a> |
400 |
|
Getting instrument directory information<br /> |
401 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY NAME">6.8.6.</a> |
402 |
|
Renaming an instrument directory<br /> |
403 |
|
<a href="#MOVE DB_INSTRUMENT_DIRECTORY">6.8.7.</a> |
404 |
|
Moving an instrument directory<br /> |
405 |
|
<a href="#COPY DB_INSTRUMENT_DIRECTORY">6.8.8.</a> |
406 |
|
Copying instrument directories<br /> |
407 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">6.8.9.</a> |
408 |
|
Changing the description of directory<br /> |
409 |
|
<a href="#FIND DB_INSTRUMENT_DIRECTORIES">6.8.10.</a> |
410 |
|
Finding directories<br /> |
411 |
|
<a href="#ADD DB_INSTRUMENTS">6.8.11.</a> |
412 |
|
Adding instruments to the instruments database<br /> |
413 |
|
<a href="#REMOVE DB_INSTRUMENT">6.8.12.</a> |
414 |
|
Removing an instrument<br /> |
415 |
|
<a href="#GET DB_INSTRUMENTS">6.8.13.</a> |
416 |
|
Getting amount of instruments<br /> |
417 |
|
<a href="#LIST DB_INSTRUMENTS">6.8.14.</a> |
418 |
|
Listing all instruments in specific directory<br /> |
419 |
|
<a href="#GET DB_INSTRUMENT INFO">6.8.15.</a> |
420 |
|
Getting instrument information<br /> |
421 |
|
<a href="#SET DB_INSTRUMENT NAME">6.8.16.</a> |
422 |
|
Renaming an instrument<br /> |
423 |
|
<a href="#MOVE DB_INSTRUMENT">6.8.17.</a> |
424 |
|
Moving an instrument<br /> |
425 |
|
<a href="#COPY DB_INSTRUMENT">6.8.18.</a> |
426 |
|
Copying instruments<br /> |
427 |
|
<a href="#SET DB_INSTRUMENT DESCRIPTION">6.8.19.</a> |
428 |
|
Changing the description of instrument<br /> |
429 |
|
<a href="#FIND DB_INSTRUMENTS">6.8.20.</a> |
430 |
|
Finding instruments<br /> |
431 |
|
<a href="#GET DB_INSTRUMENTS_JOB INFO">6.8.21.</a> |
432 |
|
Getting job status information<br /> |
433 |
|
<a href="#FORMAT INSTRUMENTS_DB">6.8.22.</a> |
434 |
|
Formatting the instruments database<br /> |
435 |
|
<a href="#FIND LOST DB_INSTRUMENT_FILES">6.8.23.</a> |
436 |
|
Checking for lost instrument files<br /> |
437 |
|
<a href="#SET DB_INSTRUMENT FILE_PATH">6.8.24.</a> |
438 |
|
Replacing an instrument file<br /> |
439 |
|
<a href="#editing_instruments">6.9.</a> |
440 |
|
Editing Instruments<br /> |
441 |
|
<a href="#EDIT INSTRUMENT">6.9.1.</a> |
442 |
|
Opening an appropriate instrument editor application<br /> |
443 |
|
<a href="#file_management">6.10.</a> |
444 |
|
Managing Files<br /> |
445 |
|
<a href="#GET FILE INSTRUMENTS">6.10.1.</a> |
446 |
|
Retrieving amount of instruments of a file<br /> |
447 |
|
<a href="#LIST FILE INSTRUMENTS">6.10.2.</a> |
448 |
|
Retrieving all instruments of a file<br /> |
449 |
|
<a href="#GET FILE INSTRUMENT INFO">6.10.3.</a> |
450 |
|
Retrieving informations about one instrument in a file<br /> |
451 |
<a href="#command_syntax">7.</a> |
<a href="#command_syntax">7.</a> |
452 |
Command Syntax<br /> |
Command Syntax<br /> |
453 |
|
<a href="#character_set">7.1.</a> |
454 |
|
Character Set and Escape Sequences<br /> |
455 |
<a href="#events">8.</a> |
<a href="#events">8.</a> |
456 |
Events<br /> |
Events<br /> |
457 |
<a href="#SUBSCRIBE CHANNEL">8.1.</a> |
<a href="#SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT">8.1.</a> |
458 |
|
Number of audio output devices changed<br /> |
459 |
|
<a href="#SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO">8.2.</a> |
460 |
|
Audio output device's settings changed<br /> |
461 |
|
<a href="#SUBSCRIBE MIDI_INPUT_DEVICE_COUNT">8.3.</a> |
462 |
|
Number of MIDI input devices changed<br /> |
463 |
|
<a href="#SUBSCRIBE MIDI_INPUT_DEVICE_INFO">8.4.</a> |
464 |
|
MIDI input device's settings changed<br /> |
465 |
|
<a href="#SUBSCRIBE CHANNEL_COUNT">8.5.</a> |
466 |
Number of sampler channels changed<br /> |
Number of sampler channels changed<br /> |
467 |
<a href="#SUBSCRIBE VOICE_COUNT">8.2.</a> |
<a href="#SUBSCRIBE CHANNEL_MIDI">8.6.</a> |
468 |
|
MIDI data on a sampler channel arrived<br /> |
469 |
|
<a href="#SUBSCRIBE DEVICE_MIDI">8.7.</a> |
470 |
|
MIDI data on a MIDI input device arrived<br /> |
471 |
|
<a href="#SUBSCRIBE VOICE_COUNT">8.8.</a> |
472 |
Number of active voices changed<br /> |
Number of active voices changed<br /> |
473 |
<a href="#SUBSCRIBE STREAM_COUNT">8.3.</a> |
<a href="#SUBSCRIBE STREAM_COUNT">8.9.</a> |
474 |
Number of active disk streams changed<br /> |
Number of active disk streams changed<br /> |
475 |
<a href="#SUBSCRIBE BUFFER_FILL">8.4.</a> |
<a href="#SUBSCRIBE BUFFER_FILL">8.10.</a> |
476 |
Disk stream buffer fill state changed<br /> |
Disk stream buffer fill state changed<br /> |
477 |
<a href="#SUBSCRIBE INFO">8.5.</a> |
<a href="#SUBSCRIBE CHANNEL_INFO">8.11.</a> |
478 |
Channel information changed<br /> |
Channel information changed<br /> |
479 |
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.6.</a> |
<a href="#SUBSCRIBE FX_SEND_COUNT">8.12.</a> |
480 |
|
Number of effect sends changed<br /> |
481 |
|
<a href="#SUBSCRIBE FX_SEND_INFO">8.13.</a> |
482 |
|
Effect send information changed<br /> |
483 |
|
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.14.</a> |
484 |
Total number of active voices changed<br /> |
Total number of active voices changed<br /> |
485 |
<a href="#SUBSCRIBE MISCELLANEOUS">8.7.</a> |
<a href="#SUBSCRIBE TOTAL_STREAM_COUNT">8.15.</a> |
486 |
|
Total number of active disk streams changed<br /> |
487 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.16.</a> |
488 |
|
Number of MIDI instrument maps changed<br /> |
489 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.17.</a> |
490 |
|
MIDI instrument map information changed<br /> |
491 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.18.</a> |
492 |
|
Number of MIDI instruments changed<br /> |
493 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.19.</a> |
494 |
|
MIDI instrument information changed<br /> |
495 |
|
<a href="#SUBSCRIBE GLOBAL_INFO">8.20.</a> |
496 |
|
Global settings changed<br /> |
497 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT">8.21.</a> |
498 |
|
Number of database instrument directories changed<br /> |
499 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO">8.22.</a> |
500 |
|
Database instrument directory information changed<br /> |
501 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_COUNT">8.23.</a> |
502 |
|
Number of database instruments changed<br /> |
503 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_INFO">8.24.</a> |
504 |
|
Database instrument information changed<br /> |
505 |
|
<a href="#SUBSCRIBE DB_INSTRUMENTS_JOB_INFO">8.25.</a> |
506 |
|
Database job status information changed<br /> |
507 |
|
<a href="#SUBSCRIBE MISCELLANEOUS">8.26.</a> |
508 |
Miscellaneous and debugging events<br /> |
Miscellaneous and debugging events<br /> |
509 |
<a href="#anchor14">9.</a> |
<a href="#anchor14">9.</a> |
510 |
Security Considerations<br /> |
Security Considerations<br /> |
520 |
<br clear="all" /> |
<br clear="all" /> |
521 |
|
|
522 |
<a name="anchor1"></a><br /><hr /> |
<a name="anchor1"></a><br /><hr /> |
523 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
524 |
<a name="rfc.section.1"></a><h3>1. Requirements notation</h3> |
<a name="rfc.section.1"></a><h3>1. |
525 |
|
Requirements notation</h3> |
526 |
|
|
527 |
<p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", |
<p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", |
528 |
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", |
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", |
529 |
and "OPTIONAL" in this document are to be interpreted as |
and "OPTIONAL" in this document are to be interpreted as |
530 |
described in <a class="info" href="#RFC2119">[RFC2119]<span> (</span><span class="info">Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” 1997.</span><span>)</span></a>. |
described in <a class='info' href='#RFC2119'>[RFC2119]<span> (</span><span class='info'>Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” 1997.</span><span>)</span></a>. |
531 |
</p> |
</p> |
532 |
<p>This protocol is always case-sensitive if not explicitly |
<p>This protocol is always case-sensitive if not explicitly |
533 |
claimed the opposite. |
claimed the opposite. |
536 |
(front-end) and server (LinuxSampler) respectively. Lines in |
(front-end) and server (LinuxSampler) respectively. Lines in |
537 |
examples must be interpreted as every line being CRLF |
examples must be interpreted as every line being CRLF |
538 |
terminated (carriage return character followed by line feed |
terminated (carriage return character followed by line feed |
539 |
character as defined in the ASCII standard), thus the following |
character as defined in the ASCII standard <a class='info' href='#RFC20'>[RFC20]<span> (</span><span class='info'>UCLA, “ASCII format for Network Interchange,” 1969.</span><span>)</span></a>), |
540 |
example: |
thus the following example: |
541 |
</p> |
</p> |
542 |
<p> |
<p> |
543 |
</p> |
</p> |
603 |
return and line feed characters respectively. |
return and line feed characters respectively. |
604 |
</p> |
</p> |
605 |
<a name="LSCP versioning"></a><br /><hr /> |
<a name="LSCP versioning"></a><br /><hr /> |
606 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
607 |
<a name="rfc.section.2"></a><h3>2. Versioning of this specification</h3> |
<a name="rfc.section.2"></a><h3>2. |
608 |
|
Versioning of this specification</h3> |
609 |
|
|
610 |
<p>LSCP will certainly be extended and enhanced by-and-by. Each official |
<p>LSCP will certainly be extended and enhanced by-and-by. Each official |
611 |
release of the LSCP specification will be tagged with a unique version |
release of the LSCP specification will be tagged with a unique version |
648 |
<p> |
<p> |
649 |
Compatibility can only be claimed if both rules are true. |
Compatibility can only be claimed if both rules are true. |
650 |
The frontend can use the |
The frontend can use the |
651 |
<a class="info" href="#GET SERVER INFO">"GET SERVER INFO"<span> (</span><span class="info">General sampler informations</span><span>)</span></a> command to |
<a class='info' href='#GET SERVER INFO'>"GET SERVER INFO"<span> (</span><span class='info'>General sampler informations</span><span>)</span></a> command to |
652 |
get the version of the LSCP specification the sampler complies with. |
get the version of the LSCP specification the sampler complies with. |
653 |
|
|
654 |
</p> |
</p> |
655 |
<a name="anchor2"></a><br /><hr /> |
<a name="anchor2"></a><br /><hr /> |
656 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
657 |
<a name="rfc.section.3"></a><h3>3. Introduction</h3> |
<a name="rfc.section.3"></a><h3>3. |
658 |
|
Introduction</h3> |
659 |
|
|
660 |
<p>LinuxSampler is a so called software sampler application |
<p>LinuxSampler is a so called software sampler application |
661 |
capable to playback audio samples from a computer's Random |
capable to playback audio samples from a computer's Random |
675 |
there. |
there. |
676 |
</p> |
</p> |
677 |
<a name="anchor3"></a><br /><hr /> |
<a name="anchor3"></a><br /><hr /> |
678 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
679 |
<a name="rfc.section.4"></a><h3>4. Focus of this protocol</h3> |
<a name="rfc.section.4"></a><h3>4. |
680 |
|
Focus of this protocol</h3> |
681 |
|
|
682 |
<p>Main focus of this protocol is to provide a way to configure |
<p>Main focus of this protocol is to provide a way to configure |
683 |
a running LinuxSampler instance and to retrieve information |
a running LinuxSampler instance and to retrieve information |
688 |
via MIDI System Exclusive Messages. |
via MIDI System Exclusive Messages. |
689 |
</p> |
</p> |
690 |
<a name="anchor4"></a><br /><hr /> |
<a name="anchor4"></a><br /><hr /> |
691 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
692 |
<a name="rfc.section.5"></a><h3>5. Communication Overview</h3> |
<a name="rfc.section.5"></a><h3>5. |
693 |
|
Communication Overview</h3> |
694 |
|
|
695 |
<p>There are two distinct methods of communication between a |
<p>There are two distinct methods of communication between a |
696 |
running instance of LinuxSampler and one or more control |
running instance of LinuxSampler and one or more control |
704 |
methods will be described next. |
methods will be described next. |
705 |
</p> |
</p> |
706 |
<a name="anchor5"></a><br /><hr /> |
<a name="anchor5"></a><br /><hr /> |
707 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
708 |
<a name="rfc.section.5.1"></a><h3>5.1. Request/response communication method</h3> |
<a name="rfc.section.5.1"></a><h3>5.1. |
709 |
|
Request/response communication method</h3> |
710 |
|
|
711 |
<p>This simple communication method is based on |
<p>This simple communication method is based on |
712 |
<a class="info" href="#RFC793">TCP<span> (</span><span class="info">Defense Advanced Research Projects Agency, “TRANSMISSION CONTROL PROTOCOL,” 1981.</span><span>)</span></a> [RFC793]. The |
<a class='info' href='#RFC793'>TCP<span> (</span><span class='info'>Defense Advanced Research Projects Agency, “TRANSMISSION CONTROL PROTOCOL,” 1981.</span><span>)</span></a> [RFC793]. The |
713 |
front-end application establishes a TCP connection to the |
front-end application establishes a TCP connection to the |
714 |
LinuxSampler instance on a certain host system. Then the |
LinuxSampler instance on a certain host system. Then the |
715 |
front-end application will send certain ASCII based commands |
front-end application will send certain ASCII based commands |
750 |
MUST be sent back in the same order. |
MUST be sent back in the same order. |
751 |
</p> |
</p> |
752 |
<a name="anchor6"></a><br /><hr /> |
<a name="anchor6"></a><br /><hr /> |
753 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
754 |
<a name="rfc.section.5.1.1"></a><h3>5.1.1. Result format</h3> |
<a name="rfc.section.5.1.1"></a><h3>5.1.1. |
755 |
|
Result format</h3> |
756 |
|
|
757 |
<p>Result set could be one of the following types: |
<p>Result set could be one of the following types: |
758 |
</p> |
</p> |
943 |
|
|
944 |
</p> |
</p> |
945 |
<a name="anchor7"></a><br /><hr /> |
<a name="anchor7"></a><br /><hr /> |
946 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
947 |
<a name="rfc.section.5.2"></a><h3>5.2. Subscribe/notify communication method</h3> |
<a name="rfc.section.5.2"></a><h3>5.2. |
948 |
|
Subscribe/notify communication method</h3> |
949 |
|
|
950 |
<p>This more sophisticated communication method is actually |
<p>This more sophisticated communication method is actually |
951 |
only an extension of the simple request/response |
only an extension of the simple request/response |
1022 |
</p> |
</p> |
1023 |
<p>where <event-id> will be replace by the respective |
<p>where <event-id> will be replace by the respective |
1024 |
event that client is no longer interested in receiving. For |
event that client is no longer interested in receiving. For |
1025 |
a list of supported events see <a class="info" href="#events">Section 8<span> (</span><span class="info">Events</span><span>)</span></a>. |
a list of supported events see <a class='info' href='#events'>Section 8<span> (</span><span class='info'>Events</span><span>)</span></a>. |
1026 |
</p> |
</p> |
1027 |
<p>Example: the fill states of disk stream buffers have |
<p>Example: the fill states of disk stream buffers have |
1028 |
changed on sampler channel 4 and the LinuxSampler instance |
changed on sampler channel 4 and the LinuxSampler instance |
1068 |
it wants to receive. |
it wants to receive. |
1069 |
</p> |
</p> |
1070 |
<a name="control_commands"></a><br /><hr /> |
<a name="control_commands"></a><br /><hr /> |
1071 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1072 |
<a name="rfc.section.6"></a><h3>6. Description for control commands</h3> |
<a name="rfc.section.6"></a><h3>6. |
1073 |
|
Description for control commands</h3> |
1074 |
|
|
1075 |
<p>This chapter will describe the available control commands |
<p>This chapter will describe the available control commands |
1076 |
that can be sent on the TCP connection in detail. Some certain |
that can be sent on the TCP connection in detail. Some certain |
1077 |
commands (e.g. <a class="info" href="#GET CHANNEL INFO">"GET CHANNEL INFO"<span> (</span><span class="info">Getting sampler channel information</span><span>)</span></a> |
commands (e.g. <a class='info' href='#GET CHANNEL INFO'>"GET CHANNEL INFO"<span> (</span><span class='info'>Getting sampler channel information</span><span>)</span></a> |
1078 |
or <a class="info" href="#GET ENGINE INFO">"GET ENGINE INFO"<span> (</span><span class="info">Getting information about an engine</span><span>)</span></a>) lead to |
or <a class='info' href='#GET ENGINE INFO'>"GET ENGINE INFO"<span> (</span><span class='info'>Getting information about an engine</span><span>)</span></a>) lead to |
1079 |
multiple-line responses. In this case LinuxSampler signals the |
multiple-line responses. In this case LinuxSampler signals the |
1080 |
end of the response by a "." (single dot) line. |
end of the response by a "." (single dot) line. |
1081 |
</p> |
</p> |
1082 |
<a name="anchor8"></a><br /><hr /> |
<a name="anchor8"></a><br /><hr /> |
1083 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1084 |
<a name="rfc.section.6.1"></a><h3>6.1. Ignored lines and comments</h3> |
<a name="rfc.section.6.1"></a><h3>6.1. |
1085 |
|
Ignored lines and comments</h3> |
1086 |
|
|
1087 |
<p>White lines, that is lines which only contain space and |
<p>White lines, that is lines which only contain space and |
1088 |
tabulator characters, and lines that start with a "#" |
tabulator characters, and lines that start with a "#" |
1091 |
file. |
file. |
1092 |
</p> |
</p> |
1093 |
<a name="anchor9"></a><br /><hr /> |
<a name="anchor9"></a><br /><hr /> |
1094 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1095 |
<a name="rfc.section.6.2"></a><h3>6.2. Configuring audio drivers</h3> |
<a name="rfc.section.6.2"></a><h3>6.2. |
1096 |
|
Configuring audio drivers</h3> |
1097 |
|
|
1098 |
<p>Instances of drivers in LinuxSampler are called devices. |
<p>Instances of drivers in LinuxSampler are called devices. |
1099 |
You can use multiple audio devices simultaneously, e.g. to |
You can use multiple audio devices simultaneously, e.g. to |
1127 |
possible values, etc. |
possible values, etc. |
1128 |
</p> |
</p> |
1129 |
<a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
<a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
1130 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1131 |
<a name="rfc.section.6.2.1"></a><h3>6.2.1. Getting amount of available audio output drivers</h3> |
<a name="rfc.section.6.2.1"></a><h3>6.2.1. |
1132 |
|
Getting amount of available audio output drivers</h3> |
1133 |
|
|
1134 |
<p>Use the following command to get the number of |
<p>Use the following command to get the number of |
1135 |
audio output drivers currently available for the |
audio output drivers currently available for the |
1167 |
|
|
1168 |
</p> |
</p> |
1169 |
<a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
<a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
1170 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1171 |
<a name="rfc.section.6.2.2"></a><h3>6.2.2. Getting all available audio output drivers</h3> |
<a name="rfc.section.6.2.2"></a><h3>6.2.2. |
1172 |
|
Getting all available audio output drivers</h3> |
1173 |
|
|
1174 |
<p>Use the following command to list all audio output |
<p>Use the following command to list all audio output |
1175 |
drivers currently available for the LinuxSampler |
drivers currently available for the LinuxSampler |
1208 |
|
|
1209 |
</p> |
</p> |
1210 |
<a name="GET AUDIO_OUTPUT_DRIVER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DRIVER INFO"></a><br /><hr /> |
1211 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1212 |
<a name="rfc.section.6.2.3"></a><h3>6.2.3. Getting information about a specific audio |
<a name="rfc.section.6.2.3"></a><h3>6.2.3. |
1213 |
|
Getting information about a specific audio |
1214 |
output driver</h3> |
output driver</h3> |
1215 |
|
|
1216 |
<p>Use the following command to get detailed information |
<p>Use the following command to get detailed information |
1227 |
</p> |
</p> |
1228 |
<p>Where <audio-output-driver> is the name of the |
<p>Where <audio-output-driver> is the name of the |
1229 |
audio output driver, returned by the |
audio output driver, returned by the |
1230 |
<a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> command. |
<a class='info' href='#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS'>"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class='info'>Getting all available audio output drivers</span><span>)</span></a> command. |
1231 |
</p> |
</p> |
1232 |
<p>Possible Answers: |
<p>Possible Answers: |
1233 |
</p> |
</p> |
1308 |
|
|
1309 |
</p> |
</p> |
1310 |
<a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
1311 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1312 |
<a name="rfc.section.6.2.4"></a><h3>6.2.4. Getting information about specific audio |
<a name="rfc.section.6.2.4"></a><h3>6.2.4. |
1313 |
|
Getting information about specific audio |
1314 |
output driver parameter</h3> |
output driver parameter</h3> |
1315 |
|
|
1316 |
<p>Use the following command to get detailed information |
<p>Use the following command to get detailed information |
1325 |
|
|
1326 |
</p> |
</p> |
1327 |
<p>Where <audio> is the name of the audio output |
<p>Where <audio> is the name of the audio output |
1328 |
driver as returned by the <a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> command, |
driver as returned by the <a class='info' href='#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS'>"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class='info'>Getting all available audio output drivers</span><span>)</span></a> command, |
1329 |
<prm> a specific parameter name for which information should be |
<prm> a specific parameter name for which information should be |
1330 |
obtained (as returned by the |
obtained (as returned by the |
1331 |
<a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">"GET AUDIO_OUTPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific audio output driver</span><span>)</span></a> command) and |
<a class='info' href='#GET AUDIO_OUTPUT_DRIVER INFO'>"GET AUDIO_OUTPUT_DRIVER INFO"<span> (</span><span class='info'>Getting information about a specific audio output driver</span><span>)</span></a> command) and |
1332 |
<deplist> is an optional list of parameters on which the sought |
<deplist> is an optional list of parameters on which the sought |
1333 |
parameter <prm> depends on, <deplist> is a list of key-value |
parameter <prm> depends on, <deplist> is a list of key-value |
1334 |
pairs in form of "key1=val1 key2=val2 ...", where character string values |
pairs in form of "key1=val1 key2=val2 ...", where character string values |
1385 |
<blockquote class="text"> |
<blockquote class="text"> |
1386 |
<p>either true or false, defines if this parameter must be |
<p>either true or false, defines if this parameter must be |
1387 |
given when the device is to be created with the |
given when the device is to be created with the |
1388 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
1389 |
command (always returned, no matter which driver parameter) |
command (always returned, no matter which driver parameter) |
1390 |
</p> |
</p> |
1391 |
</blockquote> |
</blockquote> |
1396 |
<blockquote class="text"> |
<blockquote class="text"> |
1397 |
<p>either true or false, if false then this parameter can |
<p>either true or false, if false then this parameter can |
1398 |
be changed at any time, once the device is created by |
be changed at any time, once the device is created by |
1399 |
the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
the <a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
1400 |
command (always returned, no matter which driver parameter) |
command (always returned, no matter which driver parameter) |
1401 |
</p> |
</p> |
1402 |
</blockquote> |
</blockquote> |
1435 |
<blockquote class="text"> |
<blockquote class="text"> |
1436 |
<p>reflects the default value for this parameter which is |
<p>reflects the default value for this parameter which is |
1437 |
used when the device is created and not explicitly |
used when the device is created and not explicitly |
1438 |
given with the <a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> command, |
given with the <a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>'CREATE AUDIO_OUTPUT_DEVICE'<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> command, |
1439 |
in case of MULTIPLCITY=true, this is a comma separated |
in case of MULTIPLCITY=true, this is a comma separated |
1440 |
list, that's why character strings are encapsulated into |
list, that's why character strings are encapsulated into |
1441 |
apostrophes (') |
apostrophes (') |
1563 |
|
|
1564 |
</p> |
</p> |
1565 |
<a name="CREATE AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="CREATE AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
1566 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1567 |
<a name="rfc.section.6.2.5"></a><h3>6.2.5. Creating an audio output device</h3> |
<a name="rfc.section.6.2.5"></a><h3>6.2.5. |
1568 |
|
Creating an audio output device</h3> |
1569 |
|
|
1570 |
<p>Use the following command to create a new audio output device for the desired audio output system: |
<p>Use the following command to create a new audio output device for the desired audio output system: |
1571 |
</p> |
</p> |
1579 |
</p> |
</p> |
1580 |
<p>Where <audio-output-driver> should be replaced by the desired audio |
<p>Where <audio-output-driver> should be replaced by the desired audio |
1581 |
output system as returned by the |
output system as returned by the |
1582 |
<a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> |
<a class='info' href='#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS'>"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class='info'>Getting all available audio output drivers</span><span>)</span></a> |
1583 |
command and <param-list> by an optional list of driver |
command and <param-list> by an optional list of driver |
1584 |
specific parameters in form of "key1=val1 key2=val2 ...", where |
specific parameters in form of "key1=val1 key2=val2 ...", where |
1585 |
character string values should be encapsulated into apostrophes ('). |
character string values should be encapsulated into apostrophes ('). |
1648 |
|
|
1649 |
</p> |
</p> |
1650 |
<a name="DESTROY AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="DESTROY AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
1651 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1652 |
<a name="rfc.section.6.2.6"></a><h3>6.2.6. Destroying an audio output device</h3> |
<a name="rfc.section.6.2.6"></a><h3>6.2.6. |
1653 |
|
Destroying an audio output device</h3> |
1654 |
|
|
1655 |
<p>Use the following command to destroy a created output device: |
<p>Use the following command to destroy a created output device: |
1656 |
</p> |
</p> |
1664 |
</p> |
</p> |
1665 |
<p>Where <device-id> should be replaced by the numerical ID of the |
<p>Where <device-id> should be replaced by the numerical ID of the |
1666 |
audio output device as given by the |
audio output device as given by the |
1667 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
1668 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
1669 |
command. |
command. |
1670 |
</p> |
</p> |
1671 |
<p>Possible Answers: |
<p>Possible Answers: |
1718 |
|
|
1719 |
</p> |
</p> |
1720 |
<a name="GET AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
1721 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1722 |
<a name="rfc.section.6.2.7"></a><h3>6.2.7. Getting all created audio output device count</h3> |
<a name="rfc.section.6.2.7"></a><h3>6.2.7. |
1723 |
|
Getting all created audio output device count</h3> |
1724 |
|
|
1725 |
<p>Use the following command to count all created audio output devices: |
<p>Use the following command to count all created audio output devices: |
1726 |
</p> |
</p> |
1756 |
|
|
1757 |
</p> |
</p> |
1758 |
<a name="LIST AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
<a name="LIST AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
1759 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1760 |
<a name="rfc.section.6.2.8"></a><h3>6.2.8. Getting all created audio output device list</h3> |
<a name="rfc.section.6.2.8"></a><h3>6.2.8. |
1761 |
|
Getting all created audio output device list</h3> |
1762 |
|
|
1763 |
<p>Use the following command to list all created audio output devices: |
<p>Use the following command to list all created audio output devices: |
1764 |
</p> |
</p> |
1794 |
|
|
1795 |
</p> |
</p> |
1796 |
<a name="GET AUDIO_OUTPUT_DEVICE INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DEVICE INFO"></a><br /><hr /> |
1797 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1798 |
<a name="rfc.section.6.2.9"></a><h3>6.2.9. Getting current settings of an audio output device</h3> |
<a name="rfc.section.6.2.9"></a><h3>6.2.9. |
1799 |
|
Getting current settings of an audio output device</h3> |
1800 |
|
|
1801 |
<p>Use the following command to get current settings of a specific, created audio output device: |
<p>Use the following command to get current settings of a specific, created audio output device: |
1802 |
</p> |
</p> |
1810 |
</p> |
</p> |
1811 |
<p>Where <device-id> should be replaced by numerical ID |
<p>Where <device-id> should be replaced by numerical ID |
1812 |
of the audio output device as e.g. returned by the |
of the audio output device as e.g. returned by the |
1813 |
<a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> command. |
<a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> command. |
1814 |
</p> |
</p> |
1815 |
<p>Possible Answers: |
<p>Possible Answers: |
1816 |
</p> |
</p> |
1830 |
<blockquote class="text"> |
<blockquote class="text"> |
1831 |
<p>identifier of the used audio output driver, as also |
<p>identifier of the used audio output driver, as also |
1832 |
returned by the |
returned by the |
1833 |
<a class="info" href="#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS">"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class="info">Getting all available audio output drivers</span><span>)</span></a> |
<a class='info' href='#LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS'>"LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"<span> (</span><span class='info'>Getting all available audio output drivers</span><span>)</span></a> |
1834 |
command |
command |
1835 |
</p> |
</p> |
1836 |
</blockquote> |
</blockquote> |
1871 |
order. The fields above are only those fields which are |
order. The fields above are only those fields which are |
1872 |
returned by all audio output devices. Every audio output driver |
returned by all audio output devices. Every audio output driver |
1873 |
might have its own, additional driver specific parameters (see |
might have its own, additional driver specific parameters (see |
1874 |
<a class="info" href="#GET AUDIO_OUTPUT_DRIVER INFO">Section 6.2.3<span> (</span><span class="info">Getting information about a specific audio output driver</span><span>)</span></a>) |
<a class='info' href='#GET AUDIO_OUTPUT_DRIVER INFO'>Section 6.2.3<span> (</span><span class='info'>Getting information about a specific audio output driver</span><span>)</span></a>) |
1875 |
which are also returned by this command. |
which are also returned by this command. |
1876 |
</p> |
</p> |
1877 |
<p>Example: |
<p>Example: |
1901 |
|
|
1902 |
</p> |
</p> |
1903 |
<a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER"></a><br /><hr /> |
<a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER"></a><br /><hr /> |
1904 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1905 |
<a name="rfc.section.6.2.10"></a><h3>6.2.10. Changing settings of audio output devices</h3> |
<a name="rfc.section.6.2.10"></a><h3>6.2.10. |
1906 |
|
Changing settings of audio output devices</h3> |
1907 |
|
|
1908 |
<p>Use the following command to alter a specific setting of a created audio output device: |
<p>Use the following command to alter a specific setting of a created audio output device: |
1909 |
</p> |
</p> |
1917 |
</p> |
</p> |
1918 |
<p>Where <device-id> should be replaced by the numerical ID of the |
<p>Where <device-id> should be replaced by the numerical ID of the |
1919 |
audio output device as given by the |
audio output device as given by the |
1920 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
1921 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
1922 |
command, <key> by the name of the parameter to change |
command, <key> by the name of the parameter to change |
1923 |
and <value> by the new value for this parameter. |
and <value> by the new value for this parameter. |
1924 |
</p> |
</p> |
1970 |
|
|
1971 |
</p> |
</p> |
1972 |
<a name="GET AUDIO_OUTPUT_CHANNEL INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_CHANNEL INFO"></a><br /><hr /> |
1973 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
1974 |
<a name="rfc.section.6.2.11"></a><h3>6.2.11. Getting information about an audio channel</h3> |
<a name="rfc.section.6.2.11"></a><h3>6.2.11. |
1975 |
|
Getting information about an audio channel</h3> |
1976 |
|
|
1977 |
<p>Use the following command to get information about an audio channel: |
<p>Use the following command to get information about an audio channel: |
1978 |
</p> |
</p> |
1985 |
|
|
1986 |
</p> |
</p> |
1987 |
<p>Where <device-id> is the numerical ID of the audio output device as given by the |
<p>Where <device-id> is the numerical ID of the audio output device as given by the |
1988 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
1989 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
1990 |
command and <audio-chan> the audio channel number. |
command and <audio-chan> the audio channel number. |
1991 |
</p> |
</p> |
1992 |
<p>Possible Answers: |
<p>Possible Answers: |
2113 |
|
|
2114 |
</p> |
</p> |
2115 |
<a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"></a><br /><hr /> |
2116 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2117 |
<a name="rfc.section.6.2.12"></a><h3>6.2.12. Getting information about specific audio channel parameter</h3> |
<a name="rfc.section.6.2.12"></a><h3>6.2.12. |
2118 |
|
Getting information about specific audio channel parameter</h3> |
2119 |
|
|
2120 |
<p>Use the following command to get detailed information about specific audio channel parameter: |
<p>Use the following command to get detailed information about specific audio channel parameter: |
2121 |
</p> |
</p> |
2128 |
|
|
2129 |
</p> |
</p> |
2130 |
<p>Where <dev-id> is the numerical ID of the audio output device as returned by the |
<p>Where <dev-id> is the numerical ID of the audio output device as returned by the |
2131 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
2132 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
2133 |
command, <chan> the audio channel number |
command, <chan> the audio channel number |
2134 |
and <param> a specific channel parameter name for which information should |
and <param> a specific channel parameter name for which information should |
2135 |
be obtained (as returned by the <a class="info" href="#GET AUDIO_OUTPUT_CHANNEL INFO">"GET AUDIO_OUTPUT_CHANNEL INFO"<span> (</span><span class="info">Getting information about an audio channel</span><span>)</span></a> command). |
be obtained (as returned by the <a class='info' href='#GET AUDIO_OUTPUT_CHANNEL INFO'>"GET AUDIO_OUTPUT_CHANNEL INFO"<span> (</span><span class='info'>Getting information about an audio channel</span><span>)</span></a> command). |
2136 |
</p> |
</p> |
2137 |
<p>Possible Answers: |
<p>Possible Answers: |
2138 |
</p> |
</p> |
2260 |
|
|
2261 |
</p> |
</p> |
2262 |
<a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"></a><br /><hr /> |
<a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"></a><br /><hr /> |
2263 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2264 |
<a name="rfc.section.6.2.13"></a><h3>6.2.13. Changing settings of audio output channels</h3> |
<a name="rfc.section.6.2.13"></a><h3>6.2.13. |
2265 |
|
Changing settings of audio output channels</h3> |
2266 |
|
|
2267 |
<p>Use the following command to alter a specific setting of an audio output channel: |
<p>Use the following command to alter a specific setting of an audio output channel: |
2268 |
</p> |
</p> |
2275 |
|
|
2276 |
</p> |
</p> |
2277 |
<p>Where <dev-id> should be replaced by the numerical ID of the audio output device as returned by the |
<p>Where <dev-id> should be replaced by the numerical ID of the audio output device as returned by the |
2278 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
2279 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
2280 |
command, <chn> by the audio channel number, <key> by the name of the |
command, <chn> by the audio channel number, <key> by the name of the |
2281 |
parameter to change and <value> by the new value for this parameter. |
parameter to change and <value> by the new value for this parameter. |
2282 |
</p> |
</p> |
2338 |
|
|
2339 |
</p> |
</p> |
2340 |
<a name="anchor10"></a><br /><hr /> |
<a name="anchor10"></a><br /><hr /> |
2341 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2342 |
<a name="rfc.section.6.3"></a><h3>6.3. Configuring MIDI input drivers</h3> |
<a name="rfc.section.6.3"></a><h3>6.3. |
2343 |
|
Configuring MIDI input drivers</h3> |
2344 |
|
|
2345 |
<p>Instances of drivers in LinuxSampler are called devices. You can use |
<p>Instances of drivers in LinuxSampler are called devices. You can use |
2346 |
multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as |
multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as |
2369 |
possible values, etc. |
possible values, etc. |
2370 |
</p> |
</p> |
2371 |
<a name="GET AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
<a name="GET AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
2372 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2373 |
<a name="rfc.section.6.3.1"></a><h3>6.3.1. Getting amount of available MIDI input drivers</h3> |
<a name="rfc.section.6.3.1"></a><h3>6.3.1. |
2374 |
|
Getting amount of available MIDI input drivers</h3> |
2375 |
|
|
2376 |
<p>Use the following command to get the number of |
<p>Use the following command to get the number of |
2377 |
MIDI input drivers currently available for the |
MIDI input drivers currently available for the |
2409 |
|
|
2410 |
</p> |
</p> |
2411 |
<a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
<a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
2412 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2413 |
<a name="rfc.section.6.3.2"></a><h3>6.3.2. Getting all available MIDI input drivers</h3> |
<a name="rfc.section.6.3.2"></a><h3>6.3.2. |
2414 |
|
Getting all available MIDI input drivers</h3> |
2415 |
|
|
2416 |
<p>Use the following command to list all MIDI input drivers currently available |
<p>Use the following command to list all MIDI input drivers currently available |
2417 |
for the LinuxSampler instance: |
for the LinuxSampler instance: |
2448 |
|
|
2449 |
</p> |
</p> |
2450 |
<a name="GET MIDI_INPUT_DRIVER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DRIVER INFO"></a><br /><hr /> |
2451 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2452 |
<a name="rfc.section.6.3.3"></a><h3>6.3.3. Getting information about a specific MIDI input driver</h3> |
<a name="rfc.section.6.3.3"></a><h3>6.3.3. |
2453 |
|
Getting information about a specific MIDI input driver</h3> |
2454 |
|
|
2455 |
<p>Use the following command to get detailed information about a specific MIDI input driver: |
<p>Use the following command to get detailed information about a specific MIDI input driver: |
2456 |
</p> |
</p> |
2463 |
|
|
2464 |
</p> |
</p> |
2465 |
<p>Where <midi-input-driver> is the name of the MIDI input driver as returned |
<p>Where <midi-input-driver> is the name of the MIDI input driver as returned |
2466 |
by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command. |
by the <a class='info' href='#LIST AVAILABLE_MIDI_INPUT_DRIVERS'>"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class='info'>Getting all available MIDI input drivers</span><span>)</span></a> command. |
2467 |
</p> |
</p> |
2468 |
<p>Possible Answers: |
<p>Possible Answers: |
2469 |
</p> |
</p> |
2530 |
|
|
2531 |
</p> |
</p> |
2532 |
<a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
2533 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2534 |
<a name="rfc.section.6.3.4"></a><h3>6.3.4. Getting information about specific MIDI input driver parameter</h3> |
<a name="rfc.section.6.3.4"></a><h3>6.3.4. |
2535 |
|
Getting information about specific MIDI input driver parameter</h3> |
2536 |
|
|
2537 |
<p>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver: |
<p>Use the following command to get detailed information about a specific parameter of a specific MIDI input driver: |
2538 |
</p> |
</p> |
2545 |
|
|
2546 |
</p> |
</p> |
2547 |
<p>Where <midit> is the name of the MIDI input driver as returned |
<p>Where <midit> is the name of the MIDI input driver as returned |
2548 |
by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command, <param> a specific |
by the <a class='info' href='#LIST AVAILABLE_MIDI_INPUT_DRIVERS'>"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class='info'>Getting all available MIDI input drivers</span><span>)</span></a> command, <param> a specific |
2549 |
parameter name for which information should be obtained (as returned by the |
parameter name for which information should be obtained (as returned by the |
2550 |
<a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific MIDI input driver</span><span>)</span></a> command) and <deplist> is an optional list |
<a class='info' href='#GET MIDI_INPUT_DRIVER INFO'>"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class='info'>Getting information about a specific MIDI input driver</span><span>)</span></a> command) and <deplist> is an optional list |
2551 |
of parameters on which the sought parameter <param> depends on, |
of parameters on which the sought parameter <param> depends on, |
2552 |
<deplist> is a key-value pair list in form of "key1=val1 key2=val2 ...", |
<deplist> is a key-value pair list in form of "key1=val1 key2=val2 ...", |
2553 |
where character string values are encapsulated into apostrophes ('). Arguments |
where character string values are encapsulated into apostrophes ('). Arguments |
2594 |
<blockquote class="text"> |
<blockquote class="text"> |
2595 |
<p>either true or false, defines if this parameter must be |
<p>either true or false, defines if this parameter must be |
2596 |
given when the device is to be created with the |
given when the device is to be created with the |
2597 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> command |
2598 |
(always returned, no matter which driver parameter) |
(always returned, no matter which driver parameter) |
2599 |
</p> |
</p> |
2600 |
</blockquote> |
</blockquote> |
2605 |
<blockquote class="text"> |
<blockquote class="text"> |
2606 |
<p>either true or false, if false then this parameter can |
<p>either true or false, if false then this parameter can |
2607 |
be changed at any time, once the device is created by |
be changed at any time, once the device is created by |
2608 |
the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command |
the <a class='info' href='#CREATE MIDI_INPUT_DEVICE'>'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> command |
2609 |
(always returned, no matter which driver parameter) |
(always returned, no matter which driver parameter) |
2610 |
</p> |
</p> |
2611 |
</blockquote> |
</blockquote> |
2644 |
<blockquote class="text"> |
<blockquote class="text"> |
2645 |
<p>reflects the default value for this parameter which is |
<p>reflects the default value for this parameter which is |
2646 |
used when the device is created and not explicitly |
used when the device is created and not explicitly |
2647 |
given with the <a class="info" href="#CREATE MIDI_INPUT_DEVICE">'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> command, |
given with the <a class='info' href='#CREATE MIDI_INPUT_DEVICE'>'CREATE MIDI_INPUT_DEVICE'<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> command, |
2648 |
in case of MULTIPLCITY=true, this is a comma separated |
in case of MULTIPLCITY=true, this is a comma separated |
2649 |
list, that's why character strings are encapsulated into |
list, that's why character strings are encapsulated into |
2650 |
apostrophes (') |
apostrophes (') |
2718 |
|
|
2719 |
</p> |
</p> |
2720 |
<a name="CREATE MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="CREATE MIDI_INPUT_DEVICE"></a><br /><hr /> |
2721 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2722 |
<a name="rfc.section.6.3.5"></a><h3>6.3.5. Creating a MIDI input device</h3> |
<a name="rfc.section.6.3.5"></a><h3>6.3.5. |
2723 |
|
Creating a MIDI input device</h3> |
2724 |
|
|
2725 |
<p>Use the following command to create a new MIDI input device for the desired MIDI input system: |
<p>Use the following command to create a new MIDI input device for the desired MIDI input system: |
2726 |
</p> |
</p> |
2733 |
|
|
2734 |
</p> |
</p> |
2735 |
<p>Where <midi-input-driver> should be replaced by the desired MIDI input system as returned |
<p>Where <midi-input-driver> should be replaced by the desired MIDI input system as returned |
2736 |
by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> command and <param-list> by an |
by the <a class='info' href='#LIST AVAILABLE_MIDI_INPUT_DRIVERS'>"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class='info'>Getting all available MIDI input drivers</span><span>)</span></a> command and <param-list> by an |
2737 |
optional list of driver specific parameters in form of "key1=val1 key2=val2 ...", where |
optional list of driver specific parameters in form of "key1=val1 key2=val2 ...", where |
2738 |
character string values should be encapsulated into apostrophes ('). |
character string values should be encapsulated into apostrophes ('). |
2739 |
Note that there might be drivers which require parameter(s) to be |
Note that there might be drivers which require parameter(s) to be |
2789 |
|
|
2790 |
</p> |
</p> |
2791 |
<a name="DESTROY MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="DESTROY MIDI_INPUT_DEVICE"></a><br /><hr /> |
2792 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2793 |
<a name="rfc.section.6.3.6"></a><h3>6.3.6. Destroying a MIDI input device</h3> |
<a name="rfc.section.6.3.6"></a><h3>6.3.6. |
2794 |
|
Destroying a MIDI input device</h3> |
2795 |
|
|
2796 |
<p>Use the following command to destroy a created MIDI input device: |
<p>Use the following command to destroy a created MIDI input device: |
2797 |
</p> |
</p> |
2804 |
|
|
2805 |
</p> |
</p> |
2806 |
<p>Where <device-id> should be replaced by the device's numerical ID as returned by the |
<p>Where <device-id> should be replaced by the device's numerical ID as returned by the |
2807 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
2808 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
2809 |
command. |
command. |
2810 |
</p> |
</p> |
2811 |
<p>Possible Answers: |
<p>Possible Answers: |
2855 |
|
|
2856 |
</p> |
</p> |
2857 |
<a name="GET MIDI_INPUT_DEVICES"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DEVICES"></a><br /><hr /> |
2858 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2859 |
<a name="rfc.section.6.3.7"></a><h3>6.3.7. Getting all created MIDI input device count</h3> |
<a name="rfc.section.6.3.7"></a><h3>6.3.7. |
2860 |
|
Getting all created MIDI input device count</h3> |
2861 |
|
|
2862 |
<p>Use the following command to count all created MIDI input devices: |
<p>Use the following command to count all created MIDI input devices: |
2863 |
</p> |
</p> |
2893 |
|
|
2894 |
</p> |
</p> |
2895 |
<a name="LIST MIDI_INPUT_DEVICES"></a><br /><hr /> |
<a name="LIST MIDI_INPUT_DEVICES"></a><br /><hr /> |
2896 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2897 |
<a name="rfc.section.6.3.8"></a><h3>6.3.8. Getting all created MIDI input device list</h3> |
<a name="rfc.section.6.3.8"></a><h3>6.3.8. |
2898 |
|
Getting all created MIDI input device list</h3> |
2899 |
|
|
2900 |
<p>Use the following command to list all created MIDI input devices: |
<p>Use the following command to list all created MIDI input devices: |
2901 |
</p> |
</p> |
2941 |
|
|
2942 |
</p> |
</p> |
2943 |
<a name="GET MIDI_INPUT_DEVICE INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DEVICE INFO"></a><br /><hr /> |
2944 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
2945 |
<a name="rfc.section.6.3.9"></a><h3>6.3.9. Getting current settings of a MIDI input device</h3> |
<a name="rfc.section.6.3.9"></a><h3>6.3.9. |
2946 |
|
Getting current settings of a MIDI input device</h3> |
2947 |
|
|
2948 |
<p>Use the following command to get current settings of a specific, created MIDI input device: |
<p>Use the following command to get current settings of a specific, created MIDI input device: |
2949 |
</p> |
</p> |
2956 |
|
|
2957 |
</p> |
</p> |
2958 |
<p>Where <device-id> is the numerical ID of the MIDI input device as returned by the |
<p>Where <device-id> is the numerical ID of the MIDI input device as returned by the |
2959 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
2960 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
2961 |
command. |
command. |
2962 |
</p> |
</p> |
2963 |
<p>Possible Answers: |
<p>Possible Answers: |
2980 |
</p> |
</p> |
2981 |
<blockquote class="text"> |
<blockquote class="text"> |
2982 |
<p>identifier of the used MIDI input driver, as e.g. |
<p>identifier of the used MIDI input driver, as e.g. |
2983 |
returned by the <a class="info" href="#LIST AVAILABLE_MIDI_INPUT_DRIVERS">"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class="info">Getting all available MIDI input drivers</span><span>)</span></a> |
returned by the <a class='info' href='#LIST AVAILABLE_MIDI_INPUT_DRIVERS'>"LIST AVAILABLE_MIDI_INPUT_DRIVERS"<span> (</span><span class='info'>Getting all available MIDI input drivers</span><span>)</span></a> |
2984 |
command |
command |
2985 |
</p> |
</p> |
2986 |
</blockquote> |
</blockquote> |
3010 |
order. The fields above are only those fields which are |
order. The fields above are only those fields which are |
3011 |
returned by all MIDI input devices. Every MIDI input driver |
returned by all MIDI input devices. Every MIDI input driver |
3012 |
might have its own, additional driver specific parameters (see |
might have its own, additional driver specific parameters (see |
3013 |
<a class="info" href="#GET MIDI_INPUT_DRIVER INFO">"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class="info">Getting information about a specific MIDI input driver</span><span>)</span></a> command) which are also returned |
<a class='info' href='#GET MIDI_INPUT_DRIVER INFO'>"GET MIDI_INPUT_DRIVER INFO"<span> (</span><span class='info'>Getting information about a specific MIDI input driver</span><span>)</span></a> command) which are also returned |
3014 |
by this command. |
by this command. |
3015 |
</p> |
</p> |
3016 |
<p>Example: |
<p>Example: |
3030 |
|
|
3031 |
</p> |
</p> |
3032 |
<a name="SET MIDI_INPUT_DEVICE_PARAMETER"></a><br /><hr /> |
<a name="SET MIDI_INPUT_DEVICE_PARAMETER"></a><br /><hr /> |
3033 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3034 |
<a name="rfc.section.6.3.10"></a><h3>6.3.10. Changing settings of MIDI input devices</h3> |
<a name="rfc.section.6.3.10"></a><h3>6.3.10. |
3035 |
|
Changing settings of MIDI input devices</h3> |
3036 |
|
|
3037 |
<p>Use the following command to alter a specific setting of a created MIDI input device: |
<p>Use the following command to alter a specific setting of a created MIDI input device: |
3038 |
</p> |
</p> |
3046 |
</p> |
</p> |
3047 |
<p>Where <device-id> should be replaced by the numerical ID of the |
<p>Where <device-id> should be replaced by the numerical ID of the |
3048 |
MIDI input device as returned by the |
MIDI input device as returned by the |
3049 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
3050 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
3051 |
command, <key> by the name of the parameter to change and |
command, <key> by the name of the parameter to change and |
3052 |
<value> by the new value for this parameter. |
<value> by the new value for this parameter. |
3053 |
</p> |
</p> |
3098 |
|
|
3099 |
</p> |
</p> |
3100 |
<a name="GET MIDI_INPUT_PORT INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_PORT INFO"></a><br /><hr /> |
3101 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3102 |
<a name="rfc.section.6.3.11"></a><h3>6.3.11. Getting information about a MIDI port</h3> |
<a name="rfc.section.6.3.11"></a><h3>6.3.11. |
3103 |
|
Getting information about a MIDI port</h3> |
3104 |
|
|
3105 |
<p>Use the following command to get information about a MIDI port: |
<p>Use the following command to get information about a MIDI port: |
3106 |
</p> |
</p> |
3113 |
|
|
3114 |
</p> |
</p> |
3115 |
<p>Where <device-id> is the numerical ID of the MIDI input device as returned by the |
<p>Where <device-id> is the numerical ID of the MIDI input device as returned by the |
3116 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
3117 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
3118 |
command and <midi-port> the MIDI input port number. |
command and <midi-port> the MIDI input port number. |
3119 |
</p> |
</p> |
3120 |
<p>Possible Answers: |
<p>Possible Answers: |
3161 |
|
|
3162 |
</p> |
</p> |
3163 |
<a name="GET MIDI_INPUT_PORT_PARAMETER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_PORT_PARAMETER INFO"></a><br /><hr /> |
3164 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3165 |
<a name="rfc.section.6.3.12"></a><h3>6.3.12. Getting information about specific MIDI port parameter</h3> |
<a name="rfc.section.6.3.12"></a><h3>6.3.12. |
3166 |
|
Getting information about specific MIDI port parameter</h3> |
3167 |
|
|
3168 |
<p>Use the following command to get detailed information about specific MIDI port parameter: |
<p>Use the following command to get detailed information about specific MIDI port parameter: |
3169 |
</p> |
</p> |
3176 |
|
|
3177 |
</p> |
</p> |
3178 |
<p>Where <dev-id> is the numerical ID of the MIDI input device as returned by the |
<p>Where <dev-id> is the numerical ID of the MIDI input device as returned by the |
3179 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
3180 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
3181 |
command, <port> the MIDI port number and |
command, <port> the MIDI port number and |
3182 |
<param> a specific port parameter name for which information should be |
<param> a specific port parameter name for which information should be |
3183 |
obtained (as returned by the <a class="info" href="#GET MIDI_INPUT_PORT INFO">"GET MIDI_INPUT_PORT INFO"<span> (</span><span class="info">Getting information about a MIDI port</span><span>)</span></a> command). |
obtained (as returned by the <a class='info' href='#GET MIDI_INPUT_PORT INFO'>"GET MIDI_INPUT_PORT INFO"<span> (</span><span class='info'>Getting information about a MIDI port</span><span>)</span></a> command). |
3184 |
</p> |
</p> |
3185 |
<p>Possible Answers: |
<p>Possible Answers: |
3186 |
</p> |
</p> |
3303 |
|
|
3304 |
</p> |
</p> |
3305 |
<a name="SET MIDI_INPUT_PORT_PARAMETER"></a><br /><hr /> |
<a name="SET MIDI_INPUT_PORT_PARAMETER"></a><br /><hr /> |
3306 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3307 |
<a name="rfc.section.6.3.13"></a><h3>6.3.13. Changing settings of MIDI input ports</h3> |
<a name="rfc.section.6.3.13"></a><h3>6.3.13. |
3308 |
|
Changing settings of MIDI input ports</h3> |
3309 |
|
|
3310 |
<p>Use the following command to alter a specific setting of a MIDI input port: |
<p>Use the following command to alter a specific setting of a MIDI input port: |
3311 |
</p> |
</p> |
3319 |
</p> |
</p> |
3320 |
<p>Where <device-id> should be replaced by the numerical ID of the |
<p>Where <device-id> should be replaced by the numerical ID of the |
3321 |
MIDI device as returned by the |
MIDI device as returned by the |
3322 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
3323 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> |
3324 |
command, <port> by the MIDI port number, <key> by the name of |
command, <port> by the MIDI port number, <key> by the name of |
3325 |
the parameter to change and <value> by the new value for this |
the parameter to change and <value> by the new value for this |
3326 |
parameter. |
parameter (encapsulated into apostrophes) or NONE (not encapsulated into apostrophes) |
3327 |
|
for specifying no value for parameters allowing a list of values. |
3328 |
</p> |
</p> |
3329 |
<p>Possible Answers: |
<p>Possible Answers: |
3330 |
</p> |
</p> |
3365 |
<p> |
<p> |
3366 |
</p> |
</p> |
3367 |
<blockquote class="text"> |
<blockquote class="text"> |
3368 |
|
<p>C: "SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS='20:0'" |
3369 |
|
</p> |
3370 |
|
<p>S: "OK" |
3371 |
|
</p> |
3372 |
|
</blockquote><p> |
3373 |
|
|
3374 |
|
</p> |
3375 |
<p> |
<p> |
3376 |
|
</p> |
3377 |
|
<blockquote class="text"> |
3378 |
|
<p>C: "SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS=NONE" |
3379 |
|
</p> |
3380 |
|
<p>S: "OK" |
3381 |
</p> |
</p> |
3382 |
</blockquote><p> |
</blockquote><p> |
3383 |
|
|
3384 |
</p> |
</p> |
3385 |
<a name="anchor11"></a><br /><hr /> |
<a name="anchor11"></a><br /><hr /> |
3386 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3387 |
<a name="rfc.section.6.4"></a><h3>6.4. Configuring sampler channels</h3> |
<a name="rfc.section.6.4"></a><h3>6.4. |
3388 |
|
Configuring sampler channels</h3> |
3389 |
|
|
3390 |
<p>The following commands describe how to add and remove sampler channels, associate a |
<p>The following commands describe how to add and remove sampler channels, associate a |
3391 |
sampler channel with a sampler engine, load instruments and connect sampler channels to |
sampler channel with a sampler engine, load instruments and connect sampler channels to |
3392 |
MIDI and audio devices. |
MIDI and audio devices. |
3393 |
</p> |
</p> |
3394 |
<a name="LOAD INSTRUMENT"></a><br /><hr /> |
<a name="LOAD INSTRUMENT"></a><br /><hr /> |
3395 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3396 |
<a name="rfc.section.6.4.1"></a><h3>6.4.1. Loading an instrument</h3> |
<a name="rfc.section.6.4.1"></a><h3>6.4.1. |
3397 |
|
Loading an instrument</h3> |
3398 |
|
|
3399 |
<p>An instrument file can be loaded and assigned to a sampler channel by one of the following commands: |
<p>An instrument file can be loaded and assigned to a sampler channel by one of the following commands: |
3400 |
</p> |
</p> |
3412 |
number of the sampler channel the instrument should be assigned to. |
number of the sampler channel the instrument should be assigned to. |
3413 |
Each sampler channel can only have one instrument. |
Each sampler channel can only have one instrument. |
3414 |
</p> |
</p> |
3415 |
|
<p>Notice: since LSCP 1.2 the <filename> argument supports |
3416 |
|
escape characters for special characters (see chapter |
3417 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>" |
3418 |
|
for details) and accordingly backslash characters in the filename |
3419 |
|
MUST now be escaped as well! |
3420 |
|
</p> |
3421 |
<p>The difference between regular and NON_MODAL versions of the command |
<p>The difference between regular and NON_MODAL versions of the command |
3422 |
is that the regular command returns OK only after the instrument has been |
is that the regular command returns OK only after the instrument has been |
3423 |
fully loaded and the channel is ready to be used while NON_MODAL version |
fully loaded and the channel is ready to be used while NON_MODAL version |
3424 |
returns immediately and a background process is launched to load the instrument |
returns immediately and a background process is launched to load the instrument |
3425 |
on the channel. The <a class="info" href="#GET CHANNEL INFO">GET CHANNEL INFO<span> (</span><span class="info">Getting sampler channel information</span><span>)</span></a> |
on the channel. The <a class='info' href='#GET CHANNEL INFO'>GET CHANNEL INFO<span> (</span><span class='info'>Getting sampler channel information</span><span>)</span></a> |
3426 |
command can be used to obtain loading |
command can be used to obtain loading |
3427 |
progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks |
progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks |
3428 |
such as making sure that the file could be read and it is of a proper format |
such as making sure that the file could be read and it is of a proper format |
3465 |
</blockquote><p> |
</blockquote><p> |
3466 |
|
|
3467 |
</p> |
</p> |
3468 |
<p>Example: |
<p>Example (Unix): |
3469 |
</p> |
</p> |
3470 |
<p> |
<p> |
3471 |
</p> |
</p> |
3472 |
<blockquote class="text"> |
<blockquote class="text"> |
3473 |
|
<p>C: LOAD INSTRUMENT '/home/joe/gigs/cello.gig' 0 0 |
3474 |
|
</p> |
3475 |
|
<p>S: OK |
3476 |
|
</p> |
3477 |
|
</blockquote><p> |
3478 |
|
|
3479 |
|
</p> |
3480 |
|
<p>Example (Windows): |
3481 |
|
</p> |
3482 |
<p> |
<p> |
3483 |
|
</p> |
3484 |
|
<blockquote class="text"> |
3485 |
|
<p>C: LOAD INSTRUMENT 'D:/MySounds/cello.gig' 0 0 |
3486 |
|
</p> |
3487 |
|
<p>S: OK |
3488 |
</p> |
</p> |
3489 |
</blockquote><p> |
</blockquote><p> |
3490 |
|
|
3491 |
</p> |
</p> |
3492 |
<a name="LOAD ENGINE"></a><br /><hr /> |
<a name="LOAD ENGINE"></a><br /><hr /> |
3493 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3494 |
<a name="rfc.section.6.4.2"></a><h3>6.4.2. Loading a sampler engine</h3> |
<a name="rfc.section.6.4.2"></a><h3>6.4.2. |
3495 |
|
Loading a sampler engine</h3> |
3496 |
|
|
3497 |
<p>A sampler engine type can be associated to a specific sampler |
<p>A sampler engine type can be associated to a specific sampler |
3498 |
channel by the following command: |
channel by the following command: |
3506 |
|
|
3507 |
</p> |
</p> |
3508 |
<p>Where <engine-name> is an engine name as obtained by the |
<p>Where <engine-name> is an engine name as obtained by the |
3509 |
<a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span> (</span><span class="info">Getting all available engines</span><span>)</span></a> command and <sampler-channel> |
<a class='info' href='#LIST AVAILABLE_ENGINES'>"LIST AVAILABLE_ENGINES"<span> (</span><span class='info'>Getting all available engines</span><span>)</span></a> command and <sampler-channel> |
3510 |
the sampler channel as returned by the |
the sampler channel as returned by the |
3511 |
<a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> or |
<a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> or |
3512 |
<a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command where |
<a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command where |
3513 |
the engine type should be assigned to. This command should be issued |
the engine type should be assigned to. This command should be issued |
3514 |
after adding a new sampler channel and before any other control |
after adding a new sampler channel and before any other control |
3515 |
commands on the new sampler channel. It can also be used to change |
commands on the new sampler channel. It can also be used to change |
3565 |
|
|
3566 |
</p> |
</p> |
3567 |
<a name="GET CHANNELS"></a><br /><hr /> |
<a name="GET CHANNELS"></a><br /><hr /> |
3568 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3569 |
<a name="rfc.section.6.4.3"></a><h3>6.4.3. Getting all created sampler channel count</h3> |
<a name="rfc.section.6.4.3"></a><h3>6.4.3. |
3570 |
|
Getting all created sampler channel count</h3> |
3571 |
|
|
3572 |
<p>The number of sampler channels can change on runtime. To get the |
<p>The number of sampler channels can change on runtime. To get the |
3573 |
current amount of sampler channels, the front-end can send the |
current amount of sampler channels, the front-end can send the |
3604 |
|
|
3605 |
</p> |
</p> |
3606 |
<a name="LIST CHANNELS"></a><br /><hr /> |
<a name="LIST CHANNELS"></a><br /><hr /> |
3607 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3608 |
<a name="rfc.section.6.4.4"></a><h3>6.4.4. Getting all created sampler channel list</h3> |
<a name="rfc.section.6.4.4"></a><h3>6.4.4. |
3609 |
|
Getting all created sampler channel list</h3> |
3610 |
|
|
3611 |
<p>The number of sampler channels can change on runtime. To get the |
<p>The number of sampler channels can change on runtime. To get the |
3612 |
current list of sampler channels, the front-end can send the |
current list of sampler channels, the front-end can send the |
3644 |
|
|
3645 |
</p> |
</p> |
3646 |
<a name="ADD CHANNEL"></a><br /><hr /> |
<a name="ADD CHANNEL"></a><br /><hr /> |
3647 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3648 |
<a name="rfc.section.6.4.5"></a><h3>6.4.5. Adding a new sampler channel</h3> |
<a name="rfc.section.6.4.5"></a><h3>6.4.5. |
3649 |
|
Adding a new sampler channel</h3> |
3650 |
|
|
3651 |
<p>A new sampler channel can be added to the end of the sampler |
<p>A new sampler channel can be added to the end of the sampler |
3652 |
channel list by sending the following command: |
channel list by sending the following command: |
3719 |
|
|
3720 |
</p> |
</p> |
3721 |
<a name="REMOVE CHANNEL"></a><br /><hr /> |
<a name="REMOVE CHANNEL"></a><br /><hr /> |
3722 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3723 |
<a name="rfc.section.6.4.6"></a><h3>6.4.6. Removing a sampler channel</h3> |
<a name="rfc.section.6.4.6"></a><h3>6.4.6. |
3724 |
|
Removing a sampler channel</h3> |
3725 |
|
|
3726 |
<p>A sampler channel can be removed by sending the following command: |
<p>A sampler channel can be removed by sending the following command: |
3727 |
</p> |
</p> |
3735 |
</p> |
</p> |
3736 |
<p>Where <sampler-channel> should be replaced by the |
<p>Where <sampler-channel> should be replaced by the |
3737 |
number of the sampler channel as given by the |
number of the sampler channel as given by the |
3738 |
<a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> |
<a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
3739 |
or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> |
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> |
3740 |
command. The channel numbers of all subsequent sampler channels |
command. The channel numbers of all subsequent sampler channels |
3741 |
remain the same. |
remain the same. |
3742 |
</p> |
</p> |
3786 |
|
|
3787 |
</p> |
</p> |
3788 |
<a name="GET AVAILABLE_ENGINES"></a><br /><hr /> |
<a name="GET AVAILABLE_ENGINES"></a><br /><hr /> |
3789 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3790 |
<a name="rfc.section.6.4.7"></a><h3>6.4.7. Getting amount of available engines</h3> |
<a name="rfc.section.6.4.7"></a><h3>6.4.7. |
3791 |
|
Getting amount of available engines</h3> |
3792 |
|
|
3793 |
<p>The front-end can ask for the number of available engines by sending the following command: |
<p>The front-end can ask for the number of available engines by sending the following command: |
3794 |
</p> |
</p> |
3823 |
|
|
3824 |
</p> |
</p> |
3825 |
<a name="LIST AVAILABLE_ENGINES"></a><br /><hr /> |
<a name="LIST AVAILABLE_ENGINES"></a><br /><hr /> |
3826 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3827 |
<a name="rfc.section.6.4.8"></a><h3>6.4.8. Getting all available engines</h3> |
<a name="rfc.section.6.4.8"></a><h3>6.4.8. |
3828 |
|
Getting all available engines</h3> |
3829 |
|
|
3830 |
<p>The front-end can ask for a list of all available engines by sending the following command: |
<p>The front-end can ask for a list of all available engines by sending the following command: |
3831 |
</p> |
</p> |
3863 |
|
|
3864 |
</p> |
</p> |
3865 |
<a name="GET ENGINE INFO"></a><br /><hr /> |
<a name="GET ENGINE INFO"></a><br /><hr /> |
3866 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3867 |
<a name="rfc.section.6.4.9"></a><h3>6.4.9. Getting information about an engine</h3> |
<a name="rfc.section.6.4.9"></a><h3>6.4.9. |
3868 |
|
Getting information about an engine</h3> |
3869 |
|
|
3870 |
<p>The front-end can ask for information about a specific engine by |
<p>The front-end can ask for information about a specific engine by |
3871 |
sending the following command: |
sending the following command: |
3879 |
|
|
3880 |
</p> |
</p> |
3881 |
<p>Where <engine-name> is an engine name as obtained by the |
<p>Where <engine-name> is an engine name as obtained by the |
3882 |
<a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span> (</span><span class="info">Getting all available engines</span><span>)</span></a> command. |
<a class='info' href='#LIST AVAILABLE_ENGINES'>"LIST AVAILABLE_ENGINES"<span> (</span><span class='info'>Getting all available engines</span><span>)</span></a> command. |
3883 |
</p> |
</p> |
3884 |
<p>Possible Answers: |
<p>Possible Answers: |
3885 |
</p> |
</p> |
3899 |
</p> |
</p> |
3900 |
<blockquote class="text"> |
<blockquote class="text"> |
3901 |
<p>arbitrary description text about the engine |
<p>arbitrary description text about the engine |
3902 |
|
(note that the character string may contain |
3903 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
3904 |
</p> |
</p> |
3905 |
</blockquote> |
</blockquote> |
3906 |
|
|
3938 |
|
|
3939 |
</p> |
</p> |
3940 |
<a name="GET CHANNEL INFO"></a><br /><hr /> |
<a name="GET CHANNEL INFO"></a><br /><hr /> |
3941 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
3942 |
<a name="rfc.section.6.4.10"></a><h3>6.4.10. Getting sampler channel information</h3> |
<a name="rfc.section.6.4.10"></a><h3>6.4.10. |
3943 |
|
Getting sampler channel information</h3> |
3944 |
|
|
3945 |
<p>The front-end can ask for the current settings of a sampler channel |
<p>The front-end can ask for the current settings of a sampler channel |
3946 |
by sending the following command: |
by sending the following command: |
3954 |
|
|
3955 |
</p> |
</p> |
3956 |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
3957 |
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> |
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> |
3958 |
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. |
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. |
3959 |
</p> |
</p> |
3960 |
<p>Possible Answers: |
<p>Possible Answers: |
3961 |
</p> |
</p> |
4020 |
<blockquote class="text"> |
<blockquote class="text"> |
4021 |
<p>the file name of the loaded instrument, "NONE" if |
<p>the file name of the loaded instrument, "NONE" if |
4022 |
there's no instrument yet loaded for this sampler |
there's no instrument yet loaded for this sampler |
4023 |
channel |
channel (note: since LSCP 1.2 this path may contain |
4024 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
4025 |
</p> |
</p> |
4026 |
</blockquote> |
</blockquote> |
4027 |
|
|
4038 |
</p> |
</p> |
4039 |
<blockquote class="text"> |
<blockquote class="text"> |
4040 |
<p>the instrument name of the loaded instrument |
<p>the instrument name of the loaded instrument |
4041 |
|
(note: since LSCP 1.2 this character string may contain |
4042 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
4043 |
</p> |
</p> |
4044 |
</blockquote> |
</blockquote> |
4045 |
|
|
4086 |
</p> |
</p> |
4087 |
<blockquote class="text"> |
<blockquote class="text"> |
4088 |
<p>optionally dotted number for the channel volume factor |
<p>optionally dotted number for the channel volume factor |
4089 |
(where a value < 1.0 means attenuation and a value > |
(where a value < 1.0 means attenuation and a value > |
4090 |
1.0 means amplification) |
1.0 means amplification) |
4091 |
</p> |
</p> |
4092 |
</blockquote> |
</blockquote> |
4113 |
</blockquote> |
</blockquote> |
4114 |
|
|
4115 |
|
|
4116 |
|
<p>MIDI_INSTRUMENT_MAP - |
4117 |
|
</p> |
4118 |
|
<blockquote class="text"> |
4119 |
|
<p>Determines to which MIDI instrument map this sampler |
4120 |
|
channel is assigned to. Read chapter |
4121 |
|
<a class='info' href='#SET CHANNEL MIDI_INSTRUMENT_MAP'>"SET CHANNEL MIDI_INSTRUMENT_MAP"<span> (</span><span class='info'>Assigning a MIDI instrument map to a sampler channel</span><span>)</span></a> |
4122 |
|
for a list of possible values. |
4123 |
|
</p> |
4124 |
|
</blockquote> |
4125 |
|
|
4126 |
|
|
4127 |
</blockquote> |
</blockquote> |
4128 |
|
|
4129 |
|
|
4163 |
</p> |
</p> |
4164 |
<p> "MIDI_INPUT_CHANNEL: 5" |
<p> "MIDI_INPUT_CHANNEL: 5" |
4165 |
</p> |
</p> |
4166 |
|
<p> "VOLUME: 1.0" |
4167 |
|
</p> |
4168 |
|
<p> "MUTE: false" |
4169 |
|
</p> |
4170 |
|
<p> "SOLO: false" |
4171 |
|
</p> |
4172 |
|
<p> "MIDI_INSTRUMENT_MAP: NONE" |
4173 |
|
</p> |
4174 |
<p> "." |
<p> "." |
4175 |
</p> |
</p> |
4176 |
</blockquote><p> |
</blockquote><p> |
4177 |
|
|
4178 |
</p> |
</p> |
4179 |
<a name="GET CHANNEL VOICE_COUNT"></a><br /><hr /> |
<a name="GET CHANNEL VOICE_COUNT"></a><br /><hr /> |
4180 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4181 |
<a name="rfc.section.6.4.11"></a><h3>6.4.11. Current number of active voices</h3> |
<a name="rfc.section.6.4.11"></a><h3>6.4.11. |
4182 |
|
Current number of active voices</h3> |
4183 |
|
|
4184 |
<p>The front-end can ask for the current number of active voices on a |
<p>The front-end can ask for the current number of active voices on a |
4185 |
sampler channel by sending the following command: |
sampler channel by sending the following command: |
4193 |
|
|
4194 |
</p> |
</p> |
4195 |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
4196 |
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> |
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> |
4197 |
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. |
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. |
4198 |
</p> |
</p> |
4199 |
<p>Possible Answers: |
<p>Possible Answers: |
4200 |
</p> |
</p> |
4218 |
|
|
4219 |
</p> |
</p> |
4220 |
<a name="GET CHANNEL STREAM_COUNT"></a><br /><hr /> |
<a name="GET CHANNEL STREAM_COUNT"></a><br /><hr /> |
4221 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4222 |
<a name="rfc.section.6.4.12"></a><h3>6.4.12. Current number of active disk streams</h3> |
<a name="rfc.section.6.4.12"></a><h3>6.4.12. |
4223 |
|
Current number of active disk streams</h3> |
4224 |
|
|
4225 |
<p>The front-end can ask for the current number of active disk streams |
<p>The front-end can ask for the current number of active disk streams |
4226 |
on a sampler channel by sending the following command: |
on a sampler channel by sending the following command: |
4234 |
|
|
4235 |
</p> |
</p> |
4236 |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
<p>Where <sampler-channel> is the sampler channel number the front-end is interested in |
4237 |
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> |
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> |
4238 |
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. |
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. |
4239 |
</p> |
</p> |
4240 |
<p>Possible Answers: |
<p>Possible Answers: |
4241 |
</p> |
</p> |
4261 |
|
|
4262 |
</p> |
</p> |
4263 |
<a name="GET CHANNEL BUFFER_FILL"></a><br /><hr /> |
<a name="GET CHANNEL BUFFER_FILL"></a><br /><hr /> |
4264 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4265 |
<a name="rfc.section.6.4.13"></a><h3>6.4.13. Current fill state of disk stream buffers</h3> |
<a name="rfc.section.6.4.13"></a><h3>6.4.13. |
4266 |
|
Current fill state of disk stream buffers</h3> |
4267 |
|
|
4268 |
<p>The front-end can ask for the current fill state of all disk streams |
<p>The front-end can ask for the current fill state of all disk streams |
4269 |
on a sampler channel by sending the following command: |
on a sampler channel by sending the following command: |
4288 |
</p> |
</p> |
4289 |
<p>to get the fill state in percent, where <sampler-channel> is the |
<p>to get the fill state in percent, where <sampler-channel> is the |
4290 |
sampler channel number the front-end is interested in |
sampler channel number the front-end is interested in |
4291 |
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> |
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> |
4292 |
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. |
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. |
4293 |
</p> |
</p> |
4294 |
<p>Possible Answers: |
<p>Possible Answers: |
4295 |
</p> |
</p> |
4339 |
|
|
4340 |
</p> |
</p> |
4341 |
<a name="SET CHANNEL AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
4342 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4343 |
<a name="rfc.section.6.4.14"></a><h3>6.4.14. Setting audio output device</h3> |
<a name="rfc.section.6.4.14"></a><h3>6.4.14. |
4344 |
|
Setting audio output device</h3> |
4345 |
|
|
4346 |
<p>The front-end can set the audio output device on a specific sampler |
<p>The front-end can set the audio output device on a specific sampler |
4347 |
channel by sending the following command: |
channel by sending the following command: |
4355 |
|
|
4356 |
</p> |
</p> |
4357 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4358 |
number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> |
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
4359 |
or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and |
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command and |
4360 |
<audio-device-id> is the numerical ID of the audio output device as given by the |
<audio-device-id> is the numerical ID of the audio output device as given by the |
4361 |
<a class="info" href="#CREATE AUDIO_OUTPUT_DEVICE">"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class="info">Creating an audio output device</span><span>)</span></a> |
<a class='info' href='#CREATE AUDIO_OUTPUT_DEVICE'>"CREATE AUDIO_OUTPUT_DEVICE"<span> (</span><span class='info'>Creating an audio output device</span><span>)</span></a> |
4362 |
or <a class="info" href="#LIST AUDIO_OUTPUT_DEVICES">"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class="info">Getting all created audio output device list</span><span>)</span></a> |
or <a class='info' href='#LIST AUDIO_OUTPUT_DEVICES'>"LIST AUDIO_OUTPUT_DEVICES"<span> (</span><span class='info'>Getting all created audio output device list</span><span>)</span></a> |
4363 |
command. |
command. |
4364 |
</p> |
</p> |
4365 |
<p>Possible Answers: |
<p>Possible Answers: |
4406 |
</blockquote><p> |
</blockquote><p> |
4407 |
|
|
4408 |
</p> |
</p> |
4409 |
<a name="SET CHANNEL AUDIO_OUTPUT_TYP"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_TYPE"></a><br /><hr /> |
4410 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4411 |
<a name="rfc.section.6.4.15"></a><h3>6.4.15. Setting audio output type</h3> |
<a name="rfc.section.6.4.15"></a><h3>6.4.15. |
4412 |
|
Setting audio output type</h3> |
4413 |
|
|
4414 |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
4415 |
</p> |
</p> |
4472 |
|
|
4473 |
</p> |
</p> |
4474 |
<a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
4475 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4476 |
<a name="rfc.section.6.4.16"></a><h3>6.4.16. Setting audio output channel</h3> |
<a name="rfc.section.6.4.16"></a><h3>6.4.16. |
4477 |
|
Setting audio output channel</h3> |
4478 |
|
|
4479 |
<p>The front-end can alter the audio output channel on a specific |
<p>The front-end can alter the audio output channel on a specific |
4480 |
sampler channel by sending the following command: |
sampler channel by sending the following command: |
4488 |
|
|
4489 |
</p> |
</p> |
4490 |
<p>Where <sampler-chan> is the sampler channel number |
<p>Where <sampler-chan> is the sampler channel number |
4491 |
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> |
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> |
4492 |
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, <audio-out> is the |
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command, <audio-out> is the |
4493 |
numerical ID of the sampler channel's audio output channel which should be |
numerical ID of the sampler channel's audio output channel which should be |
4494 |
rerouted and <audio-in> is the numerical ID of the audio channel of the selected audio |
rerouted and <audio-in> is the numerical ID of the audio channel of the selected audio |
4495 |
output device where <audio-out> should be routed to. |
output device where <audio-out> should be routed to. |
4539 |
|
|
4540 |
</p> |
</p> |
4541 |
<a name="SET CHANNEL MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_DEVICE"></a><br /><hr /> |
4542 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4543 |
<a name="rfc.section.6.4.17"></a><h3>6.4.17. Setting MIDI input device</h3> |
<a name="rfc.section.6.4.17"></a><h3>6.4.17. |
4544 |
|
Setting MIDI input device</h3> |
4545 |
|
|
4546 |
<p>The front-end can set the MIDI input device on a specific sampler |
<p>The front-end can set the MIDI input device on a specific sampler |
4547 |
channel by sending the following command: |
channel by sending the following command: |
4555 |
|
|
4556 |
</p> |
</p> |
4557 |
<p>Where <sampler-channel> is the sampler channel number |
<p>Where <sampler-channel> is the sampler channel number |
4558 |
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> |
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> |
4559 |
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 |
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 |
4560 |
and <midi-device-id> is the numerical ID of the MIDI input device as returned by the |
and <midi-device-id> is the numerical ID of the MIDI input device as returned by the |
4561 |
<a class="info" href="#CREATE MIDI_INPUT_DEVICE">"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class="info">Creating a MIDI input device</span><span>)</span></a> |
<a class='info' href='#CREATE MIDI_INPUT_DEVICE'>"CREATE MIDI_INPUT_DEVICE"<span> (</span><span class='info'>Creating a MIDI input device</span><span>)</span></a> |
4562 |
or <a class="info" href="#LIST MIDI_INPUT_DEVICES">"LIST MIDI_INPUT_DEVICES"<span> (</span><span class="info">Getting all created MIDI input device list</span><span>)</span></a> command. |
or <a class='info' href='#LIST MIDI_INPUT_DEVICES'>"LIST MIDI_INPUT_DEVICES"<span> (</span><span class='info'>Getting all created MIDI input device list</span><span>)</span></a> command. |
4563 |
</p> |
</p> |
4564 |
<p>Possible Answers: |
<p>Possible Answers: |
4565 |
</p> |
</p> |
4606 |
|
|
4607 |
</p> |
</p> |
4608 |
<a name="SET CHANNEL MIDI_INPUT_TYPE"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_TYPE"></a><br /><hr /> |
4609 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4610 |
<a name="rfc.section.6.4.18"></a><h3>6.4.18. Setting MIDI input type</h3> |
<a name="rfc.section.6.4.18"></a><h3>6.4.18. |
4611 |
|
Setting MIDI input type</h3> |
4612 |
|
|
4613 |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
4614 |
</p> |
</p> |
4671 |
|
|
4672 |
</p> |
</p> |
4673 |
<a name="SET CHANNEL MIDI_INPUT_PORT"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_PORT"></a><br /><hr /> |
4674 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4675 |
<a name="rfc.section.6.4.19"></a><h3>6.4.19. Setting MIDI input port</h3> |
<a name="rfc.section.6.4.19"></a><h3>6.4.19. |
4676 |
|
Setting MIDI input port</h3> |
4677 |
|
|
4678 |
<p>The front-end can alter the MIDI input port on a specific sampler |
<p>The front-end can alter the MIDI input port on a specific sampler |
4679 |
channel by sending the following command: |
channel by sending the following command: |
4735 |
|
|
4736 |
</p> |
</p> |
4737 |
<a name="SET CHANNEL MIDI_INPUT_CHANNEL"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_CHANNEL"></a><br /><hr /> |
4738 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4739 |
<a name="rfc.section.6.4.20"></a><h3>6.4.20. Setting MIDI input channel</h3> |
<a name="rfc.section.6.4.20"></a><h3>6.4.20. |
4740 |
|
Setting MIDI input channel</h3> |
4741 |
|
|
4742 |
<p>The front-end can alter the MIDI channel a sampler channel should |
<p>The front-end can alter the MIDI channel a sampler channel should |
4743 |
listen to by sending the following command: |
listen to by sending the following command: |
4799 |
|
|
4800 |
</p> |
</p> |
4801 |
<a name="SET CHANNEL VOLUME"></a><br /><hr /> |
<a name="SET CHANNEL VOLUME"></a><br /><hr /> |
4802 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4803 |
<a name="rfc.section.6.4.21"></a><h3>6.4.21. Setting channel volume</h3> |
<a name="rfc.section.6.4.21"></a><h3>6.4.21. |
4804 |
|
Setting channel volume</h3> |
4805 |
|
|
4806 |
<p>The front-end can alter the volume of a sampler channel by sending |
<p>The front-end can alter the volume of a sampler channel by sending |
4807 |
the following command: |
the following command: |
4864 |
|
|
4865 |
</p> |
</p> |
4866 |
<a name="SET CHANNEL MUTE"></a><br /><hr /> |
<a name="SET CHANNEL MUTE"></a><br /><hr /> |
4867 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4868 |
<a name="rfc.section.6.4.22"></a><h3>6.4.22. Muting a sampler channel</h3> |
<a name="rfc.section.6.4.22"></a><h3>6.4.22. |
4869 |
|
Muting a sampler channel</h3> |
4870 |
|
|
4871 |
<p>The front-end can mute/unmute a specific sampler |
<p>The front-end can mute/unmute a specific sampler |
4872 |
channel by sending the following command: |
channel by sending the following command: |
4880 |
|
|
4881 |
</p> |
</p> |
4882 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4883 |
number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> |
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
4884 |
or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and |
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command and |
4885 |
<mute> should be replaced either by "1" to mute the channel or "0" |
<mute> should be replaced either by "1" to mute the channel or "0" |
4886 |
to unmute the channel. |
to unmute the channel. |
4887 |
</p> |
</p> |
4930 |
|
|
4931 |
</p> |
</p> |
4932 |
<a name="SET CHANNEL SOLO"></a><br /><hr /> |
<a name="SET CHANNEL SOLO"></a><br /><hr /> |
4933 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
4934 |
<a name="rfc.section.6.4.23"></a><h3>6.4.23. Soloing a sampler channel</h3> |
<a name="rfc.section.6.4.23"></a><h3>6.4.23. |
4935 |
|
Soloing a sampler channel</h3> |
4936 |
|
|
4937 |
<p>The front-end can solo/unsolo a specific sampler channel |
<p>The front-end can solo/unsolo a specific sampler channel |
4938 |
by sending the following command: |
by sending the following command: |
4946 |
|
|
4947 |
</p> |
</p> |
4948 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4949 |
number as returned by the <a class="info" href="#ADD CHANNEL">"ADD CHANNEL"<span> (</span><span class="info">Adding a new sampler channel</span><span>)</span></a> |
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
4950 |
or <a class="info" href="#LIST CHANNELS">"LIST CHANNELS"<span> (</span><span class="info">Getting all created sampler channel list</span><span>)</span></a> command and |
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command and |
4951 |
<solo> should be replaced either by "1" to solo the channel or "0" |
<solo> should be replaced either by "1" to solo the channel or "0" |
4952 |
to unsolo the channel. |
to unsolo the channel. |
4953 |
</p> |
</p> |
4995 |
</blockquote><p> |
</blockquote><p> |
4996 |
|
|
4997 |
</p> |
</p> |
4998 |
|
<a name="SET CHANNEL MIDI_INSTRUMENT_MAP"></a><br /><hr /> |
4999 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5000 |
|
<a name="rfc.section.6.4.24"></a><h3>6.4.24. |
5001 |
|
Assigning a MIDI instrument map to a sampler channel</h3> |
5002 |
|
|
5003 |
|
<p>The front-end can assign a MIDI instrument map to a specific sampler channel |
5004 |
|
by sending the following command: |
5005 |
|
</p> |
5006 |
|
<p> |
5007 |
|
</p> |
5008 |
|
<blockquote class="text"> |
5009 |
|
<p>SET CHANNEL MIDI_INSTRUMENT_MAP <sampler-channel> <map> |
5010 |
|
</p> |
5011 |
|
</blockquote><p> |
5012 |
|
|
5013 |
|
</p> |
5014 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5015 |
|
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
5016 |
|
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command and |
5017 |
|
<map> can have the following possibilites: |
5018 |
|
</p> |
5019 |
|
<p> |
5020 |
|
</p> |
5021 |
|
<blockquote class="text"> |
5022 |
|
<p>"NONE" - |
5023 |
|
</p> |
5024 |
|
<blockquote class="text"> |
5025 |
|
<p>This is the default setting. In this case |
5026 |
|
the sampler channel is not assigned any MIDI |
5027 |
|
instrument map and thus will ignore all MIDI |
5028 |
|
program change messages. |
5029 |
|
</p> |
5030 |
|
</blockquote> |
5031 |
|
|
5032 |
|
|
5033 |
|
<p>"DEFAULT" - |
5034 |
|
</p> |
5035 |
|
<blockquote class="text"> |
5036 |
|
<p>The sampler channel will always use the |
5037 |
|
default MIDI instrument map to handle MIDI |
5038 |
|
program change messages. |
5039 |
|
</p> |
5040 |
|
</blockquote> |
5041 |
|
|
5042 |
|
|
5043 |
|
<p>numeric ID - |
5044 |
|
</p> |
5045 |
|
<blockquote class="text"> |
5046 |
|
<p>You can assign a specific MIDI instrument map |
5047 |
|
by replacing <map> with the respective numeric |
5048 |
|
ID of the MIDI instrument map as returned by the |
5049 |
|
<a class='info' href='#LIST MIDI_INSTRUMENT_MAPS'>"LIST MIDI_INSTRUMENT_MAPS"<span> (</span><span class='info'>Getting all created MIDI instrument maps</span><span>)</span></a> |
5050 |
|
command. Once that map will be deleted, the sampler |
5051 |
|
channel would fall back to "NONE". |
5052 |
|
</p> |
5053 |
|
</blockquote> |
5054 |
|
|
5055 |
|
|
5056 |
|
</blockquote><p> |
5057 |
|
|
5058 |
|
</p> |
5059 |
|
<p>Read chapter <a class='info' href='#MIDI Instrument Mapping'>"MIDI Instrument Mapping"<span> (</span><span class='info'>MIDI Instrument Mapping</span><span>)</span></a> |
5060 |
|
for details regarding MIDI instrument mapping. |
5061 |
|
</p> |
5062 |
|
<p>Possible Answers: |
5063 |
|
</p> |
5064 |
|
<p> |
5065 |
|
</p> |
5066 |
|
<blockquote class="text"> |
5067 |
|
<p>"OK" - |
5068 |
|
</p> |
5069 |
|
<blockquote class="text"> |
5070 |
|
<p>on success |
5071 |
|
</p> |
5072 |
|
</blockquote> |
5073 |
|
|
5074 |
|
|
5075 |
|
<p>"ERR:<error-code>:<error-message>" - |
5076 |
|
</p> |
5077 |
|
<blockquote class="text"> |
5078 |
|
<p>in case it failed, providing an appropriate error code and error message |
5079 |
|
</p> |
5080 |
|
</blockquote> |
5081 |
|
|
5082 |
|
|
5083 |
|
</blockquote><p> |
5084 |
|
|
5085 |
|
</p> |
5086 |
|
<p>Examples: |
5087 |
|
</p> |
5088 |
|
<p> |
5089 |
|
</p> |
5090 |
|
<blockquote class="text"> |
5091 |
|
<p> |
5092 |
|
</p> |
5093 |
|
</blockquote><p> |
5094 |
|
|
5095 |
|
</p> |
5096 |
|
<a name="CREATE FX_SEND"></a><br /><hr /> |
5097 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5098 |
|
<a name="rfc.section.6.4.25"></a><h3>6.4.25. |
5099 |
|
Adding an effect send to a sampler channel</h3> |
5100 |
|
|
5101 |
|
<p>The front-end can create an additional effect send on a specific sampler channel |
5102 |
|
by sending the following command: |
5103 |
|
</p> |
5104 |
|
<p> |
5105 |
|
</p> |
5106 |
|
<blockquote class="text"> |
5107 |
|
<p>CREATE FX_SEND <sampler-channel> <midi-ctrl> [<name>] |
5108 |
|
</p> |
5109 |
|
</blockquote><p> |
5110 |
|
|
5111 |
|
</p> |
5112 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5113 |
|
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
5114 |
|
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, that is the |
5115 |
|
sampler channel on which the effect send should be created on, <midi-ctrl> |
5116 |
|
is a number between 0..127 defining the MIDI controller which can alter the |
5117 |
|
effect send level and <name> is an optional argument defining a name |
5118 |
|
for the effect send entity. The name does not have to be unique, but MUST be |
5119 |
|
encapsulated into apostrophes and supports escape sequences as described in chapter |
5120 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>". |
5121 |
|
</p> |
5122 |
|
<p>By default, that is as initial routing, the effect send's audio channels |
5123 |
|
are automatically routed to the last audio channels of the sampler channel's |
5124 |
|
audio output device, that way you can i.e. first increase the amount of audio |
5125 |
|
channels on the audio output device for having dedicated effect send output |
5126 |
|
channels and when "CREATE FX_SEND" is called, those channels will automatically |
5127 |
|
be picked. You can alter the destination channels however with |
5128 |
|
<a class='info' href='#SET FX_SEND AUDIO_OUTPUT_CHANNEL'>"SET FX_SEND AUDIO_OUTPUT_CHANNEL"<span> (</span><span class='info'>Altering effect send's audio routing</span><span>)</span></a>. |
5129 |
|
|
5130 |
|
</p> |
5131 |
|
<p>Note: Create effect sends on a sampler channel only when needed, because having effect |
5132 |
|
sends on a sampler channel will decrease runtime performance, because for implementing channel |
5133 |
|
effect sends, separate (sampler channel local) audio buffers are needed to render and mix |
5134 |
|
the voices and route the audio signal afterwards to the master outputs and effect send |
5135 |
|
outputs (along with their respective effect send levels). A sampler channel without effect |
5136 |
|
sends however can mix its voices directly into the audio output devices's audio buffers |
5137 |
|
and is thus faster. |
5138 |
|
|
5139 |
|
</p> |
5140 |
|
<p>Possible Answers: |
5141 |
|
</p> |
5142 |
|
<p> |
5143 |
|
</p> |
5144 |
|
<blockquote class="text"> |
5145 |
|
<p>"OK[<fx-send-id>]" - |
5146 |
|
</p> |
5147 |
|
<blockquote class="text"> |
5148 |
|
<p>in case a new effect send could be added to the |
5149 |
|
sampler channel, where <fx-send-id> reflects the |
5150 |
|
unique ID of the newly created effect send entity |
5151 |
|
</p> |
5152 |
|
</blockquote> |
5153 |
|
|
5154 |
|
|
5155 |
|
<p>"ERR:<error-code>:<error-message>" - |
5156 |
|
</p> |
5157 |
|
<blockquote class="text"> |
5158 |
|
<p>when a new effect send could not be added, i.e. |
5159 |
|
due to invalid parameters |
5160 |
|
</p> |
5161 |
|
</blockquote> |
5162 |
|
|
5163 |
|
|
5164 |
|
</blockquote><p> |
5165 |
|
|
5166 |
|
</p> |
5167 |
|
<p>Examples: |
5168 |
|
</p> |
5169 |
|
<p> |
5170 |
|
</p> |
5171 |
|
<blockquote class="text"> |
5172 |
|
<p>C: "CREATE FX_SEND 0 91 'Reverb Send'" |
5173 |
|
</p> |
5174 |
|
<p>S: "OK[0]" |
5175 |
|
</p> |
5176 |
|
</blockquote><p> |
5177 |
|
|
5178 |
|
</p> |
5179 |
|
<p> |
5180 |
|
</p> |
5181 |
|
<blockquote class="text"> |
5182 |
|
<p>C: "CREATE FX_SEND 0 93" |
5183 |
|
</p> |
5184 |
|
<p>S: "OK[1]" |
5185 |
|
</p> |
5186 |
|
</blockquote><p> |
5187 |
|
|
5188 |
|
</p> |
5189 |
|
<a name="DESTROY FX_SEND"></a><br /><hr /> |
5190 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5191 |
|
<a name="rfc.section.6.4.26"></a><h3>6.4.26. |
5192 |
|
Removing an effect send from a sampler channel</h3> |
5193 |
|
|
5194 |
|
<p>The front-end can remove an existing effect send on a specific sampler channel |
5195 |
|
by sending the following command: |
5196 |
|
</p> |
5197 |
|
<p> |
5198 |
|
</p> |
5199 |
|
<blockquote class="text"> |
5200 |
|
<p>DESTROY FX_SEND <sampler-channel> <fx-send-id> |
5201 |
|
</p> |
5202 |
|
</blockquote><p> |
5203 |
|
|
5204 |
|
</p> |
5205 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5206 |
|
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
5207 |
|
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, that is the |
5208 |
|
sampler channel from which the effect send should be removed from and |
5209 |
|
<fx-send-id> is the respective effect send number as returned by the |
5210 |
|
<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> |
5211 |
|
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. |
5212 |
|
</p> |
5213 |
|
<p>Possible Answers: |
5214 |
|
</p> |
5215 |
|
<p> |
5216 |
|
</p> |
5217 |
|
<blockquote class="text"> |
5218 |
|
<p>"OK" - |
5219 |
|
</p> |
5220 |
|
<blockquote class="text"> |
5221 |
|
<p>on success |
5222 |
|
</p> |
5223 |
|
</blockquote> |
5224 |
|
|
5225 |
|
|
5226 |
|
<p>"ERR:<error-code>:<error-message>" - |
5227 |
|
</p> |
5228 |
|
<blockquote class="text"> |
5229 |
|
<p>in case it failed, providing an appropriate error code and |
5230 |
|
error message |
5231 |
|
</p> |
5232 |
|
</blockquote> |
5233 |
|
|
5234 |
|
|
5235 |
|
</blockquote><p> |
5236 |
|
|
5237 |
|
</p> |
5238 |
|
<p>Example: |
5239 |
|
</p> |
5240 |
|
<p> |
5241 |
|
</p> |
5242 |
|
<blockquote class="text"> |
5243 |
|
<p>C: "DESTROY FX_SEND 0 0" |
5244 |
|
</p> |
5245 |
|
<p>S: "OK" |
5246 |
|
</p> |
5247 |
|
</blockquote><p> |
5248 |
|
|
5249 |
|
</p> |
5250 |
|
<a name="GET FX_SENDS"></a><br /><hr /> |
5251 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5252 |
|
<a name="rfc.section.6.4.27"></a><h3>6.4.27. |
5253 |
|
Getting amount of effect sends on a sampler channel</h3> |
5254 |
|
|
5255 |
|
<p>The front-end can ask for the amount of effect sends on a specific sampler channel |
5256 |
|
by sending the following command: |
5257 |
|
</p> |
5258 |
|
<p> |
5259 |
|
</p> |
5260 |
|
<blockquote class="text"> |
5261 |
|
<p>GET FX_SENDS <sampler-channel> |
5262 |
|
</p> |
5263 |
|
</blockquote><p> |
5264 |
|
|
5265 |
|
</p> |
5266 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5267 |
|
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
5268 |
|
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. |
5269 |
|
</p> |
5270 |
|
<p>Possible Answers: |
5271 |
|
</p> |
5272 |
|
<p> |
5273 |
|
</p> |
5274 |
|
<blockquote class="text"> |
5275 |
|
<p>The sampler will answer by returning the number of effect |
5276 |
|
sends on the given sampler channel. |
5277 |
|
</p> |
5278 |
|
</blockquote><p> |
5279 |
|
|
5280 |
|
</p> |
5281 |
|
<p>Example: |
5282 |
|
</p> |
5283 |
|
<p> |
5284 |
|
</p> |
5285 |
|
<blockquote class="text"> |
5286 |
|
<p>C: "GET FX_SENDS 0" |
5287 |
|
</p> |
5288 |
|
<p>S: "2" |
5289 |
|
</p> |
5290 |
|
</blockquote><p> |
5291 |
|
|
5292 |
|
</p> |
5293 |
|
<a name="LIST FX_SENDS"></a><br /><hr /> |
5294 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5295 |
|
<a name="rfc.section.6.4.28"></a><h3>6.4.28. |
5296 |
|
Listing all effect sends on a sampler channel</h3> |
5297 |
|
|
5298 |
|
<p>The front-end can ask for a list of effect sends on a specific sampler channel |
5299 |
|
by sending the following command: |
5300 |
|
</p> |
5301 |
|
<p> |
5302 |
|
</p> |
5303 |
|
<blockquote class="text"> |
5304 |
|
<p>LIST FX_SENDS <sampler-channel> |
5305 |
|
</p> |
5306 |
|
</blockquote><p> |
5307 |
|
|
5308 |
|
</p> |
5309 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5310 |
|
number as returned by the <a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
5311 |
|
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. |
5312 |
|
</p> |
5313 |
|
<p>Possible Answers: |
5314 |
|
</p> |
5315 |
|
<p> |
5316 |
|
</p> |
5317 |
|
<blockquote class="text"> |
5318 |
|
<p>The sampler will answer by returning a comma separated list |
5319 |
|
with all effect sends' numerical IDs on the given sampler |
5320 |
|
channel. |
5321 |
|
</p> |
5322 |
|
</blockquote><p> |
5323 |
|
|
5324 |
|
</p> |
5325 |
|
<p>Examples: |
5326 |
|
</p> |
5327 |
|
<p> |
5328 |
|
</p> |
5329 |
|
<blockquote class="text"> |
5330 |
|
<p>C: "LIST FX_SENDS 0" |
5331 |
|
</p> |
5332 |
|
<p>S: "0,1" |
5333 |
|
</p> |
5334 |
|
</blockquote><p> |
5335 |
|
|
5336 |
|
</p> |
5337 |
|
<p> |
5338 |
|
</p> |
5339 |
|
<blockquote class="text"> |
5340 |
|
<p>C: "LIST FX_SENDS 1" |
5341 |
|
</p> |
5342 |
|
<p>S: "" |
5343 |
|
</p> |
5344 |
|
</blockquote><p> |
5345 |
|
|
5346 |
|
</p> |
5347 |
|
<a name="GET FX_SEND INFO"></a><br /><hr /> |
5348 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5349 |
|
<a name="rfc.section.6.4.29"></a><h3>6.4.29. |
5350 |
|
Getting effect send information</h3> |
5351 |
|
|
5352 |
|
<p>The front-end can ask for the current settings of an effect send entity |
5353 |
|
by sending the following command: |
5354 |
|
</p> |
5355 |
|
<p> |
5356 |
|
</p> |
5357 |
|
<blockquote class="text"> |
5358 |
|
<p>GET FX_SEND INFO <sampler-channel> <fx-send-id> |
5359 |
|
</p> |
5360 |
|
</blockquote><p> |
5361 |
|
|
5362 |
|
</p> |
5363 |
|
<p>Where <sampler-channel> is the sampler channel number |
5364 |
|
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> |
5365 |
|
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> command and |
5366 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5367 |
|
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> |
5368 |
|
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. |
5369 |
|
|
5370 |
|
</p> |
5371 |
|
<p>Possible Answers: |
5372 |
|
</p> |
5373 |
|
<p> |
5374 |
|
</p> |
5375 |
|
<blockquote class="text"> |
5376 |
|
<p>The sampler will answer by sending a <CRLF> separated list. |
5377 |
|
Each answer line begins with the settings category name |
5378 |
|
followed by a colon and then a space character <SP> and finally |
5379 |
|
the info character string to that setting category. At the |
5380 |
|
moment the following categories are defined: |
5381 |
|
</p> |
5382 |
|
<p> |
5383 |
|
</p> |
5384 |
|
<blockquote class="text"> |
5385 |
|
<p>NAME - |
5386 |
|
</p> |
5387 |
|
<blockquote class="text"> |
5388 |
|
<p>name of the effect send entity |
5389 |
|
(note that this character string may contain |
5390 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
5391 |
|
</p> |
5392 |
|
</blockquote> |
5393 |
|
|
5394 |
|
|
5395 |
|
<p>MIDI_CONTROLLER - |
5396 |
|
</p> |
5397 |
|
<blockquote class="text"> |
5398 |
|
<p>a value between 0 and 127 reflecting the MIDI controller |
5399 |
|
which is able to modify the effect send's send level |
5400 |
|
</p> |
5401 |
|
</blockquote> |
5402 |
|
|
5403 |
|
|
5404 |
|
<p>LEVEL - |
5405 |
|
</p> |
5406 |
|
<blockquote class="text"> |
5407 |
|
<p>optionally dotted number reflecting the effect send's |
5408 |
|
current send level (where a value < 1.0 means attenuation |
5409 |
|
and a value > 1.0 means amplification) |
5410 |
|
</p> |
5411 |
|
</blockquote> |
5412 |
|
|
5413 |
|
|
5414 |
|
<p>AUDIO_OUTPUT_ROUTING - |
5415 |
|
</p> |
5416 |
|
<blockquote class="text"> |
5417 |
|
<p>comma separated list which reflects to which audio |
5418 |
|
channel of the selected audio output device each |
5419 |
|
effect send output channel is routed to, e.g. "0,3" would |
5420 |
|
mean the effect send's output channel 0 is routed to channel |
5421 |
|
0 of the audio output device and the effect send's output |
5422 |
|
channel 1 is routed to the channel 3 of the audio |
5423 |
|
output device (see |
5424 |
|
<a class='info' href='#SET FX_SEND AUDIO_OUTPUT_CHANNEL'>"SET FX_SEND AUDIO_OUTPUT_CHANNEL"<span> (</span><span class='info'>Altering effect send's audio routing</span><span>)</span></a> |
5425 |
|
for details) |
5426 |
|
</p> |
5427 |
|
</blockquote> |
5428 |
|
|
5429 |
|
|
5430 |
|
</blockquote> |
5431 |
|
|
5432 |
|
|
5433 |
|
</blockquote><p> |
5434 |
|
|
5435 |
|
</p> |
5436 |
|
<p>The mentioned fields above don't have to be in particular order. |
5437 |
|
</p> |
5438 |
|
<p>Example: |
5439 |
|
</p> |
5440 |
|
<p> |
5441 |
|
</p> |
5442 |
|
<blockquote class="text"> |
5443 |
|
<p>C: "GET FX_SEND INFO 0 0" |
5444 |
|
</p> |
5445 |
|
<p>S: "NAME: Reverb Send" |
5446 |
|
</p> |
5447 |
|
<p> "MIDI_CONTROLLER: 91" |
5448 |
|
</p> |
5449 |
|
<p> "LEVEL: 0.3" |
5450 |
|
</p> |
5451 |
|
<p> "AUDIO_OUTPUT_ROUTING: 2,3" |
5452 |
|
</p> |
5453 |
|
<p> "." |
5454 |
|
</p> |
5455 |
|
</blockquote><p> |
5456 |
|
|
5457 |
|
</p> |
5458 |
|
<a name="SET FX_SEND NAME"></a><br /><hr /> |
5459 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5460 |
|
<a name="rfc.section.6.4.30"></a><h3>6.4.30. |
5461 |
|
Changing effect send's name</h3> |
5462 |
|
|
5463 |
|
<p>The front-end can alter the current name of an effect |
5464 |
|
send entity by sending the following command: |
5465 |
|
</p> |
5466 |
|
<p> |
5467 |
|
</p> |
5468 |
|
<blockquote class="text"> |
5469 |
|
<p>SET FX_SEND NAME <sampler-chan> <fx-send-id> <name> |
5470 |
|
</p> |
5471 |
|
</blockquote><p> |
5472 |
|
|
5473 |
|
</p> |
5474 |
|
<p>Where <sampler-chan> is the sampler channel number |
5475 |
|
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> |
5476 |
|
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, |
5477 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5478 |
|
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> |
5479 |
|
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 |
5480 |
|
<name> is the new name of the effect send entity, which |
5481 |
|
does not have to be unique (name MUST be encapsulated into apostrophes |
5482 |
|
and supports escape sequences as described in chapter |
5483 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
5484 |
|
|
5485 |
|
</p> |
5486 |
|
<p>Possible Answers: |
5487 |
|
</p> |
5488 |
|
<p> |
5489 |
|
</p> |
5490 |
|
<blockquote class="text"> |
5491 |
|
<p>"OK" - |
5492 |
|
</p> |
5493 |
|
<blockquote class="text"> |
5494 |
|
<p>on success |
5495 |
|
</p> |
5496 |
|
</blockquote> |
5497 |
|
|
5498 |
|
|
5499 |
|
<p>"ERR:<error-code>:<error-message>" - |
5500 |
|
</p> |
5501 |
|
<blockquote class="text"> |
5502 |
|
<p>in case it failed, providing an appropriate error code and error message |
5503 |
|
</p> |
5504 |
|
</blockquote> |
5505 |
|
|
5506 |
|
|
5507 |
|
</blockquote><p> |
5508 |
|
|
5509 |
|
</p> |
5510 |
|
<p>Example: |
5511 |
|
</p> |
5512 |
|
<p> |
5513 |
|
</p> |
5514 |
|
<blockquote class="text"> |
5515 |
|
<p>C: "SET FX_SEND NAME 0 0 'Fx Send 1'" |
5516 |
|
</p> |
5517 |
|
<p>S: "OK" |
5518 |
|
</p> |
5519 |
|
</blockquote><p> |
5520 |
|
|
5521 |
|
</p> |
5522 |
|
<a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
5523 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5524 |
|
<a name="rfc.section.6.4.31"></a><h3>6.4.31. |
5525 |
|
Altering effect send's audio routing</h3> |
5526 |
|
|
5527 |
|
<p>The front-end can alter the destination of an effect send's audio channel on a specific |
5528 |
|
sampler channel by sending the following command: |
5529 |
|
</p> |
5530 |
|
<p> |
5531 |
|
</p> |
5532 |
|
<blockquote class="text"> |
5533 |
|
<p>SET FX_SEND AUDIO_OUTPUT_CHANNEL <sampler-chan> <fx-send-id> <audio-src> <audio-dst> |
5534 |
|
</p> |
5535 |
|
</blockquote><p> |
5536 |
|
|
5537 |
|
</p> |
5538 |
|
<p>Where <sampler-chan> is the sampler channel number |
5539 |
|
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> |
5540 |
|
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, |
5541 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5542 |
|
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> |
5543 |
|
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, |
5544 |
|
<audio-src> is the numerical ID of the effect send's audio channel |
5545 |
|
which should be rerouted and <audio-dst> is the numerical ID of |
5546 |
|
the audio channel of the selected audio output device where <audio-src> |
5547 |
|
should be routed to. |
5548 |
|
</p> |
5549 |
|
<p>Note that effect sends can only route audio to the same audio output |
5550 |
|
device as assigned to the effect send's sampler channel. Also note that an |
5551 |
|
effect send entity does always have exactly as much audio channels as its |
5552 |
|
sampler channel. So if the sampler channel is stereo, the effect send does |
5553 |
|
have two audio channels as well. Also keep in mind that the amount of audio |
5554 |
|
channels on a sampler channel might be dependant not only to the deployed |
5555 |
|
sampler engine on the sampler channel, but also dependant to the instrument |
5556 |
|
currently loaded. However you can (effectively) turn an i.e. stereo effect |
5557 |
|
send into a mono one by simply altering its audio routing appropriately. |
5558 |
|
</p> |
5559 |
|
<p>Possible Answers: |
5560 |
|
</p> |
5561 |
|
<p> |
5562 |
|
</p> |
5563 |
|
<blockquote class="text"> |
5564 |
|
<p>"OK" - |
5565 |
|
</p> |
5566 |
|
<blockquote class="text"> |
5567 |
|
<p>on success |
5568 |
|
</p> |
5569 |
|
</blockquote> |
5570 |
|
|
5571 |
|
|
5572 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5573 |
|
</p> |
5574 |
|
<blockquote class="text"> |
5575 |
|
<p>if audio output channel was set, but there are noteworthy |
5576 |
|
issue(s) related, providing an appropriate warning code and |
5577 |
|
warning message |
5578 |
|
</p> |
5579 |
|
</blockquote> |
5580 |
|
|
5581 |
|
|
5582 |
|
<p>"ERR:<error-code>:<error-message>" - |
5583 |
|
</p> |
5584 |
|
<blockquote class="text"> |
5585 |
|
<p>in case it failed, providing an appropriate error code and error message |
5586 |
|
</p> |
5587 |
|
</blockquote> |
5588 |
|
|
5589 |
|
|
5590 |
|
</blockquote><p> |
5591 |
|
|
5592 |
|
</p> |
5593 |
|
<p>Example: |
5594 |
|
</p> |
5595 |
|
<p> |
5596 |
|
</p> |
5597 |
|
<blockquote class="text"> |
5598 |
|
<p>C: "SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2" |
5599 |
|
</p> |
5600 |
|
<p>S: "OK" |
5601 |
|
</p> |
5602 |
|
</blockquote><p> |
5603 |
|
|
5604 |
|
</p> |
5605 |
|
<a name="SET FX_SEND MIDI_CONTROLLER"></a><br /><hr /> |
5606 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5607 |
|
<a name="rfc.section.6.4.32"></a><h3>6.4.32. |
5608 |
|
Altering effect send's MIDI controller</h3> |
5609 |
|
|
5610 |
|
<p>The front-end can alter the MIDI controller of an effect |
5611 |
|
send entity by sending the following command: |
5612 |
|
</p> |
5613 |
|
<p> |
5614 |
|
</p> |
5615 |
|
<blockquote class="text"> |
5616 |
|
<p>SET FX_SEND MIDI_CONTROLLER <sampler-chan> <fx-send-id> <midi-ctrl> |
5617 |
|
</p> |
5618 |
|
</blockquote><p> |
5619 |
|
|
5620 |
|
</p> |
5621 |
|
<p>Where <sampler-chan> is the sampler channel number |
5622 |
|
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> |
5623 |
|
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, |
5624 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5625 |
|
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> |
5626 |
|
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 |
5627 |
|
<midi-ctrl> reflects the MIDI controller which shall be |
5628 |
|
able to modify the effect send's send level. |
5629 |
|
</p> |
5630 |
|
<p>Possible Answers: |
5631 |
|
</p> |
5632 |
|
<p> |
5633 |
|
</p> |
5634 |
|
<blockquote class="text"> |
5635 |
|
<p>"OK" - |
5636 |
|
</p> |
5637 |
|
<blockquote class="text"> |
5638 |
|
<p>on success |
5639 |
|
</p> |
5640 |
|
</blockquote> |
5641 |
|
|
5642 |
|
|
5643 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5644 |
|
</p> |
5645 |
|
<blockquote class="text"> |
5646 |
|
<p>if MIDI controller was set, but there are noteworthy |
5647 |
|
issue(s) related, providing an appropriate warning code and |
5648 |
|
warning message |
5649 |
|
</p> |
5650 |
|
</blockquote> |
5651 |
|
|
5652 |
|
|
5653 |
|
<p>"ERR:<error-code>:<error-message>" - |
5654 |
|
</p> |
5655 |
|
<blockquote class="text"> |
5656 |
|
<p>in case it failed, providing an appropriate error code and error message |
5657 |
|
</p> |
5658 |
|
</blockquote> |
5659 |
|
|
5660 |
|
|
5661 |
|
</blockquote><p> |
5662 |
|
|
5663 |
|
</p> |
5664 |
|
<p>Example: |
5665 |
|
</p> |
5666 |
|
<p> |
5667 |
|
</p> |
5668 |
|
<blockquote class="text"> |
5669 |
|
<p>C: "SET FX_SEND MIDI_CONTROLLER 0 0 91" |
5670 |
|
</p> |
5671 |
|
<p>S: "OK" |
5672 |
|
</p> |
5673 |
|
</blockquote><p> |
5674 |
|
|
5675 |
|
</p> |
5676 |
|
<a name="SET FX_SEND LEVEL"></a><br /><hr /> |
5677 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5678 |
|
<a name="rfc.section.6.4.33"></a><h3>6.4.33. |
5679 |
|
Altering effect send's send level</h3> |
5680 |
|
|
5681 |
|
<p>The front-end can alter the current send level of an effect |
5682 |
|
send entity by sending the following command: |
5683 |
|
</p> |
5684 |
|
<p> |
5685 |
|
</p> |
5686 |
|
<blockquote class="text"> |
5687 |
|
<p>SET FX_SEND LEVEL <sampler-chan> <fx-send-id> <volume> |
5688 |
|
</p> |
5689 |
|
</blockquote><p> |
5690 |
|
|
5691 |
|
</p> |
5692 |
|
<p>Where <sampler-chan> is the sampler channel number |
5693 |
|
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> |
5694 |
|
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, |
5695 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5696 |
|
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> |
5697 |
|
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 |
5698 |
|
<volume> is an optionally dotted positive number (a value |
5699 |
|
smaller than 1.0 means attenuation, whereas a value greater than |
5700 |
|
1.0 means amplification) reflecting the new send level. |
5701 |
|
</p> |
5702 |
|
<p>Possible Answers: |
5703 |
|
</p> |
5704 |
|
<p> |
5705 |
|
</p> |
5706 |
|
<blockquote class="text"> |
5707 |
|
<p>"OK" - |
5708 |
|
</p> |
5709 |
|
<blockquote class="text"> |
5710 |
|
<p>on success |
5711 |
|
</p> |
5712 |
|
</blockquote> |
5713 |
|
|
5714 |
|
|
5715 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5716 |
|
</p> |
5717 |
|
<blockquote class="text"> |
5718 |
|
<p>if new send level was set, but there are noteworthy |
5719 |
|
issue(s) related, providing an appropriate warning code and |
5720 |
|
warning message |
5721 |
|
</p> |
5722 |
|
</blockquote> |
5723 |
|
|
5724 |
|
|
5725 |
|
<p>"ERR:<error-code>:<error-message>" - |
5726 |
|
</p> |
5727 |
|
<blockquote class="text"> |
5728 |
|
<p>in case it failed, providing an appropriate error code and error message |
5729 |
|
</p> |
5730 |
|
</blockquote> |
5731 |
|
|
5732 |
|
|
5733 |
|
</blockquote><p> |
5734 |
|
|
5735 |
|
</p> |
5736 |
|
<p>Example: |
5737 |
|
</p> |
5738 |
|
<p> |
5739 |
|
</p> |
5740 |
|
<blockquote class="text"> |
5741 |
|
<p>C: "SET FX_SEND LEVEL 0 0 0.15" |
5742 |
|
</p> |
5743 |
|
<p>S: "OK" |
5744 |
|
</p> |
5745 |
|
</blockquote><p> |
5746 |
|
|
5747 |
|
</p> |
5748 |
<a name="RESET CHANNEL"></a><br /><hr /> |
<a name="RESET CHANNEL"></a><br /><hr /> |
5749 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
5750 |
<a name="rfc.section.6.4.24"></a><h3>6.4.24. Resetting a sampler channel</h3> |
<a name="rfc.section.6.4.34"></a><h3>6.4.34. |
5751 |
|
Resetting a sampler channel</h3> |
5752 |
|
|
5753 |
<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: |
5754 |
</p> |
</p> |
5812 |
|
|
5813 |
</p> |
</p> |
5814 |
<a name="anchor12"></a><br /><hr /> |
<a name="anchor12"></a><br /><hr /> |
5815 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
5816 |
<a name="rfc.section.6.5"></a><h3>6.5. Controlling connection</h3> |
<a name="rfc.section.6.5"></a><h3>6.5. |
5817 |
|
Controlling connection</h3> |
5818 |
|
|
5819 |
<p>The following commands are used to control the connection to LinuxSampler. |
<p>The following commands are used to control the connection to LinuxSampler. |
5820 |
</p> |
</p> |
5821 |
<a name="SUBSCRIBE"></a><br /><hr /> |
<a name="SUBSCRIBE"></a><br /><hr /> |
5822 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
5823 |
<a name="rfc.section.6.5.1"></a><h3>6.5.1. Register front-end for receiving event messages</h3> |
<a name="rfc.section.6.5.1"></a><h3>6.5.1. |
5824 |
|
Register front-end for receiving event messages</h3> |
5825 |
|
|
5826 |
<p>The front-end can register itself to the LinuxSampler application to |
<p>The front-end can register itself to the LinuxSampler application to |
5827 |
be informed about noteworthy events by sending this command: |
be informed about noteworthy events by sending this command: |
5883 |
|
|
5884 |
</p> |
</p> |
5885 |
<a name="UNSUBSCRIBE"></a><br /><hr /> |
<a name="UNSUBSCRIBE"></a><br /><hr /> |
5886 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
5887 |
<a name="rfc.section.6.5.2"></a><h3>6.5.2. Unregister front-end for not receiving event messages</h3> |
<a name="rfc.section.6.5.2"></a><h3>6.5.2. |
5888 |
|
Unregister front-end for not receiving event messages</h3> |
5889 |
|
|
5890 |
<p>The front-end can unregister itself if it doesn't want to receive event |
<p>The front-end can unregister itself if it doesn't want to receive event |
5891 |
messages anymore by sending the following command: |
messages anymore by sending the following command: |
5947 |
|
|
5948 |
</p> |
</p> |
5949 |
<a name="SET ECHO"></a><br /><hr /> |
<a name="SET ECHO"></a><br /><hr /> |
5950 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
5951 |
<a name="rfc.section.6.5.3"></a><h3>6.5.3. Enable or disable echo of commands</h3> |
<a name="rfc.section.6.5.3"></a><h3>6.5.3. |
5952 |
|
Enable or disable echo of commands</h3> |
5953 |
|
|
5954 |
<p>To enable or disable back sending of commands to the client the following command can be used: |
<p>To enable or disable back sending of commands to the client the following command can be used: |
5955 |
</p> |
</p> |
6004 |
|
|
6005 |
</p> |
</p> |
6006 |
<a name="QUIT"></a><br /><hr /> |
<a name="QUIT"></a><br /><hr /> |
6007 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6008 |
<a name="rfc.section.6.5.4"></a><h3>6.5.4. Close client connection</h3> |
<a name="rfc.section.6.5.4"></a><h3>6.5.4. |
6009 |
|
Close client connection</h3> |
6010 |
|
|
6011 |
<p>The client can close its network connection to LinuxSampler by sending the following command: |
<p>The client can close its network connection to LinuxSampler by sending the following command: |
6012 |
</p> |
</p> |
6022 |
LinuxSampler than really useful for a front-end implementation. |
LinuxSampler than really useful for a front-end implementation. |
6023 |
</p> |
</p> |
6024 |
<a name="anchor13"></a><br /><hr /> |
<a name="anchor13"></a><br /><hr /> |
6025 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6026 |
<a name="rfc.section.6.6"></a><h3>6.6. Global commands</h3> |
<a name="rfc.section.6.6"></a><h3>6.6. |
6027 |
|
Global commands</h3> |
6028 |
|
|
6029 |
<p>The following commands have global impact on the sampler. |
<p>The following commands have global impact on the sampler. |
6030 |
</p> |
</p> |
6031 |
<a name="GET TOTAL_VOICE_COUNT"></a><br /><hr /> |
<a name="GET TOTAL_VOICE_COUNT"></a><br /><hr /> |
6032 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6033 |
<a name="rfc.section.6.6.1"></a><h3>6.6.1. Current number of active voices</h3> |
<a name="rfc.section.6.6.1"></a><h3>6.6.1. |
6034 |
|
Current number of active voices</h3> |
6035 |
|
|
6036 |
<p>The front-end can ask for the current number of active voices on |
<p>The front-end can ask for the current number of active voices on |
6037 |
the sampler by sending the following command: |
the sampler by sending the following command: |
6056 |
|
|
6057 |
</p> |
</p> |
6058 |
<a name="GET TOTAL_VOICE_COUNT_MAX"></a><br /><hr /> |
<a name="GET TOTAL_VOICE_COUNT_MAX"></a><br /><hr /> |
6059 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6060 |
<a name="rfc.section.6.6.2"></a><h3>6.6.2. Maximum amount of active voices</h3> |
<a name="rfc.section.6.6.2"></a><h3>6.6.2. |
6061 |
|
Maximum amount of active voices</h3> |
6062 |
|
|
6063 |
<p>The front-end can ask for the maximum number of active voices |
<p>The front-end can ask for the maximum number of active voices |
6064 |
by sending the following command: |
by sending the following command: |
6082 |
</blockquote><p> |
</blockquote><p> |
6083 |
|
|
6084 |
</p> |
</p> |
6085 |
|
<a name="GET TOTAL_STREAM_COUNT"></a><br /><hr /> |
6086 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6087 |
|
<a name="rfc.section.6.6.3"></a><h3>6.6.3. |
6088 |
|
Current number of active disk streams</h3> |
6089 |
|
|
6090 |
|
<p>The front-end can ask for the current number of active disk streams on |
6091 |
|
the sampler by sending the following command: |
6092 |
|
</p> |
6093 |
|
<p> |
6094 |
|
</p> |
6095 |
|
<blockquote class="text"> |
6096 |
|
<p>GET TOTAL_STREAM_COUNT |
6097 |
|
</p> |
6098 |
|
</blockquote><p> |
6099 |
|
|
6100 |
|
</p> |
6101 |
|
<p>Possible Answers: |
6102 |
|
</p> |
6103 |
|
<p> |
6104 |
|
</p> |
6105 |
|
<blockquote class="text"> |
6106 |
|
<p>LinuxSampler will answer by returning the number of all active |
6107 |
|
disk streams on the sampler. |
6108 |
|
</p> |
6109 |
|
</blockquote><p> |
6110 |
|
|
6111 |
|
</p> |
6112 |
<a name="RESET"></a><br /><hr /> |
<a name="RESET"></a><br /><hr /> |
6113 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6114 |
<a name="rfc.section.6.6.3"></a><h3>6.6.3. Reset sampler</h3> |
<a name="rfc.section.6.6.4"></a><h3>6.6.4. |
6115 |
|
Reset sampler</h3> |
6116 |
|
|
6117 |
<p>The front-end can reset the whole sampler by sending the following command: |
<p>The front-end can reset the whole sampler by sending the following command: |
6118 |
</p> |
</p> |
6151 |
|
|
6152 |
</p> |
</p> |
6153 |
<a name="GET SERVER INFO"></a><br /><hr /> |
<a name="GET SERVER INFO"></a><br /><hr /> |
6154 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
6155 |
<a name="rfc.section.6.6.4"></a><h3>6.6.4. General sampler informations</h3> |
<a name="rfc.section.6.6.5"></a><h3>6.6.5. |
6156 |
|
General sampler informations</h3> |
6157 |
|
|
6158 |
<p>The client can ask for general informations about the LinuxSampler |
<p>The client can ask for general informations about the LinuxSampler |
6159 |
instance by sending the following command: |
instance by sending the following command: |
6185 |
</p> |
</p> |
6186 |
<blockquote class="text"> |
<blockquote class="text"> |
6187 |
<p>arbitrary textual description about the sampler |
<p>arbitrary textual description about the sampler |
6188 |
|
(note that the character string may contain |
6189 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
6190 |
</p> |
</p> |
6191 |
</blockquote> |
</blockquote> |
6192 |
|
|
6203 |
</p> |
</p> |
6204 |
<blockquote class="text"> |
<blockquote class="text"> |
6205 |
<p>version of the LSCP specification the sampler |
<p>version of the LSCP specification the sampler |
6206 |
complies with (see <a class="info" href="#LSCP versioning">Section 2<span> (</span><span class="info">Versioning of this specification</span><span>)</span></a> for details) |
complies with (see <a class='info' href='#LSCP versioning'>Section 2<span> (</span><span class='info'>Versioning of this specification</span><span>)</span></a> for details) |
6207 |
|
</p> |
6208 |
|
</blockquote> |
6209 |
|
|
6210 |
|
|
6211 |
|
<p>INSTRUMENTS_DB_SUPPORT - |
6212 |
|
</p> |
6213 |
|
<blockquote class="text"> |
6214 |
|
<p>either yes or no, specifies whether the |
6215 |
|
sampler is build with instruments database support. |
6216 |
</p> |
</p> |
6217 |
</blockquote> |
</blockquote> |
6218 |
|
|
6226 |
<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. |
6227 |
Other fields might be added in future. |
Other fields might be added in future. |
6228 |
</p> |
</p> |
6229 |
|
<a name="GET VOLUME"></a><br /><hr /> |
6230 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6231 |
|
<a name="rfc.section.6.6.6"></a><h3>6.6.6. |
6232 |
|
Getting global volume attenuation</h3> |
6233 |
|
|
6234 |
|
<p>The client can ask for the current global sampler-wide volume |
6235 |
|
attenuation by sending the following command: |
6236 |
|
</p> |
6237 |
|
<p> |
6238 |
|
</p> |
6239 |
|
<blockquote class="text"> |
6240 |
|
<p>GET VOLUME |
6241 |
|
</p> |
6242 |
|
</blockquote><p> |
6243 |
|
|
6244 |
|
</p> |
6245 |
|
<p>Possible Answers: |
6246 |
|
</p> |
6247 |
|
<p> |
6248 |
|
</p> |
6249 |
|
<blockquote class="text"> |
6250 |
|
<p>The sampler will always answer by returning the optional |
6251 |
|
dotted floating point coefficient, reflecting the current |
6252 |
|
global volume attenuation. |
6253 |
|
|
6254 |
|
</p> |
6255 |
|
</blockquote><p> |
6256 |
|
|
6257 |
|
</p> |
6258 |
|
<p>Note: it is up to the respective sampler engine whether to obey |
6259 |
|
that global volume parameter or not, but in general all engines SHOULD |
6260 |
|
use this parameter. |
6261 |
|
</p> |
6262 |
|
<a name="SET VOLUME"></a><br /><hr /> |
6263 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6264 |
|
<a name="rfc.section.6.6.7"></a><h3>6.6.7. |
6265 |
|
Setting global volume attenuation</h3> |
6266 |
|
|
6267 |
|
<p>The client can alter the current global sampler-wide volume |
6268 |
|
attenuation by sending the following command: |
6269 |
|
</p> |
6270 |
|
<p> |
6271 |
|
</p> |
6272 |
|
<blockquote class="text"> |
6273 |
|
<p>SET VOLUME <volume> |
6274 |
|
</p> |
6275 |
|
</blockquote><p> |
6276 |
|
|
6277 |
|
</p> |
6278 |
|
<p>Where <volume> should be replaced by the optional dotted |
6279 |
|
floating point value, reflecting the new global volume parameter. |
6280 |
|
This value might usually be in the range between 0.0 and 1.0, that |
6281 |
|
is for attenuating the overall volume. |
6282 |
|
</p> |
6283 |
|
<p>Possible Answers: |
6284 |
|
</p> |
6285 |
|
<p> |
6286 |
|
</p> |
6287 |
|
<blockquote class="text"> |
6288 |
|
<p>"OK" - |
6289 |
|
</p> |
6290 |
|
<blockquote class="text"> |
6291 |
|
<p>on success |
6292 |
|
</p> |
6293 |
|
</blockquote> |
6294 |
|
|
6295 |
|
|
6296 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
6297 |
|
</p> |
6298 |
|
<blockquote class="text"> |
6299 |
|
<p>if the global volume was set, but there are noteworthy |
6300 |
|
issue(s) related, providing an appropriate warning code and |
6301 |
|
warning message |
6302 |
|
</p> |
6303 |
|
</blockquote> |
6304 |
|
|
6305 |
|
|
6306 |
|
<p>"ERR:<error-code>:<error-message>" - |
6307 |
|
</p> |
6308 |
|
<blockquote class="text"> |
6309 |
|
<p>in case it failed, providing an appropriate error code and error message |
6310 |
|
</p> |
6311 |
|
</blockquote> |
6312 |
|
|
6313 |
|
|
6314 |
|
</blockquote><p> |
6315 |
|
|
6316 |
|
</p> |
6317 |
|
<a name="MIDI Instrument Mapping"></a><br /><hr /> |
6318 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6319 |
|
<a name="rfc.section.6.7"></a><h3>6.7. |
6320 |
|
MIDI Instrument Mapping</h3> |
6321 |
|
|
6322 |
|
<p>The MIDI protocol provides a way to switch between instruments |
6323 |
|
by sending so called MIDI bank select and MIDI program change |
6324 |
|
messages which are essentially just numbers. The following commands |
6325 |
|
allow to actually map arbitrary MIDI bank select / program change |
6326 |
|
numbers with real instruments. |
6327 |
|
</p> |
6328 |
|
<p>The sampler allows to manage an arbitrary amount of MIDI |
6329 |
|
instrument maps which define which instrument to load on |
6330 |
|
which MIDI program change message. |
6331 |
|
</p> |
6332 |
|
<p>By default, that is when the sampler is launched, there is no |
6333 |
|
map, thus the sampler will simply ignore all program change |
6334 |
|
messages. The front-end has to explicitly create at least one |
6335 |
|
map, add entries to the map and tell the respective sampler |
6336 |
|
channel(s) which MIDI instrument map to use, so the sampler |
6337 |
|
knows how to react on a given program change message on the |
6338 |
|
respective sampler channel, that is by switching to the |
6339 |
|
respectively defined engine type and loading the respective |
6340 |
|
instrument. See command |
6341 |
|
<a class='info' href='#SET CHANNEL MIDI_INSTRUMENT_MAP'>"SET CHANNEL MIDI_INSTRUMENT_MAP"<span> (</span><span class='info'>Assigning a MIDI instrument map to a sampler channel</span><span>)</span></a> |
6342 |
|
for how to assign a MIDI instrument map to a sampler channel. |
6343 |
|
</p> |
6344 |
|
<p>Also note per MIDI specification a bank select message does not |
6345 |
|
cause to switch to another instrument. Instead when receiving a |
6346 |
|
bank select message the bank value will be stored and a subsequent |
6347 |
|
program change message (which may occur at any time) will finally |
6348 |
|
cause the sampler to switch to the respective instrument as |
6349 |
|
reflected by the current MIDI instrument map. |
6350 |
|
</p> |
6351 |
|
<a name="ADD MIDI_INSTRUMENT_MAP"></a><br /><hr /> |
6352 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6353 |
|
<a name="rfc.section.6.7.1"></a><h3>6.7.1. |
6354 |
|
Create a new MIDI instrument map</h3> |
6355 |
|
|
6356 |
|
<p>The front-end can add a new MIDI instrument map by sending |
6357 |
|
the following command: |
6358 |
|
</p> |
6359 |
|
<p> |
6360 |
|
</p> |
6361 |
|
<blockquote class="text"> |
6362 |
|
<p>ADD MIDI_INSTRUMENT_MAP [<name>] |
6363 |
|
</p> |
6364 |
|
</blockquote><p> |
6365 |
|
|
6366 |
|
</p> |
6367 |
|
<p>Where <name> is an optional argument allowing to |
6368 |
|
assign a custom name to the new map. MIDI instrument Map |
6369 |
|
names do not have to be unique, but MUST be encapsulated |
6370 |
|
into apostrophes and support escape sequences as described |
6371 |
|
in chapter "<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>". |
6372 |
|
|
6373 |
|
</p> |
6374 |
|
<p>Possible Answers: |
6375 |
|
</p> |
6376 |
|
<p> |
6377 |
|
</p> |
6378 |
|
<blockquote class="text"> |
6379 |
|
<p>"OK[<map>]" - |
6380 |
|
</p> |
6381 |
|
<blockquote class="text"> |
6382 |
|
<p>in case a new MIDI instrument map could |
6383 |
|
be added, where <map> reflects the |
6384 |
|
unique ID of the newly created MIDI |
6385 |
|
instrument map |
6386 |
|
</p> |
6387 |
|
</blockquote> |
6388 |
|
|
6389 |
|
|
6390 |
|
<p>"ERR:<error-code>:<error-message>" - |
6391 |
|
</p> |
6392 |
|
<blockquote class="text"> |
6393 |
|
<p>when a new map could not be created, which |
6394 |
|
might never occur in practice |
6395 |
|
</p> |
6396 |
|
</blockquote> |
6397 |
|
|
6398 |
|
|
6399 |
|
</blockquote><p> |
6400 |
|
|
6401 |
|
</p> |
6402 |
|
<p>Examples: |
6403 |
|
</p> |
6404 |
|
<p> |
6405 |
|
</p> |
6406 |
|
<blockquote class="text"> |
6407 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Map'" |
6408 |
|
</p> |
6409 |
|
<p>S: "OK[0]" |
6410 |
|
</p> |
6411 |
|
</blockquote><p> |
6412 |
|
|
6413 |
|
</p> |
6414 |
|
<p> |
6415 |
|
</p> |
6416 |
|
<blockquote class="text"> |
6417 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Drumkit'" |
6418 |
|
</p> |
6419 |
|
<p>S: "OK[1]" |
6420 |
|
</p> |
6421 |
|
</blockquote><p> |
6422 |
|
|
6423 |
|
</p> |
6424 |
|
<p> |
6425 |
|
</p> |
6426 |
|
<blockquote class="text"> |
6427 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP" |
6428 |
|
</p> |
6429 |
|
<p>S: "OK[5]" |
6430 |
|
</p> |
6431 |
|
</blockquote><p> |
6432 |
|
|
6433 |
|
</p> |
6434 |
|
<a name="REMOVE MIDI_INSTRUMENT_MAP"></a><br /><hr /> |
6435 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6436 |
|
<a name="rfc.section.6.7.2"></a><h3>6.7.2. |
6437 |
|
Delete one particular or all MIDI instrument maps</h3> |
6438 |
|
|
6439 |
|
<p>The front-end can delete a particular MIDI instrument map |
6440 |
|
by sending the following command: |
6441 |
|
</p> |
6442 |
|
<p> |
6443 |
|
</p> |
6444 |
|
<blockquote class="text"> |
6445 |
|
<p>REMOVE MIDI_INSTRUMENT_MAP <map> |
6446 |
|
</p> |
6447 |
|
</blockquote><p> |
6448 |
|
|
6449 |
|
</p> |
6450 |
|
<p>Where <map> reflects the unique ID of the map to delete |
6451 |
|
as returned by the <a class='info' href='#LIST MIDI_INSTRUMENT_MAPS'>"LIST MIDI_INSTRUMENT_MAPS"<span> (</span><span class='info'>Getting all created MIDI instrument maps</span><span>)</span></a> |
6452 |
|
command. |
6453 |
|
</p> |
6454 |
|
<p>The front-end can delete all MIDI instrument maps by |
6455 |
|
sending the following command: |
6456 |
|
</p> |
6457 |
|
<p> |
6458 |
|
</p> |
6459 |
|
<blockquote class="text"> |
6460 |
|
<p>REMOVE MIDI_INSTRUMENT_MAP ALL |
6461 |
|
</p> |
6462 |
|
</blockquote><p> |
6463 |
|
|
6464 |
|
</p> |
6465 |
|
<p>Possible Answers: |
6466 |
|
</p> |
6467 |
|
<p> |
6468 |
|
</p> |
6469 |
|
<blockquote class="text"> |
6470 |
|
<p>"OK" - |
6471 |
|
</p> |
6472 |
|
<blockquote class="text"> |
6473 |
|
<p>in case the map(s) could be deleted |
6474 |
|
</p> |
6475 |
|
</blockquote> |
6476 |
|
|
6477 |
|
|
6478 |
|
<p>"ERR:<error-code>:<error-message>" - |
6479 |
|
</p> |
6480 |
|
<blockquote class="text"> |
6481 |
|
<p>when the given map does not exist |
6482 |
|
</p> |
6483 |
|
</blockquote> |
6484 |
|
|
6485 |
|
|
6486 |
|
</blockquote><p> |
6487 |
|
|
6488 |
|
</p> |
6489 |
|
<p>Examples: |
6490 |
|
</p> |
6491 |
|
<p> |
6492 |
|
</p> |
6493 |
|
<blockquote class="text"> |
6494 |
|
<p>C: "REMOVE MIDI_INSTRUMENT_MAP 0" |
6495 |
|
</p> |
6496 |
|
<p>S: "OK" |
6497 |
|
</p> |
6498 |
|
</blockquote><p> |
6499 |
|
|
6500 |
|
</p> |
6501 |
|
<p> |
6502 |
|
</p> |
6503 |
|
<blockquote class="text"> |
6504 |
|
<p>C: "REMOVE MIDI_INSTRUMENT_MAP ALL" |
6505 |
|
</p> |
6506 |
|
<p>S: "OK" |
6507 |
|
</p> |
6508 |
|
</blockquote><p> |
6509 |
|
|
6510 |
|
</p> |
6511 |
|
<a name="GET MIDI_INSTRUMENT_MAPS"></a><br /><hr /> |
6512 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6513 |
|
<a name="rfc.section.6.7.3"></a><h3>6.7.3. |
6514 |
|
Get amount of existing MIDI instrument maps</h3> |
6515 |
|
|
6516 |
|
<p>The front-end can retrieve the current amount of MIDI |
6517 |
|
instrument maps by sending the following command: |
6518 |
|
</p> |
6519 |
|
<p> |
6520 |
|
</p> |
6521 |
|
<blockquote class="text"> |
6522 |
|
<p>GET MIDI_INSTRUMENT_MAPS |
6523 |
|
</p> |
6524 |
|
</blockquote><p> |
6525 |
|
|
6526 |
|
</p> |
6527 |
|
<p>Possible Answers: |
6528 |
|
</p> |
6529 |
|
<p> |
6530 |
|
</p> |
6531 |
|
<blockquote class="text"> |
6532 |
|
<p>The sampler will answer by returning the current |
6533 |
|
number of MIDI instrument maps. |
6534 |
|
</p> |
6535 |
|
</blockquote><p> |
6536 |
|
|
6537 |
|
</p> |
6538 |
|
<p>Example: |
6539 |
|
</p> |
6540 |
|
<p> |
6541 |
|
</p> |
6542 |
|
<blockquote class="text"> |
6543 |
|
<p>C: "GET MIDI_INSTRUMENT_MAPS" |
6544 |
|
</p> |
6545 |
|
<p>S: "2" |
6546 |
|
</p> |
6547 |
|
</blockquote><p> |
6548 |
|
|
6549 |
|
</p> |
6550 |
|
<a name="LIST MIDI_INSTRUMENT_MAPS"></a><br /><hr /> |
6551 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6552 |
|
<a name="rfc.section.6.7.4"></a><h3>6.7.4. |
6553 |
|
Getting all created MIDI instrument maps</h3> |
6554 |
|
|
6555 |
|
<p>The number of MIDI instrument maps can change on runtime. To get the |
6556 |
|
current list of MIDI instrument maps, the front-end can send the |
6557 |
|
following command: |
6558 |
|
</p> |
6559 |
|
<p> |
6560 |
|
</p> |
6561 |
|
<blockquote class="text"> |
6562 |
|
<p>LIST MIDI_INSTRUMENT_MAPS |
6563 |
|
</p> |
6564 |
|
</blockquote><p> |
6565 |
|
|
6566 |
|
</p> |
6567 |
|
<p>Possible Answers: |
6568 |
|
</p> |
6569 |
|
<p> |
6570 |
|
</p> |
6571 |
|
<blockquote class="text"> |
6572 |
|
<p>The sampler will answer by returning a comma separated list |
6573 |
|
with all MIDI instrument maps' numerical IDs. |
6574 |
|
</p> |
6575 |
|
</blockquote><p> |
6576 |
|
|
6577 |
|
</p> |
6578 |
|
<p>Example: |
6579 |
|
</p> |
6580 |
|
<p> |
6581 |
|
</p> |
6582 |
|
<blockquote class="text"> |
6583 |
|
<p>C: "LIST MIDI_INSTRUMENT_MAPS" |
6584 |
|
</p> |
6585 |
|
<p>S: "0,1,5,12" |
6586 |
|
</p> |
6587 |
|
</blockquote><p> |
6588 |
|
|
6589 |
|
</p> |
6590 |
|
<a name="GET MIDI_INSTRUMENT_MAP INFO"></a><br /><hr /> |
6591 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6592 |
|
<a name="rfc.section.6.7.5"></a><h3>6.7.5. |
6593 |
|
Getting MIDI instrument map information</h3> |
6594 |
|
|
6595 |
|
<p>The front-end can ask for the current settings of a MIDI |
6596 |
|
instrument map by sending the following command: |
6597 |
|
</p> |
6598 |
|
<p> |
6599 |
|
</p> |
6600 |
|
<blockquote class="text"> |
6601 |
|
<p>GET MIDI_INSTRUMENT_MAP INFO <map> |
6602 |
|
</p> |
6603 |
|
</blockquote><p> |
6604 |
|
|
6605 |
|
</p> |
6606 |
|
<p>Where <map> is the numerical ID of the map the |
6607 |
|
front-end is interested in as returned by the |
6608 |
|
<a class='info' href='#LIST MIDI_INSTRUMENT_MAPS'>"LIST MIDI_INSTRUMENT_MAPS"<span> (</span><span class='info'>Getting all created MIDI instrument maps</span><span>)</span></a> |
6609 |
|
command. |
6610 |
|
</p> |
6611 |
|
<p>Possible Answers: |
6612 |
|
</p> |
6613 |
|
<p> |
6614 |
|
</p> |
6615 |
|
<blockquote class="text"> |
6616 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
6617 |
|
Each answer line begins with the settings category name |
6618 |
|
followed by a colon and then a space character <SP> and finally |
6619 |
|
the info character string to that setting category. At the |
6620 |
|
moment the following categories are defined: |
6621 |
|
</p> |
6622 |
|
<p> |
6623 |
|
</p> |
6624 |
|
<blockquote class="text"> |
6625 |
|
<p>NAME - |
6626 |
|
</p> |
6627 |
|
<blockquote class="text"> |
6628 |
|
<p>custom name of the given map, |
6629 |
|
which does not have to be unique |
6630 |
|
(note that this character string may contain |
6631 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
6632 |
|
</p> |
6633 |
|
</blockquote> |
6634 |
|
|
6635 |
|
|
6636 |
|
<p>DEFAULT - |
6637 |
|
</p> |
6638 |
|
<blockquote class="text"> |
6639 |
|
<p>either true or false, |
6640 |
|
defines whether this map is the default map |
6641 |
|
</p> |
6642 |
|
</blockquote> |
6643 |
|
|
6644 |
|
|
6645 |
|
</blockquote> |
6646 |
|
|
6647 |
|
|
6648 |
|
</blockquote><p> |
6649 |
|
|
6650 |
|
</p> |
6651 |
|
<p>The mentioned fields above don't have to be in particular order. |
6652 |
|
</p> |
6653 |
|
<p>Example: |
6654 |
|
</p> |
6655 |
|
<p> |
6656 |
|
</p> |
6657 |
|
<blockquote class="text"> |
6658 |
|
<p>C: "GET MIDI_INSTRUMENT_MAP INFO 0" |
6659 |
|
</p> |
6660 |
|
<p>S: "NAME: Standard Map" |
6661 |
|
</p> |
6662 |
|
<p> "DEFAULT: true" |
6663 |
|
</p> |
6664 |
|
<p> "." |
6665 |
|
</p> |
6666 |
|
</blockquote><p> |
6667 |
|
|
6668 |
|
</p> |
6669 |
|
<a name="SET MIDI_INSTRUMENT_MAP NAME"></a><br /><hr /> |
6670 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6671 |
|
<a name="rfc.section.6.7.6"></a><h3>6.7.6. |
6672 |
|
Renaming a MIDI instrument map</h3> |
6673 |
|
|
6674 |
|
<p>The front-end can alter the custom name of a MIDI |
6675 |
|
instrument map by sending the following command: |
6676 |
|
</p> |
6677 |
|
<p> |
6678 |
|
</p> |
6679 |
|
<blockquote class="text"> |
6680 |
|
<p>SET MIDI_INSTRUMENT_MAP NAME <map> <name> |
6681 |
|
</p> |
6682 |
|
</blockquote><p> |
6683 |
|
|
6684 |
|
</p> |
6685 |
|
<p>Where <map> is the numerical ID of the map and |
6686 |
|
<name> the new custom name of the map, which does not |
6687 |
|
have to be unique (name MUST be encapsulated into apostrophes |
6688 |
|
and supports escape sequences as described in chapter |
6689 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
6690 |
|
|
6691 |
|
</p> |
6692 |
|
<p>Possible Answers: |
6693 |
|
</p> |
6694 |
|
<p> |
6695 |
|
</p> |
6696 |
|
<blockquote class="text"> |
6697 |
|
<p>"OK" - |
6698 |
|
</p> |
6699 |
|
<blockquote class="text"> |
6700 |
|
<p>on success |
6701 |
|
</p> |
6702 |
|
</blockquote> |
6703 |
|
|
6704 |
|
|
6705 |
|
<p>"ERR:<error-code>:<error-message>" - |
6706 |
|
</p> |
6707 |
|
<blockquote class="text"> |
6708 |
|
<p>in case the given map does not exist |
6709 |
|
</p> |
6710 |
|
</blockquote> |
6711 |
|
|
6712 |
|
|
6713 |
|
</blockquote><p> |
6714 |
|
|
6715 |
|
</p> |
6716 |
|
<p>Example: |
6717 |
|
</p> |
6718 |
|
<p> |
6719 |
|
</p> |
6720 |
|
<blockquote class="text"> |
6721 |
|
<p>C: "SET MIDI_INSTRUMENT_MAP NAME 0 'Foo instruments'" |
6722 |
|
</p> |
6723 |
|
<p>S: "OK" |
6724 |
|
</p> |
6725 |
|
</blockquote><p> |
6726 |
|
|
6727 |
|
</p> |
6728 |
|
<a name="MAP MIDI_INSTRUMENT"></a><br /><hr /> |
6729 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6730 |
|
<a name="rfc.section.6.7.7"></a><h3>6.7.7. |
6731 |
|
Create or replace a MIDI instrument map entry</h3> |
6732 |
|
|
6733 |
|
<p>The front-end can create a new or replace an existing entry |
6734 |
|
in a sampler's MIDI instrument map by sending the following |
6735 |
|
command: |
6736 |
|
</p> |
6737 |
|
<p> |
6738 |
|
</p> |
6739 |
|
<blockquote class="text"> |
6740 |
|
<p>MAP MIDI_INSTRUMENT [NON_MODAL] <map> |
6741 |
|
<midi_bank> <midi_prog> <engine_name> |
6742 |
|
<filename> <instrument_index> <volume_value> |
6743 |
|
[<instr_load_mode>] [<name>] |
6744 |
|
</p> |
6745 |
|
</blockquote><p> |
6746 |
|
|
6747 |
|
</p> |
6748 |
|
<p>Where <map> is the numeric ID of the map to alter, |
6749 |
|
<midi_bank> is an integer value between |
6750 |
|
0..16383 reflecting the MIDI bank select index, |
6751 |
|
<midi_prog> an |
6752 |
|
integer value between 0..127 reflecting the MIDI program change |
6753 |
|
index, <engine_name> a sampler engine name as returned by |
6754 |
|
the <a class='info' href='#LIST AVAILABLE_ENGINES'>"LIST AVAILABLE_ENGINES"<span> (</span><span class='info'>Getting all available engines</span><span>)</span></a> |
6755 |
|
command (not encapsulated into apostrophes), <filename> the name |
6756 |
|
of the instrument's file to be deployed (encapsulated into apostrophes, |
6757 |
|
supporting escape sequences as described in chapter |
6758 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"), |
6759 |
|
<instrument_index> the index (integer value) of the instrument |
6760 |
|
within the given file, <volume_value> reflects the master |
6761 |
|
volume of the instrument as optionally dotted number (where a |
6762 |
|
value < 1.0 means attenuation and a value > 1.0 means |
6763 |
|
amplification). This parameter easily allows to adjust the |
6764 |
|
volume of all intruments within a custom instrument map |
6765 |
|
without having to adjust their instrument files. The |
6766 |
|
OPTIONAL <instr_load_mode> argument defines the life |
6767 |
|
time of the instrument, that is when the instrument should |
6768 |
|
be loaded, when freed and has exactly the following |
6769 |
|
possibilities: |
6770 |
|
</p> |
6771 |
|
<p> |
6772 |
|
</p> |
6773 |
|
<blockquote class="text"> |
6774 |
|
<p>"ON_DEMAND" - |
6775 |
|
</p> |
6776 |
|
<blockquote class="text"> |
6777 |
|
<p>The instrument will be loaded when needed, |
6778 |
|
that is when demanded by at least one sampler |
6779 |
|
channel. It will immediately be freed from memory |
6780 |
|
when not needed by any sampler channel anymore. |
6781 |
|
</p> |
6782 |
|
</blockquote> |
6783 |
|
|
6784 |
|
|
6785 |
|
<p>"ON_DEMAND_HOLD" - |
6786 |
|
</p> |
6787 |
|
<blockquote class="text"> |
6788 |
|
<p>The instrument will be loaded when needed, |
6789 |
|
that is when demanded by at least one sampler |
6790 |
|
channel. It will be kept in memory even when |
6791 |
|
not needed by any sampler channel anymore. |
6792 |
|
Instruments with this mode are only freed |
6793 |
|
when the sampler is reset or all mapping |
6794 |
|
entries with this mode (and respective |
6795 |
|
instrument) are explicitly changed to |
6796 |
|
"ON_DEMAND" and no sampler channel is using |
6797 |
|
the instrument anymore. |
6798 |
|
</p> |
6799 |
|
</blockquote> |
6800 |
|
|
6801 |
|
|
6802 |
|
<p>"PERSISTENT" - |
6803 |
|
</p> |
6804 |
|
<blockquote class="text"> |
6805 |
|
<p>The instrument will immediately be loaded |
6806 |
|
into memory when this mapping |
6807 |
|
command is sent and the instrument is kept all |
6808 |
|
the time. Instruments with this mode are |
6809 |
|
only freed when the sampler is reset or all |
6810 |
|
mapping entries with this mode (and |
6811 |
|
respective instrument) are explicitly |
6812 |
|
changed to "ON_DEMAND" and no sampler |
6813 |
|
channel is using the instrument anymore. |
6814 |
|
</p> |
6815 |
|
</blockquote> |
6816 |
|
|
6817 |
|
|
6818 |
|
<p>not supplied - |
6819 |
|
</p> |
6820 |
|
<blockquote class="text"> |
6821 |
|
<p>In case there is no <instr_load_mode> |
6822 |
|
argument given, it will be up to the |
6823 |
|
InstrumentManager to decide which mode to use. |
6824 |
|
Usually it will use "ON_DEMAND" if an entry |
6825 |
|
for the given instrument does not exist in |
6826 |
|
the InstrumentManager's list yet, otherwise |
6827 |
|
if an entry already exists, it will simply |
6828 |
|
stick with the mode currently reflected by |
6829 |
|
the already existing entry, that is it will |
6830 |
|
not change the mode. |
6831 |
|
</p> |
6832 |
|
</blockquote> |
6833 |
|
|
6834 |
|
|
6835 |
|
</blockquote><p> |
6836 |
|
|
6837 |
|
</p> |
6838 |
|
<p> |
6839 |
|
The <instr_load_mode> argument thus allows to define an |
6840 |
|
appropriate strategy (low memory consumption vs. fast |
6841 |
|
instrument switching) for each instrument individually. Note, the |
6842 |
|
following restrictions apply to this argument: "ON_DEMAND_HOLD" and |
6843 |
|
"PERSISTENT" have to be supported by the respective sampler engine |
6844 |
|
(which is technically the case when the engine provides an |
6845 |
|
InstrumentManager for its format). If this is not the case the |
6846 |
|
argument will automatically fall back to the default value |
6847 |
|
"ON_DEMAND". Also the load mode of one instrument may |
6848 |
|
automatically change the laod mode of other instrument(s), i.e. |
6849 |
|
because the instruments are part of the same file and the |
6850 |
|
engine does not allow a way to manage load modes for them |
6851 |
|
individually. Due to this, in case the frontend shows the |
6852 |
|
load modes of entries, the frontend should retrieve the actual |
6853 |
|
mode by i.e. sending |
6854 |
|
<a class='info' href='#GET MIDI_INSTRUMENT INFO'>"GET MIDI_INSTRUMENT INFO"<span> (</span><span class='info'>Get current settings of MIDI instrument map entry</span><span>)</span></a> |
6855 |
|
command(s). Finally the OPTIONAL <name> argument allows to set a custom name |
6856 |
|
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
6857 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>") for the |
6858 |
|
mapping entry, useful for frontends for displaying an appropriate name for |
6859 |
|
mapped instruments (using |
6860 |
|
<a class='info' href='#GET MIDI_INSTRUMENT INFO'>"GET MIDI_INSTRUMENT INFO"<span> (</span><span class='info'>Get current settings of MIDI instrument map entry</span><span>)</span></a>). |
6861 |
|
|
6862 |
|
</p> |
6863 |
|
<p> |
6864 |
|
By default, "MAP MIDI_INSTRUMENT" commands block until the mapping is |
6865 |
|
completely established in the sampler. The OPTIONAL "NON_MODAL" argument |
6866 |
|
however causes the respective "MAP MIDI_INSTRUMENT" command to return |
6867 |
|
immediately, that is to let the sampler establish the mapping in the |
6868 |
|
background. So this argument might be especially useful for mappings with |
6869 |
|
a "PERSISTENT" type, because these have to load the respective instruments |
6870 |
|
immediately and might thus block for a very long time. It is recommended |
6871 |
|
however to use the OPTIONAL "NON_MODAL" argument only if really necessary, |
6872 |
|
because it has the following drawbacks: as "NON_MODAL" instructions return |
6873 |
|
immediately, they may not necessarily return an error i.e. when the given |
6874 |
|
instrument file turns out to be corrupt, beside that subsequent commands |
6875 |
|
in a LSCP instruction sequence might fail, because mandatory mappings are |
6876 |
|
not yet completed. |
6877 |
|
|
6878 |
|
</p> |
6879 |
|
<p>Possible Answers: |
6880 |
|
</p> |
6881 |
|
<p> |
6882 |
|
</p> |
6883 |
|
<blockquote class="text"> |
6884 |
|
<p>"OK" - |
6885 |
|
</p> |
6886 |
|
<blockquote class="text"> |
6887 |
|
<p>usually |
6888 |
|
</p> |
6889 |
|
</blockquote> |
6890 |
|
|
6891 |
|
|
6892 |
|
<p>"ERR:<error-code>:<error-message>" - |
6893 |
|
</p> |
6894 |
|
<blockquote class="text"> |
6895 |
|
<p>when the given map or engine does not exist or a value |
6896 |
|
is out of range |
6897 |
|
</p> |
6898 |
|
</blockquote> |
6899 |
|
|
6900 |
|
|
6901 |
|
</blockquote><p> |
6902 |
|
|
6903 |
|
</p> |
6904 |
|
<p>Examples: |
6905 |
|
</p> |
6906 |
|
<p> |
6907 |
|
</p> |
6908 |
|
<blockquote class="text"> |
6909 |
|
<p>C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0 0.8 PERSISTENT" |
6910 |
|
</p> |
6911 |
|
<p>S: "OK" |
6912 |
|
</p> |
6913 |
|
</blockquote><p> |
6914 |
|
|
6915 |
|
</p> |
6916 |
|
<p> |
6917 |
|
</p> |
6918 |
|
<blockquote class="text"> |
6919 |
|
<p>C: "MAP MIDI_INSTRUMENT 0 4 50 gig '/home/john/foostrings.gig' 7 1.0" |
6920 |
|
</p> |
6921 |
|
<p>S: "OK" |
6922 |
|
</p> |
6923 |
|
</blockquote><p> |
6924 |
|
|
6925 |
|
</p> |
6926 |
|
<p> |
6927 |
|
</p> |
6928 |
|
<blockquote class="text"> |
6929 |
|
<p>C: "MAP MIDI_INSTRUMENT 0 0 0 gig '/usr/share/piano.gig' 0 1.0 'Normal Piano'" |
6930 |
|
</p> |
6931 |
|
<p>S: "OK" |
6932 |
|
</p> |
6933 |
|
<p>C: "MAP MIDI_INSTRUMENT 0 1 0 gig '/usr/share/piano.gig' 0 0.25 'Silent Piano'" |
6934 |
|
</p> |
6935 |
|
<p>S: "OK" |
6936 |
|
</p> |
6937 |
|
</blockquote><p> |
6938 |
|
|
6939 |
|
</p> |
6940 |
|
<p> |
6941 |
|
</p> |
6942 |
|
<blockquote class="text"> |
6943 |
|
<p>C: "MAP MIDI_INSTRUMENT NON_MODAL 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'" |
6944 |
|
</p> |
6945 |
|
<p>S: "OK" |
6946 |
|
</p> |
6947 |
|
</blockquote><p> |
6948 |
|
|
6949 |
|
</p> |
6950 |
|
<a name="GET MIDI_INSTRUMENTS"></a><br /><hr /> |
6951 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6952 |
|
<a name="rfc.section.6.7.8"></a><h3>6.7.8. |
6953 |
|
Getting ammount of MIDI instrument map entries</h3> |
6954 |
|
|
6955 |
|
<p>The front-end can query the amount of currently existing |
6956 |
|
entries in a MIDI instrument map by sending the following |
6957 |
|
command: |
6958 |
|
</p> |
6959 |
|
<p> |
6960 |
|
</p> |
6961 |
|
<blockquote class="text"> |
6962 |
|
<p>GET MIDI_INSTRUMENTS <map> |
6963 |
|
</p> |
6964 |
|
</blockquote><p> |
6965 |
|
|
6966 |
|
</p> |
6967 |
|
<p>The front-end can query the amount of currently existing |
6968 |
|
entries in all MIDI instrument maps by sending the following |
6969 |
|
command: |
6970 |
|
</p> |
6971 |
|
<p> |
6972 |
|
</p> |
6973 |
|
<blockquote class="text"> |
6974 |
|
<p>GET MIDI_INSTRUMENTS ALL |
6975 |
|
</p> |
6976 |
|
</blockquote><p> |
6977 |
|
|
6978 |
|
</p> |
6979 |
|
<p>Possible Answers: |
6980 |
|
</p> |
6981 |
|
<p> |
6982 |
|
</p> |
6983 |
|
<blockquote class="text"> |
6984 |
|
<p>The sampler will answer by sending the current number of |
6985 |
|
entries in the MIDI instrument map(s). |
6986 |
|
</p> |
6987 |
|
</blockquote><p> |
6988 |
|
|
6989 |
|
</p> |
6990 |
|
<p>Example: |
6991 |
|
</p> |
6992 |
|
<p> |
6993 |
|
</p> |
6994 |
|
<blockquote class="text"> |
6995 |
|
<p>C: "GET MIDI_INSTRUMENTS 0" |
6996 |
|
</p> |
6997 |
|
<p>S: "234" |
6998 |
|
</p> |
6999 |
|
</blockquote><p> |
7000 |
|
|
7001 |
|
</p> |
7002 |
|
<p> |
7003 |
|
</p> |
7004 |
|
<blockquote class="text"> |
7005 |
|
<p>C: "GET MIDI_INSTRUMENTS ALL" |
7006 |
|
</p> |
7007 |
|
<p>S: "954" |
7008 |
|
</p> |
7009 |
|
</blockquote><p> |
7010 |
|
|
7011 |
|
</p> |
7012 |
|
<a name="LIST MIDI_INSTRUMENTS"></a><br /><hr /> |
7013 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7014 |
|
<a name="rfc.section.6.7.9"></a><h3>6.7.9. |
7015 |
|
Getting indeces of all entries of a MIDI instrument map</h3> |
7016 |
|
|
7017 |
|
<p>The front-end can query a list of all currently existing |
7018 |
|
entries in a certain MIDI instrument map by sending the following |
7019 |
|
command: |
7020 |
|
</p> |
7021 |
|
<p> |
7022 |
|
</p> |
7023 |
|
<blockquote class="text"> |
7024 |
|
<p>LIST MIDI_INSTRUMENTS <map> |
7025 |
|
</p> |
7026 |
|
</blockquote><p> |
7027 |
|
|
7028 |
|
</p> |
7029 |
|
<p>Where <map> is the numeric ID of the MIDI instrument map. |
7030 |
|
</p> |
7031 |
|
<p>The front-end can query a list of all currently existing |
7032 |
|
entries of all MIDI instrument maps by sending the following |
7033 |
|
command: |
7034 |
|
</p> |
7035 |
|
<p> |
7036 |
|
</p> |
7037 |
|
<blockquote class="text"> |
7038 |
|
<p>LIST MIDI_INSTRUMENTS ALL |
7039 |
|
</p> |
7040 |
|
</blockquote><p> |
7041 |
|
|
7042 |
|
</p> |
7043 |
|
<p>Possible Answers: |
7044 |
|
</p> |
7045 |
|
<p> |
7046 |
|
</p> |
7047 |
|
<blockquote class="text"> |
7048 |
|
<p>The sampler will answer by sending a comma separated |
7049 |
|
list of map ID - MIDI bank - MIDI program triples, where |
7050 |
|
each triple is encapsulated into curly braces. The |
7051 |
|
list is returned in one single line. Each triple |
7052 |
|
just reflects the key of the respective map entry, |
7053 |
|
thus subsequent |
7054 |
|
<a class='info' href='#GET MIDI_INSTRUMENT INFO'>"GET MIDI_INSTRUMENT INFO"<span> (</span><span class='info'>Get current settings of MIDI instrument map entry</span><span>)</span></a> |
7055 |
|
command(s) are necessary to retrieve detailed informations |
7056 |
|
about each entry. |
7057 |
|
</p> |
7058 |
|
</blockquote><p> |
7059 |
|
|
7060 |
|
</p> |
7061 |
|
<p>Example: |
7062 |
|
</p> |
7063 |
|
<p> |
7064 |
|
</p> |
7065 |
|
<blockquote class="text"> |
7066 |
|
<p>C: "LIST MIDI_INSTRUMENTS 0" |
7067 |
|
</p> |
7068 |
|
<p>S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}" |
7069 |
|
</p> |
7070 |
|
</blockquote><p> |
7071 |
|
|
7072 |
|
</p> |
7073 |
|
<a name="UNMAP MIDI_INSTRUMENT"></a><br /><hr /> |
7074 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7075 |
|
<a name="rfc.section.6.7.10"></a><h3>6.7.10. |
7076 |
|
Remove an entry from the MIDI instrument map</h3> |
7077 |
|
|
7078 |
|
<p>The front-end can delete an entry from a MIDI instrument |
7079 |
|
map by sending the following command: |
7080 |
|
</p> |
7081 |
|
<p> |
7082 |
|
</p> |
7083 |
|
<blockquote class="text"> |
7084 |
|
<p>UNMAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog> |
7085 |
|
</p> |
7086 |
|
</blockquote><p> |
7087 |
|
|
7088 |
|
</p> |
7089 |
|
<p> |
7090 |
|
Where <map> is the numeric ID of the MIDI instrument map, |
7091 |
|
<midi_bank> is an integer value between 0..16383 |
7092 |
|
reflecting the MIDI bank value and |
7093 |
|
<midi_prog> an integer value between |
7094 |
|
0..127 reflecting the MIDI program value of the map's entrie's key |
7095 |
|
index triple. |
7096 |
|
|
7097 |
|
</p> |
7098 |
|
<p>Possible Answers: |
7099 |
|
</p> |
7100 |
|
<p> |
7101 |
|
</p> |
7102 |
|
<blockquote class="text"> |
7103 |
|
<p>"OK" - |
7104 |
|
</p> |
7105 |
|
<blockquote class="text"> |
7106 |
|
<p>usually |
7107 |
|
</p> |
7108 |
|
</blockquote> |
7109 |
|
|
7110 |
|
|
7111 |
|
<p>"ERR:<error-code>:<error-message>" - |
7112 |
|
</p> |
7113 |
|
<blockquote class="text"> |
7114 |
|
<p>when index out of bounds |
7115 |
|
</p> |
7116 |
|
</blockquote> |
7117 |
|
|
7118 |
|
|
7119 |
|
</blockquote><p> |
7120 |
|
|
7121 |
|
</p> |
7122 |
|
<p>Example: |
7123 |
|
</p> |
7124 |
|
<p> |
7125 |
|
</p> |
7126 |
|
<blockquote class="text"> |
7127 |
|
<p>C: "UNMAP MIDI_INSTRUMENT 0 2 127" |
7128 |
|
</p> |
7129 |
|
<p>S: "OK" |
7130 |
|
</p> |
7131 |
|
</blockquote><p> |
7132 |
|
|
7133 |
|
</p> |
7134 |
|
<a name="GET MIDI_INSTRUMENT INFO"></a><br /><hr /> |
7135 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7136 |
|
<a name="rfc.section.6.7.11"></a><h3>6.7.11. |
7137 |
|
Get current settings of MIDI instrument map entry</h3> |
7138 |
|
|
7139 |
|
<p>The front-end can retrieve the current settings of a certain |
7140 |
|
instrument map entry by sending the following command: |
7141 |
|
</p> |
7142 |
|
<p> |
7143 |
|
</p> |
7144 |
|
<blockquote class="text"> |
7145 |
|
<p>GET MIDI_INSTRUMENT INFO <map> <midi_bank> <midi_prog> |
7146 |
|
</p> |
7147 |
|
</blockquote><p> |
7148 |
|
|
7149 |
|
</p> |
7150 |
|
<p> |
7151 |
|
Where <map> is the numeric ID of the MIDI instrument map, |
7152 |
|
<midi_bank> is an integer value between 0..16383 |
7153 |
|
reflecting the MIDI bank value, <midi_bank> |
7154 |
|
and <midi_prog> an integer value between |
7155 |
|
0..127 reflecting the MIDI program value of the map's entrie's key |
7156 |
|
index triple. |
7157 |
|
|
7158 |
|
</p> |
7159 |
|
<p>Possible Answers: |
7160 |
|
</p> |
7161 |
|
<p> |
7162 |
|
</p> |
7163 |
|
<blockquote class="text"> |
7164 |
|
<p>LinuxSampler will answer by sending a <CRLF> |
7165 |
|
separated list. Each answer line begins with the |
7166 |
|
information category name followed by a colon and then |
7167 |
|
a space character <SP> and finally the info |
7168 |
|
character string to that info category. At the moment |
7169 |
|
the following categories are defined: |
7170 |
|
</p> |
7171 |
|
<p>"NAME" - |
7172 |
|
</p> |
7173 |
|
<blockquote class="text"> |
7174 |
|
<p>Name for this MIDI instrument map entry (if defined). |
7175 |
|
This name shall be used by frontends for displaying a |
7176 |
|
name for this mapped instrument. It can be set and |
7177 |
|
changed with the |
7178 |
|
<a class='info' href='#MAP MIDI_INSTRUMENT'>"MAP MIDI_INSTRUMENT"<span> (</span><span class='info'>Create or replace a MIDI instrument map entry</span><span>)</span></a> |
7179 |
|
command and does not have to be unique. |
7180 |
|
(note that this character string may contain |
7181 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>) |
7182 |
|
</p> |
7183 |
|
</blockquote> |
7184 |
|
|
7185 |
|
|
7186 |
|
<p>"ENGINE_NAME" - |
7187 |
|
</p> |
7188 |
|
<blockquote class="text"> |
7189 |
|
<p>Name of the engine to be deployed for this |
7190 |
|
instrument. |
7191 |
|
</p> |
7192 |
|
</blockquote> |
7193 |
|
|
7194 |
|
|
7195 |
|
<p>"INSTRUMENT_FILE" - |
7196 |
|
</p> |
7197 |
|
<blockquote class="text"> |
7198 |
|
<p>File name of the instrument |
7199 |
|
(note that this path may contain |
7200 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>). |
7201 |
|
</p> |
7202 |
|
</blockquote> |
7203 |
|
|
7204 |
|
|
7205 |
|
<p>"INSTRUMENT_NR" - |
7206 |
|
</p> |
7207 |
|
<blockquote class="text"> |
7208 |
|
<p>Index of the instrument within the file. |
7209 |
|
</p> |
7210 |
|
</blockquote> |
7211 |
|
|
7212 |
|
|
7213 |
|
<p>"INSTRUMENT_NAME" - |
7214 |
|
</p> |
7215 |
|
<blockquote class="text"> |
7216 |
|
<p>Name of the loaded instrument as reflected by its file. |
7217 |
|
In contrast to the "NAME" field, the "INSTRUMENT_NAME" field |
7218 |
|
cannot be changed (note that this character string may contain |
7219 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>). |
7220 |
|
</p> |
7221 |
|
</blockquote> |
7222 |
|
|
7223 |
|
|
7224 |
|
<p>"LOAD_MODE" - |
7225 |
|
</p> |
7226 |
|
<blockquote class="text"> |
7227 |
|
<p>Life time of instrument |
7228 |
|
(see <a class='info' href='#MAP MIDI_INSTRUMENT'>"MAP MIDI_INSTRUMENT"<span> (</span><span class='info'>Create or replace a MIDI instrument map entry</span><span>)</span></a> for details about this setting). |
7229 |
|
</p> |
7230 |
|
</blockquote> |
7231 |
|
|
7232 |
|
|
7233 |
|
<p>"VOLUME" - |
7234 |
|
</p> |
7235 |
|
<blockquote class="text"> |
7236 |
|
<p>master volume of the instrument as optionally |
7237 |
|
dotted number (where a value < 1.0 means attenuation |
7238 |
|
and a value > 1.0 means amplification) |
7239 |
|
</p> |
7240 |
|
</blockquote> |
7241 |
|
|
7242 |
|
|
7243 |
|
<p>The mentioned fields above don't have to be in particular order. |
7244 |
|
</p> |
7245 |
|
</blockquote><p> |
7246 |
|
|
7247 |
|
</p> |
7248 |
|
<p>Example: |
7249 |
|
</p> |
7250 |
|
<p> |
7251 |
|
</p> |
7252 |
|
<blockquote class="text"> |
7253 |
|
<p>C: "GET MIDI_INSTRUMENT INFO 1 45 120" |
7254 |
|
</p> |
7255 |
|
<p>S: "NAME: Drums for Foo Song" |
7256 |
|
</p> |
7257 |
|
<p> "ENGINE_NAME: GigEngine" |
7258 |
|
</p> |
7259 |
|
<p> "INSTRUMENT_FILE: /usr/share/joesdrumkit.gig" |
7260 |
|
</p> |
7261 |
|
<p> "INSTRUMENT_NR: 0" |
7262 |
|
</p> |
7263 |
|
<p> "INSTRUMENT_NAME: Joe's Drumkit" |
7264 |
|
</p> |
7265 |
|
<p> "LOAD_MODE: PERSISTENT" |
7266 |
|
</p> |
7267 |
|
<p> "VOLUME: 1.0" |
7268 |
|
</p> |
7269 |
|
<p> "." |
7270 |
|
</p> |
7271 |
|
</blockquote><p> |
7272 |
|
|
7273 |
|
</p> |
7274 |
|
<a name="CLEAR MIDI_INSTRUMENTS"></a><br /><hr /> |
7275 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7276 |
|
<a name="rfc.section.6.7.12"></a><h3>6.7.12. |
7277 |
|
Clear MIDI instrument map</h3> |
7278 |
|
|
7279 |
|
<p>The front-end can clear a whole MIDI instrument map, that |
7280 |
|
is delete all its entries by sending the following command: |
7281 |
|
</p> |
7282 |
|
<p> |
7283 |
|
</p> |
7284 |
|
<blockquote class="text"> |
7285 |
|
<p>CLEAR MIDI_INSTRUMENTS <map> |
7286 |
|
</p> |
7287 |
|
</blockquote><p> |
7288 |
|
|
7289 |
|
</p> |
7290 |
|
<p>Where <map> is the numeric ID of the map to clear. |
7291 |
|
</p> |
7292 |
|
<p>The front-end can clear all MIDI instrument maps, that |
7293 |
|
is delete all entries of all maps by sending the following |
7294 |
|
command: |
7295 |
|
</p> |
7296 |
|
<p> |
7297 |
|
</p> |
7298 |
|
<blockquote class="text"> |
7299 |
|
<p>CLEAR MIDI_INSTRUMENTS ALL |
7300 |
|
</p> |
7301 |
|
</blockquote><p> |
7302 |
|
|
7303 |
|
</p> |
7304 |
|
<p>The command "CLEAR MIDI_INSTRUMENTS ALL" does not delete the |
7305 |
|
maps, only their entries, thus the map's settings like |
7306 |
|
custom name will be preservevd. |
7307 |
|
</p> |
7308 |
|
<p>Possible Answers: |
7309 |
|
</p> |
7310 |
|
<p> |
7311 |
|
</p> |
7312 |
|
<blockquote class="text"> |
7313 |
|
<p>"OK" - |
7314 |
|
</p> |
7315 |
|
<blockquote class="text"> |
7316 |
|
<p>always |
7317 |
|
</p> |
7318 |
|
</blockquote> |
7319 |
|
|
7320 |
|
|
7321 |
|
</blockquote><p> |
7322 |
|
|
7323 |
|
</p> |
7324 |
|
<p>Examples: |
7325 |
|
</p> |
7326 |
|
<p> |
7327 |
|
</p> |
7328 |
|
<blockquote class="text"> |
7329 |
|
<p>C: "CLEAR MIDI_INSTRUMENTS 0" |
7330 |
|
</p> |
7331 |
|
<p>S: "OK" |
7332 |
|
</p> |
7333 |
|
</blockquote><p> |
7334 |
|
|
7335 |
|
</p> |
7336 |
|
<p> |
7337 |
|
</p> |
7338 |
|
<blockquote class="text"> |
7339 |
|
<p>C: "CLEAR MIDI_INSTRUMENTS ALL" |
7340 |
|
</p> |
7341 |
|
<p>S: "OK" |
7342 |
|
</p> |
7343 |
|
</blockquote><p> |
7344 |
|
|
7345 |
|
</p> |
7346 |
|
<a name="Managing Instruments Database"></a><br /><hr /> |
7347 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7348 |
|
<a name="rfc.section.6.8"></a><h3>6.8. |
7349 |
|
Managing Instruments Database</h3> |
7350 |
|
|
7351 |
|
<p>The following commands describe how to use and manage |
7352 |
|
the instruments database. |
7353 |
|
</p> |
7354 |
|
<p>Notice: |
7355 |
|
</p> |
7356 |
|
<p> |
7357 |
|
</p> |
7358 |
|
<blockquote class="text"> |
7359 |
|
<p>All command arguments representing a path or |
7360 |
|
instrument/directory name support escape sequences as described in chapter |
7361 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>". |
7362 |
|
|
7363 |
|
</p> |
7364 |
|
<p>All occurrences of a forward slash in instrument and directory |
7365 |
|
names are escaped with its hex (\x2f) or octal (\057) escape sequence. |
7366 |
|
|
7367 |
|
</p> |
7368 |
|
</blockquote><p> |
7369 |
|
|
7370 |
|
</p> |
7371 |
|
<a name="ADD DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7372 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7373 |
|
<a name="rfc.section.6.8.1"></a><h3>6.8.1. |
7374 |
|
Creating a new instrument directory</h3> |
7375 |
|
|
7376 |
|
<p>The front-end can add a new instrument directory to the |
7377 |
|
instruments database by sending the following command: |
7378 |
|
</p> |
7379 |
|
<p> |
7380 |
|
</p> |
7381 |
|
<blockquote class="text"> |
7382 |
|
<p>ADD DB_INSTRUMENT_DIRECTORY <dir> |
7383 |
|
</p> |
7384 |
|
</blockquote><p> |
7385 |
|
|
7386 |
|
</p> |
7387 |
|
<p>Where <dir> is the absolute path name of the directory |
7388 |
|
to be created (encapsulated into apostrophes). |
7389 |
|
</p> |
7390 |
|
<p>Possible Answers: |
7391 |
|
</p> |
7392 |
|
<p> |
7393 |
|
</p> |
7394 |
|
<blockquote class="text"> |
7395 |
|
<p>"OK" - |
7396 |
|
</p> |
7397 |
|
<blockquote class="text"> |
7398 |
|
<p>on success |
7399 |
|
</p> |
7400 |
|
</blockquote> |
7401 |
|
|
7402 |
|
|
7403 |
|
<p>"ERR:<error-code>:<error-message>" - |
7404 |
|
</p> |
7405 |
|
<blockquote class="text"> |
7406 |
|
<p>when the directory could not be created, which |
7407 |
|
can happen if the directory already exists or the |
7408 |
|
name contains not allowed symbols |
7409 |
|
</p> |
7410 |
|
</blockquote> |
7411 |
|
|
7412 |
|
|
7413 |
|
</blockquote><p> |
7414 |
|
|
7415 |
|
</p> |
7416 |
|
<p>Examples: |
7417 |
|
</p> |
7418 |
|
<p> |
7419 |
|
</p> |
7420 |
|
<blockquote class="text"> |
7421 |
|
<p>C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'" |
7422 |
|
</p> |
7423 |
|
<p>S: "OK" |
7424 |
|
</p> |
7425 |
|
</blockquote><p> |
7426 |
|
|
7427 |
|
</p> |
7428 |
|
<a name="REMOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7429 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7430 |
|
<a name="rfc.section.6.8.2"></a><h3>6.8.2. |
7431 |
|
Deleting an instrument directory</h3> |
7432 |
|
|
7433 |
|
<p>The front-end can delete a particular instrument directory |
7434 |
|
from the instruments database by sending the following command: |
7435 |
|
</p> |
7436 |
|
<p> |
7437 |
|
</p> |
7438 |
|
<blockquote class="text"> |
7439 |
|
<p>REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] <dir> |
7440 |
|
</p> |
7441 |
|
</blockquote><p> |
7442 |
|
|
7443 |
|
</p> |
7444 |
|
<p>Where <dir> is the absolute path name of the directory |
7445 |
|
to delete. The optional FORCE argument can be used to |
7446 |
|
force the deletion of a non-empty directory and all its content. |
7447 |
|
</p> |
7448 |
|
<p>Possible Answers: |
7449 |
|
</p> |
7450 |
|
<p> |
7451 |
|
</p> |
7452 |
|
<blockquote class="text"> |
7453 |
|
<p>"OK" - |
7454 |
|
</p> |
7455 |
|
<blockquote class="text"> |
7456 |
|
<p>if the directory is deleted successfully |
7457 |
|
</p> |
7458 |
|
</blockquote> |
7459 |
|
|
7460 |
|
|
7461 |
|
<p>"ERR:<error-code>:<error-message>" - |
7462 |
|
</p> |
7463 |
|
<blockquote class="text"> |
7464 |
|
<p>if the given directory does not exist, or |
7465 |
|
if trying to delete a non-empty directory, |
7466 |
|
without using the FORCE argument. |
7467 |
|
</p> |
7468 |
|
</blockquote> |
7469 |
|
|
7470 |
|
|
7471 |
|
</blockquote><p> |
7472 |
|
|
7473 |
|
</p> |
7474 |
|
<p>Examples: |
7475 |
|
</p> |
7476 |
|
<p> |
7477 |
|
</p> |
7478 |
|
<blockquote class="text"> |
7479 |
|
<p>C: "REMOVE DB_INSTRUMENT_DIRECTORY FORCE '/Piano Collection'" |
7480 |
|
</p> |
7481 |
|
<p>S: "OK" |
7482 |
|
</p> |
7483 |
|
</blockquote><p> |
7484 |
|
|
7485 |
|
</p> |
7486 |
|
<a name="GET DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7487 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7488 |
|
<a name="rfc.section.6.8.3"></a><h3>6.8.3. |
7489 |
|
Getting amount of instrument directories</h3> |
7490 |
|
|
7491 |
|
<p>The front-end can retrieve the current amount of |
7492 |
|
directories in a specific directory by sending the following command: |
7493 |
|
</p> |
7494 |
|
<p> |
7495 |
|
</p> |
7496 |
|
<blockquote class="text"> |
7497 |
|
<p>GET DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
7498 |
|
</p> |
7499 |
|
</blockquote><p> |
7500 |
|
|
7501 |
|
</p> |
7502 |
|
<p>Where <dir> should be replaced by the absolute path |
7503 |
|
name of the directory. If RECURSIVE is specified, the number of |
7504 |
|
all directories, including those located in subdirectories of the |
7505 |
|
specified directory, will be returned. |
7506 |
|
</p> |
7507 |
|
<p>Possible Answers: |
7508 |
|
</p> |
7509 |
|
<p> |
7510 |
|
</p> |
7511 |
|
<blockquote class="text"> |
7512 |
|
<p>The current number of instrument directories |
7513 |
|
in the specified directory. |
7514 |
|
</p> |
7515 |
|
<p>"ERR:<error-code>:<error-message>" - |
7516 |
|
</p> |
7517 |
|
<blockquote class="text"> |
7518 |
|
<p>if the given directory does not exist. |
7519 |
|
</p> |
7520 |
|
</blockquote> |
7521 |
|
|
7522 |
|
|
7523 |
|
</blockquote><p> |
7524 |
|
|
7525 |
|
</p> |
7526 |
|
<p>Example: |
7527 |
|
</p> |
7528 |
|
<p> |
7529 |
|
</p> |
7530 |
|
<blockquote class="text"> |
7531 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORIES '/'" |
7532 |
|
</p> |
7533 |
|
<p>S: "2" |
7534 |
|
</p> |
7535 |
|
</blockquote><p> |
7536 |
|
|
7537 |
|
</p> |
7538 |
|
<a name="LIST DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7539 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7540 |
|
<a name="rfc.section.6.8.4"></a><h3>6.8.4. |
7541 |
|
Listing all directories in specific directory</h3> |
7542 |
|
|
7543 |
|
<p>The front-end can retrieve the current list of directories |
7544 |
|
in specific directory by sending the following command: |
7545 |
|
</p> |
7546 |
|
<p> |
7547 |
|
</p> |
7548 |
|
<blockquote class="text"> |
7549 |
|
<p>LIST DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
7550 |
|
</p> |
7551 |
|
</blockquote><p> |
7552 |
|
|
7553 |
|
</p> |
7554 |
|
<p>Where <dir> should be replaced by the absolute path |
7555 |
|
name of the directory. If RECURSIVE is specified, the absolute path names |
7556 |
|
of all directories, including those located in subdirectories of the |
7557 |
|
specified directory, will be returned. |
7558 |
|
</p> |
7559 |
|
<p>Possible Answers: |
7560 |
|
</p> |
7561 |
|
<p> |
7562 |
|
</p> |
7563 |
|
<blockquote class="text"> |
7564 |
|
<p>A comma separated list of all instrument directories |
7565 |
|
(encapsulated into apostrophes) in the specified directory. |
7566 |
|
</p> |
7567 |
|
<p>"ERR:<error-code>:<error-message>" - |
7568 |
|
</p> |
7569 |
|
<blockquote class="text"> |
7570 |
|
<p>if the given directory does not exist. |
7571 |
|
</p> |
7572 |
|
</blockquote> |
7573 |
|
|
7574 |
|
|
7575 |
|
</blockquote><p> |
7576 |
|
|
7577 |
|
</p> |
7578 |
|
<p>Example: |
7579 |
|
</p> |
7580 |
|
<p> |
7581 |
|
</p> |
7582 |
|
<blockquote class="text"> |
7583 |
|
<p>C: "LIST DB_INSTRUMENT_DIRECTORIES '/'" |
7584 |
|
</p> |
7585 |
|
<p>S: "'Piano Collection','Percussion Collection'" |
7586 |
|
</p> |
7587 |
|
</blockquote><p> |
7588 |
|
|
7589 |
|
</p> |
7590 |
|
<p> |
7591 |
|
</p> |
7592 |
|
<blockquote class="text"> |
7593 |
|
<p>C: "LIST DB_INSTRUMENT_DIRECTORIES RECURSIVE '/'" |
7594 |
|
</p> |
7595 |
|
<p>S: "'/Piano Collection','/Piano Collection/Acoustic','/Piano Collection/Acoustic/New','/Percussion Collection'" |
7596 |
|
</p> |
7597 |
|
</blockquote><p> |
7598 |
|
|
7599 |
|
</p> |
7600 |
|
<a name="GET DB_INSTRUMENT_DIRECTORY INFO"></a><br /><hr /> |
7601 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7602 |
|
<a name="rfc.section.6.8.5"></a><h3>6.8.5. |
7603 |
|
Getting instrument directory information</h3> |
7604 |
|
|
7605 |
|
<p>The front-end can ask for the current settings of an |
7606 |
|
instrument directory by sending the following command: |
7607 |
|
</p> |
7608 |
|
<p> |
7609 |
|
</p> |
7610 |
|
<blockquote class="text"> |
7611 |
|
<p>GET DB_INSTRUMENT_DIRECTORY INFO <dir> |
7612 |
|
</p> |
7613 |
|
</blockquote><p> |
7614 |
|
|
7615 |
|
</p> |
7616 |
|
<p>Where <dir> should be replaced by the absolute path |
7617 |
|
name of the directory the front-end is interested in. |
7618 |
|
</p> |
7619 |
|
<p>Possible Answers: |
7620 |
|
</p> |
7621 |
|
<p> |
7622 |
|
</p> |
7623 |
|
<blockquote class="text"> |
7624 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
7625 |
|
Each answer line begins with the settings category name |
7626 |
|
followed by a colon and then a space character <SP> and finally |
7627 |
|
the info character string to that setting category. At the |
7628 |
|
moment the following categories are defined: |
7629 |
|
</p> |
7630 |
|
<p> |
7631 |
|
</p> |
7632 |
|
<blockquote class="text"> |
7633 |
|
<p>DESCRIPTION - |
7634 |
|
</p> |
7635 |
|
<blockquote class="text"> |
7636 |
|
<p>A brief description of the directory content. |
7637 |
|
Note that the character string may contain |
7638 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
7639 |
|
</p> |
7640 |
|
</blockquote> |
7641 |
|
|
7642 |
|
|
7643 |
|
<p>CREATED - |
7644 |
|
</p> |
7645 |
|
<blockquote class="text"> |
7646 |
|
<p>The creation date and time of the directory, |
7647 |
|
represented in "YYYY-MM-DD HH:MM:SS" format |
7648 |
|
</p> |
7649 |
|
</blockquote> |
7650 |
|
|
7651 |
|
|
7652 |
|
<p>MODIFIED - |
7653 |
|
</p> |
7654 |
|
<blockquote class="text"> |
7655 |
|
<p>The date and time of the last modification of the |
7656 |
|
directory, represented in "YYYY-MM-DD HH:MM:SS" format |
7657 |
|
</p> |
7658 |
|
</blockquote> |
7659 |
|
|
7660 |
|
|
7661 |
|
</blockquote> |
7662 |
|
|
7663 |
|
|
7664 |
|
</blockquote><p> |
7665 |
|
|
7666 |
|
</p> |
7667 |
|
<p>The mentioned fields above don't have to be in particular order. |
7668 |
|
</p> |
7669 |
|
<p>Example: |
7670 |
|
</p> |
7671 |
|
<p> |
7672 |
|
</p> |
7673 |
|
<blockquote class="text"> |
7674 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORY INFO '/Piano Collection'" |
7675 |
|
</p> |
7676 |
|
<p>S: "DESCRIPTION: Piano collection of instruments in GigaSampler format." |
7677 |
|
</p> |
7678 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
7679 |
|
</p> |
7680 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
7681 |
|
</p> |
7682 |
|
<p> "." |
7683 |
|
</p> |
7684 |
|
</blockquote><p> |
7685 |
|
|
7686 |
|
</p> |
7687 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY NAME"></a><br /><hr /> |
7688 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7689 |
|
<a name="rfc.section.6.8.6"></a><h3>6.8.6. |
7690 |
|
Renaming an instrument directory</h3> |
7691 |
|
|
7692 |
|
<p>The front-end can alter the name of a specific |
7693 |
|
instrument directory by sending the following command: |
7694 |
|
</p> |
7695 |
|
<p> |
7696 |
|
</p> |
7697 |
|
<blockquote class="text"> |
7698 |
|
<p>SET DB_INSTRUMENT_DIRECTORY NAME <dir> <name> |
7699 |
|
</p> |
7700 |
|
</blockquote><p> |
7701 |
|
|
7702 |
|
</p> |
7703 |
|
<p>Where <dir> is the absolute path name of the directory and |
7704 |
|
<name> is the new name for that directory. |
7705 |
|
</p> |
7706 |
|
<p>Possible Answers: |
7707 |
|
</p> |
7708 |
|
<p> |
7709 |
|
</p> |
7710 |
|
<blockquote class="text"> |
7711 |
|
<p>"OK" - |
7712 |
|
</p> |
7713 |
|
<blockquote class="text"> |
7714 |
|
<p>on success |
7715 |
|
</p> |
7716 |
|
</blockquote> |
7717 |
|
|
7718 |
|
|
7719 |
|
<p>"ERR:<error-code>:<error-message>" - |
7720 |
|
</p> |
7721 |
|
<blockquote class="text"> |
7722 |
|
<p>in case the given directory does not exists, |
7723 |
|
or if a directory with name equal to the new |
7724 |
|
name already exists. |
7725 |
|
</p> |
7726 |
|
</blockquote> |
7727 |
|
|
7728 |
|
|
7729 |
|
</blockquote><p> |
7730 |
|
|
7731 |
|
</p> |
7732 |
|
<p>Example: |
7733 |
|
</p> |
7734 |
|
<p> |
7735 |
|
</p> |
7736 |
|
<blockquote class="text"> |
7737 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' 'Acoustic'" |
7738 |
|
</p> |
7739 |
|
<p>S: "OK" |
7740 |
|
</p> |
7741 |
|
</blockquote><p> |
7742 |
|
|
7743 |
|
</p> |
7744 |
|
<a name="MOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7745 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7746 |
|
<a name="rfc.section.6.8.7"></a><h3>6.8.7. |
7747 |
|
Moving an instrument directory</h3> |
7748 |
|
|
7749 |
|
<p>The front-end can move a specific |
7750 |
|
instrument directory by sending the following command: |
7751 |
|
</p> |
7752 |
|
<p> |
7753 |
|
</p> |
7754 |
|
<blockquote class="text"> |
7755 |
|
<p>MOVE DB_INSTRUMENT_DIRECTORY <dir> <dst> |
7756 |
|
</p> |
7757 |
|
</blockquote><p> |
7758 |
|
|
7759 |
|
</p> |
7760 |
|
<p>Where <dir> is the absolute path name of the directory |
7761 |
|
to move and <dst> is the location where the directory will |
7762 |
|
be moved to. |
7763 |
|
</p> |
7764 |
|
<p>Possible Answers: |
7765 |
|
</p> |
7766 |
|
<p> |
7767 |
|
</p> |
7768 |
|
<blockquote class="text"> |
7769 |
|
<p>"OK" - |
7770 |
|
</p> |
7771 |
|
<blockquote class="text"> |
7772 |
|
<p>on success |
7773 |
|
</p> |
7774 |
|
</blockquote> |
7775 |
|
|
7776 |
|
|
7777 |
|
<p>"ERR:<error-code>:<error-message>" - |
7778 |
|
</p> |
7779 |
|
<blockquote class="text"> |
7780 |
|
<p>in case a given directory does not exists, |
7781 |
|
or if a directory with name equal to the name |
7782 |
|
of the specified directory already exists in |
7783 |
|
the destination directory. Error is also thrown |
7784 |
|
when trying to move a directory to a subdirectory |
7785 |
|
of itself. |
7786 |
|
</p> |
7787 |
|
</blockquote> |
7788 |
|
|
7789 |
|
|
7790 |
|
</blockquote><p> |
7791 |
|
|
7792 |
|
</p> |
7793 |
|
<p>Example: |
7794 |
|
</p> |
7795 |
|
<p> |
7796 |
|
</p> |
7797 |
|
<blockquote class="text"> |
7798 |
|
<p>C: "MOVE DB_INSTRUMENT_DIRECTORY '/Acoustic' '/Piano Collection/Acoustic'" |
7799 |
|
</p> |
7800 |
|
<p>S: "OK" |
7801 |
|
</p> |
7802 |
|
</blockquote><p> |
7803 |
|
|
7804 |
|
</p> |
7805 |
|
<a name="COPY DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7806 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7807 |
|
<a name="rfc.section.6.8.8"></a><h3>6.8.8. |
7808 |
|
Copying instrument directories</h3> |
7809 |
|
|
7810 |
|
<p>The front-end can copy a specific |
7811 |
|
instrument directory by sending the following command: |
7812 |
|
</p> |
7813 |
|
<p> |
7814 |
|
</p> |
7815 |
|
<blockquote class="text"> |
7816 |
|
<p>COPY DB_INSTRUMENT_DIRECTORY <dir> <dst> |
7817 |
|
</p> |
7818 |
|
</blockquote><p> |
7819 |
|
|
7820 |
|
</p> |
7821 |
|
<p>Where <dir> is the absolute path name of the directory |
7822 |
|
to copy and <dst> is the location where the directory will |
7823 |
|
be copied to. |
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>on success |
7834 |
|
</p> |
7835 |
|
</blockquote> |
7836 |
|
|
7837 |
|
|
7838 |
|
<p>"ERR:<error-code>:<error-message>" - |
7839 |
|
</p> |
7840 |
|
<blockquote class="text"> |
7841 |
|
<p>in case a given directory does not exists, |
7842 |
|
or if a directory with name equal to the name |
7843 |
|
of the specified directory already exists in |
7844 |
|
the destination directory. Error is also thrown |
7845 |
|
when trying to copy a directory to a subdirectory |
7846 |
|
of itself. |
7847 |
|
</p> |
7848 |
|
</blockquote> |
7849 |
|
|
7850 |
|
|
7851 |
|
</blockquote><p> |
7852 |
|
|
7853 |
|
</p> |
7854 |
|
<p>Example: |
7855 |
|
</p> |
7856 |
|
<p> |
7857 |
|
</p> |
7858 |
|
<blockquote class="text"> |
7859 |
|
<p>C: "COPY DB_INSTRUMENT_DIRECTORY '/Piano Collection/Acoustic' '/Acoustic/Pianos'" |
7860 |
|
</p> |
7861 |
|
<p>S: "OK" |
7862 |
|
</p> |
7863 |
|
</blockquote><p> |
7864 |
|
|
7865 |
|
</p> |
7866 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"></a><br /><hr /> |
7867 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7868 |
|
<a name="rfc.section.6.8.9"></a><h3>6.8.9. |
7869 |
|
Changing the description of directory</h3> |
7870 |
|
|
7871 |
|
<p>The front-end can alter the description of a specific |
7872 |
|
instrument directory by sending the following command: |
7873 |
|
</p> |
7874 |
|
<p> |
7875 |
|
</p> |
7876 |
|
<blockquote class="text"> |
7877 |
|
<p>SET DB_INSTRUMENT_DIRECTORY DESCRIPTION <dir> <desc> |
7878 |
|
</p> |
7879 |
|
</blockquote><p> |
7880 |
|
|
7881 |
|
</p> |
7882 |
|
<p>Where <dir> is the absolute path name of the directory and |
7883 |
|
<desc> is the new description for the directory |
7884 |
|
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
7885 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
7886 |
|
</p> |
7887 |
|
<p>Possible Answers: |
7888 |
|
</p> |
7889 |
|
<p> |
7890 |
|
</p> |
7891 |
|
<blockquote class="text"> |
7892 |
|
<p>"OK" - |
7893 |
|
</p> |
7894 |
|
<blockquote class="text"> |
7895 |
|
<p>on success |
7896 |
|
</p> |
7897 |
|
</blockquote> |
7898 |
|
|
7899 |
|
|
7900 |
|
<p>"ERR:<error-code>:<error-message>" - |
7901 |
|
</p> |
7902 |
|
<blockquote class="text"> |
7903 |
|
<p>in case the given directory does not exists. |
7904 |
|
</p> |
7905 |
|
</blockquote> |
7906 |
|
|
7907 |
|
|
7908 |
|
</blockquote><p> |
7909 |
|
|
7910 |
|
</p> |
7911 |
|
<p>Example: |
7912 |
|
</p> |
7913 |
|
<p> |
7914 |
|
</p> |
7915 |
|
<blockquote class="text"> |
7916 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION '/Piano Collection' 'A collection of piano instruments in various format.'" |
7917 |
|
</p> |
7918 |
|
<p>S: "OK" |
7919 |
|
</p> |
7920 |
|
</blockquote><p> |
7921 |
|
|
7922 |
|
</p> |
7923 |
|
<a name="FIND DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7924 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7925 |
|
<a name="rfc.section.6.8.10"></a><h3>6.8.10. |
7926 |
|
Finding directories</h3> |
7927 |
|
|
7928 |
|
<p>The front-end can search for directories |
7929 |
|
in specific directory by sending the following command: |
7930 |
|
</p> |
7931 |
|
<p> |
7932 |
|
</p> |
7933 |
|
<blockquote class="text"> |
7934 |
|
<p>FIND DB_INSTRUMENT_DIRECTORIES [NON_RECURSIVE] <dir> <criteria-list> |
7935 |
|
</p> |
7936 |
|
</blockquote><p> |
7937 |
|
|
7938 |
|
</p> |
7939 |
|
<p>Where <dir> should be replaced by the absolute path |
7940 |
|
name of the directory to search in. If NON_RECURSIVE is specified, the |
7941 |
|
directories located in subdirectories of the specified directory will not |
7942 |
|
be searched. <criteria-list> is a list of search criterias |
7943 |
|
in form of "key1=val1 key2=val2 ...". The following criterias are |
7944 |
|
allowed: |
7945 |
|
</p> |
7946 |
|
<p> |
7947 |
|
|
7948 |
|
<p>NAME='<search-string>' |
7949 |
|
</p> |
7950 |
|
<blockquote class="text"> |
7951 |
|
<p>Restricts the search to directories, which names |
7952 |
|
satisfy the supplied search string (encapsulated into apostrophes, |
7953 |
|
supporting escape sequences as described in chapter |
7954 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
7955 |
|
</p> |
7956 |
|
</blockquote><p> |
7957 |
|
|
7958 |
|
</p> |
7959 |
|
|
7960 |
|
|
7961 |
|
<p>CREATED='[<date-after>]..[<date-before>]' |
7962 |
|
</p> |
7963 |
|
<blockquote class="text"> |
7964 |
|
<p>Restricts the search to directories, which creation |
7965 |
|
date satisfies the specified period, where <date-after> |
7966 |
|
and <date-before> are in "YYYY-MM-DD HH:MM:SS" format. |
7967 |
|
If <date-after> is omitted the search is restricted to |
7968 |
|
directories created before <date-before>. If |
7969 |
|
<date-before> is omitted, the search is restricted |
7970 |
|
to directories created after <date-after>. |
7971 |
|
</p> |
7972 |
|
</blockquote><p> |
7973 |
|
|
7974 |
|
</p> |
7975 |
|
|
7976 |
|
|
7977 |
|
<p>MODIFIED='[<date-after>]..[<date-before>]' |
7978 |
|
</p> |
7979 |
|
<blockquote class="text"> |
7980 |
|
<p>Restricts the search to directories, which |
7981 |
|
date of last modification satisfies the specified period, where |
7982 |
|
<date-after> and <date-before> are in "YYYY-MM-DD HH:MM:SS" |
7983 |
|
format. If <date-after> is omitted the search is restricted to |
7984 |
|
directories, which are last modified before <date-before>. If |
7985 |
|
<date-before> is omitted, the search is restricted to directories, |
7986 |
|
which are last modified after <date-after>. |
7987 |
|
</p> |
7988 |
|
</blockquote><p> |
7989 |
|
|
7990 |
|
</p> |
7991 |
|
|
7992 |
|
|
7993 |
|
<p>DESCRIPTION='<search-string>' |
7994 |
|
</p> |
7995 |
|
<blockquote class="text"> |
7996 |
|
<p>Restricts the search to directories with description |
7997 |
|
that satisfies the supplied search string |
7998 |
|
(encapsulated into apostrophes, supporting escape |
7999 |
|
sequences as described in chapter |
8000 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8001 |
|
</p> |
8002 |
|
</blockquote><p> |
8003 |
|
|
8004 |
|
</p> |
8005 |
|
|
8006 |
|
|
8007 |
|
<p>Where <search-string> is either a regular expression, or a |
8008 |
|
word list separated with spaces for OR search and with '+' for AND search. |
8009 |
|
</p> |
8010 |
|
<p>Possible Answers: |
8011 |
|
</p> |
8012 |
|
<p> |
8013 |
|
</p> |
8014 |
|
<blockquote class="text"> |
8015 |
|
<p>A comma separated list with the absolute path names (encapsulated into |
8016 |
|
apostrophes) of all directories in the specified directory that satisfy |
8017 |
|
the supplied search criterias. |
8018 |
|
</p> |
8019 |
|
<p>"ERR:<error-code>:<error-message>" - |
8020 |
|
</p> |
8021 |
|
<blockquote class="text"> |
8022 |
|
<p>if the given directory does not exist. |
8023 |
|
</p> |
8024 |
|
</blockquote> |
8025 |
|
|
8026 |
|
|
8027 |
|
</blockquote><p> |
8028 |
|
|
8029 |
|
</p> |
8030 |
|
<p>Example: |
8031 |
|
</p> |
8032 |
|
<p> |
8033 |
|
</p> |
8034 |
|
<blockquote class="text"> |
8035 |
|
<p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' NAME='Piano'" |
8036 |
|
</p> |
8037 |
|
<p>S: "'/Piano Collection'" |
8038 |
|
</p> |
8039 |
|
</blockquote><p> |
8040 |
|
|
8041 |
|
</p> |
8042 |
|
<p> |
8043 |
|
</p> |
8044 |
|
<blockquote class="text"> |
8045 |
|
<p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' CREATED='..2007-04-01 09:30:13'" |
8046 |
|
</p> |
8047 |
|
<p>S: "'/Piano Collection','/Percussions'" |
8048 |
|
</p> |
8049 |
|
</blockquote><p> |
8050 |
|
|
8051 |
|
</p> |
8052 |
|
<a name="ADD DB_INSTRUMENTS"></a><br /><hr /> |
8053 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8054 |
|
<a name="rfc.section.6.8.11"></a><h3>6.8.11. |
8055 |
|
Adding instruments to the instruments database</h3> |
8056 |
|
|
8057 |
|
<p>The front-end can add one or more instruments |
8058 |
|
to the instruments database by sending the following command: |
8059 |
|
</p> |
8060 |
|
<p> |
8061 |
|
</p> |
8062 |
|
<blockquote class="text"> |
8063 |
|
<p>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>] <db_dir> <file_path> [<instr_index>] |
8064 |
|
</p> |
8065 |
|
</blockquote><p> |
8066 |
|
|
8067 |
|
</p> |
8068 |
|
<p>Where <db_dir> is the absolute path name of a directory |
8069 |
|
(encapsulated into apostrophes) in the instruments database in which |
8070 |
|
only the new instruments (that are not already in the database) will |
8071 |
|
be added, <file_path> is the absolute path name of a file or |
8072 |
|
directory in the file system (encapsulated into apostrophes). In case |
8073 |
|
an instrument file is supplied, only the instruments in the specified |
8074 |
|
file will be added to the instruments database. If the optional |
8075 |
|
<instr_index> (the index of the instrument within the given file) |
8076 |
|
is supplied too, then only the specified instrument will be added. |
8077 |
|
In case a directory is supplied, the instruments in that directory |
8078 |
|
will be added. The OPTIONAL <mode> argument is only applied |
8079 |
|
when a directory is provided as <file_path> and specifies how the |
8080 |
|
scanning will be done and has exactly the following possibilities: |
8081 |
|
</p> |
8082 |
|
<p> |
8083 |
|
</p> |
8084 |
|
<blockquote class="text"> |
8085 |
|
<p>"RECURSIVE" - |
8086 |
|
</p> |
8087 |
|
<blockquote class="text"> |
8088 |
|
<p>All instruments will be processed, including those |
8089 |
|
in the subdirectories, and the respective subdirectory |
8090 |
|
tree structure will be recreated in the instruments |
8091 |
|
database |
8092 |
|
</p> |
8093 |
|
</blockquote> |
8094 |
|
|
8095 |
|
|
8096 |
|
<p>"NON_RECURSIVE" - |
8097 |
|
</p> |
8098 |
|
<blockquote class="text"> |
8099 |
|
<p>Only the instruments in the specified directory |
8100 |
|
will be added, the instruments in the subdirectories |
8101 |
|
will not be processed. |
8102 |
|
</p> |
8103 |
|
</blockquote> |
8104 |
|
|
8105 |
|
|
8106 |
|
<p>"FLAT" - |
8107 |
|
</p> |
8108 |
|
<blockquote class="text"> |
8109 |
|
<p>All instruments will be processed, including those |
8110 |
|
in the subdirectories, but the respective subdirectory |
8111 |
|
structure will not be recreated in the instruments |
8112 |
|
database. All instruments will be added directly in |
8113 |
|
the specified database directory. |
8114 |
|
</p> |
8115 |
|
</blockquote> |
8116 |
|
|
8117 |
|
|
8118 |
|
</blockquote><p> |
8119 |
|
|
8120 |
|
</p> |
8121 |
|
<p>The difference between regular and NON_MODAL versions of the command |
8122 |
|
is that the regular command returns when the scanning is finished |
8123 |
|
while NON_MODAL version returns immediately and a background process is launched. |
8124 |
|
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> |
8125 |
|
command can be used to monitor the scanning progress. |
8126 |
|
</p> |
8127 |
|
<p>Possible Answers: |
8128 |
|
</p> |
8129 |
|
<p> |
8130 |
|
</p> |
8131 |
|
<blockquote class="text"> |
8132 |
|
<p>"OK" - |
8133 |
|
</p> |
8134 |
|
<blockquote class="text"> |
8135 |
|
<p>on success when NON_MODAL is not supplied |
8136 |
|
</p> |
8137 |
|
</blockquote> |
8138 |
|
|
8139 |
|
|
8140 |
|
<p>"OK[<job-id>]" - |
8141 |
|
</p> |
8142 |
|
<blockquote class="text"> |
8143 |
|
<p>on success when NON_MODAL is supplied, where <job-id> |
8144 |
|
is a numerical ID used to obtain status information about the job progress. |
8145 |
|
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> |
8146 |
|
|
8147 |
|
</p> |
8148 |
|
</blockquote> |
8149 |
|
|
8150 |
|
|
8151 |
|
<p>"ERR:<error-code>:<error-message>" - |
8152 |
|
</p> |
8153 |
|
<blockquote class="text"> |
8154 |
|
<p>if an invalid path is specified. |
8155 |
|
</p> |
8156 |
|
</blockquote> |
8157 |
|
|
8158 |
|
|
8159 |
|
</blockquote><p> |
8160 |
|
|
8161 |
|
</p> |
8162 |
|
<p>Examples: |
8163 |
|
</p> |
8164 |
|
<p> |
8165 |
|
</p> |
8166 |
|
<blockquote class="text"> |
8167 |
|
<p>C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI Bosendorfer 290.gig' 0" |
8168 |
|
</p> |
8169 |
|
<p>S: "OK" |
8170 |
|
</p> |
8171 |
|
</blockquote><p> |
8172 |
|
|
8173 |
|
</p> |
8174 |
|
<a name="REMOVE DB_INSTRUMENT"></a><br /><hr /> |
8175 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8176 |
|
<a name="rfc.section.6.8.12"></a><h3>6.8.12. |
8177 |
|
Removing an instrument</h3> |
8178 |
|
|
8179 |
|
<p>The front-end can remove a particular instrument |
8180 |
|
from the instruments database by sending the following command: |
8181 |
|
</p> |
8182 |
|
<p> |
8183 |
|
</p> |
8184 |
|
<blockquote class="text"> |
8185 |
|
<p>REMOVE DB_INSTRUMENT <instr_path> |
8186 |
|
</p> |
8187 |
|
</blockquote><p> |
8188 |
|
|
8189 |
|
</p> |
8190 |
|
<p>Where <instr_path> is the absolute path name |
8191 |
|
(in the instruments database) of the instrument to remove. |
8192 |
|
</p> |
8193 |
|
<p>Possible Answers: |
8194 |
|
</p> |
8195 |
|
<p> |
8196 |
|
</p> |
8197 |
|
<blockquote class="text"> |
8198 |
|
<p>"OK" - |
8199 |
|
</p> |
8200 |
|
<blockquote class="text"> |
8201 |
|
<p>if the instrument is removed successfully |
8202 |
|
</p> |
8203 |
|
</blockquote> |
8204 |
|
|
8205 |
|
|
8206 |
|
<p>"ERR:<error-code>:<error-message>" - |
8207 |
|
</p> |
8208 |
|
<blockquote class="text"> |
8209 |
|
<p>if the given path does not exist or |
8210 |
|
is a directory. |
8211 |
|
</p> |
8212 |
|
</blockquote> |
8213 |
|
|
8214 |
|
|
8215 |
|
</blockquote><p> |
8216 |
|
|
8217 |
|
</p> |
8218 |
|
<p>Examples: |
8219 |
|
</p> |
8220 |
|
<p> |
8221 |
|
</p> |
8222 |
|
<blockquote class="text"> |
8223 |
|
<p>C: "REMOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290'" |
8224 |
|
</p> |
8225 |
|
<p>S: "OK" |
8226 |
|
</p> |
8227 |
|
</blockquote><p> |
8228 |
|
|
8229 |
|
</p> |
8230 |
|
<a name="GET DB_INSTRUMENTS"></a><br /><hr /> |
8231 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8232 |
|
<a name="rfc.section.6.8.13"></a><h3>6.8.13. |
8233 |
|
Getting amount of instruments</h3> |
8234 |
|
|
8235 |
|
<p>The front-end can retrieve the current amount of |
8236 |
|
instruments in a specific directory by sending the following command: |
8237 |
|
</p> |
8238 |
|
<p> |
8239 |
|
</p> |
8240 |
|
<blockquote class="text"> |
8241 |
|
<p>GET DB_INSTRUMENTS [RECURSIVE] <dir> |
8242 |
|
</p> |
8243 |
|
</blockquote><p> |
8244 |
|
|
8245 |
|
</p> |
8246 |
|
<p>Where <dir> should be replaced by the absolute path name |
8247 |
|
of the directory. If RECURSIVE is specified, the number of all |
8248 |
|
instruments, including those located in subdirectories of the |
8249 |
|
specified directory, will be returned. |
8250 |
|
</p> |
8251 |
|
<p>Possible Answers: |
8252 |
|
</p> |
8253 |
|
<p> |
8254 |
|
</p> |
8255 |
|
<blockquote class="text"> |
8256 |
|
<p>The current number of instruments |
8257 |
|
in the specified directory. |
8258 |
|
</p> |
8259 |
|
<p>"ERR:<error-code>:<error-message>" - |
8260 |
|
</p> |
8261 |
|
<blockquote class="text"> |
8262 |
|
<p>if the given directory does not exist. |
8263 |
|
</p> |
8264 |
|
</blockquote> |
8265 |
|
|
8266 |
|
|
8267 |
|
</blockquote><p> |
8268 |
|
|
8269 |
|
</p> |
8270 |
|
<p>Example: |
8271 |
|
</p> |
8272 |
|
<p> |
8273 |
|
</p> |
8274 |
|
<blockquote class="text"> |
8275 |
|
<p>C: "GET DB_INSTRUMENTS '/Piano Collection'" |
8276 |
|
</p> |
8277 |
|
<p>S: "2" |
8278 |
|
</p> |
8279 |
|
</blockquote><p> |
8280 |
|
|
8281 |
|
</p> |
8282 |
|
<a name="LIST DB_INSTRUMENTS"></a><br /><hr /> |
8283 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8284 |
|
<a name="rfc.section.6.8.14"></a><h3>6.8.14. |
8285 |
|
Listing all instruments in specific directory</h3> |
8286 |
|
|
8287 |
|
<p>The front-end can retrieve the current list of instruments |
8288 |
|
in specific directory by sending the following command: |
8289 |
|
</p> |
8290 |
|
<p> |
8291 |
|
</p> |
8292 |
|
<blockquote class="text"> |
8293 |
|
<p>LIST DB_INSTRUMENTS [RECURSIVE] <dir> |
8294 |
|
</p> |
8295 |
|
</blockquote><p> |
8296 |
|
|
8297 |
|
</p> |
8298 |
|
<p>Where <dir> should be replaced by the absolute path |
8299 |
|
name of the directory. If RECURSIVE is specified, the absolute path |
8300 |
|
names of all instruments, including those located in subdirectories |
8301 |
|
of the specified directory, will be returned. |
8302 |
|
</p> |
8303 |
|
<p>Possible Answers: |
8304 |
|
</p> |
8305 |
|
<p> |
8306 |
|
</p> |
8307 |
|
<blockquote class="text"> |
8308 |
|
<p>A comma separated list of all instruments |
8309 |
|
(encapsulated into apostrophes) in the specified directory. |
8310 |
|
</p> |
8311 |
|
<p>"ERR:<error-code>:<error-message>" - |
8312 |
|
</p> |
8313 |
|
<blockquote class="text"> |
8314 |
|
<p>if the given directory does not exist. |
8315 |
|
</p> |
8316 |
|
</blockquote> |
8317 |
|
|
8318 |
|
|
8319 |
|
</blockquote><p> |
8320 |
|
|
8321 |
|
</p> |
8322 |
|
<p>Example: |
8323 |
|
</p> |
8324 |
|
<p> |
8325 |
|
</p> |
8326 |
|
<blockquote class="text"> |
8327 |
|
<p>C: "LIST DB_INSTRUMENTS '/Piano Collection'" |
8328 |
|
</p> |
8329 |
|
<p>S: "'Bosendorfer 290','Steinway D'" |
8330 |
|
</p> |
8331 |
|
</blockquote><p> |
8332 |
|
|
8333 |
|
</p> |
8334 |
|
<p> |
8335 |
|
</p> |
8336 |
|
<blockquote class="text"> |
8337 |
|
<p>C: "LIST DB_INSTRUMENTS RECURSIVE '/Piano Collection'" |
8338 |
|
</p> |
8339 |
|
<p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D','/Piano Collection/Lite/Free Piano'" |
8340 |
|
</p> |
8341 |
|
</blockquote><p> |
8342 |
|
|
8343 |
|
</p> |
8344 |
|
<a name="GET DB_INSTRUMENT INFO"></a><br /><hr /> |
8345 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8346 |
|
<a name="rfc.section.6.8.15"></a><h3>6.8.15. |
8347 |
|
Getting instrument information</h3> |
8348 |
|
|
8349 |
|
<p>The front-end can ask for the current settings of an |
8350 |
|
instrument by sending the following command: |
8351 |
|
</p> |
8352 |
|
<p> |
8353 |
|
</p> |
8354 |
|
<blockquote class="text"> |
8355 |
|
<p>GET DB_INSTRUMENT INFO <instr_path> |
8356 |
|
</p> |
8357 |
|
</blockquote><p> |
8358 |
|
|
8359 |
|
</p> |
8360 |
|
<p>Where <instr_path> should be replaced by the absolute path |
8361 |
|
name of the instrument the front-end is interested in. |
8362 |
|
</p> |
8363 |
|
<p>Possible Answers: |
8364 |
|
</p> |
8365 |
|
<p> |
8366 |
|
</p> |
8367 |
|
<blockquote class="text"> |
8368 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
8369 |
|
Each answer line begins with the settings category name |
8370 |
|
followed by a colon and then a space character <SP> and finally |
8371 |
|
the info character string to that setting category. At the |
8372 |
|
moment the following categories are defined: |
8373 |
|
</p> |
8374 |
|
<p> |
8375 |
|
</p> |
8376 |
|
<blockquote class="text"> |
8377 |
|
<p>INSTRUMENT_FILE - |
8378 |
|
</p> |
8379 |
|
<blockquote class="text"> |
8380 |
|
<p>File name of the instrument. |
8381 |
|
Note that the character string may contain |
8382 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8383 |
|
</p> |
8384 |
|
</blockquote> |
8385 |
|
|
8386 |
|
|
8387 |
|
<p>INSTRUMENT_NR - |
8388 |
|
</p> |
8389 |
|
<blockquote class="text"> |
8390 |
|
<p>Index of the instrument within the file. |
8391 |
|
</p> |
8392 |
|
</blockquote> |
8393 |
|
|
8394 |
|
|
8395 |
|
<p>FORMAT_FAMILY - |
8396 |
|
</p> |
8397 |
|
<blockquote class="text"> |
8398 |
|
<p>The format family of the instrument. |
8399 |
|
</p> |
8400 |
|
</blockquote> |
8401 |
|
|
8402 |
|
|
8403 |
|
<p>FORMAT_VERSION - |
8404 |
|
</p> |
8405 |
|
<blockquote class="text"> |
8406 |
|
<p>The format version of the instrument. |
8407 |
|
</p> |
8408 |
|
</blockquote> |
8409 |
|
|
8410 |
|
|
8411 |
|
<p>SIZE - |
8412 |
|
</p> |
8413 |
|
<blockquote class="text"> |
8414 |
|
<p>The size of the instrument in bytes. |
8415 |
|
</p> |
8416 |
|
</blockquote> |
8417 |
|
|
8418 |
|
|
8419 |
|
<p>CREATED - |
8420 |
|
</p> |
8421 |
|
<blockquote class="text"> |
8422 |
|
<p>The date and time when the instrument is added |
8423 |
|
in the instruments database, represented in |
8424 |
|
"YYYY-MM-DD HH:MM:SS" format |
8425 |
|
</p> |
8426 |
|
</blockquote> |
8427 |
|
|
8428 |
|
|
8429 |
|
<p>MODIFIED - |
8430 |
|
</p> |
8431 |
|
<blockquote class="text"> |
8432 |
|
<p>The date and time of the last modification of the |
8433 |
|
instrument's database settings, represented in |
8434 |
|
"YYYY-MM-DD HH:MM:SS" format |
8435 |
|
</p> |
8436 |
|
</blockquote> |
8437 |
|
|
8438 |
|
|
8439 |
|
<p>DESCRIPTION - |
8440 |
|
</p> |
8441 |
|
<blockquote class="text"> |
8442 |
|
<p>A brief description of the instrument. |
8443 |
|
Note that the character string may contain |
8444 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8445 |
|
</p> |
8446 |
|
</blockquote> |
8447 |
|
|
8448 |
|
|
8449 |
|
<p>IS_DRUM - |
8450 |
|
</p> |
8451 |
|
<blockquote class="text"> |
8452 |
|
<p>either true or false, determines whether the |
8453 |
|
instrument is a drumkit or a chromatic instrument |
8454 |
|
</p> |
8455 |
|
</blockquote> |
8456 |
|
|
8457 |
|
|
8458 |
|
<p>PRODUCT - |
8459 |
|
</p> |
8460 |
|
<blockquote class="text"> |
8461 |
|
<p>The product title of the instrument. |
8462 |
|
Note that the character string may contain |
8463 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8464 |
|
</p> |
8465 |
|
</blockquote> |
8466 |
|
|
8467 |
|
|
8468 |
|
<p>ARTISTS - |
8469 |
|
</p> |
8470 |
|
<blockquote class="text"> |
8471 |
|
<p>Lists the artist names. |
8472 |
|
Note that the character string may contain |
8473 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8474 |
|
</p> |
8475 |
|
</blockquote> |
8476 |
|
|
8477 |
|
|
8478 |
|
<p>KEYWORDS - |
8479 |
|
</p> |
8480 |
|
<blockquote class="text"> |
8481 |
|
<p>Provides a list of keywords that refer to the instrument. |
8482 |
|
Keywords are separated with semicolon and blank. |
8483 |
|
Note that the character string may contain |
8484 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8485 |
|
</p> |
8486 |
|
</blockquote> |
8487 |
|
|
8488 |
|
|
8489 |
|
</blockquote> |
8490 |
|
|
8491 |
|
|
8492 |
|
</blockquote><p> |
8493 |
|
|
8494 |
|
</p> |
8495 |
|
<p>The mentioned fields above don't have to be in particular order. |
8496 |
|
</p> |
8497 |
|
<p>Example: |
8498 |
|
</p> |
8499 |
|
<p> |
8500 |
|
</p> |
8501 |
|
<blockquote class="text"> |
8502 |
|
<p>C: "GET DB_INSTRUMENT INFO '/Piano Collection/Bosendorfer 290'" |
8503 |
|
</p> |
8504 |
|
<p>S: "INSTRUMENT_FILE: /home/me/gigs/Bosendorfer 290.gig" |
8505 |
|
</p> |
8506 |
|
<p> "INSTRUMENT_NR: 0" |
8507 |
|
</p> |
8508 |
|
<p> "FORMAT_FAMILY: GIG" |
8509 |
|
</p> |
8510 |
|
<p> "FORMAT_VERSION: 2" |
8511 |
|
</p> |
8512 |
|
<p> "SIZE: 2050871870" |
8513 |
|
</p> |
8514 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
8515 |
|
</p> |
8516 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
8517 |
|
</p> |
8518 |
|
<p> "DESCRIPTION: " |
8519 |
|
</p> |
8520 |
|
<p> "IS_DRUM: false" |
8521 |
|
</p> |
8522 |
|
<p> "PRODUCT: GRANDIOSO Bosendorfer 290" |
8523 |
|
</p> |
8524 |
|
<p> "ARTISTS: Post Musical Instruments" |
8525 |
|
</p> |
8526 |
|
<p> "KEYWORDS: Bosendorfer" |
8527 |
|
</p> |
8528 |
|
<p> "." |
8529 |
|
</p> |
8530 |
|
</blockquote><p> |
8531 |
|
|
8532 |
|
</p> |
8533 |
|
<a name="SET DB_INSTRUMENT NAME"></a><br /><hr /> |
8534 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8535 |
|
<a name="rfc.section.6.8.16"></a><h3>6.8.16. |
8536 |
|
Renaming an instrument</h3> |
8537 |
|
|
8538 |
|
<p>The front-end can alter the name of a specific |
8539 |
|
instrument by sending the following command: |
8540 |
|
</p> |
8541 |
|
<p> |
8542 |
|
</p> |
8543 |
|
<blockquote class="text"> |
8544 |
|
<p>SET DB_INSTRUMENT NAME <instr> <name> |
8545 |
|
</p> |
8546 |
|
</blockquote><p> |
8547 |
|
|
8548 |
|
</p> |
8549 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8550 |
|
<name> is the new name for that instrument. |
8551 |
|
</p> |
8552 |
|
<p>Possible Answers: |
8553 |
|
</p> |
8554 |
|
<p> |
8555 |
|
</p> |
8556 |
|
<blockquote class="text"> |
8557 |
|
<p>"OK" - |
8558 |
|
</p> |
8559 |
|
<blockquote class="text"> |
8560 |
|
<p>on success |
8561 |
|
</p> |
8562 |
|
</blockquote> |
8563 |
|
|
8564 |
|
|
8565 |
|
<p>"ERR:<error-code>:<error-message>" - |
8566 |
|
</p> |
8567 |
|
<blockquote class="text"> |
8568 |
|
<p>in case the given instrument does not exists, |
8569 |
|
or if an instrument with name equal to the new |
8570 |
|
name already exists. |
8571 |
|
</p> |
8572 |
|
</blockquote> |
8573 |
|
|
8574 |
|
|
8575 |
|
</blockquote><p> |
8576 |
|
|
8577 |
|
</p> |
8578 |
|
<p>Example: |
8579 |
|
</p> |
8580 |
|
<p> |
8581 |
|
</p> |
8582 |
|
<blockquote class="text"> |
8583 |
|
<p>C: "SET DB_INSTRUMENT NAME '/Piano Collection/Bosendorfer' 'Bosendorfer 290'" |
8584 |
|
</p> |
8585 |
|
<p>S: "OK" |
8586 |
|
</p> |
8587 |
|
</blockquote><p> |
8588 |
|
|
8589 |
|
</p> |
8590 |
|
<a name="MOVE DB_INSTRUMENT"></a><br /><hr /> |
8591 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8592 |
|
<a name="rfc.section.6.8.17"></a><h3>6.8.17. |
8593 |
|
Moving an instrument</h3> |
8594 |
|
|
8595 |
|
<p>The front-end can move a specific instrument to another directory by |
8596 |
|
sending the following command: |
8597 |
|
</p> |
8598 |
|
<p> |
8599 |
|
</p> |
8600 |
|
<blockquote class="text"> |
8601 |
|
<p>MOVE DB_INSTRUMENT <instr> <dst> |
8602 |
|
</p> |
8603 |
|
</blockquote><p> |
8604 |
|
|
8605 |
|
</p> |
8606 |
|
<p>Where <instr> is the absolute path name of the instrument |
8607 |
|
to move and <dst> is the directory where the instrument will |
8608 |
|
be moved to. |
8609 |
|
</p> |
8610 |
|
<p>Possible Answers: |
8611 |
|
</p> |
8612 |
|
<p> |
8613 |
|
</p> |
8614 |
|
<blockquote class="text"> |
8615 |
|
<p>"OK" - |
8616 |
|
</p> |
8617 |
|
<blockquote class="text"> |
8618 |
|
<p>on success |
8619 |
|
</p> |
8620 |
|
</blockquote> |
8621 |
|
|
8622 |
|
|
8623 |
|
<p>"ERR:<error-code>:<error-message>" - |
8624 |
|
</p> |
8625 |
|
<blockquote class="text"> |
8626 |
|
<p>in case the given instrument does not exists, |
8627 |
|
or if an instrument with name equal to the name of the |
8628 |
|
specified instrument already exists in the destination |
8629 |
|
directory. |
8630 |
|
</p> |
8631 |
|
</blockquote> |
8632 |
|
|
8633 |
|
|
8634 |
|
</blockquote><p> |
8635 |
|
|
8636 |
|
</p> |
8637 |
|
<p>Example: |
8638 |
|
</p> |
8639 |
|
<p> |
8640 |
|
</p> |
8641 |
|
<blockquote class="text"> |
8642 |
|
<p>C: "MOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Piano Collection/Acoustic'" |
8643 |
|
</p> |
8644 |
|
<p>S: "OK" |
8645 |
|
</p> |
8646 |
|
</blockquote><p> |
8647 |
|
|
8648 |
|
</p> |
8649 |
|
<a name="COPY DB_INSTRUMENT"></a><br /><hr /> |
8650 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8651 |
|
<a name="rfc.section.6.8.18"></a><h3>6.8.18. |
8652 |
|
Copying instruments</h3> |
8653 |
|
|
8654 |
|
<p>The front-end can copy a specific instrument to another directory by |
8655 |
|
sending the following command: |
8656 |
|
</p> |
8657 |
|
<p> |
8658 |
|
</p> |
8659 |
|
<blockquote class="text"> |
8660 |
|
<p>COPY DB_INSTRUMENT <instr> <dst> |
8661 |
|
</p> |
8662 |
|
</blockquote><p> |
8663 |
|
|
8664 |
|
</p> |
8665 |
|
<p>Where <instr> is the absolute path name of the instrument |
8666 |
|
to copy and <dst> is the directory where the instrument will |
8667 |
|
be copied to. |
8668 |
|
</p> |
8669 |
|
<p>Possible Answers: |
8670 |
|
</p> |
8671 |
|
<p> |
8672 |
|
</p> |
8673 |
|
<blockquote class="text"> |
8674 |
|
<p>"OK" - |
8675 |
|
</p> |
8676 |
|
<blockquote class="text"> |
8677 |
|
<p>on success |
8678 |
|
</p> |
8679 |
|
</blockquote> |
8680 |
|
|
8681 |
|
|
8682 |
|
<p>"ERR:<error-code>:<error-message>" - |
8683 |
|
</p> |
8684 |
|
<blockquote class="text"> |
8685 |
|
<p>in case the given instrument does not exists, |
8686 |
|
or if an instrument with name equal to the name of the |
8687 |
|
specified instrument already exists in the destination |
8688 |
|
directory. |
8689 |
|
</p> |
8690 |
|
</blockquote> |
8691 |
|
|
8692 |
|
|
8693 |
|
</blockquote><p> |
8694 |
|
|
8695 |
|
</p> |
8696 |
|
<p>Example: |
8697 |
|
</p> |
8698 |
|
<p> |
8699 |
|
</p> |
8700 |
|
<blockquote class="text"> |
8701 |
|
<p>C: "COPY DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Acoustic/Pianos/'" |
8702 |
|
</p> |
8703 |
|
<p>S: "OK" |
8704 |
|
</p> |
8705 |
|
</blockquote><p> |
8706 |
|
|
8707 |
|
</p> |
8708 |
|
<a name="SET DB_INSTRUMENT DESCRIPTION"></a><br /><hr /> |
8709 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8710 |
|
<a name="rfc.section.6.8.19"></a><h3>6.8.19. |
8711 |
|
Changing the description of instrument</h3> |
8712 |
|
|
8713 |
|
<p>The front-end can alter the description of a specific |
8714 |
|
instrument by sending the following command: |
8715 |
|
</p> |
8716 |
|
<p> |
8717 |
|
</p> |
8718 |
|
<blockquote class="text"> |
8719 |
|
<p>SET DB_INSTRUMENT DESCRIPTION <instr> <desc> |
8720 |
|
</p> |
8721 |
|
</blockquote><p> |
8722 |
|
|
8723 |
|
</p> |
8724 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8725 |
|
<desc> is the new description for the instrument |
8726 |
|
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
8727 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8728 |
|
</p> |
8729 |
|
<p>Possible Answers: |
8730 |
|
</p> |
8731 |
|
<p> |
8732 |
|
</p> |
8733 |
|
<blockquote class="text"> |
8734 |
|
<p>"OK" - |
8735 |
|
</p> |
8736 |
|
<blockquote class="text"> |
8737 |
|
<p>on success |
8738 |
|
</p> |
8739 |
|
</blockquote> |
8740 |
|
|
8741 |
|
|
8742 |
|
<p>"ERR:<error-code>:<error-message>" - |
8743 |
|
</p> |
8744 |
|
<blockquote class="text"> |
8745 |
|
<p>in case the given instrument does not exists. |
8746 |
|
</p> |
8747 |
|
</blockquote> |
8748 |
|
|
8749 |
|
|
8750 |
|
</blockquote><p> |
8751 |
|
|
8752 |
|
</p> |
8753 |
|
<p>Example: |
8754 |
|
</p> |
8755 |
|
<p> |
8756 |
|
</p> |
8757 |
|
<blockquote class="text"> |
8758 |
|
<p>C: "SET DB_INSTRUMENT DESCRIPTION '/Piano Collection/Acoustic/Bosendorfer 290' 'No comment :)'" |
8759 |
|
</p> |
8760 |
|
<p>S: "OK" |
8761 |
|
</p> |
8762 |
|
</blockquote><p> |
8763 |
|
|
8764 |
|
</p> |
8765 |
|
<a name="FIND DB_INSTRUMENTS"></a><br /><hr /> |
8766 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8767 |
|
<a name="rfc.section.6.8.20"></a><h3>6.8.20. |
8768 |
|
Finding instruments</h3> |
8769 |
|
|
8770 |
|
<p>The front-end can search for instruments |
8771 |
|
in specific directory by sending the following command: |
8772 |
|
</p> |
8773 |
|
<p> |
8774 |
|
</p> |
8775 |
|
<blockquote class="text"> |
8776 |
|
<p>FIND DB_INSTRUMENTS [NON_RECURSIVE] <dir> <criteria-list> |
8777 |
|
</p> |
8778 |
|
</blockquote><p> |
8779 |
|
|
8780 |
|
</p> |
8781 |
|
<p>Where <dir> should be replaced by the absolute path |
8782 |
|
name of the directory to search in. If NON_RECURSIVE is specified, the |
8783 |
|
directories located in subdirectories of the specified directory will not |
8784 |
|
be searched. <criteria-list> is a list of search criterias |
8785 |
|
in form of "key1=val1 key2=val2 ...". The following criterias are |
8786 |
|
allowed: |
8787 |
|
</p> |
8788 |
|
<p> |
8789 |
|
|
8790 |
|
<p>NAME='<search-string>' |
8791 |
|
</p> |
8792 |
|
<blockquote class="text"> |
8793 |
|
<p>Restricts the search to instruments, which names |
8794 |
|
satisfy the supplied search string (encapsulated into apostrophes, |
8795 |
|
supporting escape sequences as described in chapter |
8796 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8797 |
|
</p> |
8798 |
|
</blockquote><p> |
8799 |
|
|
8800 |
|
</p> |
8801 |
|
|
8802 |
|
|
8803 |
|
<p>SIZE=[<min>]..[<max>] |
8804 |
|
</p> |
8805 |
|
<blockquote class="text"> |
8806 |
|
<p>Restricts the search to instruments, which |
8807 |
|
size is in the specified range. If <min> is omitted, |
8808 |
|
the search results are restricted to instruments with size less then |
8809 |
|
or equal to <max>. If <max> is omitted, the |
8810 |
|
search is restricted to instruments with size greater then |
8811 |
|
or equal to <min>. |
8812 |
|
</p> |
8813 |
|
</blockquote><p> |
8814 |
|
|
8815 |
|
</p> |
8816 |
|
|
8817 |
|
|
8818 |
|
<p>CREATED='[<date-after>]..[<date-before>]' |
8819 |
|
</p> |
8820 |
|
<blockquote class="text"> |
8821 |
|
<p>Restricts the search to instruments, which creation |
8822 |
|
date satisfies the specified period, where <date-after> |
8823 |
|
and <date-before> are in "YYYY-MM-DD HH:MM:SS" format. |
8824 |
|
If <date-after> is omitted the search is restricted to |
8825 |
|
instruments created before <date-before>. If |
8826 |
|
<date-before> is omitted, the search is restricted |
8827 |
|
to instruments created after <date-after>. |
8828 |
|
</p> |
8829 |
|
</blockquote><p> |
8830 |
|
|
8831 |
|
</p> |
8832 |
|
|
8833 |
|
|
8834 |
|
<p>MODIFIED='[<date-after>]..[<date-before>]' |
8835 |
|
</p> |
8836 |
|
<blockquote class="text"> |
8837 |
|
<p>Restricts the search to instruments, which |
8838 |
|
date of last modification satisfies the specified period, where |
8839 |
|
<date-after> and <date-before> are in "YYYY-MM-DD HH:MM:SS" |
8840 |
|
format. If <date-after> is omitted the search is restricted to |
8841 |
|
instruments, which are last modified before <date-before>. If |
8842 |
|
<date-before> is omitted, the search is restricted to instruments, |
8843 |
|
which are last modified after <date-after>. |
8844 |
|
</p> |
8845 |
|
</blockquote><p> |
8846 |
|
|
8847 |
|
</p> |
8848 |
|
|
8849 |
|
|
8850 |
|
<p>DESCRIPTION='<search-string>' |
8851 |
|
</p> |
8852 |
|
<blockquote class="text"> |
8853 |
|
<p>Restricts the search to instruments with description |
8854 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8855 |
|
supporting escape sequences as described in chapter |
8856 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8857 |
|
</p> |
8858 |
|
</blockquote><p> |
8859 |
|
|
8860 |
|
</p> |
8861 |
|
|
8862 |
|
|
8863 |
|
<p>PRODUCT='<search-string>' |
8864 |
|
</p> |
8865 |
|
<blockquote class="text"> |
8866 |
|
<p>Restricts the search to instruments with product info |
8867 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8868 |
|
supporting escape sequences as described in chapter |
8869 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8870 |
|
</p> |
8871 |
|
</blockquote><p> |
8872 |
|
|
8873 |
|
</p> |
8874 |
|
|
8875 |
|
|
8876 |
|
<p>ARTISTS='<search-string>' |
8877 |
|
</p> |
8878 |
|
<blockquote class="text"> |
8879 |
|
<p>Restricts the search to instruments with artists info |
8880 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8881 |
|
supporting escape sequences as described in chapter |
8882 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8883 |
|
</p> |
8884 |
|
</blockquote><p> |
8885 |
|
|
8886 |
|
</p> |
8887 |
|
|
8888 |
|
|
8889 |
|
<p>KEYWORDS='<search-string>' |
8890 |
|
</p> |
8891 |
|
<blockquote class="text"> |
8892 |
|
<p>Restricts the search to instruments with keyword list |
8893 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8894 |
|
supporting escape sequences as described in chapter |
8895 |
|
"<a class='info' href='#character_set'>Character Set and Escape Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
8896 |
|
</p> |
8897 |
|
</blockquote><p> |
8898 |
|
|
8899 |
|
</p> |
8900 |
|
|
8901 |
|
|
8902 |
|
<p>IS_DRUM=true | false |
8903 |
|
</p> |
8904 |
|
<blockquote class="text"> |
8905 |
|
<p>Either true or false. Restricts the search to |
8906 |
|
drum kits or chromatic instruments. |
8907 |
|
</p> |
8908 |
|
</blockquote><p> |
8909 |
|
|
8910 |
|
</p> |
8911 |
|
|
8912 |
|
|
8913 |
|
<p>FORMAT_FAMILIES='<format-list>' |
8914 |
|
</p> |
8915 |
|
<blockquote class="text"> |
8916 |
|
<p>Restricts the search to instruments of the supplied format families, |
8917 |
|
where <format-list> is a comma separated list of format families. |
8918 |
|
</p> |
8919 |
|
</blockquote><p> |
8920 |
|
|
8921 |
|
</p> |
8922 |
|
|
8923 |
|
|
8924 |
|
<p>Where <search-string> is either a regular expression, or a |
8925 |
|
word list separated with spaces for OR search and with '+' for AND search. |
8926 |
|
</p> |
8927 |
|
<p>Possible Answers: |
8928 |
|
</p> |
8929 |
|
<p> |
8930 |
|
</p> |
8931 |
|
<blockquote class="text"> |
8932 |
|
<p>A comma separated list with the absolute path names (encapsulated into |
8933 |
|
apostrophes) of all instruments in the specified directory that satisfy |
8934 |
|
the supplied search criterias. |
8935 |
|
</p> |
8936 |
|
<p>"ERR:<error-code>:<error-message>" - |
8937 |
|
</p> |
8938 |
|
<blockquote class="text"> |
8939 |
|
<p>if the given directory does not exist. |
8940 |
|
</p> |
8941 |
|
</blockquote> |
8942 |
|
|
8943 |
|
|
8944 |
|
</blockquote><p> |
8945 |
|
|
8946 |
|
</p> |
8947 |
|
<p>Example: |
8948 |
|
</p> |
8949 |
|
<p> |
8950 |
|
</p> |
8951 |
|
<blockquote class="text"> |
8952 |
|
<p>C: "FIND DB_INSTRUMENTS '/Piano Collection' NAME='bosendorfer+290'" |
8953 |
|
</p> |
8954 |
|
<p>S: "'/Piano Collection/Bosendorfer 290'" |
8955 |
|
</p> |
8956 |
|
</blockquote><p> |
8957 |
|
|
8958 |
|
</p> |
8959 |
|
<p> |
8960 |
|
</p> |
8961 |
|
<blockquote class="text"> |
8962 |
|
<p>C: "FIND DB_INSTRUMENTS '/Piano Collection' CREATED='2007-04-01 09:30:13..'" |
8963 |
|
</p> |
8964 |
|
<p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D'" |
8965 |
|
</p> |
8966 |
|
</blockquote><p> |
8967 |
|
|
8968 |
|
</p> |
8969 |
|
<a name="GET DB_INSTRUMENTS_JOB INFO"></a><br /><hr /> |
8970 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8971 |
|
<a name="rfc.section.6.8.21"></a><h3>6.8.21. |
8972 |
|
Getting job status information</h3> |
8973 |
|
|
8974 |
|
<p>The front-end can ask for the current status of a |
8975 |
|
particular database instruments job by sending the following command: |
8976 |
|
</p> |
8977 |
|
<p> |
8978 |
|
</p> |
8979 |
|
<blockquote class="text"> |
8980 |
|
<p>GET DB_INSTRUMENTS_JOB INFO <job-id> |
8981 |
|
</p> |
8982 |
|
</blockquote><p> |
8983 |
|
|
8984 |
|
</p> |
8985 |
|
<p>Where <job-id> should be replaced by the numerical ID |
8986 |
|
of the job the front-end is interested in. |
8987 |
|
</p> |
8988 |
|
<p>Possible Answers: |
8989 |
|
</p> |
8990 |
|
<p> |
8991 |
|
</p> |
8992 |
|
<blockquote class="text"> |
8993 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
8994 |
|
Each answer line begins with the settings category name |
8995 |
|
followed by a colon and then a space character <SP> and finally |
8996 |
|
the info character string to that setting category. At the |
8997 |
|
moment the following categories are defined: |
8998 |
|
</p> |
8999 |
|
<p> |
9000 |
|
</p> |
9001 |
|
<blockquote class="text"> |
9002 |
|
<p>FILES_TOTAL - |
9003 |
|
</p> |
9004 |
|
<blockquote class="text"> |
9005 |
|
<p>The total number of files scheduled for scanning |
9006 |
|
</p> |
9007 |
|
</blockquote> |
9008 |
|
|
9009 |
|
|
9010 |
|
<p>FILES_SCANNED - |
9011 |
|
</p> |
9012 |
|
<blockquote class="text"> |
9013 |
|
<p>The current number of scanned files |
9014 |
|
</p> |
9015 |
|
</blockquote> |
9016 |
|
|
9017 |
|
|
9018 |
|
<p>SCANNING - |
9019 |
|
</p> |
9020 |
|
<blockquote class="text"> |
9021 |
|
<p>The absolute path name of the file which is currently |
9022 |
|
being scanned |
9023 |
|
</p> |
9024 |
|
</blockquote> |
9025 |
|
|
9026 |
|
|
9027 |
|
<p>STATUS - |
9028 |
|
</p> |
9029 |
|
<blockquote class="text"> |
9030 |
|
<p>An integer value between 0 and 100 indicating the |
9031 |
|
scanning progress percentage of the file which is |
9032 |
|
currently being scanned |
9033 |
|
</p> |
9034 |
|
</blockquote> |
9035 |
|
|
9036 |
|
|
9037 |
|
</blockquote> |
9038 |
|
|
9039 |
|
|
9040 |
|
</blockquote><p> |
9041 |
|
|
9042 |
|
</p> |
9043 |
|
<p>The mentioned fields above don't have to be in particular order. |
9044 |
|
</p> |
9045 |
|
<p>Example: |
9046 |
|
</p> |
9047 |
|
<p> |
9048 |
|
</p> |
9049 |
|
<blockquote class="text"> |
9050 |
|
<p>C: "GET DB_INSTRUMENTS_JOB INFO 2" |
9051 |
|
</p> |
9052 |
|
<p>S: "FILES_TOTAL: 12" |
9053 |
|
</p> |
9054 |
|
<p> "FILES_SCANNED: 7" |
9055 |
|
</p> |
9056 |
|
<p> "SCANNING: /home/me/gigs/Bosendorfer 290.gig" |
9057 |
|
</p> |
9058 |
|
<p> "STATUS: 42" |
9059 |
|
</p> |
9060 |
|
<p> "." |
9061 |
|
</p> |
9062 |
|
</blockquote><p> |
9063 |
|
|
9064 |
|
</p> |
9065 |
|
<a name="FORMAT INSTRUMENTS_DB"></a><br /><hr /> |
9066 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9067 |
|
<a name="rfc.section.6.8.22"></a><h3>6.8.22. |
9068 |
|
Formatting the instruments database</h3> |
9069 |
|
|
9070 |
|
<p>The front-end can remove all instruments and directories and re-create |
9071 |
|
the instruments database structure (e.g., in case of a database corruption) |
9072 |
|
by sending the following command: |
9073 |
|
</p> |
9074 |
|
<p> |
9075 |
|
</p> |
9076 |
|
<blockquote class="text"> |
9077 |
|
<p>FORMAT INSTRUMENTS_DB |
9078 |
|
</p> |
9079 |
|
</blockquote><p> |
9080 |
|
|
9081 |
|
</p> |
9082 |
|
<p>Possible Answers: |
9083 |
|
</p> |
9084 |
|
<p> |
9085 |
|
</p> |
9086 |
|
<blockquote class="text"> |
9087 |
|
<p>"OK" - |
9088 |
|
</p> |
9089 |
|
<blockquote class="text"> |
9090 |
|
<p>on success |
9091 |
|
</p> |
9092 |
|
</blockquote> |
9093 |
|
|
9094 |
|
|
9095 |
|
<p>"ERR:<error-code>:<error-message>" - |
9096 |
|
</p> |
9097 |
|
<blockquote class="text"> |
9098 |
|
<p>If the formatting of the instruments database |
9099 |
|
failed. |
9100 |
|
</p> |
9101 |
|
</blockquote> |
9102 |
|
|
9103 |
|
|
9104 |
|
</blockquote><p> |
9105 |
|
|
9106 |
|
</p> |
9107 |
|
<a name="FIND LOST DB_INSTRUMENT_FILES"></a><br /><hr /> |
9108 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9109 |
|
<a name="rfc.section.6.8.23"></a><h3>6.8.23. |
9110 |
|
Checking for lost instrument files</h3> |
9111 |
|
|
9112 |
|
<p>The front-end can retrieve the list of all instrument files in the instruments database |
9113 |
|
that don't exist in the filesystem by sending the following command: |
9114 |
|
</p> |
9115 |
|
<p> |
9116 |
|
</p> |
9117 |
|
<blockquote class="text"> |
9118 |
|
<p>FIND LOST DB_INSTRUMENT_FILES |
9119 |
|
</p> |
9120 |
|
</blockquote><p> |
9121 |
|
|
9122 |
|
</p> |
9123 |
|
<p>Possible Answers: |
9124 |
|
</p> |
9125 |
|
<p> |
9126 |
|
</p> |
9127 |
|
<blockquote class="text"> |
9128 |
|
<p>A comma separated list with the absolute path names |
9129 |
|
(encapsulated into apostrophes) of all lost instrument files. |
9130 |
|
</p> |
9131 |
|
<p>"ERR:<error-code>:<error-message>" - |
9132 |
|
</p> |
9133 |
|
<blockquote class="text"> |
9134 |
|
<p>in case it failed, providing an appropriate error code and error message. |
9135 |
|
</p> |
9136 |
|
</blockquote> |
9137 |
|
|
9138 |
|
|
9139 |
|
</blockquote><p> |
9140 |
|
|
9141 |
|
</p> |
9142 |
|
<p>Example: |
9143 |
|
</p> |
9144 |
|
<p> |
9145 |
|
</p> |
9146 |
|
<blockquote class="text"> |
9147 |
|
<p>C: "FIND LOST DB_INSTRUMENT_FILES" |
9148 |
|
</p> |
9149 |
|
<p>S: "'/gigs/Bosendorfer 290.gig','/gigs/Steinway D.gig','/gigs/Free Piano.gig'" |
9150 |
|
</p> |
9151 |
|
</blockquote><p> |
9152 |
|
|
9153 |
|
</p> |
9154 |
|
<a name="SET DB_INSTRUMENT FILE_PATH"></a><br /><hr /> |
9155 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9156 |
|
<a name="rfc.section.6.8.24"></a><h3>6.8.24. |
9157 |
|
Replacing an instrument file</h3> |
9158 |
|
|
9159 |
|
<p>The front-end can substitute all occurrences of an instrument file |
9160 |
|
in the instruments database with a new one by sending the following command: |
9161 |
|
</p> |
9162 |
|
<p> |
9163 |
|
</p> |
9164 |
|
<blockquote class="text"> |
9165 |
|
<p>SET DB_INSTRUMENT FILE_PATH <old_path> <new_path> |
9166 |
|
</p> |
9167 |
|
</blockquote><p> |
9168 |
|
|
9169 |
|
</p> |
9170 |
|
<p>Where <old_path> is the absolute path name of the instrument file |
9171 |
|
to substitute with <new_path>. |
9172 |
|
</p> |
9173 |
|
<p>Possible Answers: |
9174 |
|
</p> |
9175 |
|
<p> |
9176 |
|
</p> |
9177 |
|
<blockquote class="text"> |
9178 |
|
<p>"OK" - |
9179 |
|
</p> |
9180 |
|
<blockquote class="text"> |
9181 |
|
<p>on success |
9182 |
|
</p> |
9183 |
|
</blockquote> |
9184 |
|
|
9185 |
|
|
9186 |
|
<p>"ERR:<error-code>:<error-message>" - |
9187 |
|
</p> |
9188 |
|
<blockquote class="text"> |
9189 |
|
<p>in case it failed, providing an appropriate error code and error message. |
9190 |
|
</p> |
9191 |
|
</blockquote> |
9192 |
|
|
9193 |
|
|
9194 |
|
</blockquote><p> |
9195 |
|
|
9196 |
|
</p> |
9197 |
|
<p>Example: |
9198 |
|
</p> |
9199 |
|
<p> |
9200 |
|
</p> |
9201 |
|
<blockquote class="text"> |
9202 |
|
<p>C: "SET DB_INSTRUMENT FILE_PATH '/gigs/Bosendorfer 290.gig' '/gigs/pianos/Bosendorfer 290.gig'" |
9203 |
|
</p> |
9204 |
|
<p>S: "OK" |
9205 |
|
</p> |
9206 |
|
</blockquote><p> |
9207 |
|
|
9208 |
|
</p> |
9209 |
|
<a name="editing_instruments"></a><br /><hr /> |
9210 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9211 |
|
<a name="rfc.section.6.9"></a><h3>6.9. |
9212 |
|
Editing Instruments</h3> |
9213 |
|
|
9214 |
|
<p>The sampler allows to edit instruments while playing with the |
9215 |
|
sampler by spawning an external (3rd party) instrument editor |
9216 |
|
application for a given instrument. The 3rd party instrument |
9217 |
|
editor applications have to place a respective plugin DLL file |
9218 |
|
into the sampler's plugins directory. The sampler will |
9219 |
|
automatically try to load all plugin DLLs in that directory on |
9220 |
|
startup and only on startup! |
9221 |
|
</p> |
9222 |
|
<p>At the moment there is only one command for this feature set, |
9223 |
|
but this will most probably change in future. |
9224 |
|
</p> |
9225 |
|
<a name="EDIT INSTRUMENT"></a><br /><hr /> |
9226 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9227 |
|
<a name="rfc.section.6.9.1"></a><h3>6.9.1. |
9228 |
|
Opening an appropriate instrument editor application</h3> |
9229 |
|
|
9230 |
|
<p>The front-end can request to open an appropriate instrument |
9231 |
|
editor application by sending the following command: |
9232 |
|
</p> |
9233 |
|
<p> |
9234 |
|
</p> |
9235 |
|
<blockquote class="text"> |
9236 |
|
<p>EDIT CHANNEL INSTRUMENT <sampler-channel> |
9237 |
|
</p> |
9238 |
|
</blockquote><p> |
9239 |
|
|
9240 |
|
</p> |
9241 |
|
<p>Where <sampler-channel> should be replaced by the |
9242 |
|
number of the sampler channel as given by the |
9243 |
|
<a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
9244 |
|
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> |
9245 |
|
command. |
9246 |
|
</p> |
9247 |
|
<p>The sampler will try to ask all registered instrument |
9248 |
|
editors (or to be more specific: their sampler plugins) |
9249 |
|
whether they are capable to handle the instrument on the |
9250 |
|
given sampler channel. The sampler will simply use the first |
9251 |
|
instrument editor application which replied with a positive |
9252 |
|
answer and spawn that instrument editor application within |
9253 |
|
the sampler's process and provide that application access |
9254 |
|
to the instrument's data structures, so both applications |
9255 |
|
can share and access the same instruments data at the same |
9256 |
|
time, thus allowing to immediately hear changes with the |
9257 |
|
sampler made by the instrument editor. |
9258 |
|
</p> |
9259 |
|
<p>Note: consequently instrument editors are always spawned |
9260 |
|
locally on the same machine where the sampler is running |
9261 |
|
on! |
9262 |
|
</p> |
9263 |
|
<p>Possible Answers: |
9264 |
|
</p> |
9265 |
|
<p> |
9266 |
|
</p> |
9267 |
|
<blockquote class="text"> |
9268 |
|
<p>"OK" - |
9269 |
|
</p> |
9270 |
|
<blockquote class="text"> |
9271 |
|
<p>when an appropriate instrument editor was |
9272 |
|
launched |
9273 |
|
</p> |
9274 |
|
</blockquote> |
9275 |
|
|
9276 |
|
|
9277 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
9278 |
|
</p> |
9279 |
|
<blockquote class="text"> |
9280 |
|
<p>when an appropriate instrument editor was |
9281 |
|
launched, but there are noteworthy issues |
9282 |
|
</p> |
9283 |
|
</blockquote> |
9284 |
|
|
9285 |
|
|
9286 |
|
<p>"ERR:<error-code>:<error-message>" - |
9287 |
|
</p> |
9288 |
|
<blockquote class="text"> |
9289 |
|
<p>when an appropriate instrument editor |
9290 |
|
could not be launched |
9291 |
|
</p> |
9292 |
|
</blockquote> |
9293 |
|
|
9294 |
|
|
9295 |
|
</blockquote><p> |
9296 |
|
|
9297 |
|
</p> |
9298 |
|
<p>Examples: |
9299 |
|
</p> |
9300 |
|
<p> |
9301 |
|
</p> |
9302 |
|
<blockquote class="text"> |
9303 |
|
<p>C: "EDIT CHANNEL INSTRUMENT 0" |
9304 |
|
</p> |
9305 |
|
<p>S: "OK" |
9306 |
|
</p> |
9307 |
|
</blockquote><p> |
9308 |
|
|
9309 |
|
</p> |
9310 |
|
<a name="file_management"></a><br /><hr /> |
9311 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9312 |
|
<a name="rfc.section.6.10"></a><h3>6.10. |
9313 |
|
Managing Files</h3> |
9314 |
|
|
9315 |
|
<p>You can query detailed informations about files located |
9316 |
|
at the same system where the sampler instance is running on. |
9317 |
|
Using this command set allows to retrieve file informations |
9318 |
|
even remotely from another machine. |
9319 |
|
</p> |
9320 |
|
<a name="GET FILE INSTRUMENTS"></a><br /><hr /> |
9321 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9322 |
|
<a name="rfc.section.6.10.1"></a><h3>6.10.1. |
9323 |
|
Retrieving amount of instruments of a file</h3> |
9324 |
|
|
9325 |
|
<p>The front-end can retrieve the amount of instruments |
9326 |
|
within a given instrument file by sending the |
9327 |
|
following command: |
9328 |
|
</p> |
9329 |
|
<p> |
9330 |
|
</p> |
9331 |
|
<blockquote class="text"> |
9332 |
|
<p>GET FILE INSTRUMENTS <filename> |
9333 |
|
</p> |
9334 |
|
</blockquote><p> |
9335 |
|
|
9336 |
|
</p> |
9337 |
|
<p>Where <filename> is the name of the instrument |
9338 |
|
file (encapsulated into apostrophes, supporting escape |
9339 |
|
sequences as described in chapter |
9340 |
|
"<a class='info' href='#character_set'>Character Set and Escape |
9341 |
|
Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
9342 |
|
</p> |
9343 |
|
<p>The sampler will try to ask all sampler engines, |
9344 |
|
whether they support the given file and ask the first |
9345 |
|
engine with a positive answer for the amount of |
9346 |
|
instruments. |
9347 |
|
</p> |
9348 |
|
<p>Possible Answers: |
9349 |
|
</p> |
9350 |
|
<p> |
9351 |
|
</p> |
9352 |
|
<blockquote class="text"> |
9353 |
|
<p>On success, the sampler will answer by |
9354 |
|
returning the amount of instruments. |
9355 |
|
|
9356 |
|
</p> |
9357 |
|
<p>"ERR:<error-code>:<error-message>" - |
9358 |
|
</p> |
9359 |
|
<blockquote class="text"> |
9360 |
|
<p>if the file could not be handled |
9361 |
|
</p> |
9362 |
|
</blockquote> |
9363 |
|
|
9364 |
|
|
9365 |
|
</blockquote><p> |
9366 |
|
|
9367 |
|
</p> |
9368 |
|
<p>Examples: |
9369 |
|
</p> |
9370 |
|
<p> |
9371 |
|
</p> |
9372 |
|
<blockquote class="text"> |
9373 |
|
<p>C: "GET FILE INSTRUMENTS 'D:/Sounds/Foo.gig'" |
9374 |
|
</p> |
9375 |
|
<p>S: "10" |
9376 |
|
</p> |
9377 |
|
</blockquote><p> |
9378 |
|
|
9379 |
|
</p> |
9380 |
|
<a name="LIST FILE INSTRUMENTS"></a><br /><hr /> |
9381 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9382 |
|
<a name="rfc.section.6.10.2"></a><h3>6.10.2. |
9383 |
|
Retrieving all instruments of a file</h3> |
9384 |
|
|
9385 |
|
<p>The front-end can retrieve a list of all instruments |
9386 |
|
within a given instrument file by sending the |
9387 |
|
following command: |
9388 |
|
</p> |
9389 |
|
<p> |
9390 |
|
</p> |
9391 |
|
<blockquote class="text"> |
9392 |
|
<p>LIST FILE INSTRUMENTS <filename> |
9393 |
|
</p> |
9394 |
|
</blockquote><p> |
9395 |
|
|
9396 |
|
</p> |
9397 |
|
<p>Where <filename> is the name of the instrument |
9398 |
|
file (encapsulated into apostrophes, supporting escape |
9399 |
|
sequences as described in chapter |
9400 |
|
"<a class='info' href='#character_set'>Character Set and Escape |
9401 |
|
Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>"). |
9402 |
|
</p> |
9403 |
|
<p>The sampler will try to ask all sampler engines, |
9404 |
|
whether they support the given file and ask the first |
9405 |
|
engine with a positive answer for a list of IDs for the |
9406 |
|
instruments in the given file. |
9407 |
|
</p> |
9408 |
|
<p>Possible Answers: |
9409 |
|
</p> |
9410 |
|
<p> |
9411 |
|
</p> |
9412 |
|
<blockquote class="text"> |
9413 |
|
<p>On success, the sampler will answer by |
9414 |
|
returning a comma separated list of |
9415 |
|
instrument IDs. |
9416 |
|
|
9417 |
|
</p> |
9418 |
|
<p>"ERR:<error-code>:<error-message>" - |
9419 |
|
</p> |
9420 |
|
<blockquote class="text"> |
9421 |
|
<p>if the file could not be handled |
9422 |
|
</p> |
9423 |
|
</blockquote> |
9424 |
|
|
9425 |
|
|
9426 |
|
</blockquote><p> |
9427 |
|
|
9428 |
|
</p> |
9429 |
|
<p>Examples: |
9430 |
|
</p> |
9431 |
|
<p> |
9432 |
|
</p> |
9433 |
|
<blockquote class="text"> |
9434 |
|
<p>C: "LIST FILE INSTRUMENTS 'D:/Sounds/Foo.gig'" |
9435 |
|
</p> |
9436 |
|
<p>S: "0,1,2,3,4,5,6,7,8,9" |
9437 |
|
</p> |
9438 |
|
</blockquote><p> |
9439 |
|
|
9440 |
|
</p> |
9441 |
|
<a name="GET FILE INSTRUMENT INFO"></a><br /><hr /> |
9442 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9443 |
|
<a name="rfc.section.6.10.3"></a><h3>6.10.3. |
9444 |
|
Retrieving informations about one instrument in a file</h3> |
9445 |
|
|
9446 |
|
<p>The front-end can retrieve detailed informations |
9447 |
|
about a specific instrument within a given instrument |
9448 |
|
file by sending the following command: |
9449 |
|
</p> |
9450 |
|
<p> |
9451 |
|
</p> |
9452 |
|
<blockquote class="text"> |
9453 |
|
<p>GET FILE INSTRUMENT INFO <filename> |
9454 |
|
<instr-id> |
9455 |
|
</p> |
9456 |
|
</blockquote><p> |
9457 |
|
|
9458 |
|
</p> |
9459 |
|
<p>Where <filename> is the name of the instrument |
9460 |
|
file (encapsulated into apostrophes, supporting escape |
9461 |
|
sequences as described in chapter |
9462 |
|
"<a class='info' href='#character_set'>Character Set and Escape |
9463 |
|
Sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>") and <instr-id> is the numeric |
9464 |
|
instrument ID as returned by the |
9465 |
|
<a class='info' href='#LIST FILE INSTRUMENTS'>"LIST FILE INSTRUMENTS"<span> (</span><span class='info'>Retrieving all instruments of a file</span><span>)</span></a> command. |
9466 |
|
</p> |
9467 |
|
<p>The sampler will try to ask all sampler engines, |
9468 |
|
whether they support the given file and ask the first |
9469 |
|
engine with a positive answer for informations about the |
9470 |
|
specific instrument in the given file. |
9471 |
|
</p> |
9472 |
|
<p>Possible Answers: |
9473 |
|
</p> |
9474 |
|
<p> |
9475 |
|
</p> |
9476 |
|
<blockquote class="text"> |
9477 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
9478 |
|
Each answer line begins with the settings category name |
9479 |
|
followed by a colon and then a space character <SP> and finally |
9480 |
|
the info character string to that setting category. At the |
9481 |
|
moment the following categories are defined: |
9482 |
|
</p> |
9483 |
|
<p> |
9484 |
|
</p> |
9485 |
|
<blockquote class="text"> |
9486 |
|
<p>NAME - |
9487 |
|
</p> |
9488 |
|
<blockquote class="text"> |
9489 |
|
<p>name of the instrument as |
9490 |
|
stored in the instrument file |
9491 |
|
</p> |
9492 |
|
</blockquote> |
9493 |
|
|
9494 |
|
|
9495 |
|
<p>FORMAT_FAMILY - |
9496 |
|
</p> |
9497 |
|
<blockquote class="text"> |
9498 |
|
<p>name of the sampler format |
9499 |
|
of the given instrument |
9500 |
|
</p> |
9501 |
|
</blockquote> |
9502 |
|
|
9503 |
|
|
9504 |
|
<p>FORMAT_VERSION - |
9505 |
|
</p> |
9506 |
|
<blockquote class="text"> |
9507 |
|
<p>version of the sampler format |
9508 |
|
the instrumen is stored as |
9509 |
|
</p> |
9510 |
|
</blockquote> |
9511 |
|
|
9512 |
|
|
9513 |
|
<p>PRODUCT - |
9514 |
|
</p> |
9515 |
|
<blockquote class="text"> |
9516 |
|
<p>official product name of the |
9517 |
|
instrument as stored in the file |
9518 |
|
|
9519 |
|
</p> |
9520 |
|
</blockquote> |
9521 |
|
|
9522 |
|
|
9523 |
|
<p>ARTISTS - |
9524 |
|
</p> |
9525 |
|
<blockquote class="text"> |
9526 |
|
<p>artists / sample library |
9527 |
|
vendor of the instrument |
9528 |
|
</p> |
9529 |
|
</blockquote> |
9530 |
|
|
9531 |
|
|
9532 |
|
</blockquote> |
9533 |
|
|
9534 |
|
|
9535 |
|
</blockquote><p> |
9536 |
|
|
9537 |
|
</p> |
9538 |
|
<p>The mentioned fields above don't have to be in particular order. |
9539 |
|
</p> |
9540 |
|
<p>Example: |
9541 |
|
</p> |
9542 |
|
<p> |
9543 |
|
</p> |
9544 |
|
<blockquote class="text"> |
9545 |
|
<p>C: "GET FILE INSTRUMENT INFO 'D:/Sounds/Foo.gig' 0" |
9546 |
|
</p> |
9547 |
|
<p>S: "NAME: Lunatic Loops" |
9548 |
|
</p> |
9549 |
|
<p> "FORMAT_FAMILY: GIG" |
9550 |
|
</p> |
9551 |
|
<p> "FORMAT_VERSION: 3" |
9552 |
|
</p> |
9553 |
|
<p> "PRODUCT: The Backbone Bongo Beats" |
9554 |
|
</p> |
9555 |
|
<p> "ARTISTS: Jimmy the Fish" |
9556 |
|
</p> |
9557 |
|
<p> "." |
9558 |
|
</p> |
9559 |
|
</blockquote><p> |
9560 |
|
|
9561 |
|
</p> |
9562 |
<a name="command_syntax"></a><br /><hr /> |
<a name="command_syntax"></a><br /><hr /> |
9563 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
9564 |
<a name="rfc.section.7"></a><h3>7. Command Syntax</h3> |
<a name="rfc.section.7"></a><h3>7. |
9565 |
|
Command Syntax</h3> |
9566 |
|
|
9567 |
<p>The grammar of the control protocol as descibed in <a class="info" href="#control_commands">Section 6<span> (</span><span class="info">Description for control commands</span><span>)</span></a> |
<p>The grammar of the control protocol as descibed in <a class='info' href='#control_commands'>Section 6<span> (</span><span class='info'>Description for control commands</span><span>)</span></a> |
9568 |
is defined below using Backus-Naur Form (BNF as described in <a class="info" href="#RFC2234">[RFC2234]<span> (</span><span class="info">Crocker, D. and P. Overell, “Augmented BNF for Syntax Specifications,” 1997.</span><span>)</span></a>) |
is defined below using Backus-Naur Form (BNF as described in <a class='info' href='#RFC2234'>[RFC2234]<span> (</span><span class='info'>Crocker, D. and P. Overell, “Augmented BNF for Syntax Specifications,” 1997.</span><span>)</span></a>) |
9569 |
where applicable. |
where applicable. |
9570 |
|
|
9571 |
</p> |
</p> |
9623 |
<p>command = |
<p>command = |
9624 |
</p> |
</p> |
9625 |
<blockquote class="text"> |
<blockquote class="text"> |
9626 |
<p>ADD SP CHANNEL |
<p>ADD SP add_instruction |
9627 |
|
|
9628 |
|
</p> |
9629 |
|
<p>/ MAP SP map_instruction |
9630 |
|
|
9631 |
|
</p> |
9632 |
|
<p>/ UNMAP SP unmap_instruction |
9633 |
|
|
9634 |
</p> |
</p> |
9635 |
<p>/ GET SP get_instruction |
<p>/ GET SP get_instruction |
9647 |
<p>/ LOAD SP load_instruction |
<p>/ LOAD SP load_instruction |
9648 |
|
|
9649 |
</p> |
</p> |
9650 |
<p>/ REMOVE SP CHANNEL SP sampler_channel |
<p>/ REMOVE SP remove_instruction |
9651 |
|
|
9652 |
</p> |
</p> |
9653 |
<p>/ SET SP set_instruction |
<p>/ SET SP set_instruction |
9659 |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
9660 |
|
|
9661 |
</p> |
</p> |
9662 |
<p>/ SELECT SP text |
<p>/ RESET SP reset_instruction |
9663 |
|
|
9664 |
|
</p> |
9665 |
|
<p>/ CLEAR SP clear_instruction |
9666 |
|
|
9667 |
|
</p> |
9668 |
|
<p>/ FIND SP find_instruction |
9669 |
|
|
9670 |
|
</p> |
9671 |
|
<p>/ MOVE SP move_instruction |
9672 |
|
|
9673 |
|
</p> |
9674 |
|
<p>/ COPY SP copy_instruction |
9675 |
|
|
9676 |
|
</p> |
9677 |
|
<p>/ EDIT SP edit_instruction |
9678 |
|
|
9679 |
</p> |
</p> |
9680 |
<p>/ RESET SP CHANNEL SP sampler_channel |
<p>/ FORMAT SP format_instruction |
9681 |
|
|
9682 |
</p> |
</p> |
9683 |
<p>/ RESET |
<p>/ RESET |
9689 |
</blockquote><p> |
</blockquote><p> |
9690 |
|
|
9691 |
</p> |
</p> |
9692 |
|
<p>add_instruction = |
9693 |
|
</p> |
9694 |
|
<blockquote class="text"> |
9695 |
|
<p>CHANNEL |
9696 |
|
|
9697 |
|
</p> |
9698 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP db_path |
9699 |
|
|
9700 |
|
</p> |
9701 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
9702 |
|
|
9703 |
|
</p> |
9704 |
|
<p>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
9705 |
|
|
9706 |
|
</p> |
9707 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
9708 |
|
|
9709 |
|
</p> |
9710 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |
9711 |
|
|
9712 |
|
</p> |
9713 |
|
<p>/ DB_INSTRUMENTS SP db_path SP filename |
9714 |
|
|
9715 |
|
</p> |
9716 |
|
<p>/ DB_INSTRUMENTS SP db_path SP filename SP instrument_index |
9717 |
|
|
9718 |
|
</p> |
9719 |
|
<p>/ MIDI_INSTRUMENT_MAP |
9720 |
|
|
9721 |
|
</p> |
9722 |
|
<p>/ MIDI_INSTRUMENT_MAP SP map_name |
9723 |
|
|
9724 |
|
</p> |
9725 |
|
</blockquote><p> |
9726 |
|
|
9727 |
|
</p> |
9728 |
<p>subscribe_event = |
<p>subscribe_event = |
9729 |
</p> |
</p> |
9730 |
<blockquote class="text"> |
<blockquote class="text"> |
9731 |
<p>CHANNEL_COUNT |
<p>AUDIO_OUTPUT_DEVICE_COUNT |
9732 |
|
|
9733 |
|
</p> |
9734 |
|
<p>/ AUDIO_OUTPUT_DEVICE_INFO |
9735 |
|
|
9736 |
|
</p> |
9737 |
|
<p>/ MIDI_INPUT_DEVICE_COUNT |
9738 |
|
|
9739 |
|
</p> |
9740 |
|
<p>/ MIDI_INPUT_DEVICE_INFO |
9741 |
|
|
9742 |
|
</p> |
9743 |
|
<p>/ CHANNEL_COUNT |
9744 |
|
|
9745 |
|
</p> |
9746 |
|
<p>/ CHANNEL_MIDI |
9747 |
|
|
9748 |
|
</p> |
9749 |
|
<p>/ DEVICE_MIDI |
9750 |
|
|
9751 |
</p> |
</p> |
9752 |
<p>/ VOICE_COUNT |
<p>/ VOICE_COUNT |
9761 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
9762 |
|
|
9763 |
</p> |
</p> |
9764 |
|
<p>/ FX_SEND_COUNT |
9765 |
|
|
9766 |
|
</p> |
9767 |
|
<p>/ FX_SEND_INFO |
9768 |
|
|
9769 |
|
</p> |
9770 |
|
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
9771 |
|
|
9772 |
|
</p> |
9773 |
|
<p>/ MIDI_INSTRUMENT_MAP_INFO |
9774 |
|
|
9775 |
|
</p> |
9776 |
|
<p>/ MIDI_INSTRUMENT_COUNT |
9777 |
|
|
9778 |
|
</p> |
9779 |
|
<p>/ MIDI_INSTRUMENT_INFO |
9780 |
|
|
9781 |
|
</p> |
9782 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
9783 |
|
|
9784 |
|
</p> |
9785 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
9786 |
|
|
9787 |
|
</p> |
9788 |
|
<p>/ DB_INSTRUMENT_COUNT |
9789 |
|
|
9790 |
|
</p> |
9791 |
|
<p>/ DB_INSTRUMENT_INFO |
9792 |
|
|
9793 |
|
</p> |
9794 |
|
<p>/ DB_INSTRUMENTS_JOB_INFO |
9795 |
|
|
9796 |
|
</p> |
9797 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
9798 |
|
|
9799 |
</p> |
</p> |
9800 |
|
<p>/ TOTAL_STREAM_COUNT |
9801 |
|
|
9802 |
|
</p> |
9803 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
9804 |
|
|
9805 |
</p> |
</p> |
9806 |
|
<p>/ GLOBAL_INFO |
9807 |
|
|
9808 |
|
</p> |
9809 |
</blockquote><p> |
</blockquote><p> |
9810 |
|
|
9811 |
</p> |
</p> |
9812 |
<p>unsubscribe_event = |
<p>unsubscribe_event = |
9813 |
</p> |
</p> |
9814 |
<blockquote class="text"> |
<blockquote class="text"> |
9815 |
<p>CHANNEL_COUNT |
<p>AUDIO_OUTPUT_DEVICE_COUNT |
9816 |
|
|
9817 |
|
</p> |
9818 |
|
<p>/ AUDIO_OUTPUT_DEVICE_INFO |
9819 |
|
|
9820 |
|
</p> |
9821 |
|
<p>/ MIDI_INPUT_DEVICE_COUNT |
9822 |
|
|
9823 |
|
</p> |
9824 |
|
<p>/ MIDI_INPUT_DEVICE_INFO |
9825 |
|
|
9826 |
|
</p> |
9827 |
|
<p>/ CHANNEL_COUNT |
9828 |
|
|
9829 |
|
</p> |
9830 |
|
<p>/ CHANNEL_MIDI |
9831 |
|
|
9832 |
|
</p> |
9833 |
|
<p>/ DEVICE_MIDI |
9834 |
|
|
9835 |
</p> |
</p> |
9836 |
<p>/ VOICE_COUNT |
<p>/ VOICE_COUNT |
9845 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
9846 |
|
|
9847 |
</p> |
</p> |
9848 |
|
<p>/ FX_SEND_COUNT |
9849 |
|
|
9850 |
|
</p> |
9851 |
|
<p>/ FX_SEND_INFO |
9852 |
|
|
9853 |
|
</p> |
9854 |
|
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
9855 |
|
|
9856 |
|
</p> |
9857 |
|
<p>/ MIDI_INSTRUMENT_MAP_INFO |
9858 |
|
|
9859 |
|
</p> |
9860 |
|
<p>/ MIDI_INSTRUMENT_COUNT |
9861 |
|
|
9862 |
|
</p> |
9863 |
|
<p>/ MIDI_INSTRUMENT_INFO |
9864 |
|
|
9865 |
|
</p> |
9866 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
9867 |
|
|
9868 |
|
</p> |
9869 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
9870 |
|
|
9871 |
|
</p> |
9872 |
|
<p>/ DB_INSTRUMENT_COUNT |
9873 |
|
|
9874 |
|
</p> |
9875 |
|
<p>/ DB_INSTRUMENT_INFO |
9876 |
|
|
9877 |
|
</p> |
9878 |
|
<p>/ DB_INSTRUMENTS_JOB_INFO |
9879 |
|
|
9880 |
|
</p> |
9881 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
9882 |
|
|
9883 |
</p> |
</p> |
9884 |
|
<p>/ TOTAL_STREAM_COUNT |
9885 |
|
|
9886 |
|
</p> |
9887 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
9888 |
|
|
9889 |
</p> |
</p> |
9890 |
|
<p>/ GLOBAL_INFO |
9891 |
|
|
9892 |
|
</p> |
9893 |
|
</blockquote><p> |
9894 |
|
|
9895 |
|
</p> |
9896 |
|
<p>map_instruction = |
9897 |
|
</p> |
9898 |
|
<blockquote class="text"> |
9899 |
|
<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 |
9900 |
|
|
9901 |
|
</p> |
9902 |
|
<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 |
9903 |
|
|
9904 |
|
</p> |
9905 |
|
<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 |
9906 |
|
|
9907 |
|
</p> |
9908 |
|
<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 |
9909 |
|
|
9910 |
|
</p> |
9911 |
|
</blockquote><p> |
9912 |
|
|
9913 |
|
</p> |
9914 |
|
<p>unmap_instruction = |
9915 |
|
</p> |
9916 |
|
<blockquote class="text"> |
9917 |
|
<p>MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog |
9918 |
|
|
9919 |
|
</p> |
9920 |
|
</blockquote><p> |
9921 |
|
|
9922 |
|
</p> |
9923 |
|
<p>remove_instruction = |
9924 |
|
</p> |
9925 |
|
<blockquote class="text"> |
9926 |
|
<p>CHANNEL SP sampler_channel |
9927 |
|
|
9928 |
|
</p> |
9929 |
|
<p>/ MIDI_INSTRUMENT_MAP SP midi_map |
9930 |
|
|
9931 |
|
</p> |
9932 |
|
<p>/ MIDI_INSTRUMENT_MAP SP ALL |
9933 |
|
|
9934 |
|
</p> |
9935 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
9936 |
|
|
9937 |
|
</p> |
9938 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP db_path |
9939 |
|
|
9940 |
|
</p> |
9941 |
|
<p>/ DB_INSTRUMENT SP db_path |
9942 |
|
|
9943 |
|
</p> |
9944 |
</blockquote><p> |
</blockquote><p> |
9945 |
|
|
9946 |
</p> |
</p> |
10019 |
<p>/ SERVER SP INFO |
<p>/ SERVER SP INFO |
10020 |
|
|
10021 |
</p> |
</p> |
10022 |
|
<p>/ TOTAL_STREAM_COUNT |
10023 |
|
|
10024 |
|
</p> |
10025 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
10026 |
|
|
10027 |
</p> |
</p> |
10028 |
<p>/ TOTAL_VOICE_COUNT_MAX |
<p>/ TOTAL_VOICE_COUNT_MAX |
10029 |
|
|
10030 |
</p> |
</p> |
10031 |
|
<p>/ MIDI_INSTRUMENTS SP midi_map |
10032 |
|
|
10033 |
|
</p> |
10034 |
|
<p>/ MIDI_INSTRUMENTS SP ALL |
10035 |
|
|
10036 |
|
</p> |
10037 |
|
<p>/ MIDI_INSTRUMENT SP INFO SP midi_map SP midi_bank SP midi_prog |
10038 |
|
|
10039 |
|
</p> |
10040 |
|
<p>/ MIDI_INSTRUMENT_MAPS |
10041 |
|
|
10042 |
|
</p> |
10043 |
|
<p>/ MIDI_INSTRUMENT_MAP SP INFO SP midi_map |
10044 |
|
|
10045 |
|
</p> |
10046 |
|
<p>/ FX_SENDS SP sampler_channel |
10047 |
|
|
10048 |
|
</p> |
10049 |
|
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
10050 |
|
|
10051 |
|
</p> |
10052 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path |
10053 |
|
|
10054 |
|
</p> |
10055 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path |
10056 |
|
|
10057 |
|
</p> |
10058 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP INFO SP db_path |
10059 |
|
|
10060 |
|
</p> |
10061 |
|
<p>/ DB_INSTRUMENTS SP RECURSIVE SP db_path |
10062 |
|
|
10063 |
|
</p> |
10064 |
|
<p>/ DB_INSTRUMENTS SP db_path |
10065 |
|
|
10066 |
|
</p> |
10067 |
|
<p>/ DB_INSTRUMENT SP INFO SP db_path |
10068 |
|
|
10069 |
|
</p> |
10070 |
|
<p>/ DB_INSTRUMENTS_JOB SP INFO SP number |
10071 |
|
|
10072 |
|
</p> |
10073 |
|
<p>/ VOLUME |
10074 |
|
|
10075 |
|
</p> |
10076 |
|
<p>/ FILE SP INSTRUMENTS SP filename |
10077 |
|
|
10078 |
|
</p> |
10079 |
|
<p>/ FILE SP INSTRUMENT SP INFO SP filename SP instrument_index |
10080 |
|
|
10081 |
|
</p> |
10082 |
</blockquote><p> |
</blockquote><p> |
10083 |
|
|
10084 |
</p> |
</p> |
10094 |
<p>/ MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list |
<p>/ MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list |
10095 |
|
|
10096 |
</p> |
</p> |
10097 |
|
<p>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' NONE |
10098 |
|
|
10099 |
|
</p> |
10100 |
<p>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list |
<p>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' param_val_list |
10101 |
|
|
10102 |
</p> |
</p> |
10103 |
<p>/ CHANNEL SP set_chan_instruction |
<p>/ CHANNEL SP set_chan_instruction |
10104 |
|
|
10105 |
</p> |
</p> |
10106 |
|
<p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
10107 |
|
|
10108 |
|
</p> |
10109 |
|
<p>/ FX_SEND SP NAME SP sampler_channel SP fx_send_id SP fx_send_name |
10110 |
|
|
10111 |
|
</p> |
10112 |
|
<p>/ FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id SP audio_channel_index SP audio_channel_index |
10113 |
|
|
10114 |
|
</p> |
10115 |
|
<p>/ FX_SEND SP MIDI_CONTROLLER SP sampler_channel SP fx_send_id SP midi_ctrl |
10116 |
|
|
10117 |
|
</p> |
10118 |
|
<p>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
10119 |
|
|
10120 |
|
</p> |
10121 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |
10122 |
|
|
10123 |
|
</p> |
10124 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP db_path SP stringval_escaped |
10125 |
|
|
10126 |
|
</p> |
10127 |
|
<p>/ DB_INSTRUMENT SP NAME SP db_path SP stringval_escaped |
10128 |
|
|
10129 |
|
</p> |
10130 |
|
<p>/ DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped |
10131 |
|
|
10132 |
|
</p> |
10133 |
|
<p>/ DB_INSTRUMENT SP FILE_PATH SP filename SP filename |
10134 |
|
|
10135 |
|
</p> |
10136 |
<p>/ ECHO SP boolean |
<p>/ ECHO SP boolean |
10137 |
|
|
10138 |
</p> |
</p> |
10139 |
|
<p>/ VOLUME SP volume_value |
10140 |
|
|
10141 |
|
</p> |
10142 |
</blockquote><p> |
</blockquote><p> |
10143 |
|
|
10144 |
</p> |
</p> |
10157 |
<p>/ MIDI_INPUT_DEVICE SP string |
<p>/ MIDI_INPUT_DEVICE SP string |
10158 |
|
|
10159 |
</p> |
</p> |
10160 |
|
<p>/ FX_SEND SP sampler_channel SP midi_ctrl |
10161 |
|
|
10162 |
|
</p> |
10163 |
|
<p>/ FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name |
10164 |
|
|
10165 |
|
</p> |
10166 |
|
</blockquote><p> |
10167 |
|
|
10168 |
|
</p> |
10169 |
|
<p>reset_instruction = |
10170 |
|
</p> |
10171 |
|
<blockquote class="text"> |
10172 |
|
<p>CHANNEL SP sampler_channel |
10173 |
|
|
10174 |
|
</p> |
10175 |
|
</blockquote><p> |
10176 |
|
|
10177 |
|
</p> |
10178 |
|
<p>clear_instruction = |
10179 |
|
</p> |
10180 |
|
<blockquote class="text"> |
10181 |
|
<p>MIDI_INSTRUMENTS SP midi_map |
10182 |
|
|
10183 |
|
</p> |
10184 |
|
<p>/ MIDI_INSTRUMENTS SP ALL |
10185 |
|
|
10186 |
|
</p> |
10187 |
|
</blockquote><p> |
10188 |
|
|
10189 |
|
</p> |
10190 |
|
<p>find_instruction = |
10191 |
|
</p> |
10192 |
|
<blockquote class="text"> |
10193 |
|
<p>DB_INSTRUMENTS SP NON_RECURSIVE SP db_path SP query_val_list |
10194 |
|
|
10195 |
|
</p> |
10196 |
|
<p>/ DB_INSTRUMENTS SP db_path SP query_val_list |
10197 |
|
|
10198 |
|
</p> |
10199 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP NON_RECURSIVE SP db_path SP query_val_list |
10200 |
|
|
10201 |
|
</p> |
10202 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list |
10203 |
|
|
10204 |
|
</p> |
10205 |
|
<p>/ LOST SP DB_INSTRUMENT_FILES |
10206 |
|
|
10207 |
|
</p> |
10208 |
|
</blockquote><p> |
10209 |
|
|
10210 |
|
</p> |
10211 |
|
<p>move_instruction = |
10212 |
|
</p> |
10213 |
|
<blockquote class="text"> |
10214 |
|
<p>DB_INSTRUMENT_DIRECTORY SP db_path SP db_path |
10215 |
|
|
10216 |
|
</p> |
10217 |
|
<p>/ DB_INSTRUMENT SP db_path SP db_path |
10218 |
|
|
10219 |
|
</p> |
10220 |
|
</blockquote><p> |
10221 |
|
|
10222 |
|
</p> |
10223 |
|
<p>copy_instruction = |
10224 |
|
</p> |
10225 |
|
<blockquote class="text"> |
10226 |
|
<p>DB_INSTRUMENT_DIRECTORY SP db_path SP db_path |
10227 |
|
|
10228 |
|
</p> |
10229 |
|
<p>/ DB_INSTRUMENT SP db_path SP db_path |
10230 |
|
|
10231 |
|
</p> |
10232 |
</blockquote><p> |
</blockquote><p> |
10233 |
|
|
10234 |
</p> |
</p> |
10241 |
<p>/ MIDI_INPUT_DEVICE SP number |
<p>/ MIDI_INPUT_DEVICE SP number |
10242 |
|
|
10243 |
</p> |
</p> |
10244 |
|
<p>/ FX_SEND SP sampler_channel SP fx_send_id |
10245 |
|
|
10246 |
|
</p> |
10247 |
</blockquote><p> |
</blockquote><p> |
10248 |
|
|
10249 |
</p> |
</p> |
10295 |
<p>/ SOLO SP sampler_channel SP boolean |
<p>/ SOLO SP sampler_channel SP boolean |
10296 |
|
|
10297 |
</p> |
</p> |
10298 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map |
10299 |
|
|
10300 |
|
</p> |
10301 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE |
10302 |
|
|
10303 |
|
</p> |
10304 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT |
10305 |
|
|
10306 |
|
</p> |
10307 |
|
</blockquote><p> |
10308 |
|
|
10309 |
|
</p> |
10310 |
|
<p>edit_instruction = |
10311 |
|
</p> |
10312 |
|
<blockquote class="text"> |
10313 |
|
<p>CHANNEL SP INSTRUMENT SP sampler_channel |
10314 |
|
|
10315 |
|
</p> |
10316 |
|
</blockquote><p> |
10317 |
|
|
10318 |
|
</p> |
10319 |
|
<p>format_instruction = |
10320 |
|
</p> |
10321 |
|
<blockquote class="text"> |
10322 |
|
<p>INSTRUMENTS_DB |
10323 |
|
|
10324 |
|
</p> |
10325 |
|
</blockquote><p> |
10326 |
|
|
10327 |
|
</p> |
10328 |
|
<p>modal_arg = |
10329 |
|
</p> |
10330 |
|
<blockquote class="text"> |
10331 |
|
<p>/* epsilon (empty argument) */ |
10332 |
|
|
10333 |
|
</p> |
10334 |
|
<p>/ NON_MODAL SP |
10335 |
|
|
10336 |
|
</p> |
10337 |
</blockquote><p> |
</blockquote><p> |
10338 |
|
|
10339 |
</p> |
</p> |
10382 |
<p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
<p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
10383 |
|
|
10384 |
</p> |
</p> |
10385 |
|
<p>/ MIDI_INSTRUMENTS SP midi_map |
10386 |
|
|
10387 |
|
</p> |
10388 |
|
<p>/ MIDI_INSTRUMENTS SP ALL |
10389 |
|
|
10390 |
|
</p> |
10391 |
|
<p>/ MIDI_INSTRUMENT_MAPS |
10392 |
|
|
10393 |
|
</p> |
10394 |
|
<p>/ FX_SENDS SP sampler_channel |
10395 |
|
|
10396 |
|
</p> |
10397 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path |
10398 |
|
|
10399 |
|
</p> |
10400 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path |
10401 |
|
|
10402 |
|
</p> |
10403 |
|
<p>/ DB_INSTRUMENTS SP RECURSIVE SP db_path |
10404 |
|
|
10405 |
|
</p> |
10406 |
|
<p>/ DB_INSTRUMENTS SP db_path |
10407 |
|
|
10408 |
|
</p> |
10409 |
|
<p>/ FILE SP INSTRUMENTS SP filename |
10410 |
|
|
10411 |
|
</p> |
10412 |
</blockquote><p> |
</blockquote><p> |
10413 |
|
|
10414 |
</p> |
</p> |
10433 |
</blockquote><p> |
</blockquote><p> |
10434 |
|
|
10435 |
</p> |
</p> |
10436 |
|
<p>instr_load_mode = |
10437 |
|
</p> |
10438 |
|
<blockquote class="text"> |
10439 |
|
<p>ON_DEMAND |
10440 |
|
|
10441 |
|
</p> |
10442 |
|
<p>/ ON_DEMAND_HOLD |
10443 |
|
|
10444 |
|
</p> |
10445 |
|
<p>/ PERSISTENT |
10446 |
|
|
10447 |
|
</p> |
10448 |
|
</blockquote><p> |
10449 |
|
|
10450 |
|
</p> |
10451 |
<p>device_index = |
<p>device_index = |
10452 |
</p> |
</p> |
10453 |
<blockquote class="text"> |
<blockquote class="text"> |
10505 |
</blockquote><p> |
</blockquote><p> |
10506 |
|
|
10507 |
</p> |
</p> |
10508 |
|
<p>midi_map = |
10509 |
|
</p> |
10510 |
|
<blockquote class="text"> |
10511 |
|
<p>number |
10512 |
|
|
10513 |
|
</p> |
10514 |
|
</blockquote><p> |
10515 |
|
|
10516 |
|
</p> |
10517 |
|
<p>midi_bank = |
10518 |
|
</p> |
10519 |
|
<blockquote class="text"> |
10520 |
|
<p>number |
10521 |
|
|
10522 |
|
</p> |
10523 |
|
</blockquote><p> |
10524 |
|
|
10525 |
|
</p> |
10526 |
|
<p>midi_prog = |
10527 |
|
</p> |
10528 |
|
<blockquote class="text"> |
10529 |
|
<p>number |
10530 |
|
|
10531 |
|
</p> |
10532 |
|
</blockquote><p> |
10533 |
|
|
10534 |
|
</p> |
10535 |
|
<p>midi_ctrl = |
10536 |
|
</p> |
10537 |
|
<blockquote class="text"> |
10538 |
|
<p>number |
10539 |
|
|
10540 |
|
</p> |
10541 |
|
</blockquote><p> |
10542 |
|
|
10543 |
|
</p> |
10544 |
<p>volume_value = |
<p>volume_value = |
10545 |
</p> |
</p> |
10546 |
<blockquote class="text"> |
<blockquote class="text"> |
10571 |
</blockquote><p> |
</blockquote><p> |
10572 |
|
|
10573 |
</p> |
</p> |
10574 |
|
<p>fx_send_id = |
10575 |
|
</p> |
10576 |
|
<blockquote class="text"> |
10577 |
|
<p>number |
10578 |
|
|
10579 |
|
</p> |
10580 |
|
</blockquote><p> |
10581 |
|
|
10582 |
|
</p> |
10583 |
<p>engine_name = |
<p>engine_name = |
10584 |
</p> |
</p> |
10585 |
<blockquote class="text"> |
<blockquote class="text"> |
10592 |
<p>filename = |
<p>filename = |
10593 |
</p> |
</p> |
10594 |
<blockquote class="text"> |
<blockquote class="text"> |
10595 |
<p>stringval |
<p>path |
10596 |
|
|
10597 |
|
</p> |
10598 |
|
</blockquote><p> |
10599 |
|
|
10600 |
|
</p> |
10601 |
|
<p>db_path = |
10602 |
|
</p> |
10603 |
|
<blockquote class="text"> |
10604 |
|
<p>path |
10605 |
|
|
10606 |
|
</p> |
10607 |
|
</blockquote><p> |
10608 |
|
|
10609 |
|
</p> |
10610 |
|
<p>map_name = |
10611 |
|
</p> |
10612 |
|
<blockquote class="text"> |
10613 |
|
<p>stringval_escaped |
10614 |
|
|
10615 |
|
</p> |
10616 |
|
</blockquote><p> |
10617 |
|
|
10618 |
|
</p> |
10619 |
|
<p>entry_name = |
10620 |
|
</p> |
10621 |
|
<blockquote class="text"> |
10622 |
|
<p>stringval_escaped |
10623 |
|
|
10624 |
|
</p> |
10625 |
|
</blockquote><p> |
10626 |
|
|
10627 |
|
</p> |
10628 |
|
<p>fx_send_name = |
10629 |
|
</p> |
10630 |
|
<blockquote class="text"> |
10631 |
|
<p>stringval_escaped |
10632 |
|
|
10633 |
</p> |
</p> |
10634 |
</blockquote><p> |
</blockquote><p> |
10664 |
</blockquote><p> |
</blockquote><p> |
10665 |
|
|
10666 |
</p> |
</p> |
10667 |
|
<p>query_val_list = |
10668 |
|
</p> |
10669 |
|
<blockquote class="text"> |
10670 |
|
<p>string '=' query_val |
10671 |
|
|
10672 |
|
</p> |
10673 |
|
<p>/ query_val_list SP string '=' query_val |
10674 |
|
|
10675 |
|
</p> |
10676 |
|
</blockquote><p> |
10677 |
|
|
10678 |
|
</p> |
10679 |
|
<p>query_val = |
10680 |
|
</p> |
10681 |
|
<blockquote class="text"> |
10682 |
|
<p>text_escaped |
10683 |
|
|
10684 |
|
</p> |
10685 |
|
<p>/ stringval_escaped |
10686 |
|
|
10687 |
|
</p> |
10688 |
|
</blockquote><p> |
10689 |
|
|
10690 |
|
</p> |
10691 |
|
<p>scan_mode = |
10692 |
|
</p> |
10693 |
|
<blockquote class="text"> |
10694 |
|
<p>RECURSIVE |
10695 |
|
|
10696 |
|
</p> |
10697 |
|
<p>/ NON_RECURSIVE |
10698 |
|
|
10699 |
|
</p> |
10700 |
|
<p>/ FLAT |
10701 |
|
|
10702 |
|
</p> |
10703 |
|
</blockquote><p> |
10704 |
|
|
10705 |
|
</p> |
10706 |
|
<a name="character_set"></a><br /><hr /> |
10707 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10708 |
|
<a name="rfc.section.7.1"></a><h3>7.1. |
10709 |
|
Character Set and Escape Sequences</h3> |
10710 |
|
|
10711 |
|
<p>Older versions of this protocol up to and including v1.1 only |
10712 |
|
supported the standard ASCII character set (ASCII code 0 - 127) |
10713 |
|
<a class='info' href='#RFC20'>[RFC20]<span> (</span><span class='info'>UCLA, “ASCII format for Network Interchange,” 1969.</span><span>)</span></a>, all younger versions of this protocol |
10714 |
|
however support the Extended ASCII character set (ASCII code |
10715 |
|
0 - 255). The same group of younger protocols also support |
10716 |
|
escape sequences, but only for certain, explicitly declared |
10717 |
|
parts of the protocol. The supported escape sequences are |
10718 |
|
defined as follows: |
10719 |
|
</p><table class="full" align="center" border="0" cellpadding="2" cellspacing="2"> |
10720 |
|
<col align="left"><col align="left"> |
10721 |
|
<tr><th align="left">ASCII Character Sequence</th><th align="left">Translated into (Name)</th></tr> |
10722 |
|
<tr> |
10723 |
|
<td align="left">\n</td> |
10724 |
|
<td align="left">new line</td> |
10725 |
|
</tr> |
10726 |
|
<tr> |
10727 |
|
<td align="left">\r</td> |
10728 |
|
<td align="left">carriage return</td> |
10729 |
|
</tr> |
10730 |
|
<tr> |
10731 |
|
<td align="left">\f</td> |
10732 |
|
<td align="left">form feed</td> |
10733 |
|
</tr> |
10734 |
|
<tr> |
10735 |
|
<td align="left">\t</td> |
10736 |
|
<td align="left">horizontal tab</td> |
10737 |
|
</tr> |
10738 |
|
<tr> |
10739 |
|
<td align="left">\v</td> |
10740 |
|
<td align="left">vertical tab</td> |
10741 |
|
</tr> |
10742 |
|
<tr> |
10743 |
|
<td align="left">\'</td> |
10744 |
|
<td align="left">apostrophe</td> |
10745 |
|
</tr> |
10746 |
|
<tr> |
10747 |
|
<td align="left">\"</td> |
10748 |
|
<td align="left">quotation mark</td> |
10749 |
|
</tr> |
10750 |
|
<tr> |
10751 |
|
<td align="left">\\</td> |
10752 |
|
<td align="left">backslash</td> |
10753 |
|
</tr> |
10754 |
|
<tr> |
10755 |
|
<td align="left">\OOO</td> |
10756 |
|
<td align="left">three digit octal ASCII code of the character</td> |
10757 |
|
</tr> |
10758 |
|
<tr> |
10759 |
|
<td align="left">\xHH</td> |
10760 |
|
<td align="left">two digit hex ASCII code of the character</td> |
10761 |
|
</tr> |
10762 |
|
</table> |
10763 |
|
<br clear="all" /> |
10764 |
|
|
10765 |
|
<p>Notice: due to the transition of certain parts of the |
10766 |
|
protocol which now support escape sequences, a slight backward |
10767 |
|
incompatibility to protocols version v1.1 and younger has been |
10768 |
|
introduced. The only difference is that in parts of the protocol |
10769 |
|
where escape characters are now supported, a backslash characters |
10770 |
|
MUST be escaped as well (that is as double backslash), whereas |
10771 |
|
in the old versions a single backslash was sufficient. |
10772 |
|
</p> |
10773 |
|
<p>The following LSCP commands support escape sequences as part |
10774 |
|
of their filename / path based arguments and / or may contain |
10775 |
|
a filename / path with escape sequences in their response: |
10776 |
|
</p> |
10777 |
|
<blockquote class="text"> |
10778 |
|
<p><a class='info' href='#LOAD INSTRUMENT'>"LOAD INSTRUMENT"<span> (</span><span class='info'>Loading an instrument</span><span>)</span></a> |
10779 |
|
</p> |
10780 |
|
<p><a class='info' href='#GET CHANNEL INFO'>"GET CHANNEL INFO"<span> (</span><span class='info'>Getting sampler channel information</span><span>)</span></a> |
10781 |
|
</p> |
10782 |
|
<p><a class='info' href='#MAP MIDI_INSTRUMENT'>"MAP MIDI_INSTRUMENT"<span> (</span><span class='info'>Create or replace a MIDI instrument map entry</span><span>)</span></a> |
10783 |
|
</p> |
10784 |
|
<p><a class='info' href='#GET MIDI_INSTRUMENT INFO'>"GET MIDI_INSTRUMENT INFO"<span> (</span><span class='info'>Get current settings of MIDI instrument map entry</span><span>)</span></a> |
10785 |
|
</p> |
10786 |
|
<p><a class='info' href='#ADD DB_INSTRUMENT_DIRECTORY'>"ADD DB_INSTRUMENT_DIRECTORY"<span> (</span><span class='info'>Creating a new instrument directory</span><span>)</span></a> |
10787 |
|
</p> |
10788 |
|
<p><a class='info' href='#ADD DB_INSTRUMENTS'>"ADD DB_INSTRUMENTS"<span> (</span><span class='info'>Adding instruments to the instruments database</span><span>)</span></a> |
10789 |
|
</p> |
10790 |
|
<p><a class='info' href='#REMOVE DB_INSTRUMENT_DIRECTORY'>"REMOVE DB_INSTRUMENT_DIRECTORY"<span> (</span><span class='info'>Deleting an instrument directory</span><span>)</span></a> |
10791 |
|
</p> |
10792 |
|
<p><a class='info' href='#REMOVE DB_INSTRUMENT'>"REMOVE DB_INSTRUMENT"<span> (</span><span class='info'>Removing an instrument</span><span>)</span></a> |
10793 |
|
</p> |
10794 |
|
<p><a class='info' href='#GET DB_INSTRUMENT_DIRECTORIES'>"GET DB_INSTRUMENT_DIRECTORIES"<span> (</span><span class='info'>Getting amount of instrument directories</span><span>)</span></a> |
10795 |
|
</p> |
10796 |
|
<p><a class='info' href='#LIST DB_INSTRUMENT_DIRECTORIES'>"LIST DB_INSTRUMENT_DIRECTORIES"<span> (</span><span class='info'>Listing all directories in specific directory</span><span>)</span></a> |
10797 |
|
</p> |
10798 |
|
<p><a class='info' href='#GET DB_INSTRUMENT_DIRECTORY INFO'>"GET DB_INSTRUMENT_DIRECTORY INFO"<span> (</span><span class='info'>Getting instrument directory information</span><span>)</span></a> |
10799 |
|
</p> |
10800 |
|
<p><a class='info' href='#GET DB_INSTRUMENTS'>"GET DB_INSTRUMENTS"<span> (</span><span class='info'>Getting amount of instruments</span><span>)</span></a> |
10801 |
|
</p> |
10802 |
|
<p><a class='info' href='#LIST DB_INSTRUMENTS'>"LIST DB_INSTRUMENTS"<span> (</span><span class='info'>Listing all instruments in specific directory</span><span>)</span></a> |
10803 |
|
</p> |
10804 |
|
<p><a class='info' href='#GET DB_INSTRUMENT INFO'>"GET DB_INSTRUMENT INFO"<span> (</span><span class='info'>Getting instrument information</span><span>)</span></a> |
10805 |
|
</p> |
10806 |
|
<p><a class='info' href='#SET DB_INSTRUMENT_DIRECTORY NAME'>"SET DB_INSTRUMENT_DIRECTORY NAME"<span> (</span><span class='info'>Renaming an instrument directory</span><span>)</span></a> |
10807 |
|
</p> |
10808 |
|
<p><a class='info' href='#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION'>"SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"<span> (</span><span class='info'>Changing the description of directory</span><span>)</span></a> |
10809 |
|
</p> |
10810 |
|
<p><a class='info' href='#SET DB_INSTRUMENT NAME'>"SET DB_INSTRUMENT NAME"<span> (</span><span class='info'>Renaming an instrument</span><span>)</span></a> |
10811 |
|
</p> |
10812 |
|
<p><a class='info' href='#SET DB_INSTRUMENT DESCRIPTION'>"SET DB_INSTRUMENT DESCRIPTION"<span> (</span><span class='info'>Changing the description of instrument</span><span>)</span></a> |
10813 |
|
</p> |
10814 |
|
<p><a class='info' href='#FIND DB_INSTRUMENTS'>"FIND DB_INSTRUMENTS"<span> (</span><span class='info'>Finding instruments</span><span>)</span></a> |
10815 |
|
</p> |
10816 |
|
<p><a class='info' href='#FIND DB_INSTRUMENT_DIRECTORIES'>"FIND DB_INSTRUMENT_DIRECTORIES"<span> (</span><span class='info'>Finding directories</span><span>)</span></a> |
10817 |
|
</p> |
10818 |
|
<p><a class='info' href='#MOVE DB_INSTRUMENT'>"MOVE DB_INSTRUMENT"<span> (</span><span class='info'>Moving an instrument</span><span>)</span></a> |
10819 |
|
</p> |
10820 |
|
<p><a class='info' href='#MOVE DB_INSTRUMENT_DIRECTORY'>"MOVE DB_INSTRUMENT_DIRECTORY"<span> (</span><span class='info'>Moving an instrument directory</span><span>)</span></a> |
10821 |
|
</p> |
10822 |
|
<p><a class='info' href='#COPY DB_INSTRUMENT'>"COPY DB_INSTRUMENT"<span> (</span><span class='info'>Copying instruments</span><span>)</span></a> |
10823 |
|
</p> |
10824 |
|
<p><a class='info' href='#COPY DB_INSTRUMENT_DIRECTORY'>"COPY DB_INSTRUMENT_DIRECTORY"<span> (</span><span class='info'>Copying instrument directories</span><span>)</span></a> |
10825 |
|
</p> |
10826 |
|
<p><a class='info' href='#FIND LOST DB_INSTRUMENT_FILES'>"FIND LOST DB_INSTRUMENT_FILES"<span> (</span><span class='info'>Checking for lost instrument files</span><span>)</span></a> |
10827 |
|
</p> |
10828 |
|
<p><a class='info' href='#SET DB_INSTRUMENT FILE_PATH'>"SET DB_INSTRUMENT FILE_PATH"<span> (</span><span class='info'>Replacing an instrument file</span><span>)</span></a> |
10829 |
|
</p> |
10830 |
|
<p><a class='info' href='#GET FILE INSTRUMENTS'>"GET FILE INSTRUMENTS"<span> (</span><span class='info'>Retrieving amount of instruments of a file</span><span>)</span></a> |
10831 |
|
</p> |
10832 |
|
<p><a class='info' href='#LIST FILE INSTRUMENTS'>"LIST FILE INSTRUMENTS"<span> (</span><span class='info'>Retrieving all instruments of a file</span><span>)</span></a> |
10833 |
|
</p> |
10834 |
|
<p><a class='info' href='#GET FILE INSTRUMENT INFO'>"GET FILE INSTRUMENT INFO"<span> (</span><span class='info'>Retrieving informations about one instrument in a file</span><span>)</span></a> |
10835 |
|
</p> |
10836 |
|
</blockquote><p> |
10837 |
|
Note that the forward slash character ('/') has a special meaning in |
10838 |
|
filename / path based arguments: it acts as separator of the nodes in |
10839 |
|
the path, thus if a directory- or filename includes a forward slash |
10840 |
|
(not intended as path node separator), you MUST escape that slash |
10841 |
|
either with the respective hex escape sequence ("\x2f") or with the |
10842 |
|
respective octal escape sequence ("\057"). |
10843 |
|
|
10844 |
|
</p> |
10845 |
|
<p> |
10846 |
|
Note for Windows: file path arguments in LSCP are expected |
10847 |
|
to use forward slashes as directory node separator similar |
10848 |
|
to Unix based operating systems. In contrast to Unix however |
10849 |
|
a Windows typical drive character is expected to be |
10850 |
|
prefixed to the path. That is an original Windows file path |
10851 |
|
like "D:\Sounds\My.gig" would become in LSCP: |
10852 |
|
"D:/Sounds/My.gig". |
10853 |
|
|
10854 |
|
</p> |
10855 |
|
<p> |
10856 |
|
The following LSCP commands even support escape sequences as |
10857 |
|
part of at least one of their text-based arguments (i.e. entity name, |
10858 |
|
description) and / or may contain escape sequences in at least one of |
10859 |
|
their text-based fields in their response: |
10860 |
|
</p> |
10861 |
|
<blockquote class="text"> |
10862 |
|
<p><a class='info' href='#GET SERVER INFO'>"GET SERVER INFO"<span> (</span><span class='info'>General sampler informations</span><span>)</span></a> |
10863 |
|
</p> |
10864 |
|
<p><a class='info' href='#GET ENGINE INFO'>"GET ENGINE INFO"<span> (</span><span class='info'>Getting information about an engine</span><span>)</span></a> |
10865 |
|
</p> |
10866 |
|
<p><a class='info' href='#GET CHANNEL INFO'>"GET CHANNEL INFO"<span> (</span><span class='info'>Getting sampler channel information</span><span>)</span></a> |
10867 |
|
</p> |
10868 |
|
<p><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> |
10869 |
|
</p> |
10870 |
|
<p><a class='info' href='#GET FX_SEND INFO'>"GET FX_SEND INFO"<span> (</span><span class='info'>Getting effect send information</span><span>)</span></a> |
10871 |
|
</p> |
10872 |
|
<p><a class='info' href='#SET FX_SEND NAME'>"SET FX_SEND NAME"<span> (</span><span class='info'>Changing effect send's name</span><span>)</span></a> |
10873 |
|
</p> |
10874 |
|
<p><a class='info' href='#GET MIDI_INSTRUMENT INFO'>"GET MIDI_INSTRUMENT INFO"<span> (</span><span class='info'>Get current settings of MIDI instrument map entry</span><span>)</span></a> |
10875 |
|
</p> |
10876 |
|
<p><a class='info' href='#GET MIDI_INSTRUMENT_MAP INFO'>"GET MIDI_INSTRUMENT_MAP INFO"<span> (</span><span class='info'>Getting MIDI instrument map information</span><span>)</span></a> |
10877 |
|
</p> |
10878 |
|
<p><a class='info' href='#ADD MIDI_INSTRUMENT_MAP'>"ADD MIDI_INSTRUMENT_MAP"<span> (</span><span class='info'>Create a new MIDI instrument map</span><span>)</span></a> |
10879 |
|
</p> |
10880 |
|
<p><a class='info' href='#MAP MIDI_INSTRUMENT'>"MAP MIDI_INSTRUMENT"<span> (</span><span class='info'>Create or replace a MIDI instrument map entry</span><span>)</span></a> |
10881 |
|
</p> |
10882 |
|
<p><a class='info' href='#SET MIDI_INSTRUMENT_MAP NAME'>"SET MIDI_INSTRUMENT_MAP NAME"<span> (</span><span class='info'>Renaming a MIDI instrument map</span><span>)</span></a> |
10883 |
|
</p> |
10884 |
|
<p><a class='info' href='#GET DB_INSTRUMENT_DIRECTORY INFO'>"GET DB_INSTRUMENT_DIRECTORY INFO"<span> (</span><span class='info'>Getting instrument directory information</span><span>)</span></a> |
10885 |
|
</p> |
10886 |
|
<p><a class='info' href='#SET DB_INSTRUMENT_DIRECTORY NAME'>"SET DB_INSTRUMENT_DIRECTORY NAME"<span> (</span><span class='info'>Renaming an instrument directory</span><span>)</span></a> |
10887 |
|
</p> |
10888 |
|
<p><a class='info' href='#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION'>"SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"<span> (</span><span class='info'>Changing the description of directory</span><span>)</span></a> |
10889 |
|
</p> |
10890 |
|
<p><a class='info' href='#FIND DB_INSTRUMENT_DIRECTORIES'>"FIND DB_INSTRUMENT_DIRECTORIES"<span> (</span><span class='info'>Finding directories</span><span>)</span></a> |
10891 |
|
</p> |
10892 |
|
<p><a class='info' href='#GET DB_INSTRUMENT INFO'>"GET DB_INSTRUMENT INFO"<span> (</span><span class='info'>Getting instrument information</span><span>)</span></a> |
10893 |
|
</p> |
10894 |
|
<p><a class='info' href='#SET DB_INSTRUMENT NAME'>"SET DB_INSTRUMENT NAME"<span> (</span><span class='info'>Renaming an instrument</span><span>)</span></a> |
10895 |
|
</p> |
10896 |
|
<p><a class='info' href='#SET DB_INSTRUMENT DESCRIPTION'>"SET DB_INSTRUMENT DESCRIPTION"<span> (</span><span class='info'>Changing the description of instrument</span><span>)</span></a> |
10897 |
|
</p> |
10898 |
|
<p><a class='info' href='#FIND DB_INSTRUMENTS'>"FIND DB_INSTRUMENTS"<span> (</span><span class='info'>Finding instruments</span><span>)</span></a> |
10899 |
|
</p> |
10900 |
|
</blockquote><p> |
10901 |
|
Please note that these lists are manually maintained. If you |
10902 |
|
find a command that also supports escape sequences we forgot to |
10903 |
|
mention here, please report it! |
10904 |
|
|
10905 |
|
</p> |
10906 |
<a name="events"></a><br /><hr /> |
<a name="events"></a><br /><hr /> |
10907 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
10908 |
<a name="rfc.section.8"></a><h3>8. Events</h3> |
<a name="rfc.section.8"></a><h3>8. |
10909 |
|
Events</h3> |
10910 |
|
|
10911 |
<p>This chapter will describe all currently defined events supported by LinuxSampler. |
<p>This chapter will describe all currently defined events supported by LinuxSampler. |
10912 |
</p> |
</p> |
10913 |
<a name="SUBSCRIBE CHANNEL"></a><br /><hr /> |
<a name="SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT"></a><br /><hr /> |
10914 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
10915 |
<a name="rfc.section.8.1"></a><h3>8.1. Number of sampler channels changed</h3> |
<a name="rfc.section.8.1"></a><h3>8.1. |
10916 |
|
Number of audio output devices changed</h3> |
10917 |
|
|
10918 |
|
<p>Client may want to be notified when the total number of audio output devices on the |
10919 |
|
back-end changes by issuing the following command: |
10920 |
|
</p> |
10921 |
|
<p> |
10922 |
|
</p> |
10923 |
|
<blockquote class="text"> |
10924 |
|
<p>SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT |
10925 |
|
</p> |
10926 |
|
</blockquote><p> |
10927 |
|
|
10928 |
|
</p> |
10929 |
|
<p>Server will start sending the following notification messages: |
10930 |
|
</p> |
10931 |
|
<p> |
10932 |
|
</p> |
10933 |
|
<blockquote class="text"> |
10934 |
|
<p>"NOTIFY:AUDIO_OUTPUT_DEVICE_COUNT:<devices>" |
10935 |
|
</p> |
10936 |
|
</blockquote><p> |
10937 |
|
|
10938 |
|
</p> |
10939 |
|
<p>where <devices> will be replaced by the new number |
10940 |
|
of audio output devices. |
10941 |
|
</p> |
10942 |
|
<a name="SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO"></a><br /><hr /> |
10943 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10944 |
|
<a name="rfc.section.8.2"></a><h3>8.2. |
10945 |
|
Audio output device's settings changed</h3> |
10946 |
|
|
10947 |
|
<p>Client may want to be notified when changes were made to audio output devices on the |
10948 |
|
back-end by issuing the following command: |
10949 |
|
</p> |
10950 |
|
<p> |
10951 |
|
</p> |
10952 |
|
<blockquote class="text"> |
10953 |
|
<p>SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO |
10954 |
|
</p> |
10955 |
|
</blockquote><p> |
10956 |
|
|
10957 |
|
</p> |
10958 |
|
<p>Server will start sending the following notification messages: |
10959 |
|
</p> |
10960 |
|
<p> |
10961 |
|
</p> |
10962 |
|
<blockquote class="text"> |
10963 |
|
<p>"NOTIFY:AUDIO_OUTPUT_DEVICE_INFO:<device-id>" |
10964 |
|
</p> |
10965 |
|
</blockquote><p> |
10966 |
|
|
10967 |
|
</p> |
10968 |
|
<p>where <device-id> will be replaced by the numerical ID of the audio output device, |
10969 |
|
which settings has been changed. The front-end will have to send |
10970 |
|
the respective command to actually get the audio output device info. Because these messages |
10971 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10972 |
|
time events happening on the server, it is believed that an empty notification |
10973 |
|
message is sufficient here. |
10974 |
|
</p> |
10975 |
|
<a name="SUBSCRIBE MIDI_INPUT_DEVICE_COUNT"></a><br /><hr /> |
10976 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10977 |
|
<a name="rfc.section.8.3"></a><h3>8.3. |
10978 |
|
Number of MIDI input devices changed</h3> |
10979 |
|
|
10980 |
|
<p>Client may want to be notified when the total number of MIDI input devices on the |
10981 |
|
back-end changes by issuing the following command: |
10982 |
|
</p> |
10983 |
|
<p> |
10984 |
|
</p> |
10985 |
|
<blockquote class="text"> |
10986 |
|
<p>SUBSCRIBE MIDI_INPUT_DEVICE_COUNT |
10987 |
|
</p> |
10988 |
|
</blockquote><p> |
10989 |
|
|
10990 |
|
</p> |
10991 |
|
<p>Server will start sending the following notification messages: |
10992 |
|
</p> |
10993 |
|
<p> |
10994 |
|
</p> |
10995 |
|
<blockquote class="text"> |
10996 |
|
<p>"NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>" |
10997 |
|
</p> |
10998 |
|
</blockquote><p> |
10999 |
|
|
11000 |
|
</p> |
11001 |
|
<p>where <devices> will be replaced by the new number |
11002 |
|
of MIDI input devices. |
11003 |
|
</p> |
11004 |
|
<a name="SUBSCRIBE MIDI_INPUT_DEVICE_INFO"></a><br /><hr /> |
11005 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11006 |
|
<a name="rfc.section.8.4"></a><h3>8.4. |
11007 |
|
MIDI input device's settings changed</h3> |
11008 |
|
|
11009 |
|
<p>Client may want to be notified when changes were made to MIDI input devices on the |
11010 |
|
back-end by issuing the following command: |
11011 |
|
</p> |
11012 |
|
<p> |
11013 |
|
</p> |
11014 |
|
<blockquote class="text"> |
11015 |
|
<p>SUBSCRIBE MIDI_INPUT_DEVICE_INFO |
11016 |
|
</p> |
11017 |
|
</blockquote><p> |
11018 |
|
|
11019 |
|
</p> |
11020 |
|
<p>Server will start sending the following notification messages: |
11021 |
|
</p> |
11022 |
|
<p> |
11023 |
|
</p> |
11024 |
|
<blockquote class="text"> |
11025 |
|
<p>"NOTIFY:MIDI_INPUT_DEVICE_INFO:<device-id>" |
11026 |
|
</p> |
11027 |
|
</blockquote><p> |
11028 |
|
|
11029 |
|
</p> |
11030 |
|
<p>where <device-id> will be replaced by the numerical ID of the MIDI input device, |
11031 |
|
which settings has been changed. The front-end will have to send |
11032 |
|
the respective command to actually get the MIDI input device info. Because these messages |
11033 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11034 |
|
time events happening on the server, it is believed that an empty notification |
11035 |
|
message is sufficient here. |
11036 |
|
</p> |
11037 |
|
<a name="SUBSCRIBE CHANNEL_COUNT"></a><br /><hr /> |
11038 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11039 |
|
<a name="rfc.section.8.5"></a><h3>8.5. |
11040 |
|
Number of sampler channels changed</h3> |
11041 |
|
|
11042 |
<p>Client may want to be notified when the total number of channels on the |
<p>Client may want to be notified when the total number of channels on the |
11043 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
11063 |
<p>where <channels> will be replaced by the new number |
<p>where <channels> will be replaced by the new number |
11064 |
of sampler channels. |
of sampler channels. |
11065 |
</p> |
</p> |
11066 |
|
<a name="SUBSCRIBE CHANNEL_MIDI"></a><br /><hr /> |
11067 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11068 |
|
<a name="rfc.section.8.6"></a><h3>8.6. |
11069 |
|
MIDI data on a sampler channel arrived</h3> |
11070 |
|
|
11071 |
|
<p>Client may want to be notified when MIDI data arrive on sampler channels on |
11072 |
|
back-end side, by issuing the following command: |
11073 |
|
</p> |
11074 |
|
<p> |
11075 |
|
</p> |
11076 |
|
<blockquote class="text"> |
11077 |
|
<p>SUBSCRIBE CHANNEL_MIDI |
11078 |
|
</p> |
11079 |
|
</blockquote><p> |
11080 |
|
|
11081 |
|
</p> |
11082 |
|
<p>Server will start sending one of the the following notification messages: |
11083 |
|
</p> |
11084 |
|
<p> |
11085 |
|
</p> |
11086 |
|
<blockquote class="text"> |
11087 |
|
<p>"NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_ON <note> <velocity>" |
11088 |
|
</p> |
11089 |
|
<p>"NOTIFY:CHANNEL_MIDI:<channel-id> NOTE_OFF <note> <velocity>" |
11090 |
|
</p> |
11091 |
|
</blockquote><p> |
11092 |
|
|
11093 |
|
</p> |
11094 |
|
<p>where <channel-id> will be replaced by the ID of the sampler channel where the MIDI |
11095 |
|
data arrived. <note> and <velocity> are integer values in the range between |
11096 |
|
0 .. 127, reflecting the analog meaning of the MIDI specification. |
11097 |
|
|
11098 |
|
</p> |
11099 |
|
<p>CAUTION: no guarantee whatsoever will be made that MIDI events are actually all |
11100 |
|
delivered by this mechanism! With other words: events could be lost at any time! |
11101 |
|
This restriction was made to keep the RT-safeness of the backend's MIDI and audio |
11102 |
|
thread unaffected by this feature. |
11103 |
|
</p> |
11104 |
|
<a name="SUBSCRIBE DEVICE_MIDI"></a><br /><hr /> |
11105 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11106 |
|
<a name="rfc.section.8.7"></a><h3>8.7. |
11107 |
|
MIDI data on a MIDI input device arrived</h3> |
11108 |
|
|
11109 |
|
<p>Client may want to be notified when MIDI data arrive on MIDI input devices by issuing the following command: |
11110 |
|
</p> |
11111 |
|
<p> |
11112 |
|
</p> |
11113 |
|
<blockquote class="text"> |
11114 |
|
<p>SUBSCRIBE DEVICE_MIDI |
11115 |
|
</p> |
11116 |
|
</blockquote><p> |
11117 |
|
|
11118 |
|
</p> |
11119 |
|
<p>Server will start sending one of the the following notification messages: |
11120 |
|
</p> |
11121 |
|
<p> |
11122 |
|
</p> |
11123 |
|
<blockquote class="text"> |
11124 |
|
<p>"NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_ON <note> <velocity>" |
11125 |
|
</p> |
11126 |
|
<p>"NOTIFY:DEVICE_MIDI:<device-id> <port-id> NOTE_OFF <note> <velocity>" |
11127 |
|
</p> |
11128 |
|
</blockquote><p> |
11129 |
|
|
11130 |
|
</p> |
11131 |
|
<p>where <device-id> <port-id> will be replaced |
11132 |
|
by the IDs of the respective MIDI input device and the device's MIDI port where the MIDI |
11133 |
|
data arrived. <note> and <velocity> are integer values in the range between |
11134 |
|
0 .. 127, reflecting the analog meaning of the MIDI specification. |
11135 |
|
|
11136 |
|
</p> |
11137 |
|
<p>CAUTION: no guarantee whatsoever will be made that MIDI events are actually all |
11138 |
|
delivered by this mechanism! With other words: events could be lost at any time! |
11139 |
|
This restriction was made to keep the RT-safeness of the backend's MIDI and audio |
11140 |
|
thread unaffected by this feature. |
11141 |
|
</p> |
11142 |
<a name="SUBSCRIBE VOICE_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE VOICE_COUNT"></a><br /><hr /> |
11143 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11144 |
<a name="rfc.section.8.2"></a><h3>8.2. Number of active voices changed</h3> |
<a name="rfc.section.8.8"></a><h3>8.8. |
11145 |
|
Number of active voices changed</h3> |
11146 |
|
|
11147 |
<p>Client may want to be notified when the number of voices on the |
<p>Client may want to be notified when the number of voices on the |
11148 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
11160 |
<p> |
<p> |
11161 |
</p> |
</p> |
11162 |
<blockquote class="text"> |
<blockquote class="text"> |
11163 |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices> |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices>" |
11164 |
</p> |
</p> |
11165 |
</blockquote><p> |
</blockquote><p> |
11166 |
|
|
11170 |
active voices on that channel. |
active voices on that channel. |
11171 |
</p> |
</p> |
11172 |
<a name="SUBSCRIBE STREAM_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE STREAM_COUNT"></a><br /><hr /> |
11173 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11174 |
<a name="rfc.section.8.3"></a><h3>8.3. Number of active disk streams changed</h3> |
<a name="rfc.section.8.9"></a><h3>8.9. |
11175 |
|
Number of active disk streams changed</h3> |
11176 |
|
|
11177 |
<p>Client may want to be notified when the number of streams on the back-end |
<p>Client may want to be notified when the number of streams on the back-end |
11178 |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT |
11200 |
active disk streams on that channel. |
active disk streams on that channel. |
11201 |
</p> |
</p> |
11202 |
<a name="SUBSCRIBE BUFFER_FILL"></a><br /><hr /> |
<a name="SUBSCRIBE BUFFER_FILL"></a><br /><hr /> |
11203 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11204 |
<a name="rfc.section.8.4"></a><h3>8.4. Disk stream buffer fill state changed</h3> |
<a name="rfc.section.8.10"></a><h3>8.10. |
11205 |
|
Disk stream buffer fill state changed</h3> |
11206 |
|
|
11207 |
<p>Client may want to be notified when the buffer fill state of a disk stream |
<p>Client may want to be notified when the buffer fill state of a disk stream |
11208 |
on the back-end changes by issuing the following command: |
on the back-end changes by issuing the following command: |
11227 |
</p> |
</p> |
11228 |
<p>where <sampler-channel> will be replaced by the sampler channel the |
<p>where <sampler-channel> will be replaced by the sampler channel the |
11229 |
buffer fill state change occurred on and <fill-data> will be replaced by the |
buffer fill state change occurred on and <fill-data> will be replaced by the |
11230 |
buffer fill data for this channel as described in <a class="info" href="#GET CHANNEL BUFFER_FILL">Section 6.4.13<span> (</span><span class="info">Current fill state of disk stream buffers</span><span>)</span></a> |
buffer fill data for this channel as described in <a class='info' href='#GET CHANNEL BUFFER_FILL'>Section 6.4.13<span> (</span><span class='info'>Current fill state of disk stream buffers</span><span>)</span></a> |
11231 |
as if the <a class="info" href="#GET CHANNEL BUFFER_FILL">"GET CHANNEL BUFFER_FILL PERCENTAGE"<span> (</span><span class="info">Current fill state of disk stream buffers</span><span>)</span></a> command was issued on this channel. |
as if the <a class='info' href='#GET CHANNEL BUFFER_FILL'>"GET CHANNEL BUFFER_FILL PERCENTAGE"<span> (</span><span class='info'>Current fill state of disk stream buffers</span><span>)</span></a> command was issued on this channel. |
11232 |
</p> |
</p> |
11233 |
<a name="SUBSCRIBE INFO"></a><br /><hr /> |
<a name="SUBSCRIBE CHANNEL_INFO"></a><br /><hr /> |
11234 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11235 |
<a name="rfc.section.8.5"></a><h3>8.5. Channel information changed</h3> |
<a name="rfc.section.8.11"></a><h3>8.11. |
11236 |
|
Channel information changed</h3> |
11237 |
|
|
11238 |
<p>Client may want to be notified when changes were made to sampler channels on the |
<p>Client may want to be notified when changes were made to sampler channels on the |
11239 |
back-end by issuing the following command: |
back-end by issuing the following command: |
11263 |
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 |
11264 |
message is sufficient here. |
message is sufficient here. |
11265 |
</p> |
</p> |
11266 |
|
<a name="SUBSCRIBE FX_SEND_COUNT"></a><br /><hr /> |
11267 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11268 |
|
<a name="rfc.section.8.12"></a><h3>8.12. |
11269 |
|
Number of effect sends changed</h3> |
11270 |
|
|
11271 |
|
<p>Client may want to be notified when the number of effect sends on |
11272 |
|
a particular sampler channel is changed by issuing the following command: |
11273 |
|
</p> |
11274 |
|
<p> |
11275 |
|
</p> |
11276 |
|
<blockquote class="text"> |
11277 |
|
<p>SUBSCRIBE FX_SEND_COUNT |
11278 |
|
</p> |
11279 |
|
</blockquote><p> |
11280 |
|
|
11281 |
|
</p> |
11282 |
|
<p>Server will start sending the following notification messages: |
11283 |
|
</p> |
11284 |
|
<p> |
11285 |
|
</p> |
11286 |
|
<blockquote class="text"> |
11287 |
|
<p>"NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>" |
11288 |
|
</p> |
11289 |
|
</blockquote><p> |
11290 |
|
|
11291 |
|
</p> |
11292 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
11293 |
|
channel, on which the effect sends number is changed and <fx-sends> will |
11294 |
|
be replaced by the new number of effect sends on that channel. |
11295 |
|
</p> |
11296 |
|
<a name="SUBSCRIBE FX_SEND_INFO"></a><br /><hr /> |
11297 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11298 |
|
<a name="rfc.section.8.13"></a><h3>8.13. |
11299 |
|
Effect send information changed</h3> |
11300 |
|
|
11301 |
|
<p>Client may want to be notified when changes were made to effect sends on a |
11302 |
|
a particular sampler channel by issuing the following command: |
11303 |
|
</p> |
11304 |
|
<p> |
11305 |
|
</p> |
11306 |
|
<blockquote class="text"> |
11307 |
|
<p>SUBSCRIBE FX_SEND_INFO |
11308 |
|
</p> |
11309 |
|
</blockquote><p> |
11310 |
|
|
11311 |
|
</p> |
11312 |
|
<p>Server will start sending the following notification messages: |
11313 |
|
</p> |
11314 |
|
<p> |
11315 |
|
</p> |
11316 |
|
<blockquote class="text"> |
11317 |
|
<p>"NOTIFY:FX_SEND_INFO:<channel-id> <fx-send-id>" |
11318 |
|
</p> |
11319 |
|
</blockquote><p> |
11320 |
|
|
11321 |
|
</p> |
11322 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
11323 |
|
channel, on which an effect send entity is changed and <fx-send-id> will |
11324 |
|
be replaced by the numerical ID of the changed effect send. |
11325 |
|
</p> |
11326 |
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
11327 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11328 |
<a name="rfc.section.8.6"></a><h3>8.6. Total number of active voices changed</h3> |
<a name="rfc.section.8.14"></a><h3>8.14. |
11329 |
|
Total number of active voices changed</h3> |
11330 |
|
|
11331 |
<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 |
11332 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
11344 |
<p> |
<p> |
11345 |
</p> |
</p> |
11346 |
<blockquote class="text"> |
<blockquote class="text"> |
11347 |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices> |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices>" |
11348 |
</p> |
</p> |
11349 |
</blockquote><p> |
</blockquote><p> |
11350 |
|
|
11352 |
<p>where <voices> will be replaced by the new number of |
<p>where <voices> will be replaced by the new number of |
11353 |
all currently active voices. |
all currently active voices. |
11354 |
</p> |
</p> |
11355 |
|
<a name="SUBSCRIBE TOTAL_STREAM_COUNT"></a><br /><hr /> |
11356 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11357 |
|
<a name="rfc.section.8.15"></a><h3>8.15. |
11358 |
|
Total number of active disk streams changed</h3> |
11359 |
|
|
11360 |
|
<p>Client may want to be notified when the total number of disk streams on the |
11361 |
|
back-end changes by issuing the following command: |
11362 |
|
</p> |
11363 |
|
<p> |
11364 |
|
</p> |
11365 |
|
<blockquote class="text"> |
11366 |
|
<p>SUBSCRIBE TOTAL_STREAM_COUNT |
11367 |
|
</p> |
11368 |
|
</blockquote><p> |
11369 |
|
|
11370 |
|
</p> |
11371 |
|
<p>Server will start sending the following notification messages: |
11372 |
|
</p> |
11373 |
|
<p> |
11374 |
|
</p> |
11375 |
|
<blockquote class="text"> |
11376 |
|
<p>"NOTIFY:TOTAL_STREAM_COUNT:<streams>" |
11377 |
|
</p> |
11378 |
|
</blockquote><p> |
11379 |
|
|
11380 |
|
</p> |
11381 |
|
<p>where <streams> will be replaced by the new number of |
11382 |
|
all currently active disk streams. |
11383 |
|
</p> |
11384 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr /> |
11385 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11386 |
|
<a name="rfc.section.8.16"></a><h3>8.16. |
11387 |
|
Number of MIDI instrument maps changed</h3> |
11388 |
|
|
11389 |
|
<p>Client may want to be notified when the number of MIDI instrument maps on the |
11390 |
|
back-end changes by issuing the following command: |
11391 |
|
</p> |
11392 |
|
<p> |
11393 |
|
</p> |
11394 |
|
<blockquote class="text"> |
11395 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT |
11396 |
|
</p> |
11397 |
|
</blockquote><p> |
11398 |
|
|
11399 |
|
</p> |
11400 |
|
<p>Server will start sending the following notification messages: |
11401 |
|
</p> |
11402 |
|
<p> |
11403 |
|
</p> |
11404 |
|
<blockquote class="text"> |
11405 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_MAP_COUNT:<maps>" |
11406 |
|
</p> |
11407 |
|
</blockquote><p> |
11408 |
|
|
11409 |
|
</p> |
11410 |
|
<p>where <maps> will be replaced by the new number |
11411 |
|
of MIDI instrument maps. |
11412 |
|
</p> |
11413 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr /> |
11414 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11415 |
|
<a name="rfc.section.8.17"></a><h3>8.17. |
11416 |
|
MIDI instrument map information changed</h3> |
11417 |
|
|
11418 |
|
<p>Client may want to be notified when changes were made to MIDI instrument maps on the |
11419 |
|
back-end by issuing the following command: |
11420 |
|
</p> |
11421 |
|
<p> |
11422 |
|
</p> |
11423 |
|
<blockquote class="text"> |
11424 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO |
11425 |
|
</p> |
11426 |
|
</blockquote><p> |
11427 |
|
|
11428 |
|
</p> |
11429 |
|
<p>Server will start sending the following notification messages: |
11430 |
|
</p> |
11431 |
|
<p> |
11432 |
|
</p> |
11433 |
|
<blockquote class="text"> |
11434 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>" |
11435 |
|
</p> |
11436 |
|
</blockquote><p> |
11437 |
|
|
11438 |
|
</p> |
11439 |
|
<p>where <map-id> will be replaced by the numerical ID of the MIDI instrument map, |
11440 |
|
for which information changes occurred. The front-end will have to send |
11441 |
|
the respective command to actually get the MIDI instrument map info. Because these messages |
11442 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11443 |
|
time events happening on the server, it is believed that an empty notification |
11444 |
|
message is sufficient here. |
11445 |
|
</p> |
11446 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr /> |
11447 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11448 |
|
<a name="rfc.section.8.18"></a><h3>8.18. |
11449 |
|
Number of MIDI instruments changed</h3> |
11450 |
|
|
11451 |
|
<p>Client may want to be notified when the number of MIDI instrument maps on the |
11452 |
|
back-end changes by issuing the following command: |
11453 |
|
</p> |
11454 |
|
<p> |
11455 |
|
</p> |
11456 |
|
<blockquote class="text"> |
11457 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_COUNT |
11458 |
|
</p> |
11459 |
|
</blockquote><p> |
11460 |
|
|
11461 |
|
</p> |
11462 |
|
<p>Server will start sending the following notification messages: |
11463 |
|
</p> |
11464 |
|
<p> |
11465 |
|
</p> |
11466 |
|
<blockquote class="text"> |
11467 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_COUNT:<map-id> <instruments>" |
11468 |
|
</p> |
11469 |
|
</blockquote><p> |
11470 |
|
|
11471 |
|
</p> |
11472 |
|
<p>where <map-id> is the numerical ID of the MIDI instrument map, in which |
11473 |
|
the nuber of instruments has changed and <instruments> will be replaced by |
11474 |
|
the new number of MIDI instruments in the specified map. |
11475 |
|
</p> |
11476 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr /> |
11477 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11478 |
|
<a name="rfc.section.8.19"></a><h3>8.19. |
11479 |
|
MIDI instrument information changed</h3> |
11480 |
|
|
11481 |
|
<p>Client may want to be notified when changes were made to MIDI instruments on the |
11482 |
|
back-end by issuing the following command: |
11483 |
|
</p> |
11484 |
|
<p> |
11485 |
|
</p> |
11486 |
|
<blockquote class="text"> |
11487 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_INFO |
11488 |
|
</p> |
11489 |
|
</blockquote><p> |
11490 |
|
|
11491 |
|
</p> |
11492 |
|
<p>Server will start sending the following notification messages: |
11493 |
|
</p> |
11494 |
|
<p> |
11495 |
|
</p> |
11496 |
|
<blockquote class="text"> |
11497 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_INFO:<map-id> <bank> <program>" |
11498 |
|
</p> |
11499 |
|
</blockquote><p> |
11500 |
|
|
11501 |
|
</p> |
11502 |
|
<p>where <map-id> will be replaced by the numerical ID of the MIDI instrument map, |
11503 |
|
in which a MIDI instrument is changed. <bank> and <program> specifies |
11504 |
|
the location of the changed MIDI instrument in the map. The front-end will have to send |
11505 |
|
the respective command to actually get the MIDI instrument info. Because these messages |
11506 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11507 |
|
time events happening on the server, it is believed that an empty notification |
11508 |
|
message is sufficient here. |
11509 |
|
</p> |
11510 |
|
<a name="SUBSCRIBE GLOBAL_INFO"></a><br /><hr /> |
11511 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11512 |
|
<a name="rfc.section.8.20"></a><h3>8.20. |
11513 |
|
Global settings changed</h3> |
11514 |
|
|
11515 |
|
<p>Client may want to be notified when changes to the global settings |
11516 |
|
of the sampler were made by issuing the following command: |
11517 |
|
</p> |
11518 |
|
<p> |
11519 |
|
</p> |
11520 |
|
<blockquote class="text"> |
11521 |
|
<p>SUBSCRIBE GLOBAL_INFO |
11522 |
|
</p> |
11523 |
|
</blockquote><p> |
11524 |
|
|
11525 |
|
</p> |
11526 |
|
<p>Server will start sending the following types of notification messages: |
11527 |
|
</p> |
11528 |
|
<p> |
11529 |
|
</p> |
11530 |
|
<blockquote class="text"> |
11531 |
|
<p>"NOTIFY:GLOBAL_INFO:VOLUME <volume>" - Notifies that the |
11532 |
|
golbal volume of the sampler is changed, where <volume> will be |
11533 |
|
replaced by the optional dotted floating point value, reflecting the |
11534 |
|
new global volume parameter. |
11535 |
|
</p> |
11536 |
|
</blockquote><p> |
11537 |
|
|
11538 |
|
</p> |
11539 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT"></a><br /><hr /> |
11540 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11541 |
|
<a name="rfc.section.8.21"></a><h3>8.21. |
11542 |
|
Number of database instrument directories changed</h3> |
11543 |
|
|
11544 |
|
<p>Client may want to be notified when the number of instrument |
11545 |
|
directories in a particular directory in the instruments database |
11546 |
|
is changed by issuing the following command: |
11547 |
|
</p> |
11548 |
|
<p> |
11549 |
|
</p> |
11550 |
|
<blockquote class="text"> |
11551 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT |
11552 |
|
</p> |
11553 |
|
</blockquote><p> |
11554 |
|
|
11555 |
|
</p> |
11556 |
|
<p>Server will start sending the following notification messages: |
11557 |
|
</p> |
11558 |
|
<p> |
11559 |
|
</p> |
11560 |
|
<blockquote class="text"> |
11561 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>" |
11562 |
|
</p> |
11563 |
|
</blockquote><p> |
11564 |
|
|
11565 |
|
</p> |
11566 |
|
<p>where <dir-path> will be replaced by the absolute path |
11567 |
|
name of the directory in the instruments database, |
11568 |
|
in which the number of directories is changed. |
11569 |
|
</p> |
11570 |
|
<p>Note that when a non-empty directory is removed, this event |
11571 |
|
is not sent for the subdirectories in that directory. |
11572 |
|
</p> |
11573 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO"></a><br /><hr /> |
11574 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11575 |
|
<a name="rfc.section.8.22"></a><h3>8.22. |
11576 |
|
Database instrument directory information changed</h3> |
11577 |
|
|
11578 |
|
<p>Client may want to be notified when changes were made to directories |
11579 |
|
in the instruments database by issuing the following command: |
11580 |
|
</p> |
11581 |
|
<p> |
11582 |
|
</p> |
11583 |
|
<blockquote class="text"> |
11584 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO |
11585 |
|
</p> |
11586 |
|
</blockquote><p> |
11587 |
|
|
11588 |
|
</p> |
11589 |
|
<p>Server will start sending the following notification messages: |
11590 |
|
</p> |
11591 |
|
<p> |
11592 |
|
</p> |
11593 |
|
<blockquote class="text"> |
11594 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:<dir-path>" |
11595 |
|
</p> |
11596 |
|
</blockquote><p> |
11597 |
|
|
11598 |
|
</p> |
11599 |
|
<p>where <dir-path> will be replaced by the absolute path name |
11600 |
|
of the directory, for which information changes occurred. The front-end will have to send |
11601 |
|
the respective command to actually get the updated directory info. Because these messages |
11602 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11603 |
|
time events happening on the server, it is believed that an empty notification |
11604 |
|
message is sufficient here. |
11605 |
|
</p> |
11606 |
|
<p> |
11607 |
|
</p> |
11608 |
|
<blockquote class="text"> |
11609 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:NAME <old-dir-path> <new-name>" |
11610 |
|
</p> |
11611 |
|
</blockquote><p> |
11612 |
|
|
11613 |
|
</p> |
11614 |
|
<p>where <old-dir-path> is the old absolute path name of the directory |
11615 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
11616 |
|
the new name of the directory, encapsulated into apostrophes. |
11617 |
|
</p> |
11618 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_COUNT"></a><br /><hr /> |
11619 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11620 |
|
<a name="rfc.section.8.23"></a><h3>8.23. |
11621 |
|
Number of database instruments changed</h3> |
11622 |
|
|
11623 |
|
<p>Client may want to be notified when the number of instruments |
11624 |
|
in a particular directory in the instruments database |
11625 |
|
is changed by issuing the following command: |
11626 |
|
</p> |
11627 |
|
<p> |
11628 |
|
</p> |
11629 |
|
<blockquote class="text"> |
11630 |
|
<p>SUBSCRIBE DB_INSTRUMENT_COUNT |
11631 |
|
</p> |
11632 |
|
</blockquote><p> |
11633 |
|
|
11634 |
|
</p> |
11635 |
|
<p>Server will start sending the following notification messages: |
11636 |
|
</p> |
11637 |
|
<p> |
11638 |
|
</p> |
11639 |
|
<blockquote class="text"> |
11640 |
|
<p>"NOTIFY:DB_INSTRUMENT_COUNT:<dir-path>" |
11641 |
|
</p> |
11642 |
|
</blockquote><p> |
11643 |
|
|
11644 |
|
</p> |
11645 |
|
<p>where <dir-path> will be replaced by the absolute path |
11646 |
|
name of the directory in the instruments database, |
11647 |
|
in which the number of instruments is changed. |
11648 |
|
</p> |
11649 |
|
<p>Note that when a non-empty directory is removed, this event |
11650 |
|
is not sent for the instruments in that directory. |
11651 |
|
</p> |
11652 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_INFO"></a><br /><hr /> |
11653 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11654 |
|
<a name="rfc.section.8.24"></a><h3>8.24. |
11655 |
|
Database instrument information changed</h3> |
11656 |
|
|
11657 |
|
<p>Client may want to be notified when changes were made to instruments |
11658 |
|
in the instruments database by issuing the following command: |
11659 |
|
</p> |
11660 |
|
<p> |
11661 |
|
</p> |
11662 |
|
<blockquote class="text"> |
11663 |
|
<p>SUBSCRIBE DB_INSTRUMENT_INFO |
11664 |
|
</p> |
11665 |
|
</blockquote><p> |
11666 |
|
|
11667 |
|
</p> |
11668 |
|
<p>Server will start sending the following notification messages: |
11669 |
|
</p> |
11670 |
|
<p> |
11671 |
|
</p> |
11672 |
|
<blockquote class="text"> |
11673 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:<instr-path>" |
11674 |
|
</p> |
11675 |
|
</blockquote><p> |
11676 |
|
|
11677 |
|
</p> |
11678 |
|
<p>where <instr-path> will be replaced by the absolute path name |
11679 |
|
of the instrument, which settings are changed. The front-end will have to send |
11680 |
|
the respective command to actually get the updated directory info. Because these messages |
11681 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11682 |
|
time events happening on the server, it is believed that an empty notification |
11683 |
|
message is sufficient here. |
11684 |
|
</p> |
11685 |
|
<p> |
11686 |
|
</p> |
11687 |
|
<blockquote class="text"> |
11688 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>" |
11689 |
|
</p> |
11690 |
|
</blockquote><p> |
11691 |
|
|
11692 |
|
</p> |
11693 |
|
<p>where <old-instr-path> is the old absolute path name of the instrument |
11694 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
11695 |
|
the new name of the instrument, encapsulated into apostrophes. |
11696 |
|
</p> |
11697 |
|
<a name="SUBSCRIBE DB_INSTRUMENTS_JOB_INFO"></a><br /><hr /> |
11698 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
11699 |
|
<a name="rfc.section.8.25"></a><h3>8.25. |
11700 |
|
Database job status information changed</h3> |
11701 |
|
|
11702 |
|
<p>Client may want to be notified when the status of particular database |
11703 |
|
instruments job is changed by issuing the following command: |
11704 |
|
</p> |
11705 |
|
<p> |
11706 |
|
</p> |
11707 |
|
<blockquote class="text"> |
11708 |
|
<p>SUBSCRIBE DB_INSTRUMENTS_JOB_INFO |
11709 |
|
</p> |
11710 |
|
</blockquote><p> |
11711 |
|
|
11712 |
|
</p> |
11713 |
|
<p>Server will start sending the following notification messages: |
11714 |
|
</p> |
11715 |
|
<p> |
11716 |
|
</p> |
11717 |
|
<blockquote class="text"> |
11718 |
|
<p>"NOTIFY:DB_INSTRUMENTS_JOB_INFO:<job-id>" |
11719 |
|
</p> |
11720 |
|
</blockquote><p> |
11721 |
|
|
11722 |
|
</p> |
11723 |
|
<p>where <job-id> will be replaced by the numerical ID of the job, |
11724 |
|
which status is changed. The front-end will have to send the respective |
11725 |
|
command to actually get the status info. Because these messages |
11726 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11727 |
|
time events happening on the server, it is believed that an empty notification |
11728 |
|
message is sufficient here. |
11729 |
|
</p> |
11730 |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
11731 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11732 |
<a name="rfc.section.8.7"></a><h3>8.7. Miscellaneous and debugging events</h3> |
<a name="rfc.section.8.26"></a><h3>8.26. |
11733 |
|
Miscellaneous and debugging events</h3> |
11734 |
|
|
11735 |
<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 |
11736 |
the server by issuing the following command: |
the server by issuing the following command: |
11758 |
user AS IS to facilitate debugging. |
user AS IS to facilitate debugging. |
11759 |
</p> |
</p> |
11760 |
<a name="anchor14"></a><br /><hr /> |
<a name="anchor14"></a><br /><hr /> |
11761 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11762 |
<a name="rfc.section.9"></a><h3>9. Security Considerations</h3> |
<a name="rfc.section.9"></a><h3>9. |
11763 |
|
Security Considerations</h3> |
11764 |
|
|
11765 |
<p>As there is so far no method of authentication and authorization |
<p>As there is so far no method of authentication and authorization |
11766 |
defined and so not required for a client applications to succeed to |
defined and so not required for a client applications to succeed to |
11768 |
system the LinuxSampler instance is running on. |
system the LinuxSampler instance is running on. |
11769 |
</p> |
</p> |
11770 |
<a name="anchor15"></a><br /><hr /> |
<a name="anchor15"></a><br /><hr /> |
11771 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11772 |
<a name="rfc.section.10"></a><h3>10. Acknowledgments</h3> |
<a name="rfc.section.10"></a><h3>10. |
11773 |
|
Acknowledgments</h3> |
11774 |
|
|
11775 |
<p>This document has benefited greatly from the comments of the |
<p>This document has benefited greatly from the comments of the |
11776 |
following people, discussed on the LinuxSampler developer's mailing |
following people, discussed on the LinuxSampler developer's mailing |
11791 |
|
|
11792 |
</p> |
</p> |
11793 |
<a name="rfc.references1"></a><br /><hr /> |
<a name="rfc.references1"></a><br /><hr /> |
11794 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11795 |
<h3>11. References</h3> |
<h3>11. References</h3> |
11796 |
<table width="99%" border="0"> |
<table width="99%" border="0"> |
11797 |
|
<tr><td class="author-text" valign="top"><a name="RFC20">[RFC20]</a></td> |
11798 |
|
<td class="author-text">UCLA, “<a href="http://tools.ietf.org/html/rfc20">ASCII format for Network Interchange</a>,” RFC 20, 1969.</td></tr> |
11799 |
<tr><td class="author-text" valign="top"><a name="RFC2119">[RFC2119]</a></td> |
<tr><td class="author-text" valign="top"><a name="RFC2119">[RFC2119]</a></td> |
11800 |
<td class="author-text">Bradner, S., “<a href="ftp://ftp.isi.edu/in-notes/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>,” RFC 2119, 1997.</td></tr> |
<td class="author-text">Bradner, S., “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>,” RFC 2119, 1997.</td></tr> |
11801 |
<tr><td class="author-text" valign="top"><a name="RFC2234">[RFC2234]</a></td> |
<tr><td class="author-text" valign="top"><a name="RFC2234">[RFC2234]</a></td> |
11802 |
<td class="author-text">Crocker, D. and P. Overell, “<a href="ftp://ftp.isi.edu/in-notes/rfc2234.txt">Augmented BNF for Syntax Specifications</a>,” RFC 2234, 1997.</td></tr> |
<td class="author-text">Crocker, D. and P. Overell, “<a href="http://tools.ietf.org/html/rfc2234">Augmented BNF for Syntax Specifications</a>,” RFC 2234, 1997.</td></tr> |
11803 |
<tr><td class="author-text" valign="top"><a name="RFC793">[RFC793]</a></td> |
<tr><td class="author-text" valign="top"><a name="RFC793">[RFC793]</a></td> |
11804 |
<td class="author-text">Defense Advanced Research Projects Agency, “<a href="ftp://ftp.isi.edu/in-notes/rfc793.txt">TRANSMISSION CONTROL PROTOCOL</a>,” RFC 793, 1981.</td></tr> |
<td class="author-text">Defense Advanced Research Projects Agency, “<a href="http://tools.ietf.org/html/rfc793">TRANSMISSION CONTROL PROTOCOL</a>,” RFC 793, 1981.</td></tr> |
11805 |
</table> |
</table> |
11806 |
|
|
11807 |
<a name="rfc.authors"></a><br /><hr /> |
<a name="rfc.authors"></a><br /><hr /> |
11808 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
11809 |
<h3>Author's Address</h3> |
<h3>Author's Address</h3> |
11810 |
<table width="99%" border="0" cellpadding="0" cellspacing="0"> |
<table width="99%" border="0" cellpadding="0" cellspacing="0"> |
11811 |
<tr><td class="author-text"> </td> |
<tr><td class="author-text"> </td> |
11823 |
<td class="author-text"><a href="mailto:schoenebeck at software minus engineering dot org">schoenebeck at software minus engineering dot org</a></td></tr> |
<td class="author-text"><a href="mailto:schoenebeck at software minus engineering dot org">schoenebeck at software minus engineering dot org</a></td></tr> |
11824 |
</table> |
</table> |
11825 |
<a name="rfc.copyright"></a><br /><hr /> |
<a name="rfc.copyright"></a><br /><hr /> |
11826 |
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> 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> |
|
<h3>Intellectual Property Statement</h3> |
|
|
<p class='copyright'> |
|
|
The IETF takes no position regarding the validity or scope of |
|
|
any intellectual property or other rights that might be claimed |
|
|
to pertain to the implementation or use of the technology |
|
|
described in this document or the extent to which any license |
|
|
under such rights might or might not be available; neither does |
|
|
it represent that it has made any effort to identify any such |
|
|
rights. Information on the IETF's procedures with respect to |
|
|
rights in standards-track and standards-related documentation |
|
|
can be found in BCP 11. Copies of claims of rights made |
|
|
available for publication and any assurances of licenses to |
|
|
be made available, or the result of an attempt made |
|
|
to obtain a general license or permission for the use of such |
|
|
proprietary rights by implementors or users of this |
|
|
specification can be obtained from the IETF Secretariat.</p> |
|
|
<p class='copyright'> |
|
|
The IETF invites any interested party to bring to its |
|
|
attention any copyrights, patents or patent applications, or |
|
|
other proprietary rights which may cover technology that may be |
|
|
required to practice this standard. Please address the |
|
|
information to the IETF Executive Director.</p> |
|
11827 |
<h3>Full Copyright Statement</h3> |
<h3>Full Copyright Statement</h3> |
11828 |
<p class='copyright'> |
<p class='copyright'> |
11829 |
Copyright © The Internet Society (2006). All Rights Reserved.</p> |
Copyright © The IETF Trust (2008).</p> |
11830 |
|
<p class='copyright'> |
11831 |
|
This document is subject to the rights, |
11832 |
|
licenses and restrictions contained in BCP 78, |
11833 |
|
and except as set forth therein, |
11834 |
|
the authors retain all their rights.</p> |
11835 |
<p class='copyright'> |
<p class='copyright'> |
11836 |
This document and translations of it may be copied and furnished to |
This document and the information contained herein are provided |
11837 |
others, and derivative works that comment on or otherwise explain it |
on an “AS IS” basis and THE CONTRIBUTOR, |
11838 |
or assist in its implementation may be prepared, copied, published and |
THE ORGANIZATION HE/SHE REPRESENTS |
11839 |
distributed, in whole or in part, without restriction of any kind, |
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST |
11840 |
provided that the above copyright notice and this paragraph are |
AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, |
11841 |
included on all such copies and derivative works. However, this |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT |
11842 |
document itself may not be modified in any way, such as by removing |
THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY |
11843 |
the copyright notice or references to the Internet Society or other |
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR |
11844 |
Internet organizations, except as needed for the purpose of |
PURPOSE.</p> |
11845 |
developing Internet standards in which case the procedures for |
<h3>Intellectual Property</h3> |
|
copyrights defined in the Internet Standards process must be |
|
|
followed, or as required to translate it into languages other than |
|
|
English.</p> |
|
11846 |
<p class='copyright'> |
<p class='copyright'> |
11847 |
The limited permissions granted above are perpetual and will not be |
The IETF takes no position regarding the validity or scope of any |
11848 |
revoked by the Internet Society or its successors or assignees.</p> |
Intellectual Property Rights or other rights that might be claimed |
11849 |
|
to pertain to the implementation or use of the technology |
11850 |
|
described in this document or the extent to which any license |
11851 |
|
under such rights might or might not be available; nor does it |
11852 |
|
represent that it has made any independent effort to identify any |
11853 |
|
such rights. |
11854 |
|
Information on the procedures with respect to |
11855 |
|
rights in RFC documents can be found in BCP 78 and BCP 79.</p> |
11856 |
<p class='copyright'> |
<p class='copyright'> |
11857 |
This document and the information contained herein is provided on an |
Copies of IPR disclosures made to the IETF Secretariat and any |
11858 |
“AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING |
assurances of licenses to be made available, |
11859 |
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING |
or the result of an attempt made to obtain a general license or |
11860 |
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION |
permission for the use of such proprietary rights by implementers or |
11861 |
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF |
users of this specification can be obtained from the IETF on-line IPR |
11862 |
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</p> |
repository at <a href='http://www.ietf.org/ipr'>http://www.ietf.org/ipr</a>.</p> |
|
<h3>Acknowledgment</h3> |
|
11863 |
<p class='copyright'> |
<p class='copyright'> |
11864 |
Funding for the RFC Editor function is currently provided by the |
The IETF invites any interested party to bring to its attention |
11865 |
Internet Society.</p> |
any copyrights, |
11866 |
|
patents or patent applications, |
11867 |
|
or other |
11868 |
|
proprietary rights that may cover technology that may be required |
11869 |
|
to implement this standard. |
11870 |
|
Please address the information to the IETF at <a href='mailto:ietf-ipr@ietf.org'>ietf-ipr@ietf.org</a>.</p> |
11871 |
</body></html> |
</body></html> |