1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 |
<html lang="en"><head><title>LinuxSampler Control Protocol</title> |
<html lang="en"><head><title>LinuxSampler Control Protocol (draft)</title> |
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 (draft)"> |
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.32 (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 |
h3 { color: #333333; font-size: medium ; |
/* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */ |
55 |
font-family: helvetica, arial, sans-serif ; |
a.info { |
56 |
background-color: transparent; } |
/* This is the key. */ |
57 |
h4 { font-size: small; font-family: helvetica, arial, sans-serif ; } |
position: relative; |
58 |
|
z-index: 24; |
59 |
table.bug { width: 30px ; height: 15px ; } |
text-decoration: none; |
60 |
td.bug { color: #ffffff ; background-color: #990000 ; |
} |
61 |
text-align: center ; width: 30px ; height: 15px ; |
a.info:hover { |
62 |
} |
z-index: 25; |
63 |
td.bug A.link2 { color: #ffffff ; font-weight: bold; |
color: #FFF; background-color: #900; |
64 |
text-decoration: none; |
} |
65 |
font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif; |
a.info span { display: none; } |
66 |
font-size: x-small ; background-color: transparent } |
a.info:hover span.info { |
67 |
|
/* The span will display just on :hover state. */ |
68 |
td.header { color: #ffffff; font-size: x-small ; |
display: block; |
69 |
font-family: arial, helvetica, sans-serif; vertical-align: top; |
position: absolute; |
70 |
background-color: #666666 ; width: 33% ; } |
font-size: smaller; |
71 |
td.author { font-weight: bold; margin-left: 4em; font-size: x-small ; } |
top: 2em; left: -5em; width: 15em; |
72 |
td.author-text { font-size: x-small; } |
padding: 2px; border: 1px solid #333; |
73 |
table.full { vertical-align: top ; border-collapse: collapse ; |
color: #900; background-color: #EEE; |
74 |
border-style: solid solid solid solid ; |
text-align: left; |
75 |
border-color: black black black black ; |
} |
76 |
font-size: small ; text-align: center ; } |
|
77 |
table.headers, table.none { vertical-align: top ; border-collapse: collapse ; |
a { font-weight: bold; } |
78 |
border-style: none; |
a:link { color: #900; background-color: transparent; } |
79 |
font-size: small ; text-align: center ; } |
a:visited { color: #633; background-color: transparent; } |
80 |
table.full th { font-weight: bold ; |
a:active { color: #633; background-color: transparent; } |
81 |
border-style: solid ; |
|
82 |
border-color: black black black black ; } |
p { margin-left: 2em; margin-right: 2em; } |
83 |
table.headers th { font-weight: bold ; |
p.copyright { font-size: x-small; } |
84 |
border-style: none none solid none; |
p.toc { font-size: small; font-weight: bold; margin-left: 3em; } |
85 |
border-color: black black black black ; } |
table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; } |
86 |
table.none th { font-weight: bold ; |
td.toc { font-size: small; font-weight: bold; vertical-align: text-top; } |
87 |
border-style: none; } |
|
88 |
table.full td { |
ol.text { margin-left: 2em; margin-right: 2em; } |
89 |
border-style: solid solid solid solid ; |
ul.text { margin-left: 2em; margin-right: 2em; } |
90 |
border-color: #333333 #333333 #333333 #333333 ; } |
li { margin-left: 3em; } |
91 |
table.headers td, table.none td { border-style: none; } |
|
92 |
|
/* RFC-2629 <spanx>s and <artwork>s. */ |
93 |
hr { height: 1px } |
em { font-style: italic; } |
94 |
--> |
strong { font-weight: bold; } |
95 |
</style> |
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 |
|
hr { height: 1px; } |
136 |
|
hr.insert { |
137 |
|
width: 80%; border-style: none; border-width: 0; |
138 |
|
color: #CCC; background-color: #CCC; |
139 |
|
} |
140 |
|
--></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 30, 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 26, 2006</td></tr> |
<tr><td class="header">Expires: March 4, 2008</td><td class="header">September 2007</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 (draft)<br />LSCP 1.2cvs</h1> |
|
<div align="right"><span class="title"><br />LSCP 1.2</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 30, 2007.</p> |
This Internet-Draft will expire on March 4, 2008.</p> |
177 |
|
|
178 |
<h3>Copyright Notice</h3> |
<h3>Copyright Notice</h3> |
179 |
<p> |
<p> |
180 |
Copyright © The Internet Society (2006). All Rights Reserved.</p> |
Copyright © The IETF Trust (2007).</p> |
181 |
|
|
182 |
<h3>Abstract</h3> |
<h3>Abstract</h3> |
183 |
|
|
298 |
Current fill state of disk stream buffers<br /> |
Current fill state of disk stream buffers<br /> |
299 |
<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_DEVICE">6.4.14.</a> |
300 |
Setting audio output device<br /> |
Setting audio output device<br /> |
301 |
<a href="#SET CHANNEL AUDIO_OUTPUT_TYP">6.4.15.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_TYPE">6.4.15.</a> |
302 |
Setting audio output type<br /> |
Setting audio output type<br /> |
303 |
<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16.</a> |
<a href="#SET CHANNEL AUDIO_OUTPUT_CHANNEL">6.4.16.</a> |
304 |
Setting audio output channel<br /> |
Setting audio output channel<br /> |
316 |
Muting a sampler channel<br /> |
Muting a sampler channel<br /> |
317 |
<a href="#SET CHANNEL SOLO">6.4.23.</a> |
<a href="#SET CHANNEL SOLO">6.4.23.</a> |
318 |
Soloing a sampler channel<br /> |
Soloing a sampler channel<br /> |
319 |
<a href="#RESET CHANNEL">6.4.24.</a> |
<a href="#SET CHANNEL MIDI_INSTRUMENT_MAP">6.4.24.</a> |
320 |
|
Assigning a MIDI instrument map to a sampler channel<br /> |
321 |
|
<a href="#CREATE FX_SEND">6.4.25.</a> |
322 |
|
Adding an effect send to a sampler channel<br /> |
323 |
|
<a href="#DESTROY FX_SEND">6.4.26.</a> |
324 |
|
Removing an effect send from a sampler channel<br /> |
325 |
|
<a href="#GET FX_SENDS">6.4.27.</a> |
326 |
|
Getting amount of effect sends on a sampler channel<br /> |
327 |
|
<a href="#LIST FX_SENDS">6.4.28.</a> |
328 |
|
Listing all effect sends on a sampler channel<br /> |
329 |
|
<a href="#GET FX_SEND INFO">6.4.29.</a> |
330 |
|
Getting effect send information<br /> |
331 |
|
<a href="#SET FX_SEND NAME">6.4.30.</a> |
332 |
|
Changing effect send's name<br /> |
333 |
|
<a href="#SET FX_SEND AUDIO_OUTPUT_CHANNEL">6.4.31.</a> |
334 |
|
Altering effect send's audio routing<br /> |
335 |
|
<a href="#SET FX_SEND MIDI_CONTROLLER">6.4.32.</a> |
336 |
|
Altering effect send's MIDI controller<br /> |
337 |
|
<a href="#SET FX_SEND LEVEL">6.4.33.</a> |
338 |
|
Altering effect send's send level<br /> |
339 |
|
<a href="#RESET CHANNEL">6.4.34.</a> |
340 |
Resetting a sampler channel<br /> |
Resetting a sampler channel<br /> |
341 |
<a href="#anchor12">6.5.</a> |
<a href="#anchor12">6.5.</a> |
342 |
Controlling connection<br /> |
Controlling connection<br /> |
358 |
Reset sampler<br /> |
Reset sampler<br /> |
359 |
<a href="#GET SERVER INFO">6.6.4.</a> |
<a href="#GET SERVER INFO">6.6.4.</a> |
360 |
General sampler informations<br /> |
General sampler informations<br /> |
361 |
<a href="#anchor14">6.7.</a> |
<a href="#GET VOLUME">6.6.5.</a> |
362 |
|
Getting global volume attenuation<br /> |
363 |
|
<a href="#SET VOLUME">6.6.6.</a> |
364 |
|
Setting global volume attenuation<br /> |
365 |
|
<a href="#MIDI Instrument Mapping">6.7.</a> |
366 |
MIDI Instrument Mapping<br /> |
MIDI Instrument Mapping<br /> |
367 |
<a href="#MAP MIDI_INSTRUMENT">6.7.1.</a> |
<a href="#ADD MIDI_INSTRUMENT MAP">6.7.1.</a> |
368 |
|
Create a new MIDI instrument map<br /> |
369 |
|
<a href="#REMOVE MIDI_INSTRUMENT_MAP">6.7.2.</a> |
370 |
|
Delete one particular or all MIDI instrument maps<br /> |
371 |
|
<a href="#GET MIDI_INSTRUMENT_MAPS">6.7.3.</a> |
372 |
|
Get amount of existing MIDI instrument maps<br /> |
373 |
|
<a href="#LIST MIDI_INSTRUMENT_MAPS">6.7.4.</a> |
374 |
|
Getting all created MIDI instrument maps<br /> |
375 |
|
<a href="#GET MIDI_INSTRUMENT_MAP INFO">6.7.5.</a> |
376 |
|
Getting MIDI instrument map information<br /> |
377 |
|
<a href="#SET MIDI_INSTRUMENT_MAP NAME">6.7.6.</a> |
378 |
|
Renaming a MIDI instrument map<br /> |
379 |
|
<a href="#MAP MIDI_INSTRUMENT">6.7.7.</a> |
380 |
Create or replace a MIDI instrument map entry<br /> |
Create or replace a MIDI instrument map entry<br /> |
381 |
<a href="#GET MIDI_INSTRUMENTS">6.7.2.</a> |
<a href="#GET MIDI_INSTRUMENTS">6.7.8.</a> |
382 |
Getting ammount of MIDI instrument map entries<br /> |
Getting ammount of MIDI instrument map entries<br /> |
383 |
<a href="#LIST MIDI_INSTRUMENTS">6.7.3.</a> |
<a href="#LIST MIDI_INSTRUMENTS">6.7.9.</a> |
384 |
Getting indeces of all MIDI instrument map entries<br /> |
Getting indeces of all entries of a MIDI instrument map<br /> |
385 |
<a href="#UNMAP MIDI_INSTRUMENT">6.7.4.</a> |
<a href="#UNMAP MIDI_INSTRUMENT">6.7.10.</a> |
386 |
Remove an entry from the MIDI instrument map<br /> |
Remove an entry from the MIDI instrument map<br /> |
387 |
<a href="#GET MIDI_INSTRUMENT INFO">6.7.5.</a> |
<a href="#GET MIDI_INSTRUMENT INFO">6.7.11.</a> |
388 |
Get current settings of MIDI instrument map entry<br /> |
Get current settings of MIDI instrument map entry<br /> |
389 |
<a href="#CLEAR MIDI_INSTRUMENTS">6.7.6.</a> |
<a href="#CLEAR MIDI_INSTRUMENTS">6.7.12.</a> |
390 |
Clear MIDI instrument map<br /> |
Clear MIDI instrument map<br /> |
391 |
|
<a href="#Managing Instruments Database">6.8.</a> |
392 |
|
Managing Instruments Database<br /> |
393 |
|
<a href="#ADD DB_INSTRUMENT_DIRECTORY">6.8.1.</a> |
394 |
|
Creating a new instrument directory<br /> |
395 |
|
<a href="#REMOVE DB_INSTRUMENT_DIRECTORY">6.8.2.</a> |
396 |
|
Deleting an instrument directory<br /> |
397 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORIES">6.8.3.</a> |
398 |
|
Getting amount of instrument directories<br /> |
399 |
|
<a href="#LIST DB_INSTRUMENT_DIRECTORIES">6.8.4.</a> |
400 |
|
Listing all directories in specific directory<br /> |
401 |
|
<a href="#GET DB_INSTRUMENT_DIRECTORY INFO">6.8.5.</a> |
402 |
|
Getting instrument directory information<br /> |
403 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY NAME">6.8.6.</a> |
404 |
|
Renaming an instrument directory<br /> |
405 |
|
<a href="#MOVE DB_INSTRUMENT_DIRECTORY">6.8.7.</a> |
406 |
|
Moving an instrument directory<br /> |
407 |
|
<a href="#COPY DB_INSTRUMENT_DIRECTORY">6.8.8.</a> |
408 |
|
Copying instrument directories<br /> |
409 |
|
<a href="#SET DB_INSTRUMENT_DIRECTORY DESCRIPTION">6.8.9.</a> |
410 |
|
Changing the description of directory<br /> |
411 |
|
<a href="#FIND DB_INSTRUMENT_DIRECTORIES">6.8.10.</a> |
412 |
|
Finding directories<br /> |
413 |
|
<a href="#ADD DB_INSTRUMENTS">6.8.11.</a> |
414 |
|
Adding instruments to the instruments database<br /> |
415 |
|
<a href="#REMOVE DB_INSTRUMENT">6.8.12.</a> |
416 |
|
Removing an instrument<br /> |
417 |
|
<a href="#GET DB_INSTRUMENTS">6.8.13.</a> |
418 |
|
Getting amount of instruments<br /> |
419 |
|
<a href="#LIST DB_INSTRUMENTS">6.8.14.</a> |
420 |
|
Listing all instruments in specific directory<br /> |
421 |
|
<a href="#GET DB_INSTRUMENT INFO">6.8.15.</a> |
422 |
|
Getting instrument information<br /> |
423 |
|
<a href="#SET DB_INSTRUMENT NAME">6.8.16.</a> |
424 |
|
Renaming an instrument<br /> |
425 |
|
<a href="#MOVE DB_INSTRUMENT">6.8.17.</a> |
426 |
|
Moving an instrument<br /> |
427 |
|
<a href="#COPY DB_INSTRUMENT">6.8.18.</a> |
428 |
|
Copying instruments<br /> |
429 |
|
<a href="#SET DB_INSTRUMENT DESCRIPTION">6.8.19.</a> |
430 |
|
Changing the description of instrument<br /> |
431 |
|
<a href="#FIND DB_INSTRUMENTS">6.8.20.</a> |
432 |
|
Finding instruments<br /> |
433 |
|
<a href="#GET DB_INSTRUMENTS_JOB INFO">6.8.21.</a> |
434 |
|
Getting job status information<br /> |
435 |
|
<a href="#FORMAT INSTRUMENTS_DB">6.8.22.</a> |
436 |
|
Formatting the instruments database<br /> |
437 |
|
<a href="#editing_instruments">6.9.</a> |
438 |
|
Editing Instruments<br /> |
439 |
|
<a href="#EDIT INSTRUMENT">6.9.1.</a> |
440 |
|
Opening an appropriate instrument editor application<br /> |
441 |
<a href="#command_syntax">7.</a> |
<a href="#command_syntax">7.</a> |
442 |
Command Syntax<br /> |
Command Syntax<br /> |
443 |
|
<a href="#character_set">7.1.</a> |
444 |
|
Character Set and Escape Sequences<br /> |
445 |
<a href="#events">8.</a> |
<a href="#events">8.</a> |
446 |
Events<br /> |
Events<br /> |
447 |
<a href="#SUBSCRIBE CHANNEL">8.1.</a> |
<a href="#SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT">8.1.</a> |
448 |
|
Number of audio output devices changed<br /> |
449 |
|
<a href="#SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO">8.2.</a> |
450 |
|
Audio output device's settings changed<br /> |
451 |
|
<a href="#SUBSCRIBE MIDI_INPUT_DEVICE_COUNT">8.3.</a> |
452 |
|
Number of MIDI input devices changed<br /> |
453 |
|
<a href="#SUBSCRIBE MIDI_INPUT_DEVICE_INFO">8.4.</a> |
454 |
|
MIDI input device's settings changed<br /> |
455 |
|
<a href="#SUBSCRIBE CHANNEL_COUNT">8.5.</a> |
456 |
Number of sampler channels changed<br /> |
Number of sampler channels changed<br /> |
457 |
<a href="#SUBSCRIBE VOICE_COUNT">8.2.</a> |
<a href="#SUBSCRIBE VOICE_COUNT">8.6.</a> |
458 |
Number of active voices changed<br /> |
Number of active voices changed<br /> |
459 |
<a href="#SUBSCRIBE STREAM_COUNT">8.3.</a> |
<a href="#SUBSCRIBE STREAM_COUNT">8.7.</a> |
460 |
Number of active disk streams changed<br /> |
Number of active disk streams changed<br /> |
461 |
<a href="#SUBSCRIBE BUFFER_FILL">8.4.</a> |
<a href="#SUBSCRIBE BUFFER_FILL">8.8.</a> |
462 |
Disk stream buffer fill state changed<br /> |
Disk stream buffer fill state changed<br /> |
463 |
<a href="#SUBSCRIBE INFO">8.5.</a> |
<a href="#SUBSCRIBE CHANNEL_INFO">8.9.</a> |
464 |
Channel information changed<br /> |
Channel information changed<br /> |
465 |
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.6.</a> |
<a href="#SUBSCRIBE FX_SEND_COUNT">8.10.</a> |
466 |
|
Number of effect sends changed<br /> |
467 |
|
<a href="#SUBSCRIBE FX_SEND_INFO">8.11.</a> |
468 |
|
Effect send information changed<br /> |
469 |
|
<a href="#SUBSCRIBE TOTAL_VOICE_COUNT">8.12.</a> |
470 |
Total number of active voices changed<br /> |
Total number of active voices changed<br /> |
471 |
<a href="#SUBSCRIBE MISCELLANEOUS">8.7.</a> |
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT">8.13.</a> |
472 |
|
Number of MIDI instrument maps changed<br /> |
473 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO">8.14.</a> |
474 |
|
MIDI instrument map information changed<br /> |
475 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_COUNT">8.15.</a> |
476 |
|
Number of MIDI instruments changed<br /> |
477 |
|
<a href="#SUBSCRIBE MIDI_INSTRUMENT_INFO">8.16.</a> |
478 |
|
MIDI instrument information changed<br /> |
479 |
|
<a href="#SUBSCRIBE GLOBAL_INFO">8.17.</a> |
480 |
|
Global settings changed<br /> |
481 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT">8.18.</a> |
482 |
|
Number of database instrument directories changed<br /> |
483 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO">8.19.</a> |
484 |
|
Database instrument directory information changed<br /> |
485 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_COUNT">8.20.</a> |
486 |
|
Number of database instruments changed<br /> |
487 |
|
<a href="#SUBSCRIBE DB_INSTRUMENT_INFO">8.21.</a> |
488 |
|
Database instrument information changed<br /> |
489 |
|
<a href="#SUBSCRIBE DB_INSTRUMENTS_JOB_INFO">8.22.</a> |
490 |
|
Database job status information changed<br /> |
491 |
|
<a href="#SUBSCRIBE MISCELLANEOUS">8.23.</a> |
492 |
Miscellaneous and debugging events<br /> |
Miscellaneous and debugging events<br /> |
493 |
<a href="#anchor15">9.</a> |
<a href="#anchor14">9.</a> |
494 |
Security Considerations<br /> |
Security Considerations<br /> |
495 |
<a href="#anchor16">10.</a> |
<a href="#anchor15">10.</a> |
496 |
Acknowledgments<br /> |
Acknowledgments<br /> |
497 |
<a href="#rfc.references1">11.</a> |
<a href="#rfc.references1">11.</a> |
498 |
References<br /> |
References<br /> |
504 |
<br clear="all" /> |
<br clear="all" /> |
505 |
|
|
506 |
<a name="anchor1"></a><br /><hr /> |
<a name="anchor1"></a><br /><hr /> |
507 |
<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> |
508 |
<a name="rfc.section.1"></a><h3>1. Requirements notation</h3> |
<a name="rfc.section.1"></a><h3>1. |
509 |
|
Requirements notation</h3> |
510 |
|
|
511 |
<p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", |
<p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", |
512 |
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", |
"SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", |
513 |
and "OPTIONAL" in this document are to be interpreted as |
and "OPTIONAL" in this document are to be interpreted as |
514 |
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>. |
515 |
</p> |
</p> |
516 |
<p>This protocol is always case-sensitive if not explicitly |
<p>This protocol is always case-sensitive if not explicitly |
517 |
claimed the opposite. |
claimed the opposite. |
520 |
(front-end) and server (LinuxSampler) respectively. Lines in |
(front-end) and server (LinuxSampler) respectively. Lines in |
521 |
examples must be interpreted as every line being CRLF |
examples must be interpreted as every line being CRLF |
522 |
terminated (carriage return character followed by line feed |
terminated (carriage return character followed by line feed |
523 |
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>), |
524 |
example: |
thus the following example: |
525 |
</p> |
</p> |
526 |
<p> |
<p> |
527 |
</p> |
</p> |
587 |
return and line feed characters respectively. |
return and line feed characters respectively. |
588 |
</p> |
</p> |
589 |
<a name="LSCP versioning"></a><br /><hr /> |
<a name="LSCP versioning"></a><br /><hr /> |
590 |
<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> |
591 |
<a name="rfc.section.2"></a><h3>2. Versioning of this specification</h3> |
<a name="rfc.section.2"></a><h3>2. |
592 |
|
Versioning of this specification</h3> |
593 |
|
|
594 |
<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 |
595 |
release of the LSCP specification will be tagged with a unique version |
release of the LSCP specification will be tagged with a unique version |
632 |
<p> |
<p> |
633 |
Compatibility can only be claimed if both rules are true. |
Compatibility can only be claimed if both rules are true. |
634 |
The frontend can use the |
The frontend can use the |
635 |
<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 |
636 |
get the version of the LSCP specification the sampler complies with. |
get the version of the LSCP specification the sampler complies with. |
637 |
|
|
638 |
</p> |
</p> |
639 |
<a name="anchor2"></a><br /><hr /> |
<a name="anchor2"></a><br /><hr /> |
640 |
<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> |
641 |
<a name="rfc.section.3"></a><h3>3. Introduction</h3> |
<a name="rfc.section.3"></a><h3>3. |
642 |
|
Introduction</h3> |
643 |
|
|
644 |
<p>LinuxSampler is a so called software sampler application |
<p>LinuxSampler is a so called software sampler application |
645 |
capable to playback audio samples from a computer's Random |
capable to playback audio samples from a computer's Random |
659 |
there. |
there. |
660 |
</p> |
</p> |
661 |
<a name="anchor3"></a><br /><hr /> |
<a name="anchor3"></a><br /><hr /> |
662 |
<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> |
663 |
<a name="rfc.section.4"></a><h3>4. Focus of this protocol</h3> |
<a name="rfc.section.4"></a><h3>4. |
664 |
|
Focus of this protocol</h3> |
665 |
|
|
666 |
<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 |
667 |
a running LinuxSampler instance and to retrieve information |
a running LinuxSampler instance and to retrieve information |
672 |
via MIDI System Exclusive Messages. |
via MIDI System Exclusive Messages. |
673 |
</p> |
</p> |
674 |
<a name="anchor4"></a><br /><hr /> |
<a name="anchor4"></a><br /><hr /> |
675 |
<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> |
676 |
<a name="rfc.section.5"></a><h3>5. Communication Overview</h3> |
<a name="rfc.section.5"></a><h3>5. |
677 |
|
Communication Overview</h3> |
678 |
|
|
679 |
<p>There are two distinct methods of communication between a |
<p>There are two distinct methods of communication between a |
680 |
running instance of LinuxSampler and one or more control |
running instance of LinuxSampler and one or more control |
688 |
methods will be described next. |
methods will be described next. |
689 |
</p> |
</p> |
690 |
<a name="anchor5"></a><br /><hr /> |
<a name="anchor5"></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.1"></a><h3>5.1. Request/response communication method</h3> |
<a name="rfc.section.5.1"></a><h3>5.1. |
693 |
|
Request/response communication method</h3> |
694 |
|
|
695 |
<p>This simple communication method is based on |
<p>This simple communication method is based on |
696 |
<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 |
697 |
front-end application establishes a TCP connection to the |
front-end application establishes a TCP connection to the |
698 |
LinuxSampler instance on a certain host system. Then the |
LinuxSampler instance on a certain host system. Then the |
699 |
front-end application will send certain ASCII based commands |
front-end application will send certain ASCII based commands |
734 |
MUST be sent back in the same order. |
MUST be sent back in the same order. |
735 |
</p> |
</p> |
736 |
<a name="anchor6"></a><br /><hr /> |
<a name="anchor6"></a><br /><hr /> |
737 |
<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> |
738 |
<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. |
739 |
|
Result format</h3> |
740 |
|
|
741 |
<p>Result set could be one of the following types: |
<p>Result set could be one of the following types: |
742 |
</p> |
</p> |
927 |
|
|
928 |
</p> |
</p> |
929 |
<a name="anchor7"></a><br /><hr /> |
<a name="anchor7"></a><br /><hr /> |
930 |
<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> |
931 |
<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. |
932 |
|
Subscribe/notify communication method</h3> |
933 |
|
|
934 |
<p>This more sophisticated communication method is actually |
<p>This more sophisticated communication method is actually |
935 |
only an extension of the simple request/response |
only an extension of the simple request/response |
1006 |
</p> |
</p> |
1007 |
<p>where <event-id> will be replace by the respective |
<p>where <event-id> will be replace by the respective |
1008 |
event that client is no longer interested in receiving. For |
event that client is no longer interested in receiving. For |
1009 |
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>. |
1010 |
</p> |
</p> |
1011 |
<p>Example: the fill states of disk stream buffers have |
<p>Example: the fill states of disk stream buffers have |
1012 |
changed on sampler channel 4 and the LinuxSampler instance |
changed on sampler channel 4 and the LinuxSampler instance |
1052 |
it wants to receive. |
it wants to receive. |
1053 |
</p> |
</p> |
1054 |
<a name="control_commands"></a><br /><hr /> |
<a name="control_commands"></a><br /><hr /> |
1055 |
<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> |
1056 |
<a name="rfc.section.6"></a><h3>6. Description for control commands</h3> |
<a name="rfc.section.6"></a><h3>6. |
1057 |
|
Description for control commands</h3> |
1058 |
|
|
1059 |
<p>This chapter will describe the available control commands |
<p>This chapter will describe the available control commands |
1060 |
that can be sent on the TCP connection in detail. Some certain |
that can be sent on the TCP connection in detail. Some certain |
1061 |
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> |
1062 |
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 |
1063 |
multiple-line responses. In this case LinuxSampler signals the |
multiple-line responses. In this case LinuxSampler signals the |
1064 |
end of the response by a "." (single dot) line. |
end of the response by a "." (single dot) line. |
1065 |
</p> |
</p> |
1066 |
<a name="anchor8"></a><br /><hr /> |
<a name="anchor8"></a><br /><hr /> |
1067 |
<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> |
1068 |
<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. |
1069 |
|
Ignored lines and comments</h3> |
1070 |
|
|
1071 |
<p>White lines, that is lines which only contain space and |
<p>White lines, that is lines which only contain space and |
1072 |
tabulator characters, and lines that start with a "#" |
tabulator characters, and lines that start with a "#" |
1075 |
file. |
file. |
1076 |
</p> |
</p> |
1077 |
<a name="anchor9"></a><br /><hr /> |
<a name="anchor9"></a><br /><hr /> |
1078 |
<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> |
1079 |
<a name="rfc.section.6.2"></a><h3>6.2. Configuring audio drivers</h3> |
<a name="rfc.section.6.2"></a><h3>6.2. |
1080 |
|
Configuring audio drivers</h3> |
1081 |
|
|
1082 |
<p>Instances of drivers in LinuxSampler are called devices. |
<p>Instances of drivers in LinuxSampler are called devices. |
1083 |
You can use multiple audio devices simultaneously, e.g. to |
You can use multiple audio devices simultaneously, e.g. to |
1111 |
possible values, etc. |
possible values, etc. |
1112 |
</p> |
</p> |
1113 |
<a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
<a name="GET AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
1114 |
<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> |
1115 |
<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. |
1116 |
|
Getting amount of available audio output drivers</h3> |
1117 |
|
|
1118 |
<p>Use the following command to get the number of |
<p>Use the following command to get the number of |
1119 |
audio output drivers currently available for the |
audio output drivers currently available for the |
1151 |
|
|
1152 |
</p> |
</p> |
1153 |
<a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
<a name="LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS"></a><br /><hr /> |
1154 |
<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> |
1155 |
<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. |
1156 |
|
Getting all available audio output drivers</h3> |
1157 |
|
|
1158 |
<p>Use the following command to list all audio output |
<p>Use the following command to list all audio output |
1159 |
drivers currently available for the LinuxSampler |
drivers currently available for the LinuxSampler |
1192 |
|
|
1193 |
</p> |
</p> |
1194 |
<a name="GET AUDIO_OUTPUT_DRIVER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DRIVER INFO"></a><br /><hr /> |
1195 |
<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> |
1196 |
<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. |
1197 |
|
Getting information about a specific audio |
1198 |
output driver</h3> |
output driver</h3> |
1199 |
|
|
1200 |
<p>Use the following command to get detailed information |
<p>Use the following command to get detailed information |
1211 |
</p> |
</p> |
1212 |
<p>Where <audio-output-driver> is the name of the |
<p>Where <audio-output-driver> is the name of the |
1213 |
audio output driver, returned by the |
audio output driver, returned by the |
1214 |
<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. |
1215 |
</p> |
</p> |
1216 |
<p>Possible Answers: |
<p>Possible Answers: |
1217 |
</p> |
</p> |
1292 |
|
|
1293 |
</p> |
</p> |
1294 |
<a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
1295 |
<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> |
1296 |
<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. |
1297 |
|
Getting information about specific audio |
1298 |
output driver parameter</h3> |
output driver parameter</h3> |
1299 |
|
|
1300 |
<p>Use the following command to get detailed information |
<p>Use the following command to get detailed information |
1309 |
|
|
1310 |
</p> |
</p> |
1311 |
<p>Where <audio> is the name of the audio output |
<p>Where <audio> is the name of the audio output |
1312 |
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, |
1313 |
<prm> a specific parameter name for which information should be |
<prm> a specific parameter name for which information should be |
1314 |
obtained (as returned by the |
obtained (as returned by the |
1315 |
<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 |
1316 |
<deplist> is an optional list of parameters on which the sought |
<deplist> is an optional list of parameters on which the sought |
1317 |
parameter <prm> depends on, <deplist> is a list of key-value |
parameter <prm> depends on, <deplist> is a list of key-value |
1318 |
pairs in form of "key1=val1 key2=val2 ...", where character string values |
pairs in form of "key1=val1 key2=val2 ...", where character string values |
1369 |
<blockquote class="text"> |
<blockquote class="text"> |
1370 |
<p>either true or false, defines if this parameter must be |
<p>either true or false, defines if this parameter must be |
1371 |
given when the device is to be created with the |
given when the device is to be created with the |
1372 |
<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> |
1373 |
command (always returned, no matter which driver parameter) |
command (always returned, no matter which driver parameter) |
1374 |
</p> |
</p> |
1375 |
</blockquote> |
</blockquote> |
1380 |
<blockquote class="text"> |
<blockquote class="text"> |
1381 |
<p>either true or false, if false then this parameter can |
<p>either true or false, if false then this parameter can |
1382 |
be changed at any time, once the device is created by |
be changed at any time, once the device is created by |
1383 |
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> |
1384 |
command (always returned, no matter which driver parameter) |
command (always returned, no matter which driver parameter) |
1385 |
</p> |
</p> |
1386 |
</blockquote> |
</blockquote> |
1419 |
<blockquote class="text"> |
<blockquote class="text"> |
1420 |
<p>reflects the default value for this parameter which is |
<p>reflects the default value for this parameter which is |
1421 |
used when the device is created and not explicitly |
used when the device is created and not explicitly |
1422 |
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, |
1423 |
in case of MULTIPLCITY=true, this is a comma separated |
in case of MULTIPLCITY=true, this is a comma separated |
1424 |
list, that's why character strings are encapsulated into |
list, that's why character strings are encapsulated into |
1425 |
apostrophes (') |
apostrophes (') |
1547 |
|
|
1548 |
</p> |
</p> |
1549 |
<a name="CREATE AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="CREATE AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
1550 |
<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> |
1551 |
<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. |
1552 |
|
Creating an audio output device</h3> |
1553 |
|
|
1554 |
<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: |
1555 |
</p> |
</p> |
1563 |
</p> |
</p> |
1564 |
<p>Where <audio-output-driver> should be replaced by the desired audio |
<p>Where <audio-output-driver> should be replaced by the desired audio |
1565 |
output system as returned by the |
output system as returned by the |
1566 |
<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> |
1567 |
command and <param-list> by an optional list of driver |
command and <param-list> by an optional list of driver |
1568 |
specific parameters in form of "key1=val1 key2=val2 ...", where |
specific parameters in form of "key1=val1 key2=val2 ...", where |
1569 |
character string values should be encapsulated into apostrophes ('). |
character string values should be encapsulated into apostrophes ('). |
1632 |
|
|
1633 |
</p> |
</p> |
1634 |
<a name="DESTROY AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="DESTROY AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
1635 |
<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> |
1636 |
<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. |
1637 |
|
Destroying an audio output device</h3> |
1638 |
|
|
1639 |
<p>Use the following command to destroy a created output device: |
<p>Use the following command to destroy a created output device: |
1640 |
</p> |
</p> |
1648 |
</p> |
</p> |
1649 |
<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 |
1650 |
audio output device as given by the |
audio output device as given by the |
1651 |
<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> |
1652 |
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> |
1653 |
command. |
command. |
1654 |
</p> |
</p> |
1655 |
<p>Possible Answers: |
<p>Possible Answers: |
1702 |
|
|
1703 |
</p> |
</p> |
1704 |
<a name="GET AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
1705 |
<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> |
1706 |
<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. |
1707 |
|
Getting all created audio output device count</h3> |
1708 |
|
|
1709 |
<p>Use the following command to count all created audio output devices: |
<p>Use the following command to count all created audio output devices: |
1710 |
</p> |
</p> |
1740 |
|
|
1741 |
</p> |
</p> |
1742 |
<a name="LIST AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
<a name="LIST AUDIO_OUTPUT_DEVICES"></a><br /><hr /> |
1743 |
<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> |
1744 |
<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. |
1745 |
|
Getting all created audio output device list</h3> |
1746 |
|
|
1747 |
<p>Use the following command to list all created audio output devices: |
<p>Use the following command to list all created audio output devices: |
1748 |
</p> |
</p> |
1778 |
|
|
1779 |
</p> |
</p> |
1780 |
<a name="GET AUDIO_OUTPUT_DEVICE INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_DEVICE INFO"></a><br /><hr /> |
1781 |
<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> |
1782 |
<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. |
1783 |
|
Getting current settings of an audio output device</h3> |
1784 |
|
|
1785 |
<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: |
1786 |
</p> |
</p> |
1794 |
</p> |
</p> |
1795 |
<p>Where <device-id> should be replaced by numerical ID |
<p>Where <device-id> should be replaced by numerical ID |
1796 |
of the audio output device as e.g. returned by the |
of the audio output device as e.g. returned by the |
1797 |
<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. |
1798 |
</p> |
</p> |
1799 |
<p>Possible Answers: |
<p>Possible Answers: |
1800 |
</p> |
</p> |
1814 |
<blockquote class="text"> |
<blockquote class="text"> |
1815 |
<p>identifier of the used audio output driver, as also |
<p>identifier of the used audio output driver, as also |
1816 |
returned by the |
returned by the |
1817 |
<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> |
1818 |
command |
command |
1819 |
</p> |
</p> |
1820 |
</blockquote> |
</blockquote> |
1855 |
order. The fields above are only those fields which are |
order. The fields above are only those fields which are |
1856 |
returned by all audio output devices. Every audio output driver |
returned by all audio output devices. Every audio output driver |
1857 |
might have its own, additional driver specific parameters (see |
might have its own, additional driver specific parameters (see |
1858 |
<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>) |
1859 |
which are also returned by this command. |
which are also returned by this command. |
1860 |
</p> |
</p> |
1861 |
<p>Example: |
<p>Example: |
1885 |
|
|
1886 |
</p> |
</p> |
1887 |
<a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER"></a><br /><hr /> |
<a name="SET AUDIO_OUTPUT_DEVICE_PARAMETER"></a><br /><hr /> |
1888 |
<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> |
1889 |
<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. |
1890 |
|
Changing settings of audio output devices</h3> |
1891 |
|
|
1892 |
<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: |
1893 |
</p> |
</p> |
1901 |
</p> |
</p> |
1902 |
<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 |
1903 |
audio output device as given by the |
audio output device as given by the |
1904 |
<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> |
1905 |
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> |
1906 |
command, <key> by the name of the parameter to change |
command, <key> by the name of the parameter to change |
1907 |
and <value> by the new value for this parameter. |
and <value> by the new value for this parameter. |
1908 |
</p> |
</p> |
1954 |
|
|
1955 |
</p> |
</p> |
1956 |
<a name="GET AUDIO_OUTPUT_CHANNEL INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_CHANNEL INFO"></a><br /><hr /> |
1957 |
<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> |
1958 |
<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. |
1959 |
|
Getting information about an audio channel</h3> |
1960 |
|
|
1961 |
<p>Use the following command to get information about an audio channel: |
<p>Use the following command to get information about an audio channel: |
1962 |
</p> |
</p> |
1969 |
|
|
1970 |
</p> |
</p> |
1971 |
<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 |
1972 |
<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> |
1973 |
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> |
1974 |
command and <audio-chan> the audio channel number. |
command and <audio-chan> the audio channel number. |
1975 |
</p> |
</p> |
1976 |
<p>Possible Answers: |
<p>Possible Answers: |
2097 |
|
|
2098 |
</p> |
</p> |
2099 |
<a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"></a><br /><hr /> |
<a name="GET AUDIO_OUTPUT_CHANNEL_PARAMETER INFO"></a><br /><hr /> |
2100 |
<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> |
2101 |
<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. |
2102 |
|
Getting information about specific audio channel parameter</h3> |
2103 |
|
|
2104 |
<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: |
2105 |
</p> |
</p> |
2112 |
|
|
2113 |
</p> |
</p> |
2114 |
<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 |
2115 |
<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> |
2116 |
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> |
2117 |
command, <chan> the audio channel number |
command, <chan> the audio channel number |
2118 |
and <param> a specific channel parameter name for which information should |
and <param> a specific channel parameter name for which information should |
2119 |
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). |
2120 |
</p> |
</p> |
2121 |
<p>Possible Answers: |
<p>Possible Answers: |
2122 |
</p> |
</p> |
2244 |
|
|
2245 |
</p> |
</p> |
2246 |
<a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"></a><br /><hr /> |
<a name="SET AUDIO_OUTPUT_CHANNEL_PARAMETER"></a><br /><hr /> |
2247 |
<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> |
2248 |
<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. |
2249 |
|
Changing settings of audio output channels</h3> |
2250 |
|
|
2251 |
<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: |
2252 |
</p> |
</p> |
2259 |
|
|
2260 |
</p> |
</p> |
2261 |
<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 |
2262 |
<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> |
2263 |
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> |
2264 |
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 |
2265 |
parameter to change and <value> by the new value for this parameter. |
parameter to change and <value> by the new value for this parameter. |
2266 |
</p> |
</p> |
2322 |
|
|
2323 |
</p> |
</p> |
2324 |
<a name="anchor10"></a><br /><hr /> |
<a name="anchor10"></a><br /><hr /> |
2325 |
<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> |
2326 |
<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. |
2327 |
|
Configuring MIDI input drivers</h3> |
2328 |
|
|
2329 |
<p>Instances of drivers in LinuxSampler are called devices. You can use |
<p>Instances of drivers in LinuxSampler are called devices. You can use |
2330 |
multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as |
multiple MIDI devices simultaneously, e.g. to use MIDI over ethernet as |
2353 |
possible values, etc. |
possible values, etc. |
2354 |
</p> |
</p> |
2355 |
<a name="GET AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
<a name="GET AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
2356 |
<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> |
2357 |
<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. |
2358 |
|
Getting amount of available MIDI input drivers</h3> |
2359 |
|
|
2360 |
<p>Use the following command to get the number of |
<p>Use the following command to get the number of |
2361 |
MIDI input drivers currently available for the |
MIDI input drivers currently available for the |
2393 |
|
|
2394 |
</p> |
</p> |
2395 |
<a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
<a name="LIST AVAILABLE_MIDI_INPUT_DRIVERS"></a><br /><hr /> |
2396 |
<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> |
2397 |
<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. |
2398 |
|
Getting all available MIDI input drivers</h3> |
2399 |
|
|
2400 |
<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 |
2401 |
for the LinuxSampler instance: |
for the LinuxSampler instance: |
2432 |
|
|
2433 |
</p> |
</p> |
2434 |
<a name="GET MIDI_INPUT_DRIVER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DRIVER INFO"></a><br /><hr /> |
2435 |
<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> |
2436 |
<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. |
2437 |
|
Getting information about a specific MIDI input driver</h3> |
2438 |
|
|
2439 |
<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: |
2440 |
</p> |
</p> |
2447 |
|
|
2448 |
</p> |
</p> |
2449 |
<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 |
2450 |
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. |
2451 |
</p> |
</p> |
2452 |
<p>Possible Answers: |
<p>Possible Answers: |
2453 |
</p> |
</p> |
2514 |
|
|
2515 |
</p> |
</p> |
2516 |
<a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DRIVER_PARAMETER INFO"></a><br /><hr /> |
2517 |
<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> |
2518 |
<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. |
2519 |
|
Getting information about specific MIDI input driver parameter</h3> |
2520 |
|
|
2521 |
<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: |
2522 |
</p> |
</p> |
2529 |
|
|
2530 |
</p> |
</p> |
2531 |
<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 |
2532 |
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 |
2533 |
parameter name for which information should be obtained (as returned by the |
parameter name for which information should be obtained (as returned by the |
2534 |
<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 |
2535 |
of parameters on which the sought parameter <param> depends on, |
of parameters on which the sought parameter <param> depends on, |
2536 |
<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 ...", |
2537 |
where character string values are encapsulated into apostrophes ('). Arguments |
where character string values are encapsulated into apostrophes ('). Arguments |
2578 |
<blockquote class="text"> |
<blockquote class="text"> |
2579 |
<p>either true or false, defines if this parameter must be |
<p>either true or false, defines if this parameter must be |
2580 |
given when the device is to be created with the |
given when the device is to be created with the |
2581 |
<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 |
2582 |
(always returned, no matter which driver parameter) |
(always returned, no matter which driver parameter) |
2583 |
</p> |
</p> |
2584 |
</blockquote> |
</blockquote> |
2589 |
<blockquote class="text"> |
<blockquote class="text"> |
2590 |
<p>either true or false, if false then this parameter can |
<p>either true or false, if false then this parameter can |
2591 |
be changed at any time, once the device is created by |
be changed at any time, once the device is created by |
2592 |
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 |
2593 |
(always returned, no matter which driver parameter) |
(always returned, no matter which driver parameter) |
2594 |
</p> |
</p> |
2595 |
</blockquote> |
</blockquote> |
2628 |
<blockquote class="text"> |
<blockquote class="text"> |
2629 |
<p>reflects the default value for this parameter which is |
<p>reflects the default value for this parameter which is |
2630 |
used when the device is created and not explicitly |
used when the device is created and not explicitly |
2631 |
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, |
2632 |
in case of MULTIPLCITY=true, this is a comma separated |
in case of MULTIPLCITY=true, this is a comma separated |
2633 |
list, that's why character strings are encapsulated into |
list, that's why character strings are encapsulated into |
2634 |
apostrophes (') |
apostrophes (') |
2702 |
|
|
2703 |
</p> |
</p> |
2704 |
<a name="CREATE MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="CREATE MIDI_INPUT_DEVICE"></a><br /><hr /> |
2705 |
<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> |
2706 |
<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. |
2707 |
|
Creating a MIDI input device</h3> |
2708 |
|
|
2709 |
<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: |
2710 |
</p> |
</p> |
2717 |
|
|
2718 |
</p> |
</p> |
2719 |
<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 |
2720 |
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 |
2721 |
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 |
2722 |
character string values should be encapsulated into apostrophes ('). |
character string values should be encapsulated into apostrophes ('). |
2723 |
Note that there might be drivers which require parameter(s) to be |
Note that there might be drivers which require parameter(s) to be |
2773 |
|
|
2774 |
</p> |
</p> |
2775 |
<a name="DESTROY MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="DESTROY MIDI_INPUT_DEVICE"></a><br /><hr /> |
2776 |
<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> |
2777 |
<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. |
2778 |
|
Destroying a MIDI input device</h3> |
2779 |
|
|
2780 |
<p>Use the following command to destroy a created MIDI input device: |
<p>Use the following command to destroy a created MIDI input device: |
2781 |
</p> |
</p> |
2788 |
|
|
2789 |
</p> |
</p> |
2790 |
<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 |
2791 |
<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> |
2792 |
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> |
2793 |
command. |
command. |
2794 |
</p> |
</p> |
2795 |
<p>Possible Answers: |
<p>Possible Answers: |
2839 |
|
|
2840 |
</p> |
</p> |
2841 |
<a name="GET MIDI_INPUT_DEVICES"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DEVICES"></a><br /><hr /> |
2842 |
<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> |
2843 |
<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. |
2844 |
|
Getting all created MIDI input device count</h3> |
2845 |
|
|
2846 |
<p>Use the following command to count all created MIDI input devices: |
<p>Use the following command to count all created MIDI input devices: |
2847 |
</p> |
</p> |
2877 |
|
|
2878 |
</p> |
</p> |
2879 |
<a name="LIST MIDI_INPUT_DEVICES"></a><br /><hr /> |
<a name="LIST MIDI_INPUT_DEVICES"></a><br /><hr /> |
2880 |
<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> |
2881 |
<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. |
2882 |
|
Getting all created MIDI input device list</h3> |
2883 |
|
|
2884 |
<p>Use the following command to list all created MIDI input devices: |
<p>Use the following command to list all created MIDI input devices: |
2885 |
</p> |
</p> |
2925 |
|
|
2926 |
</p> |
</p> |
2927 |
<a name="GET MIDI_INPUT_DEVICE INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_DEVICE INFO"></a><br /><hr /> |
2928 |
<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> |
2929 |
<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. |
2930 |
|
Getting current settings of a MIDI input device</h3> |
2931 |
|
|
2932 |
<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: |
2933 |
</p> |
</p> |
2940 |
|
|
2941 |
</p> |
</p> |
2942 |
<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 |
2943 |
<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> |
2944 |
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> |
2945 |
command. |
command. |
2946 |
</p> |
</p> |
2947 |
<p>Possible Answers: |
<p>Possible Answers: |
2964 |
</p> |
</p> |
2965 |
<blockquote class="text"> |
<blockquote class="text"> |
2966 |
<p>identifier of the used MIDI input driver, as e.g. |
<p>identifier of the used MIDI input driver, as e.g. |
2967 |
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> |
2968 |
command |
command |
2969 |
</p> |
</p> |
2970 |
</blockquote> |
</blockquote> |
2994 |
order. The fields above are only those fields which are |
order. The fields above are only those fields which are |
2995 |
returned by all MIDI input devices. Every MIDI input driver |
returned by all MIDI input devices. Every MIDI input driver |
2996 |
might have its own, additional driver specific parameters (see |
might have its own, additional driver specific parameters (see |
2997 |
<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 |
2998 |
by this command. |
by this command. |
2999 |
</p> |
</p> |
3000 |
<p>Example: |
<p>Example: |
3014 |
|
|
3015 |
</p> |
</p> |
3016 |
<a name="SET MIDI_INPUT_DEVICE_PARAMETER"></a><br /><hr /> |
<a name="SET MIDI_INPUT_DEVICE_PARAMETER"></a><br /><hr /> |
3017 |
<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> |
3018 |
<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. |
3019 |
|
Changing settings of MIDI input devices</h3> |
3020 |
|
|
3021 |
<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: |
3022 |
</p> |
</p> |
3030 |
</p> |
</p> |
3031 |
<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 |
3032 |
MIDI input device as returned by the |
MIDI input device as returned by the |
3033 |
<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> |
3034 |
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> |
3035 |
command, <key> by the name of the parameter to change and |
command, <key> by the name of the parameter to change and |
3036 |
<value> by the new value for this parameter. |
<value> by the new value for this parameter. |
3037 |
</p> |
</p> |
3082 |
|
|
3083 |
</p> |
</p> |
3084 |
<a name="GET MIDI_INPUT_PORT INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_PORT INFO"></a><br /><hr /> |
3085 |
<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> |
3086 |
<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. |
3087 |
|
Getting information about a MIDI port</h3> |
3088 |
|
|
3089 |
<p>Use the following command to get information about a MIDI port: |
<p>Use the following command to get information about a MIDI port: |
3090 |
</p> |
</p> |
3097 |
|
|
3098 |
</p> |
</p> |
3099 |
<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 |
3100 |
<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> |
3101 |
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> |
3102 |
command and <midi-port> the MIDI input port number. |
command and <midi-port> the MIDI input port number. |
3103 |
</p> |
</p> |
3104 |
<p>Possible Answers: |
<p>Possible Answers: |
3145 |
|
|
3146 |
</p> |
</p> |
3147 |
<a name="GET MIDI_INPUT_PORT_PARAMETER INFO"></a><br /><hr /> |
<a name="GET MIDI_INPUT_PORT_PARAMETER INFO"></a><br /><hr /> |
3148 |
<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> |
3149 |
<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. |
3150 |
|
Getting information about specific MIDI port parameter</h3> |
3151 |
|
|
3152 |
<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: |
3153 |
</p> |
</p> |
3160 |
|
|
3161 |
</p> |
</p> |
3162 |
<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 |
3163 |
<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> |
3164 |
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> |
3165 |
command, <port> the MIDI port number and |
command, <port> the MIDI port number and |
3166 |
<param> a specific port parameter name for which information should be |
<param> a specific port parameter name for which information should be |
3167 |
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). |
3168 |
</p> |
</p> |
3169 |
<p>Possible Answers: |
<p>Possible Answers: |
3170 |
</p> |
</p> |
3287 |
|
|
3288 |
</p> |
</p> |
3289 |
<a name="SET MIDI_INPUT_PORT_PARAMETER"></a><br /><hr /> |
<a name="SET MIDI_INPUT_PORT_PARAMETER"></a><br /><hr /> |
3290 |
<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> |
3291 |
<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. |
3292 |
|
Changing settings of MIDI input ports</h3> |
3293 |
|
|
3294 |
<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: |
3295 |
</p> |
</p> |
3303 |
</p> |
</p> |
3304 |
<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 |
3305 |
MIDI device as returned by the |
MIDI device as returned by the |
3306 |
<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> |
3307 |
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> |
3308 |
command, <port> by the MIDI port number, <key> by the name of |
command, <port> by the MIDI port number, <key> by the name of |
3309 |
the parameter to change and <value> by the new value for this |
the parameter to change and <value> by the new value for this |
3310 |
parameter. |
parameter (encapsulated into apostrophes) or NONE (not encapsulated into apostrophes) |
3311 |
|
for specifying no value for parameters allowing a list of values. |
3312 |
</p> |
</p> |
3313 |
<p>Possible Answers: |
<p>Possible Answers: |
3314 |
</p> |
</p> |
3349 |
<p> |
<p> |
3350 |
</p> |
</p> |
3351 |
<blockquote class="text"> |
<blockquote class="text"> |
3352 |
|
<p>C: "SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS='20:0'" |
3353 |
|
</p> |
3354 |
|
<p>S: "OK" |
3355 |
|
</p> |
3356 |
|
</blockquote><p> |
3357 |
|
|
3358 |
|
</p> |
3359 |
<p> |
<p> |
3360 |
|
</p> |
3361 |
|
<blockquote class="text"> |
3362 |
|
<p>C: "SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS=NONE" |
3363 |
|
</p> |
3364 |
|
<p>S: "OK" |
3365 |
</p> |
</p> |
3366 |
</blockquote><p> |
</blockquote><p> |
3367 |
|
|
3368 |
</p> |
</p> |
3369 |
<a name="anchor11"></a><br /><hr /> |
<a name="anchor11"></a><br /><hr /> |
3370 |
<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> |
3371 |
<a name="rfc.section.6.4"></a><h3>6.4. Configuring sampler channels</h3> |
<a name="rfc.section.6.4"></a><h3>6.4. |
3372 |
|
Configuring sampler channels</h3> |
3373 |
|
|
3374 |
<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 |
3375 |
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 |
3376 |
MIDI and audio devices. |
MIDI and audio devices. |
3377 |
</p> |
</p> |
3378 |
<a name="LOAD INSTRUMENT"></a><br /><hr /> |
<a name="LOAD INSTRUMENT"></a><br /><hr /> |
3379 |
<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> |
3380 |
<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. |
3381 |
|
Loading an instrument</h3> |
3382 |
|
|
3383 |
<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: |
3384 |
</p> |
</p> |
3396 |
number of the sampler channel the instrument should be assigned to. |
number of the sampler channel the instrument should be assigned to. |
3397 |
Each sampler channel can only have one instrument. |
Each sampler channel can only have one instrument. |
3398 |
</p> |
</p> |
3399 |
|
<p>Notice: since LSCP 1.2 the <filename> argument supports |
3400 |
|
escape characters for special characters (see chapter |
3401 |
|
"<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>" |
3402 |
|
for details) and accordingly backslash characters in the filename |
3403 |
|
MUST now be escaped as well! |
3404 |
|
</p> |
3405 |
<p>The difference between regular and NON_MODAL versions of the command |
<p>The difference between regular and NON_MODAL versions of the command |
3406 |
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 |
3407 |
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 |
3408 |
returns immediately and a background process is launched to load the instrument |
returns immediately and a background process is launched to load the instrument |
3409 |
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> |
3410 |
command can be used to obtain loading |
command can be used to obtain loading |
3411 |
progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks |
progress from INSTRUMENT_STATUS field. LOAD command will perform sanity checks |
3412 |
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 |
3460 |
|
|
3461 |
</p> |
</p> |
3462 |
<a name="LOAD ENGINE"></a><br /><hr /> |
<a name="LOAD ENGINE"></a><br /><hr /> |
3463 |
<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> |
3464 |
<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. |
3465 |
|
Loading a sampler engine</h3> |
3466 |
|
|
3467 |
<p>A sampler engine type can be associated to a specific sampler |
<p>A sampler engine type can be associated to a specific sampler |
3468 |
channel by the following command: |
channel by the following command: |
3476 |
|
|
3477 |
</p> |
</p> |
3478 |
<p>Where <engine-name> is an engine name as obtained by the |
<p>Where <engine-name> is an engine name as obtained by the |
3479 |
<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> |
3480 |
the sampler channel as returned by the |
the sampler channel as returned by the |
3481 |
<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 |
3482 |
<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 |
3483 |
the engine type should be assigned to. This command should be issued |
the engine type should be assigned to. This command should be issued |
3484 |
after adding a new sampler channel and before any other control |
after adding a new sampler channel and before any other control |
3485 |
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 |
3535 |
|
|
3536 |
</p> |
</p> |
3537 |
<a name="GET CHANNELS"></a><br /><hr /> |
<a name="GET CHANNELS"></a><br /><hr /> |
3538 |
<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> |
3539 |
<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. |
3540 |
|
Getting all created sampler channel count</h3> |
3541 |
|
|
3542 |
<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 |
3543 |
current amount of sampler channels, the front-end can send the |
current amount of sampler channels, the front-end can send the |
3574 |
|
|
3575 |
</p> |
</p> |
3576 |
<a name="LIST CHANNELS"></a><br /><hr /> |
<a name="LIST CHANNELS"></a><br /><hr /> |
3577 |
<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> |
3578 |
<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. |
3579 |
|
Getting all created sampler channel list</h3> |
3580 |
|
|
3581 |
<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 |
3582 |
current list of sampler channels, the front-end can send the |
current list of sampler channels, the front-end can send the |
3614 |
|
|
3615 |
</p> |
</p> |
3616 |
<a name="ADD CHANNEL"></a><br /><hr /> |
<a name="ADD CHANNEL"></a><br /><hr /> |
3617 |
<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> |
3618 |
<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. |
3619 |
|
Adding a new sampler channel</h3> |
3620 |
|
|
3621 |
<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 |
3622 |
channel list by sending the following command: |
channel list by sending the following command: |
3689 |
|
|
3690 |
</p> |
</p> |
3691 |
<a name="REMOVE CHANNEL"></a><br /><hr /> |
<a name="REMOVE CHANNEL"></a><br /><hr /> |
3692 |
<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> |
3693 |
<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. |
3694 |
|
Removing a sampler channel</h3> |
3695 |
|
|
3696 |
<p>A sampler channel can be removed by sending the following command: |
<p>A sampler channel can be removed by sending the following command: |
3697 |
</p> |
</p> |
3705 |
</p> |
</p> |
3706 |
<p>Where <sampler-channel> should be replaced by the |
<p>Where <sampler-channel> should be replaced by the |
3707 |
number of the sampler channel as given by the |
number of the sampler channel as given by the |
3708 |
<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> |
3709 |
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> |
3710 |
command. The channel numbers of all subsequent sampler channels |
command. The channel numbers of all subsequent sampler channels |
3711 |
remain the same. |
remain the same. |
3712 |
</p> |
</p> |
3756 |
|
|
3757 |
</p> |
</p> |
3758 |
<a name="GET AVAILABLE_ENGINES"></a><br /><hr /> |
<a name="GET AVAILABLE_ENGINES"></a><br /><hr /> |
3759 |
<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> |
3760 |
<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. |
3761 |
|
Getting amount of available engines</h3> |
3762 |
|
|
3763 |
<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: |
3764 |
</p> |
</p> |
3793 |
|
|
3794 |
</p> |
</p> |
3795 |
<a name="LIST AVAILABLE_ENGINES"></a><br /><hr /> |
<a name="LIST AVAILABLE_ENGINES"></a><br /><hr /> |
3796 |
<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> |
3797 |
<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. |
3798 |
|
Getting all available engines</h3> |
3799 |
|
|
3800 |
<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: |
3801 |
</p> |
</p> |
3833 |
|
|
3834 |
</p> |
</p> |
3835 |
<a name="GET ENGINE INFO"></a><br /><hr /> |
<a name="GET ENGINE INFO"></a><br /><hr /> |
3836 |
<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> |
3837 |
<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. |
3838 |
|
Getting information about an engine</h3> |
3839 |
|
|
3840 |
<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 |
3841 |
sending the following command: |
sending the following command: |
3849 |
|
|
3850 |
</p> |
</p> |
3851 |
<p>Where <engine-name> is an engine name as obtained by the |
<p>Where <engine-name> is an engine name as obtained by the |
3852 |
<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. |
3853 |
</p> |
</p> |
3854 |
<p>Possible Answers: |
<p>Possible Answers: |
3855 |
</p> |
</p> |
3906 |
|
|
3907 |
</p> |
</p> |
3908 |
<a name="GET CHANNEL INFO"></a><br /><hr /> |
<a name="GET CHANNEL INFO"></a><br /><hr /> |
3909 |
<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> |
3910 |
<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. |
3911 |
|
Getting sampler channel information</h3> |
3912 |
|
|
3913 |
<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 |
3914 |
by sending the following command: |
by sending the following command: |
3922 |
|
|
3923 |
</p> |
</p> |
3924 |
<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 |
3925 |
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> |
3926 |
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. |
3927 |
</p> |
</p> |
3928 |
<p>Possible Answers: |
<p>Possible Answers: |
3929 |
</p> |
</p> |
4051 |
</p> |
</p> |
4052 |
<blockquote class="text"> |
<blockquote class="text"> |
4053 |
<p>optionally dotted number for the channel volume factor |
<p>optionally dotted number for the channel volume factor |
4054 |
(where a value < 1.0 means attenuation and a value > |
(where a value < 1.0 means attenuation and a value > |
4055 |
1.0 means amplification) |
1.0 means amplification) |
4056 |
</p> |
</p> |
4057 |
</blockquote> |
</blockquote> |
4078 |
</blockquote> |
</blockquote> |
4079 |
|
|
4080 |
|
|
4081 |
|
<p>MIDI_INSTRUMENT_MAP - |
4082 |
|
</p> |
4083 |
|
<blockquote class="text"> |
4084 |
|
<p>Determines to which MIDI instrument map this sampler |
4085 |
|
channel is assigned to. Read chapter |
4086 |
|
<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> |
4087 |
|
for a list of possible values. |
4088 |
|
</p> |
4089 |
|
</blockquote> |
4090 |
|
|
4091 |
|
|
4092 |
</blockquote> |
</blockquote> |
4093 |
|
|
4094 |
|
|
4128 |
</p> |
</p> |
4129 |
<p> "MIDI_INPUT_CHANNEL: 5" |
<p> "MIDI_INPUT_CHANNEL: 5" |
4130 |
</p> |
</p> |
4131 |
|
<p> "VOLUME: 1.0" |
4132 |
|
</p> |
4133 |
|
<p> "MUTE: false" |
4134 |
|
</p> |
4135 |
|
<p> "SOLO: false" |
4136 |
|
</p> |
4137 |
|
<p> "MIDI_INSTRUMENT_MAP: NONE" |
4138 |
|
</p> |
4139 |
<p> "." |
<p> "." |
4140 |
</p> |
</p> |
4141 |
</blockquote><p> |
</blockquote><p> |
4142 |
|
|
4143 |
</p> |
</p> |
4144 |
<a name="GET CHANNEL VOICE_COUNT"></a><br /><hr /> |
<a name="GET CHANNEL VOICE_COUNT"></a><br /><hr /> |
4145 |
<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> |
4146 |
<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. |
4147 |
|
Current number of active voices</h3> |
4148 |
|
|
4149 |
<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 |
4150 |
sampler channel by sending the following command: |
sampler channel by sending the following command: |
4158 |
|
|
4159 |
</p> |
</p> |
4160 |
<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 |
4161 |
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> |
4162 |
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. |
4163 |
</p> |
</p> |
4164 |
<p>Possible Answers: |
<p>Possible Answers: |
4165 |
</p> |
</p> |
4183 |
|
|
4184 |
</p> |
</p> |
4185 |
<a name="GET CHANNEL STREAM_COUNT"></a><br /><hr /> |
<a name="GET CHANNEL STREAM_COUNT"></a><br /><hr /> |
4186 |
<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> |
4187 |
<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. |
4188 |
|
Current number of active disk streams</h3> |
4189 |
|
|
4190 |
<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 |
4191 |
on a sampler channel by sending the following command: |
on a sampler channel by sending the following command: |
4199 |
|
|
4200 |
</p> |
</p> |
4201 |
<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 |
4202 |
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> |
4203 |
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. |
4204 |
</p> |
</p> |
4205 |
<p>Possible Answers: |
<p>Possible Answers: |
4206 |
</p> |
</p> |
4226 |
|
|
4227 |
</p> |
</p> |
4228 |
<a name="GET CHANNEL BUFFER_FILL"></a><br /><hr /> |
<a name="GET CHANNEL BUFFER_FILL"></a><br /><hr /> |
4229 |
<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> |
4230 |
<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. |
4231 |
|
Current fill state of disk stream buffers</h3> |
4232 |
|
|
4233 |
<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 |
4234 |
on a sampler channel by sending the following command: |
on a sampler channel by sending the following command: |
4253 |
</p> |
</p> |
4254 |
<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 |
4255 |
sampler channel number the front-end is interested in |
sampler channel number the front-end is interested in |
4256 |
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> |
4257 |
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. |
4258 |
</p> |
</p> |
4259 |
<p>Possible Answers: |
<p>Possible Answers: |
4260 |
</p> |
</p> |
4304 |
|
|
4305 |
</p> |
</p> |
4306 |
<a name="SET CHANNEL AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_DEVICE"></a><br /><hr /> |
4307 |
<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> |
4308 |
<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. |
4309 |
|
Setting audio output device</h3> |
4310 |
|
|
4311 |
<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 |
4312 |
channel by sending the following command: |
channel by sending the following command: |
4320 |
|
|
4321 |
</p> |
</p> |
4322 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4323 |
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> |
4324 |
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 |
4325 |
<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 |
4326 |
<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> |
4327 |
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> |
4328 |
command. |
command. |
4329 |
</p> |
</p> |
4330 |
<p>Possible Answers: |
<p>Possible Answers: |
4371 |
</blockquote><p> |
</blockquote><p> |
4372 |
|
|
4373 |
</p> |
</p> |
4374 |
<a name="SET CHANNEL AUDIO_OUTPUT_TYP"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_TYPE"></a><br /><hr /> |
4375 |
<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> |
4376 |
<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. |
4377 |
|
Setting audio output type</h3> |
4378 |
|
|
4379 |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
4380 |
</p> |
</p> |
4437 |
|
|
4438 |
</p> |
</p> |
4439 |
<a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
<a name="SET CHANNEL AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
4440 |
<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> |
4441 |
<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. |
4442 |
|
Setting audio output channel</h3> |
4443 |
|
|
4444 |
<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 |
4445 |
sampler channel by sending the following command: |
sampler channel by sending the following command: |
4453 |
|
|
4454 |
</p> |
</p> |
4455 |
<p>Where <sampler-chan> is the sampler channel number |
<p>Where <sampler-chan> is the sampler channel number |
4456 |
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> |
4457 |
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 |
4458 |
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 |
4459 |
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 |
4460 |
output device where <audio-out> should be routed to. |
output device where <audio-out> should be routed to. |
4504 |
|
|
4505 |
</p> |
</p> |
4506 |
<a name="SET CHANNEL MIDI_INPUT_DEVICE"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_DEVICE"></a><br /><hr /> |
4507 |
<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> |
4508 |
<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. |
4509 |
|
Setting MIDI input device</h3> |
4510 |
|
|
4511 |
<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 |
4512 |
channel by sending the following command: |
channel by sending the following command: |
4520 |
|
|
4521 |
</p> |
</p> |
4522 |
<p>Where <sampler-channel> is the sampler channel number |
<p>Where <sampler-channel> is the sampler channel number |
4523 |
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> |
4524 |
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 |
4525 |
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 |
4526 |
<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> |
4527 |
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. |
4528 |
</p> |
</p> |
4529 |
<p>Possible Answers: |
<p>Possible Answers: |
4530 |
</p> |
</p> |
4571 |
|
|
4572 |
</p> |
</p> |
4573 |
<a name="SET CHANNEL MIDI_INPUT_TYPE"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_TYPE"></a><br /><hr /> |
4574 |
<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> |
4575 |
<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. |
4576 |
|
Setting MIDI input type</h3> |
4577 |
|
|
4578 |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
<p>DEPRECATED: THIS COMMAND WILL DISAPPEAR SOON! |
4579 |
</p> |
</p> |
4636 |
|
|
4637 |
</p> |
</p> |
4638 |
<a name="SET CHANNEL MIDI_INPUT_PORT"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_PORT"></a><br /><hr /> |
4639 |
<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> |
4640 |
<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. |
4641 |
|
Setting MIDI input port</h3> |
4642 |
|
|
4643 |
<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 |
4644 |
channel by sending the following command: |
channel by sending the following command: |
4700 |
|
|
4701 |
</p> |
</p> |
4702 |
<a name="SET CHANNEL MIDI_INPUT_CHANNEL"></a><br /><hr /> |
<a name="SET CHANNEL MIDI_INPUT_CHANNEL"></a><br /><hr /> |
4703 |
<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> |
4704 |
<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. |
4705 |
|
Setting MIDI input channel</h3> |
4706 |
|
|
4707 |
<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 |
4708 |
listen to by sending the following command: |
listen to by sending the following command: |
4764 |
|
|
4765 |
</p> |
</p> |
4766 |
<a name="SET CHANNEL VOLUME"></a><br /><hr /> |
<a name="SET CHANNEL VOLUME"></a><br /><hr /> |
4767 |
<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> |
4768 |
<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. |
4769 |
|
Setting channel volume</h3> |
4770 |
|
|
4771 |
<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 |
4772 |
the following command: |
the following command: |
4829 |
|
|
4830 |
</p> |
</p> |
4831 |
<a name="SET CHANNEL MUTE"></a><br /><hr /> |
<a name="SET CHANNEL MUTE"></a><br /><hr /> |
4832 |
<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> |
4833 |
<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. |
4834 |
|
Muting a sampler channel</h3> |
4835 |
|
|
4836 |
<p>The front-end can mute/unmute a specific sampler |
<p>The front-end can mute/unmute a specific sampler |
4837 |
channel by sending the following command: |
channel by sending the following command: |
4845 |
|
|
4846 |
</p> |
</p> |
4847 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4848 |
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> |
4849 |
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 |
4850 |
<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" |
4851 |
to unmute the channel. |
to unmute the channel. |
4852 |
</p> |
</p> |
4895 |
|
|
4896 |
</p> |
</p> |
4897 |
<a name="SET CHANNEL SOLO"></a><br /><hr /> |
<a name="SET CHANNEL SOLO"></a><br /><hr /> |
4898 |
<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> |
4899 |
<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. |
4900 |
|
Soloing a sampler channel</h3> |
4901 |
|
|
4902 |
<p>The front-end can solo/unsolo a specific sampler channel |
<p>The front-end can solo/unsolo a specific sampler channel |
4903 |
by sending the following command: |
by sending the following command: |
4911 |
|
|
4912 |
</p> |
</p> |
4913 |
<p>Where <sampler-channel> is the respective sampler channel |
<p>Where <sampler-channel> is the respective sampler channel |
4914 |
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> |
4915 |
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 |
4916 |
<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" |
4917 |
to unsolo the channel. |
to unsolo the channel. |
4918 |
</p> |
</p> |
4960 |
</blockquote><p> |
</blockquote><p> |
4961 |
|
|
4962 |
</p> |
</p> |
4963 |
|
<a name="SET CHANNEL MIDI_INSTRUMENT_MAP"></a><br /><hr /> |
4964 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
4965 |
|
<a name="rfc.section.6.4.24"></a><h3>6.4.24. |
4966 |
|
Assigning a MIDI instrument map to a sampler channel</h3> |
4967 |
|
|
4968 |
|
<p>The front-end can assign a MIDI instrument map to a specific sampler channel |
4969 |
|
by sending the following command: |
4970 |
|
</p> |
4971 |
|
<p> |
4972 |
|
</p> |
4973 |
|
<blockquote class="text"> |
4974 |
|
<p>SET CHANNEL MIDI_INSTRUMENT_MAP <sampler-channel> <map> |
4975 |
|
</p> |
4976 |
|
</blockquote><p> |
4977 |
|
|
4978 |
|
</p> |
4979 |
|
<p>Where <sampler-channel> is the respective sampler channel |
4980 |
|
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> |
4981 |
|
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 |
4982 |
|
<map> can have the following possibilites: |
4983 |
|
</p> |
4984 |
|
<p> |
4985 |
|
</p> |
4986 |
|
<blockquote class="text"> |
4987 |
|
<p>"NONE" - |
4988 |
|
</p> |
4989 |
|
<blockquote class="text"> |
4990 |
|
<p>This is the default setting. In this case |
4991 |
|
the sampler channel is not assigned any MIDI |
4992 |
|
instrument map and thus will ignore all MIDI |
4993 |
|
program change messages. |
4994 |
|
</p> |
4995 |
|
</blockquote> |
4996 |
|
|
4997 |
|
|
4998 |
|
<p>"DEFAULT" - |
4999 |
|
</p> |
5000 |
|
<blockquote class="text"> |
5001 |
|
<p>The sampler channel will always use the |
5002 |
|
default MIDI instrument map to handle MIDI |
5003 |
|
program change messages. |
5004 |
|
</p> |
5005 |
|
</blockquote> |
5006 |
|
|
5007 |
|
|
5008 |
|
<p>numeric ID - |
5009 |
|
</p> |
5010 |
|
<blockquote class="text"> |
5011 |
|
<p>You can assign a specific MIDI instrument map |
5012 |
|
by replacing <map> with the respective numeric |
5013 |
|
ID of the MIDI instrument map as returned by the |
5014 |
|
<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> |
5015 |
|
command. Once that map will be deleted, the sampler |
5016 |
|
channel would fall back to "NONE". |
5017 |
|
</p> |
5018 |
|
</blockquote> |
5019 |
|
|
5020 |
|
|
5021 |
|
</blockquote><p> |
5022 |
|
|
5023 |
|
</p> |
5024 |
|
<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> |
5025 |
|
for details regarding MIDI instrument mapping. |
5026 |
|
</p> |
5027 |
|
<p>Possible Answers: |
5028 |
|
</p> |
5029 |
|
<p> |
5030 |
|
</p> |
5031 |
|
<blockquote class="text"> |
5032 |
|
<p>"OK" - |
5033 |
|
</p> |
5034 |
|
<blockquote class="text"> |
5035 |
|
<p>on success |
5036 |
|
</p> |
5037 |
|
</blockquote> |
5038 |
|
|
5039 |
|
|
5040 |
|
<p>"ERR:<error-code>:<error-message>" - |
5041 |
|
</p> |
5042 |
|
<blockquote class="text"> |
5043 |
|
<p>in case it failed, providing an appropriate error code and error message |
5044 |
|
</p> |
5045 |
|
</blockquote> |
5046 |
|
|
5047 |
|
|
5048 |
|
</blockquote><p> |
5049 |
|
|
5050 |
|
</p> |
5051 |
|
<p>Examples: |
5052 |
|
</p> |
5053 |
|
<p> |
5054 |
|
</p> |
5055 |
|
<blockquote class="text"> |
5056 |
|
<p> |
5057 |
|
</p> |
5058 |
|
</blockquote><p> |
5059 |
|
|
5060 |
|
</p> |
5061 |
|
<a name="CREATE FX_SEND"></a><br /><hr /> |
5062 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5063 |
|
<a name="rfc.section.6.4.25"></a><h3>6.4.25. |
5064 |
|
Adding an effect send to a sampler channel</h3> |
5065 |
|
|
5066 |
|
<p>The front-end can create an additional effect send on a specific sampler channel |
5067 |
|
by sending the following command: |
5068 |
|
</p> |
5069 |
|
<p> |
5070 |
|
</p> |
5071 |
|
<blockquote class="text"> |
5072 |
|
<p>CREATE FX_SEND <sampler-channel> <midi-ctrl> [<name>] |
5073 |
|
</p> |
5074 |
|
</blockquote><p> |
5075 |
|
|
5076 |
|
</p> |
5077 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5078 |
|
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> |
5079 |
|
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 |
5080 |
|
sampler channel on which the effect send should be created on, <midi-ctrl> |
5081 |
|
is a number between 0..127 defining the MIDI controller which can alter the |
5082 |
|
effect send level and <name> is an optional argument defining a name |
5083 |
|
for the effect send entity. The name does not have to be unique. |
5084 |
|
</p> |
5085 |
|
<p>By default, that is as initial routing, the effect send's audio channels |
5086 |
|
are automatically routed to the last audio channels of the sampler channel's |
5087 |
|
audio output device, that way you can i.e. first increase the amount of audio |
5088 |
|
channels on the audio output device for having dedicated effect send output |
5089 |
|
channels and when "CREATE FX_SEND" is called, those channels will automatically |
5090 |
|
be picked. You can alter the destination channels however with |
5091 |
|
<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>. |
5092 |
|
|
5093 |
|
</p> |
5094 |
|
<p>Note: Create effect sends on a sampler channel only when needed, because having effect |
5095 |
|
sends on a sampler channel will decrease runtime performance, because for implementing channel |
5096 |
|
effect sends, separate (sampler channel local) audio buffers are needed to render and mix |
5097 |
|
the voices and route the audio signal afterwards to the master outputs and effect send |
5098 |
|
outputs (along with their respective effect send levels). A sampler channel without effect |
5099 |
|
sends however can mix its voices directly into the audio output devices's audio buffers |
5100 |
|
and is thus faster. |
5101 |
|
|
5102 |
|
</p> |
5103 |
|
<p>Possible Answers: |
5104 |
|
</p> |
5105 |
|
<p> |
5106 |
|
</p> |
5107 |
|
<blockquote class="text"> |
5108 |
|
<p>"OK[<fx-send-id>]" - |
5109 |
|
</p> |
5110 |
|
<blockquote class="text"> |
5111 |
|
<p>in case a new effect send could be added to the |
5112 |
|
sampler channel, where <fx-send-id> reflects the |
5113 |
|
unique ID of the newly created effect send entity |
5114 |
|
</p> |
5115 |
|
</blockquote> |
5116 |
|
|
5117 |
|
|
5118 |
|
<p>"ERR:<error-code>:<error-message>" - |
5119 |
|
</p> |
5120 |
|
<blockquote class="text"> |
5121 |
|
<p>when a new effect send could not be added, i.e. |
5122 |
|
due to invalid parameters |
5123 |
|
</p> |
5124 |
|
</blockquote> |
5125 |
|
|
5126 |
|
|
5127 |
|
</blockquote><p> |
5128 |
|
|
5129 |
|
</p> |
5130 |
|
<p>Examples: |
5131 |
|
</p> |
5132 |
|
<p> |
5133 |
|
</p> |
5134 |
|
<blockquote class="text"> |
5135 |
|
<p>C: "CREATE FX_SEND 0 91 'Reverb Send'" |
5136 |
|
</p> |
5137 |
|
<p>S: "OK[0]" |
5138 |
|
</p> |
5139 |
|
</blockquote><p> |
5140 |
|
|
5141 |
|
</p> |
5142 |
|
<p> |
5143 |
|
</p> |
5144 |
|
<blockquote class="text"> |
5145 |
|
<p>C: "CREATE FX_SEND 0 93" |
5146 |
|
</p> |
5147 |
|
<p>S: "OK[1]" |
5148 |
|
</p> |
5149 |
|
</blockquote><p> |
5150 |
|
|
5151 |
|
</p> |
5152 |
|
<a name="DESTROY FX_SEND"></a><br /><hr /> |
5153 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5154 |
|
<a name="rfc.section.6.4.26"></a><h3>6.4.26. |
5155 |
|
Removing an effect send from a sampler channel</h3> |
5156 |
|
|
5157 |
|
<p>The front-end can remove an existing effect send on a specific sampler channel |
5158 |
|
by sending the following command: |
5159 |
|
</p> |
5160 |
|
<p> |
5161 |
|
</p> |
5162 |
|
<blockquote class="text"> |
5163 |
|
<p>DESTROY FX_SEND <sampler-channel> <fx-send-id> |
5164 |
|
</p> |
5165 |
|
</blockquote><p> |
5166 |
|
|
5167 |
|
</p> |
5168 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5169 |
|
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> |
5170 |
|
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 |
5171 |
|
sampler channel from which the effect send should be removed from and |
5172 |
|
<fx-send-id> is the respective effect send number as returned by the |
5173 |
|
<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> |
5174 |
|
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. |
5175 |
|
</p> |
5176 |
|
<p>Possible Answers: |
5177 |
|
</p> |
5178 |
|
<p> |
5179 |
|
</p> |
5180 |
|
<blockquote class="text"> |
5181 |
|
<p>"OK" - |
5182 |
|
</p> |
5183 |
|
<blockquote class="text"> |
5184 |
|
<p>on success |
5185 |
|
</p> |
5186 |
|
</blockquote> |
5187 |
|
|
5188 |
|
|
5189 |
|
<p>"ERR:<error-code>:<error-message>" - |
5190 |
|
</p> |
5191 |
|
<blockquote class="text"> |
5192 |
|
<p>in case it failed, providing an appropriate error code and |
5193 |
|
error message |
5194 |
|
</p> |
5195 |
|
</blockquote> |
5196 |
|
|
5197 |
|
|
5198 |
|
</blockquote><p> |
5199 |
|
|
5200 |
|
</p> |
5201 |
|
<p>Example: |
5202 |
|
</p> |
5203 |
|
<p> |
5204 |
|
</p> |
5205 |
|
<blockquote class="text"> |
5206 |
|
<p>C: "DESTROY FX_SEND 0 0" |
5207 |
|
</p> |
5208 |
|
<p>S: "OK" |
5209 |
|
</p> |
5210 |
|
</blockquote><p> |
5211 |
|
|
5212 |
|
</p> |
5213 |
|
<a name="GET FX_SENDS"></a><br /><hr /> |
5214 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5215 |
|
<a name="rfc.section.6.4.27"></a><h3>6.4.27. |
5216 |
|
Getting amount of effect sends on a sampler channel</h3> |
5217 |
|
|
5218 |
|
<p>The front-end can ask for the amount of effect sends on a specific sampler channel |
5219 |
|
by sending the following command: |
5220 |
|
</p> |
5221 |
|
<p> |
5222 |
|
</p> |
5223 |
|
<blockquote class="text"> |
5224 |
|
<p>GET FX_SENDS <sampler-channel> |
5225 |
|
</p> |
5226 |
|
</blockquote><p> |
5227 |
|
|
5228 |
|
</p> |
5229 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5230 |
|
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> |
5231 |
|
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. |
5232 |
|
</p> |
5233 |
|
<p>Possible Answers: |
5234 |
|
</p> |
5235 |
|
<p> |
5236 |
|
</p> |
5237 |
|
<blockquote class="text"> |
5238 |
|
<p>The sampler will answer by returning the number of effect |
5239 |
|
sends on the given sampler channel. |
5240 |
|
</p> |
5241 |
|
</blockquote><p> |
5242 |
|
|
5243 |
|
</p> |
5244 |
|
<p>Example: |
5245 |
|
</p> |
5246 |
|
<p> |
5247 |
|
</p> |
5248 |
|
<blockquote class="text"> |
5249 |
|
<p>C: "GET FX_SENDS 0" |
5250 |
|
</p> |
5251 |
|
<p>S: "2" |
5252 |
|
</p> |
5253 |
|
</blockquote><p> |
5254 |
|
|
5255 |
|
</p> |
5256 |
|
<a name="LIST FX_SENDS"></a><br /><hr /> |
5257 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5258 |
|
<a name="rfc.section.6.4.28"></a><h3>6.4.28. |
5259 |
|
Listing all effect sends on a sampler channel</h3> |
5260 |
|
|
5261 |
|
<p>The front-end can ask for a list of effect sends on a specific sampler channel |
5262 |
|
by sending the following command: |
5263 |
|
</p> |
5264 |
|
<p> |
5265 |
|
</p> |
5266 |
|
<blockquote class="text"> |
5267 |
|
<p>LIST FX_SENDS <sampler-channel> |
5268 |
|
</p> |
5269 |
|
</blockquote><p> |
5270 |
|
|
5271 |
|
</p> |
5272 |
|
<p>Where <sampler-channel> is the respective sampler channel |
5273 |
|
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> |
5274 |
|
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. |
5275 |
|
</p> |
5276 |
|
<p>Possible Answers: |
5277 |
|
</p> |
5278 |
|
<p> |
5279 |
|
</p> |
5280 |
|
<blockquote class="text"> |
5281 |
|
<p>The sampler will answer by returning a comma separated list |
5282 |
|
with all effect sends' numerical IDs on the given sampler |
5283 |
|
channel. |
5284 |
|
</p> |
5285 |
|
</blockquote><p> |
5286 |
|
|
5287 |
|
</p> |
5288 |
|
<p>Examples: |
5289 |
|
</p> |
5290 |
|
<p> |
5291 |
|
</p> |
5292 |
|
<blockquote class="text"> |
5293 |
|
<p>C: "LIST FX_SENDS 0" |
5294 |
|
</p> |
5295 |
|
<p>S: "0,1" |
5296 |
|
</p> |
5297 |
|
</blockquote><p> |
5298 |
|
|
5299 |
|
</p> |
5300 |
|
<p> |
5301 |
|
</p> |
5302 |
|
<blockquote class="text"> |
5303 |
|
<p>C: "LIST FX_SENDS 1" |
5304 |
|
</p> |
5305 |
|
<p>S: "" |
5306 |
|
</p> |
5307 |
|
</blockquote><p> |
5308 |
|
|
5309 |
|
</p> |
5310 |
|
<a name="GET FX_SEND INFO"></a><br /><hr /> |
5311 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5312 |
|
<a name="rfc.section.6.4.29"></a><h3>6.4.29. |
5313 |
|
Getting effect send information</h3> |
5314 |
|
|
5315 |
|
<p>The front-end can ask for the current settings of an effect send entity |
5316 |
|
by sending the following command: |
5317 |
|
</p> |
5318 |
|
<p> |
5319 |
|
</p> |
5320 |
|
<blockquote class="text"> |
5321 |
|
<p>GET FX_SEND INFO <sampler-channel> <fx-send-id> |
5322 |
|
</p> |
5323 |
|
</blockquote><p> |
5324 |
|
|
5325 |
|
</p> |
5326 |
|
<p>Where <sampler-channel> is the sampler channel number |
5327 |
|
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> |
5328 |
|
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 |
5329 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5330 |
|
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> |
5331 |
|
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. |
5332 |
|
|
5333 |
|
</p> |
5334 |
|
<p>Possible Answers: |
5335 |
|
</p> |
5336 |
|
<p> |
5337 |
|
</p> |
5338 |
|
<blockquote class="text"> |
5339 |
|
<p>The sampler will answer by sending a <CRLF> separated list. |
5340 |
|
Each answer line begins with the settings category name |
5341 |
|
followed by a colon and then a space character <SP> and finally |
5342 |
|
the info character string to that setting category. At the |
5343 |
|
moment the following categories are defined: |
5344 |
|
</p> |
5345 |
|
<p> |
5346 |
|
</p> |
5347 |
|
<blockquote class="text"> |
5348 |
|
<p>NAME - |
5349 |
|
</p> |
5350 |
|
<blockquote class="text"> |
5351 |
|
<p>name of the effect send entity |
5352 |
|
</p> |
5353 |
|
</blockquote> |
5354 |
|
|
5355 |
|
|
5356 |
|
<p>MIDI_CONTROLLER - |
5357 |
|
</p> |
5358 |
|
<blockquote class="text"> |
5359 |
|
<p>a value between 0 and 127 reflecting the MIDI controller |
5360 |
|
which is able to modify the effect send's send level |
5361 |
|
</p> |
5362 |
|
</blockquote> |
5363 |
|
|
5364 |
|
|
5365 |
|
<p>LEVEL - |
5366 |
|
</p> |
5367 |
|
<blockquote class="text"> |
5368 |
|
<p>optionally dotted number reflecting the effect send's |
5369 |
|
current send level (where a value < 1.0 means attenuation |
5370 |
|
and a value > 1.0 means amplification) |
5371 |
|
</p> |
5372 |
|
</blockquote> |
5373 |
|
|
5374 |
|
|
5375 |
|
<p>AUDIO_OUTPUT_ROUTING - |
5376 |
|
</p> |
5377 |
|
<blockquote class="text"> |
5378 |
|
<p>comma separated list which reflects to which audio |
5379 |
|
channel of the selected audio output device each |
5380 |
|
effect send output channel is routed to, e.g. "0,3" would |
5381 |
|
mean the effect send's output channel 0 is routed to channel |
5382 |
|
0 of the audio output device and the effect send's output |
5383 |
|
channel 1 is routed to the channel 3 of the audio |
5384 |
|
output device (see |
5385 |
|
<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> |
5386 |
|
for details) |
5387 |
|
</p> |
5388 |
|
</blockquote> |
5389 |
|
|
5390 |
|
|
5391 |
|
</blockquote> |
5392 |
|
|
5393 |
|
|
5394 |
|
</blockquote><p> |
5395 |
|
|
5396 |
|
</p> |
5397 |
|
<p>The mentioned fields above don't have to be in particular order. |
5398 |
|
</p> |
5399 |
|
<p>Example: |
5400 |
|
</p> |
5401 |
|
<p> |
5402 |
|
</p> |
5403 |
|
<blockquote class="text"> |
5404 |
|
<p>C: "GET FX_SEND INFO 0 0" |
5405 |
|
</p> |
5406 |
|
<p>S: "NAME: Reverb Send" |
5407 |
|
</p> |
5408 |
|
<p> "MIDI_CONTROLLER: 91" |
5409 |
|
</p> |
5410 |
|
<p> "LEVEL: 0.3" |
5411 |
|
</p> |
5412 |
|
<p> "AUDIO_OUTPUT_ROUTING: 2,3" |
5413 |
|
</p> |
5414 |
|
<p> "." |
5415 |
|
</p> |
5416 |
|
</blockquote><p> |
5417 |
|
|
5418 |
|
</p> |
5419 |
|
<a name="SET FX_SEND NAME"></a><br /><hr /> |
5420 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5421 |
|
<a name="rfc.section.6.4.30"></a><h3>6.4.30. |
5422 |
|
Changing effect send's name</h3> |
5423 |
|
|
5424 |
|
<p>The front-end can alter the current name of an effect |
5425 |
|
send entity by sending the following command: |
5426 |
|
</p> |
5427 |
|
<p> |
5428 |
|
</p> |
5429 |
|
<blockquote class="text"> |
5430 |
|
<p>SET FX_SEND NAME <sampler-chan> <fx-send-id> <name> |
5431 |
|
</p> |
5432 |
|
</blockquote><p> |
5433 |
|
|
5434 |
|
</p> |
5435 |
|
<p>Where <sampler-chan> is the sampler channel number |
5436 |
|
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> |
5437 |
|
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, |
5438 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5439 |
|
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> |
5440 |
|
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 |
5441 |
|
<name> is the new name of the effect send entity, which |
5442 |
|
does not have to be unique. |
5443 |
|
</p> |
5444 |
|
<p>Possible Answers: |
5445 |
|
</p> |
5446 |
|
<p> |
5447 |
|
</p> |
5448 |
|
<blockquote class="text"> |
5449 |
|
<p>"OK" - |
5450 |
|
</p> |
5451 |
|
<blockquote class="text"> |
5452 |
|
<p>on success |
5453 |
|
</p> |
5454 |
|
</blockquote> |
5455 |
|
|
5456 |
|
|
5457 |
|
<p>"ERR:<error-code>:<error-message>" - |
5458 |
|
</p> |
5459 |
|
<blockquote class="text"> |
5460 |
|
<p>in case it failed, providing an appropriate error code and error message |
5461 |
|
</p> |
5462 |
|
</blockquote> |
5463 |
|
|
5464 |
|
|
5465 |
|
</blockquote><p> |
5466 |
|
|
5467 |
|
</p> |
5468 |
|
<p>Example: |
5469 |
|
</p> |
5470 |
|
<p> |
5471 |
|
</p> |
5472 |
|
<blockquote class="text"> |
5473 |
|
<p>C: "SET FX_SEND NAME 0 0 'Fx Send 1'" |
5474 |
|
</p> |
5475 |
|
<p>S: "OK" |
5476 |
|
</p> |
5477 |
|
</blockquote><p> |
5478 |
|
|
5479 |
|
</p> |
5480 |
|
<a name="SET FX_SEND AUDIO_OUTPUT_CHANNEL"></a><br /><hr /> |
5481 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5482 |
|
<a name="rfc.section.6.4.31"></a><h3>6.4.31. |
5483 |
|
Altering effect send's audio routing</h3> |
5484 |
|
|
5485 |
|
<p>The front-end can alter the destination of an effect send's audio channel on a specific |
5486 |
|
sampler channel by sending the following command: |
5487 |
|
</p> |
5488 |
|
<p> |
5489 |
|
</p> |
5490 |
|
<blockquote class="text"> |
5491 |
|
<p>SET FX_SEND AUDIO_OUTPUT_CHANNEL <sampler-chan> <fx-send-id> <audio-src> <audio-dst> |
5492 |
|
</p> |
5493 |
|
</blockquote><p> |
5494 |
|
|
5495 |
|
</p> |
5496 |
|
<p>Where <sampler-chan> is the sampler channel number |
5497 |
|
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> |
5498 |
|
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, |
5499 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5500 |
|
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> |
5501 |
|
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, |
5502 |
|
<audio-src> is the numerical ID of the effect send's audio channel |
5503 |
|
which should be rerouted and <audio-dst> is the numerical ID of |
5504 |
|
the audio channel of the selected audio output device where <audio-src> |
5505 |
|
should be routed to. |
5506 |
|
</p> |
5507 |
|
<p>Note that effect sends can only route audio to the same audio output |
5508 |
|
device as assigned to the effect send's sampler channel. Also note that an |
5509 |
|
effect send entity does always have exactly as much audio channels as its |
5510 |
|
sampler channel. So if the sampler channel is stereo, the effect send does |
5511 |
|
have two audio channels as well. Also keep in mind that the amount of audio |
5512 |
|
channels on a sampler channel might be dependant not only to the deployed |
5513 |
|
sampler engine on the sampler channel, but also dependant to the instrument |
5514 |
|
currently loaded. However you can (effectively) turn an i.e. stereo effect |
5515 |
|
send into a mono one by simply altering its audio routing appropriately. |
5516 |
|
</p> |
5517 |
|
<p>Possible Answers: |
5518 |
|
</p> |
5519 |
|
<p> |
5520 |
|
</p> |
5521 |
|
<blockquote class="text"> |
5522 |
|
<p>"OK" - |
5523 |
|
</p> |
5524 |
|
<blockquote class="text"> |
5525 |
|
<p>on success |
5526 |
|
</p> |
5527 |
|
</blockquote> |
5528 |
|
|
5529 |
|
|
5530 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5531 |
|
</p> |
5532 |
|
<blockquote class="text"> |
5533 |
|
<p>if audio output channel was set, but there are noteworthy |
5534 |
|
issue(s) related, providing an appropriate warning code and |
5535 |
|
warning message |
5536 |
|
</p> |
5537 |
|
</blockquote> |
5538 |
|
|
5539 |
|
|
5540 |
|
<p>"ERR:<error-code>:<error-message>" - |
5541 |
|
</p> |
5542 |
|
<blockquote class="text"> |
5543 |
|
<p>in case it failed, providing an appropriate error code and error message |
5544 |
|
</p> |
5545 |
|
</blockquote> |
5546 |
|
|
5547 |
|
|
5548 |
|
</blockquote><p> |
5549 |
|
|
5550 |
|
</p> |
5551 |
|
<p>Example: |
5552 |
|
</p> |
5553 |
|
<p> |
5554 |
|
</p> |
5555 |
|
<blockquote class="text"> |
5556 |
|
<p>C: "SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2" |
5557 |
|
</p> |
5558 |
|
<p>S: "OK" |
5559 |
|
</p> |
5560 |
|
</blockquote><p> |
5561 |
|
|
5562 |
|
</p> |
5563 |
|
<a name="SET FX_SEND MIDI_CONTROLLER"></a><br /><hr /> |
5564 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5565 |
|
<a name="rfc.section.6.4.32"></a><h3>6.4.32. |
5566 |
|
Altering effect send's MIDI controller</h3> |
5567 |
|
|
5568 |
|
<p>The front-end can alter the MIDI controller of an effect |
5569 |
|
send entity by sending the following command: |
5570 |
|
</p> |
5571 |
|
<p> |
5572 |
|
</p> |
5573 |
|
<blockquote class="text"> |
5574 |
|
<p>SET FX_SEND MIDI_CONTROLLER <sampler-chan> <fx-send-id> <midi-ctrl> |
5575 |
|
</p> |
5576 |
|
</blockquote><p> |
5577 |
|
|
5578 |
|
</p> |
5579 |
|
<p>Where <sampler-chan> is the sampler channel number |
5580 |
|
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> |
5581 |
|
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, |
5582 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5583 |
|
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> |
5584 |
|
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 |
5585 |
|
<midi-ctrl> reflects the MIDI controller which shall be |
5586 |
|
able to modify the effect send's send level. |
5587 |
|
</p> |
5588 |
|
<p>Possible Answers: |
5589 |
|
</p> |
5590 |
|
<p> |
5591 |
|
</p> |
5592 |
|
<blockquote class="text"> |
5593 |
|
<p>"OK" - |
5594 |
|
</p> |
5595 |
|
<blockquote class="text"> |
5596 |
|
<p>on success |
5597 |
|
</p> |
5598 |
|
</blockquote> |
5599 |
|
|
5600 |
|
|
5601 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5602 |
|
</p> |
5603 |
|
<blockquote class="text"> |
5604 |
|
<p>if MIDI controller was set, but there are noteworthy |
5605 |
|
issue(s) related, providing an appropriate warning code and |
5606 |
|
warning message |
5607 |
|
</p> |
5608 |
|
</blockquote> |
5609 |
|
|
5610 |
|
|
5611 |
|
<p>"ERR:<error-code>:<error-message>" - |
5612 |
|
</p> |
5613 |
|
<blockquote class="text"> |
5614 |
|
<p>in case it failed, providing an appropriate error code and error message |
5615 |
|
</p> |
5616 |
|
</blockquote> |
5617 |
|
|
5618 |
|
|
5619 |
|
</blockquote><p> |
5620 |
|
|
5621 |
|
</p> |
5622 |
|
<p>Example: |
5623 |
|
</p> |
5624 |
|
<p> |
5625 |
|
</p> |
5626 |
|
<blockquote class="text"> |
5627 |
|
<p>C: "SET FX_SEND MIDI_CONTROLLER 0 0 91" |
5628 |
|
</p> |
5629 |
|
<p>S: "OK" |
5630 |
|
</p> |
5631 |
|
</blockquote><p> |
5632 |
|
|
5633 |
|
</p> |
5634 |
|
<a name="SET FX_SEND LEVEL"></a><br /><hr /> |
5635 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5636 |
|
<a name="rfc.section.6.4.33"></a><h3>6.4.33. |
5637 |
|
Altering effect send's send level</h3> |
5638 |
|
|
5639 |
|
<p>The front-end can alter the current send level of an effect |
5640 |
|
send entity by sending the following command: |
5641 |
|
</p> |
5642 |
|
<p> |
5643 |
|
</p> |
5644 |
|
<blockquote class="text"> |
5645 |
|
<p>SET FX_SEND LEVEL <sampler-chan> <fx-send-id> <volume> |
5646 |
|
</p> |
5647 |
|
</blockquote><p> |
5648 |
|
|
5649 |
|
</p> |
5650 |
|
<p>Where <sampler-chan> is the sampler channel number |
5651 |
|
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> |
5652 |
|
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, |
5653 |
|
<fx-send-id> reflects the numerical ID of the effect send entity |
5654 |
|
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> |
5655 |
|
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 |
5656 |
|
<volume> is an optionally dotted positive number (a value |
5657 |
|
smaller than 1.0 means attenuation, whereas a value greater than |
5658 |
|
1.0 means amplification) reflecting the new send level. |
5659 |
|
</p> |
5660 |
|
<p>Possible Answers: |
5661 |
|
</p> |
5662 |
|
<p> |
5663 |
|
</p> |
5664 |
|
<blockquote class="text"> |
5665 |
|
<p>"OK" - |
5666 |
|
</p> |
5667 |
|
<blockquote class="text"> |
5668 |
|
<p>on success |
5669 |
|
</p> |
5670 |
|
</blockquote> |
5671 |
|
|
5672 |
|
|
5673 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5674 |
|
</p> |
5675 |
|
<blockquote class="text"> |
5676 |
|
<p>if new send level was set, but there are noteworthy |
5677 |
|
issue(s) related, providing an appropriate warning code and |
5678 |
|
warning message |
5679 |
|
</p> |
5680 |
|
</blockquote> |
5681 |
|
|
5682 |
|
|
5683 |
|
<p>"ERR:<error-code>:<error-message>" - |
5684 |
|
</p> |
5685 |
|
<blockquote class="text"> |
5686 |
|
<p>in case it failed, providing an appropriate error code and error message |
5687 |
|
</p> |
5688 |
|
</blockquote> |
5689 |
|
|
5690 |
|
|
5691 |
|
</blockquote><p> |
5692 |
|
|
5693 |
|
</p> |
5694 |
|
<p>Example: |
5695 |
|
</p> |
5696 |
|
<p> |
5697 |
|
</p> |
5698 |
|
<blockquote class="text"> |
5699 |
|
<p>C: "SET FX_SEND LEVEL 0 0 0.15" |
5700 |
|
</p> |
5701 |
|
<p>S: "OK" |
5702 |
|
</p> |
5703 |
|
</blockquote><p> |
5704 |
|
|
5705 |
|
</p> |
5706 |
<a name="RESET CHANNEL"></a><br /><hr /> |
<a name="RESET CHANNEL"></a><br /><hr /> |
5707 |
<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> |
5708 |
<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. |
5709 |
|
Resetting a sampler channel</h3> |
5710 |
|
|
5711 |
<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: |
5712 |
</p> |
</p> |
5770 |
|
|
5771 |
</p> |
</p> |
5772 |
<a name="anchor12"></a><br /><hr /> |
<a name="anchor12"></a><br /><hr /> |
5773 |
<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> |
5774 |
<a name="rfc.section.6.5"></a><h3>6.5. Controlling connection</h3> |
<a name="rfc.section.6.5"></a><h3>6.5. |
5775 |
|
Controlling connection</h3> |
5776 |
|
|
5777 |
<p>The following commands are used to control the connection to LinuxSampler. |
<p>The following commands are used to control the connection to LinuxSampler. |
5778 |
</p> |
</p> |
5779 |
<a name="SUBSCRIBE"></a><br /><hr /> |
<a name="SUBSCRIBE"></a><br /><hr /> |
5780 |
<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> |
5781 |
<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. |
5782 |
|
Register front-end for receiving event messages</h3> |
5783 |
|
|
5784 |
<p>The front-end can register itself to the LinuxSampler application to |
<p>The front-end can register itself to the LinuxSampler application to |
5785 |
be informed about noteworthy events by sending this command: |
be informed about noteworthy events by sending this command: |
5841 |
|
|
5842 |
</p> |
</p> |
5843 |
<a name="UNSUBSCRIBE"></a><br /><hr /> |
<a name="UNSUBSCRIBE"></a><br /><hr /> |
5844 |
<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> |
5845 |
<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. |
5846 |
|
Unregister front-end for not receiving event messages</h3> |
5847 |
|
|
5848 |
<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 |
5849 |
messages anymore by sending the following command: |
messages anymore by sending the following command: |
5905 |
|
|
5906 |
</p> |
</p> |
5907 |
<a name="SET ECHO"></a><br /><hr /> |
<a name="SET ECHO"></a><br /><hr /> |
5908 |
<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> |
5909 |
<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. |
5910 |
|
Enable or disable echo of commands</h3> |
5911 |
|
|
5912 |
<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: |
5913 |
</p> |
</p> |
5962 |
|
|
5963 |
</p> |
</p> |
5964 |
<a name="QUIT"></a><br /><hr /> |
<a name="QUIT"></a><br /><hr /> |
5965 |
<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> |
5966 |
<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. |
5967 |
|
Close client connection</h3> |
5968 |
|
|
5969 |
<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: |
5970 |
</p> |
</p> |
5980 |
LinuxSampler than really useful for a front-end implementation. |
LinuxSampler than really useful for a front-end implementation. |
5981 |
</p> |
</p> |
5982 |
<a name="anchor13"></a><br /><hr /> |
<a name="anchor13"></a><br /><hr /> |
5983 |
<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> |
5984 |
<a name="rfc.section.6.6"></a><h3>6.6. Global commands</h3> |
<a name="rfc.section.6.6"></a><h3>6.6. |
5985 |
|
Global commands</h3> |
5986 |
|
|
5987 |
<p>The following commands have global impact on the sampler. |
<p>The following commands have global impact on the sampler. |
5988 |
</p> |
</p> |
5989 |
<a name="GET TOTAL_VOICE_COUNT"></a><br /><hr /> |
<a name="GET TOTAL_VOICE_COUNT"></a><br /><hr /> |
5990 |
<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> |
5991 |
<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. |
5992 |
|
Current number of active voices</h3> |
5993 |
|
|
5994 |
<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 |
5995 |
the sampler by sending the following command: |
the sampler by sending the following command: |
6014 |
|
|
6015 |
</p> |
</p> |
6016 |
<a name="GET TOTAL_VOICE_COUNT_MAX"></a><br /><hr /> |
<a name="GET TOTAL_VOICE_COUNT_MAX"></a><br /><hr /> |
6017 |
<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> |
6018 |
<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. |
6019 |
|
Maximum amount of active voices</h3> |
6020 |
|
|
6021 |
<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 |
6022 |
by sending the following command: |
by sending the following command: |
6041 |
|
|
6042 |
</p> |
</p> |
6043 |
<a name="RESET"></a><br /><hr /> |
<a name="RESET"></a><br /><hr /> |
6044 |
<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> |
6045 |
<a name="rfc.section.6.6.3"></a><h3>6.6.3. Reset sampler</h3> |
<a name="rfc.section.6.6.3"></a><h3>6.6.3. |
6046 |
|
Reset sampler</h3> |
6047 |
|
|
6048 |
<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: |
6049 |
</p> |
</p> |
6082 |
|
|
6083 |
</p> |
</p> |
6084 |
<a name="GET SERVER INFO"></a><br /><hr /> |
<a name="GET SERVER INFO"></a><br /><hr /> |
6085 |
<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> |
6086 |
<a name="rfc.section.6.6.4"></a><h3>6.6.4. General sampler informations</h3> |
<a name="rfc.section.6.6.4"></a><h3>6.6.4. |
6087 |
|
General sampler informations</h3> |
6088 |
|
|
6089 |
<p>The client can ask for general informations about the LinuxSampler |
<p>The client can ask for general informations about the LinuxSampler |
6090 |
instance by sending the following command: |
instance by sending the following command: |
6132 |
</p> |
</p> |
6133 |
<blockquote class="text"> |
<blockquote class="text"> |
6134 |
<p>version of the LSCP specification the sampler |
<p>version of the LSCP specification the sampler |
6135 |
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) |
6136 |
|
</p> |
6137 |
|
</blockquote> |
6138 |
|
|
6139 |
|
|
6140 |
|
<p>INSTRUMENTS_DB_SUPPORT - |
6141 |
|
</p> |
6142 |
|
<blockquote class="text"> |
6143 |
|
<p>either yes or no, specifies whether the |
6144 |
|
sampler is build with instruments database support. |
6145 |
</p> |
</p> |
6146 |
</blockquote> |
</blockquote> |
6147 |
|
|
6155 |
<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. |
6156 |
Other fields might be added in future. |
Other fields might be added in future. |
6157 |
</p> |
</p> |
6158 |
<a name="anchor14"></a><br /><hr /> |
<a name="GET VOLUME"></a><br /><hr /> |
6159 |
<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> |
6160 |
<a name="rfc.section.6.7"></a><h3>6.7. MIDI Instrument Mapping</h3> |
<a name="rfc.section.6.6.5"></a><h3>6.6.5. |
6161 |
|
Getting global volume attenuation</h3> |
6162 |
|
|
6163 |
|
<p>The client can ask for the current global sampler-wide volume |
6164 |
|
attenuation by sending the following command: |
6165 |
|
</p> |
6166 |
|
<p> |
6167 |
|
</p> |
6168 |
|
<blockquote class="text"> |
6169 |
|
<p>GET VOLUME |
6170 |
|
</p> |
6171 |
|
</blockquote><p> |
6172 |
|
|
6173 |
|
</p> |
6174 |
|
<p>Possible Answers: |
6175 |
|
</p> |
6176 |
|
<p> |
6177 |
|
</p> |
6178 |
|
<blockquote class="text"> |
6179 |
|
<p>The sampler will always answer by returning the optional |
6180 |
|
dotted floating point coefficient, reflecting the current |
6181 |
|
global volume attenuation. |
6182 |
|
|
6183 |
|
</p> |
6184 |
|
</blockquote><p> |
6185 |
|
|
6186 |
|
</p> |
6187 |
|
<p>Note: it is up to the respective sampler engine whether to obey |
6188 |
|
that global volume parameter or not, but in general all engines SHOULD |
6189 |
|
use this parameter. |
6190 |
|
</p> |
6191 |
|
<a name="SET VOLUME"></a><br /><hr /> |
6192 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6193 |
|
<a name="rfc.section.6.6.6"></a><h3>6.6.6. |
6194 |
|
Setting global volume attenuation</h3> |
6195 |
|
|
6196 |
|
<p>The client can alter the current global sampler-wide volume |
6197 |
|
attenuation by sending the following command: |
6198 |
|
</p> |
6199 |
|
<p> |
6200 |
|
</p> |
6201 |
|
<blockquote class="text"> |
6202 |
|
<p>SET VOLUME <volume> |
6203 |
|
</p> |
6204 |
|
</blockquote><p> |
6205 |
|
|
6206 |
|
</p> |
6207 |
|
<p>Where <volume> should be replaced by the optional dotted |
6208 |
|
floating point value, reflecting the new global volume parameter. |
6209 |
|
This value might usually be in the range between 0.0 and 1.0, that |
6210 |
|
is for attenuating the overall volume. |
6211 |
|
</p> |
6212 |
|
<p>Possible Answers: |
6213 |
|
</p> |
6214 |
|
<p> |
6215 |
|
</p> |
6216 |
|
<blockquote class="text"> |
6217 |
|
<p>"OK" - |
6218 |
|
</p> |
6219 |
|
<blockquote class="text"> |
6220 |
|
<p>on success |
6221 |
|
</p> |
6222 |
|
</blockquote> |
6223 |
|
|
6224 |
|
|
6225 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
6226 |
|
</p> |
6227 |
|
<blockquote class="text"> |
6228 |
|
<p>if the global volume was set, but there are noteworthy |
6229 |
|
issue(s) related, providing an appropriate warning code and |
6230 |
|
warning message |
6231 |
|
</p> |
6232 |
|
</blockquote> |
6233 |
|
|
6234 |
|
|
6235 |
|
<p>"ERR:<error-code>:<error-message>" - |
6236 |
|
</p> |
6237 |
|
<blockquote class="text"> |
6238 |
|
<p>in case it failed, providing an appropriate error code and error message |
6239 |
|
</p> |
6240 |
|
</blockquote> |
6241 |
|
|
6242 |
|
|
6243 |
|
</blockquote><p> |
6244 |
|
|
6245 |
|
</p> |
6246 |
|
<a name="MIDI Instrument Mapping"></a><br /><hr /> |
6247 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6248 |
|
<a name="rfc.section.6.7"></a><h3>6.7. |
6249 |
|
MIDI Instrument Mapping</h3> |
6250 |
|
|
6251 |
<p>The MIDI protocol provides a way to switch between instruments |
<p>The MIDI protocol provides a way to switch between instruments |
6252 |
by sending so called MIDI bank select and MIDI program change |
by sending so called MIDI bank select and MIDI program change |
6254 |
allow to actually map arbitrary MIDI bank select / program change |
allow to actually map arbitrary MIDI bank select / program change |
6255 |
numbers with real instruments. |
numbers with real instruments. |
6256 |
</p> |
</p> |
6257 |
<p>By default, that is when the sampler is launched, this map will |
<p>The sampler allows to manage an arbitrary amount of MIDI |
6258 |
be empty, thus the sampler will simply ignore all program change |
instrument maps which define which instrument to load on |
6259 |
messages. The front-end has to explicitly add entries to the map |
which MIDI program change message. |
6260 |
so the sampler knows how to react on a given program change |
</p> |
6261 |
message, that is by switching to the respectively defined engine |
<p>By default, that is when the sampler is launched, there is no |
6262 |
type and loading the respective instrument. |
map, thus the sampler will simply ignore all program change |
6263 |
|
messages. The front-end has to explicitly create at least one |
6264 |
|
map, add entries to the map and tell the respective sampler |
6265 |
|
channel(s) which MIDI instrument map to use, so the sampler |
6266 |
|
knows how to react on a given program change message on the |
6267 |
|
respective sampler channel, that is by switching to the |
6268 |
|
respectively defined engine type and loading the respective |
6269 |
|
instrument. See command |
6270 |
|
<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> |
6271 |
|
for how to assign a MIDI instrument map to a sampler channel. |
6272 |
</p> |
</p> |
6273 |
<p>Also note per MIDI specification a bank select message does not |
<p>Also note per MIDI specification a bank select message does not |
6274 |
cause to switch to another instrument. Instead when receiving a |
cause to switch to another instrument. Instead when receiving a |
6277 |
cause the sampler to switch to the respective instrument as |
cause the sampler to switch to the respective instrument as |
6278 |
reflected by the current MIDI instrument map. |
reflected by the current MIDI instrument map. |
6279 |
</p> |
</p> |
6280 |
|
<a name="ADD MIDI_INSTRUMENT MAP"></a><br /><hr /> |
6281 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6282 |
|
<a name="rfc.section.6.7.1"></a><h3>6.7.1. |
6283 |
|
Create a new MIDI instrument map</h3> |
6284 |
|
|
6285 |
|
<p>The front-end can add a new MIDI instrument map by sending |
6286 |
|
the following command: |
6287 |
|
</p> |
6288 |
|
<p> |
6289 |
|
</p> |
6290 |
|
<blockquote class="text"> |
6291 |
|
<p>ADD MIDI_INSTRUMENT_MAP [<name>] |
6292 |
|
</p> |
6293 |
|
</blockquote><p> |
6294 |
|
|
6295 |
|
</p> |
6296 |
|
<p>Where <name> is an optional argument allowing to |
6297 |
|
assign a custom name to the new map. MIDI instrument Map |
6298 |
|
names do not have to be unique. |
6299 |
|
</p> |
6300 |
|
<p>Possible Answers: |
6301 |
|
</p> |
6302 |
|
<p> |
6303 |
|
</p> |
6304 |
|
<blockquote class="text"> |
6305 |
|
<p>"OK[<map>]" - |
6306 |
|
</p> |
6307 |
|
<blockquote class="text"> |
6308 |
|
<p>in case a new MIDI instrument map could |
6309 |
|
be added, where <map> reflects the |
6310 |
|
unique ID of the newly created MIDI |
6311 |
|
instrument map |
6312 |
|
</p> |
6313 |
|
</blockquote> |
6314 |
|
|
6315 |
|
|
6316 |
|
<p>"ERR:<error-code>:<error-message>" - |
6317 |
|
</p> |
6318 |
|
<blockquote class="text"> |
6319 |
|
<p>when a new map could not be created, which |
6320 |
|
might never occur in practice |
6321 |
|
</p> |
6322 |
|
</blockquote> |
6323 |
|
|
6324 |
|
|
6325 |
|
</blockquote><p> |
6326 |
|
|
6327 |
|
</p> |
6328 |
|
<p>Examples: |
6329 |
|
</p> |
6330 |
|
<p> |
6331 |
|
</p> |
6332 |
|
<blockquote class="text"> |
6333 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Map'" |
6334 |
|
</p> |
6335 |
|
<p>S: "OK[0]" |
6336 |
|
</p> |
6337 |
|
</blockquote><p> |
6338 |
|
|
6339 |
|
</p> |
6340 |
|
<p> |
6341 |
|
</p> |
6342 |
|
<blockquote class="text"> |
6343 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP 'Standard Drumkit'" |
6344 |
|
</p> |
6345 |
|
<p>S: "OK[1]" |
6346 |
|
</p> |
6347 |
|
</blockquote><p> |
6348 |
|
|
6349 |
|
</p> |
6350 |
|
<p> |
6351 |
|
</p> |
6352 |
|
<blockquote class="text"> |
6353 |
|
<p>C: "ADD MIDI_INSTRUMENT_MAP" |
6354 |
|
</p> |
6355 |
|
<p>S: "OK[5]" |
6356 |
|
</p> |
6357 |
|
</blockquote><p> |
6358 |
|
|
6359 |
|
</p> |
6360 |
|
<a name="REMOVE MIDI_INSTRUMENT_MAP"></a><br /><hr /> |
6361 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6362 |
|
<a name="rfc.section.6.7.2"></a><h3>6.7.2. |
6363 |
|
Delete one particular or all MIDI instrument maps</h3> |
6364 |
|
|
6365 |
|
<p>The front-end can delete a particular MIDI instrument map |
6366 |
|
by sending the following command: |
6367 |
|
</p> |
6368 |
|
<p> |
6369 |
|
</p> |
6370 |
|
<blockquote class="text"> |
6371 |
|
<p>REMOVE MIDI_INSTRUMENT_MAP <map> |
6372 |
|
</p> |
6373 |
|
</blockquote><p> |
6374 |
|
|
6375 |
|
</p> |
6376 |
|
<p>Where <map> reflects the unique ID of the map to delete |
6377 |
|
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> |
6378 |
|
command. |
6379 |
|
</p> |
6380 |
|
<p>The front-end can delete all MIDI instrument maps by |
6381 |
|
sending the following command: |
6382 |
|
</p> |
6383 |
|
<p> |
6384 |
|
</p> |
6385 |
|
<blockquote class="text"> |
6386 |
|
<p>REMOVE MIDI_INSTRUMENT_MAP ALL |
6387 |
|
</p> |
6388 |
|
</blockquote><p> |
6389 |
|
|
6390 |
|
</p> |
6391 |
|
<p>Possible Answers: |
6392 |
|
</p> |
6393 |
|
<p> |
6394 |
|
</p> |
6395 |
|
<blockquote class="text"> |
6396 |
|
<p>"OK" - |
6397 |
|
</p> |
6398 |
|
<blockquote class="text"> |
6399 |
|
<p>in case the map(s) could be deleted |
6400 |
|
</p> |
6401 |
|
</blockquote> |
6402 |
|
|
6403 |
|
|
6404 |
|
<p>"ERR:<error-code>:<error-message>" - |
6405 |
|
</p> |
6406 |
|
<blockquote class="text"> |
6407 |
|
<p>when the given map does not exist |
6408 |
|
</p> |
6409 |
|
</blockquote> |
6410 |
|
|
6411 |
|
|
6412 |
|
</blockquote><p> |
6413 |
|
|
6414 |
|
</p> |
6415 |
|
<p>Examples: |
6416 |
|
</p> |
6417 |
|
<p> |
6418 |
|
</p> |
6419 |
|
<blockquote class="text"> |
6420 |
|
<p>C: "REMOVE MIDI_INSTRUMENT_MAP 0" |
6421 |
|
</p> |
6422 |
|
<p>S: "OK" |
6423 |
|
</p> |
6424 |
|
</blockquote><p> |
6425 |
|
|
6426 |
|
</p> |
6427 |
|
<p> |
6428 |
|
</p> |
6429 |
|
<blockquote class="text"> |
6430 |
|
<p>C: "REMOVE MIDI_INSTRUMENT_MAP ALL" |
6431 |
|
</p> |
6432 |
|
<p>S: "OK" |
6433 |
|
</p> |
6434 |
|
</blockquote><p> |
6435 |
|
|
6436 |
|
</p> |
6437 |
|
<a name="GET MIDI_INSTRUMENT_MAPS"></a><br /><hr /> |
6438 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6439 |
|
<a name="rfc.section.6.7.3"></a><h3>6.7.3. |
6440 |
|
Get amount of existing MIDI instrument maps</h3> |
6441 |
|
|
6442 |
|
<p>The front-end can retrieve the current amount of MIDI |
6443 |
|
instrument maps by sending the following command: |
6444 |
|
</p> |
6445 |
|
<p> |
6446 |
|
</p> |
6447 |
|
<blockquote class="text"> |
6448 |
|
<p>GET MIDI_INSTRUMENT_MAPS |
6449 |
|
</p> |
6450 |
|
</blockquote><p> |
6451 |
|
|
6452 |
|
</p> |
6453 |
|
<p>Possible Answers: |
6454 |
|
</p> |
6455 |
|
<p> |
6456 |
|
</p> |
6457 |
|
<blockquote class="text"> |
6458 |
|
<p>The sampler will answer by returning the current |
6459 |
|
number of MIDI instrument maps. |
6460 |
|
</p> |
6461 |
|
</blockquote><p> |
6462 |
|
|
6463 |
|
</p> |
6464 |
|
<p>Example: |
6465 |
|
</p> |
6466 |
|
<p> |
6467 |
|
</p> |
6468 |
|
<blockquote class="text"> |
6469 |
|
<p>C: "GET MIDI_INSTRUMENT_MAPS" |
6470 |
|
</p> |
6471 |
|
<p>S: "2" |
6472 |
|
</p> |
6473 |
|
</blockquote><p> |
6474 |
|
|
6475 |
|
</p> |
6476 |
|
<a name="LIST MIDI_INSTRUMENT_MAPS"></a><br /><hr /> |
6477 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6478 |
|
<a name="rfc.section.6.7.4"></a><h3>6.7.4. |
6479 |
|
Getting all created MIDI instrument maps</h3> |
6480 |
|
|
6481 |
|
<p>The number of MIDI instrument maps can change on runtime. To get the |
6482 |
|
current list of MIDI instrument maps, the front-end can send the |
6483 |
|
following command: |
6484 |
|
</p> |
6485 |
|
<p> |
6486 |
|
</p> |
6487 |
|
<blockquote class="text"> |
6488 |
|
<p>LIST MIDI_INSTRUMENT_MAPS |
6489 |
|
</p> |
6490 |
|
</blockquote><p> |
6491 |
|
|
6492 |
|
</p> |
6493 |
|
<p>Possible Answers: |
6494 |
|
</p> |
6495 |
|
<p> |
6496 |
|
</p> |
6497 |
|
<blockquote class="text"> |
6498 |
|
<p>The sampler will answer by returning a comma separated list |
6499 |
|
with all MIDI instrument maps' numerical IDs. |
6500 |
|
</p> |
6501 |
|
</blockquote><p> |
6502 |
|
|
6503 |
|
</p> |
6504 |
|
<p>Example: |
6505 |
|
</p> |
6506 |
|
<p> |
6507 |
|
</p> |
6508 |
|
<blockquote class="text"> |
6509 |
|
<p>C: "LIST MIDI_INSTRUMENT_MAPS" |
6510 |
|
</p> |
6511 |
|
<p>S: "0,1,5,12" |
6512 |
|
</p> |
6513 |
|
</blockquote><p> |
6514 |
|
|
6515 |
|
</p> |
6516 |
|
<a name="GET MIDI_INSTRUMENT_MAP INFO"></a><br /><hr /> |
6517 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6518 |
|
<a name="rfc.section.6.7.5"></a><h3>6.7.5. |
6519 |
|
Getting MIDI instrument map information</h3> |
6520 |
|
|
6521 |
|
<p>The front-end can ask for the current settings of a MIDI |
6522 |
|
instrument map by sending the following command: |
6523 |
|
</p> |
6524 |
|
<p> |
6525 |
|
</p> |
6526 |
|
<blockquote class="text"> |
6527 |
|
<p>GET MIDI_INSTRUMENT_MAP INFO <map> |
6528 |
|
</p> |
6529 |
|
</blockquote><p> |
6530 |
|
|
6531 |
|
</p> |
6532 |
|
<p>Where <map> is the numerical ID of the map the |
6533 |
|
front-end is interested in as returned by the |
6534 |
|
<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> |
6535 |
|
command. |
6536 |
|
</p> |
6537 |
|
<p>Possible Answers: |
6538 |
|
</p> |
6539 |
|
<p> |
6540 |
|
</p> |
6541 |
|
<blockquote class="text"> |
6542 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
6543 |
|
Each answer line begins with the settings category name |
6544 |
|
followed by a colon and then a space character <SP> and finally |
6545 |
|
the info character string to that setting category. At the |
6546 |
|
moment the following categories are defined: |
6547 |
|
</p> |
6548 |
|
<p> |
6549 |
|
</p> |
6550 |
|
<blockquote class="text"> |
6551 |
|
<p>NAME - |
6552 |
|
</p> |
6553 |
|
<blockquote class="text"> |
6554 |
|
<p>custom name of the given map, |
6555 |
|
which does not have to be unique |
6556 |
|
</p> |
6557 |
|
</blockquote> |
6558 |
|
|
6559 |
|
|
6560 |
|
<p>DEFAULT - |
6561 |
|
</p> |
6562 |
|
<blockquote class="text"> |
6563 |
|
<p>either true or false, |
6564 |
|
defines whether this map is the default map |
6565 |
|
</p> |
6566 |
|
</blockquote> |
6567 |
|
|
6568 |
|
|
6569 |
|
</blockquote> |
6570 |
|
|
6571 |
|
|
6572 |
|
</blockquote><p> |
6573 |
|
|
6574 |
|
</p> |
6575 |
|
<p>The mentioned fields above don't have to be in particular order. |
6576 |
|
</p> |
6577 |
|
<p>Example: |
6578 |
|
</p> |
6579 |
|
<p> |
6580 |
|
</p> |
6581 |
|
<blockquote class="text"> |
6582 |
|
<p>C: "GET MIDI_INSTRUMENT_MAP INFO 0" |
6583 |
|
</p> |
6584 |
|
<p>S: "NAME: Standard Map" |
6585 |
|
</p> |
6586 |
|
<p> "DEFAULT: true" |
6587 |
|
</p> |
6588 |
|
<p> "." |
6589 |
|
</p> |
6590 |
|
</blockquote><p> |
6591 |
|
|
6592 |
|
</p> |
6593 |
|
<a name="SET MIDI_INSTRUMENT_MAP NAME"></a><br /><hr /> |
6594 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
6595 |
|
<a name="rfc.section.6.7.6"></a><h3>6.7.6. |
6596 |
|
Renaming a MIDI instrument map</h3> |
6597 |
|
|
6598 |
|
<p>The front-end can alter the custom name of a MIDI |
6599 |
|
instrument map by sending the following command: |
6600 |
|
</p> |
6601 |
|
<p> |
6602 |
|
</p> |
6603 |
|
<blockquote class="text"> |
6604 |
|
<p>SET MIDI_INSTRUMENT_MAP NAME <map> <name> |
6605 |
|
</p> |
6606 |
|
</blockquote><p> |
6607 |
|
|
6608 |
|
</p> |
6609 |
|
<p>Where <map> is the numerical ID of the map and |
6610 |
|
<name> the new custom name of the map, which does not |
6611 |
|
have to be unique. |
6612 |
|
</p> |
6613 |
|
<p>Possible Answers: |
6614 |
|
</p> |
6615 |
|
<p> |
6616 |
|
</p> |
6617 |
|
<blockquote class="text"> |
6618 |
|
<p>"OK" - |
6619 |
|
</p> |
6620 |
|
<blockquote class="text"> |
6621 |
|
<p>on success |
6622 |
|
</p> |
6623 |
|
</blockquote> |
6624 |
|
|
6625 |
|
|
6626 |
|
<p>"ERR:<error-code>:<error-message>" - |
6627 |
|
</p> |
6628 |
|
<blockquote class="text"> |
6629 |
|
<p>in case the given map does not exist |
6630 |
|
</p> |
6631 |
|
</blockquote> |
6632 |
|
|
6633 |
|
|
6634 |
|
</blockquote><p> |
6635 |
|
|
6636 |
|
</p> |
6637 |
|
<p>Example: |
6638 |
|
</p> |
6639 |
|
<p> |
6640 |
|
</p> |
6641 |
|
<blockquote class="text"> |
6642 |
|
<p>C: "SET MIDI_INSTRUMENT_MAP NAME 0 'Foo instruments'" |
6643 |
|
</p> |
6644 |
|
<p>S: "OK" |
6645 |
|
</p> |
6646 |
|
</blockquote><p> |
6647 |
|
|
6648 |
|
</p> |
6649 |
<a name="MAP MIDI_INSTRUMENT"></a><br /><hr /> |
<a name="MAP MIDI_INSTRUMENT"></a><br /><hr /> |
6650 |
<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> |
6651 |
<a name="rfc.section.6.7.1"></a><h3>6.7.1. Create or replace a MIDI instrument map entry</h3> |
<a name="rfc.section.6.7.7"></a><h3>6.7.7. |
6652 |
|
Create or replace a MIDI instrument map entry</h3> |
6653 |
|
|
6654 |
<p>The front-end can create a new or replace an existing entry |
<p>The front-end can create a new or replace an existing entry |
6655 |
in the sampler's MIDI instrument map by sending the following |
in a sampler's MIDI instrument map by sending the following |
6656 |
command: |
command: |
6657 |
</p> |
</p> |
6658 |
<p> |
<p> |
6659 |
</p> |
</p> |
6660 |
<blockquote class="text"> |
<blockquote class="text"> |
6661 |
<p>MAP MIDI_INSTRUMENT <midi_bank_msb> |
<p>MAP MIDI_INSTRUMENT [NON_MODAL] <map> |
6662 |
<midi_bank_lsb> <midi_prog> <engine_name> |
<midi_bank> <midi_prog> <engine_name> |
6663 |
<filename> <instrument_index> <volume_value> |
<filename> <instrument_index> <volume_value> |
6664 |
[<instr_load_mode>] [<name>] |
[<instr_load_mode>] [<name>] |
6665 |
</p> |
</p> |
6666 |
</blockquote><p> |
</blockquote><p> |
6667 |
|
|
6668 |
</p> |
</p> |
6669 |
<p>Where <midi_bank_msb> is an integer value between |
<p>Where <map> is the numeric ID of the map to alter, |
6670 |
0..127 reflecting the MIDI bank select MSB (coarse) index, |
<midi_bank> is an integer value between |
6671 |
<midi_bank_lsb> an integer value between 0..127 reflecting |
0..16383 reflecting the MIDI bank select index, |
6672 |
the MIDI bank select LSB (fine) index, <midi_prog> an |
<midi_prog> an |
6673 |
integer value between 0..127 reflecting the MIDI program change |
integer value between 0..127 reflecting the MIDI program change |
6674 |
index, <engine_name> a sampler engine name as returned by |
index, <engine_name> a sampler engine name as returned by |
6675 |
the <a class="info" href="#LIST AVAILABLE_ENGINES">"LIST AVAILABLE_ENGINES"<span> (</span><span class="info">Getting all available engines</span><span>)</span></a> |
the <a class='info' href='#LIST AVAILABLE_ENGINES'>"LIST AVAILABLE_ENGINES"<span> (</span><span class='info'>Getting all available engines</span><span>)</span></a> |
6676 |
command (not encapsulated into apostrophes), <filename> the name |
command (not encapsulated into apostrophes), <filename> the name |
6677 |
of the instrument's file to be deployed (encapsulated into apostrophes), <instrument_index> the index (integer value) of the instrument |
of the instrument's file to be deployed (encapsulated into apostrophes, |
6678 |
|
supporting escape sequences as described in chapter |
6679 |
|
"<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>"), |
6680 |
|
<instrument_index> the index (integer value) of the instrument |
6681 |
within the given file, <volume_value> reflects the master |
within the given file, <volume_value> reflects the master |
6682 |
volume of the instrument as optionally dotted number (where a |
volume of the instrument as optionally dotted number (where a |
6683 |
value < 1.0 means attenuation and a value > 1.0 means |
value < 1.0 means attenuation and a value > 1.0 means |
6684 |
amplification). This parameter easily allows to adjust the |
amplification). This parameter easily allows to adjust the |
6685 |
volume of all intruments within a custom instrument map |
volume of all intruments within a custom instrument map |
6686 |
without having to adjust their instrument files. The |
without having to adjust their instrument files. The |
6724 |
</p> |
</p> |
6725 |
<blockquote class="text"> |
<blockquote class="text"> |
6726 |
<p>The instrument will immediately be loaded |
<p>The instrument will immediately be loaded |
6727 |
into memory in the background when this mapping |
into memory when this mapping |
6728 |
command is sent and the instrument is kept all |
command is sent and the instrument is kept all |
6729 |
the time. Instruments with this mode are |
the time. Instruments with this mode are |
6730 |
only freed when the sampler is reset or all |
only freed when the sampler is reset or all |
6772 |
individually. Due to this, in case the frontend shows the |
individually. Due to this, in case the frontend shows the |
6773 |
load modes of entries, the frontend should retrieve the actual |
load modes of entries, the frontend should retrieve the actual |
6774 |
mode by i.e. sending |
mode by i.e. sending |
6775 |
<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> |
<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> |
6776 |
command(s). Finally the OPTIONAL <name> argument allows to |
command(s). Finally the OPTIONAL <name> argument allows to |
6777 |
set a custom name (encapsulated into apostrophes) for the mapping |
set a custom name (encapsulated into apostrophes) for the mapping |
6778 |
entry, useful for frontends for displaying an appropriate name for |
entry, useful for frontends for displaying an appropriate name for |
6779 |
mapped instruments (using |
mapped instruments (using |
6780 |
<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>). |
<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>). |
6781 |
|
|
6782 |
</p> |
</p> |
6783 |
<p> |
<p> |
6784 |
The "MAP MIDI_INSTRUMENT" command |
By default, "MAP MIDI_INSTRUMENT" commands block until the mapping is |
6785 |
will immediately return, thus it will not block when an |
completely established in the sampler. The OPTIONAL "NON_MODAL" argument |
6786 |
instrument is to be loaded due to a "PERSISTENT" type |
however causes the respective "MAP MIDI_INSTRUMENT" command to return |
6787 |
entry as instruments are loaded in the background. As a |
immediately, that is to let the sampler establish the mapping in the |
6788 |
consequence this command may not necessarily return an error |
background. So this argument might be especially useful for mappings with |
6789 |
i.e. when the given instrument file does not exist or may |
a "PERSISTENT" type, because these have to load the respective instruments |
6790 |
turn out to be corrupt. |
immediately and might thus block for a very long time. It is recommended |
6791 |
|
however to use the OPTIONAL "NON_MODAL" argument only if really necessary, |
6792 |
|
because it has the following drawbacks: as "NON_MODAL" instructions return |
6793 |
|
immediately, they may not necessarily return an error i.e. when the given |
6794 |
|
instrument file turns out to be corrupt, beside that subsequent commands |
6795 |
|
in a LSCP instruction sequence might fail, because mandatory mappings are |
6796 |
|
not yet completed. |
6797 |
|
|
6798 |
</p> |
</p> |
6799 |
<p>Possible Answers: |
<p>Possible Answers: |
6812 |
<p>"ERR:<error-code>:<error-message>" - |
<p>"ERR:<error-code>:<error-message>" - |
6813 |
</p> |
</p> |
6814 |
<blockquote class="text"> |
<blockquote class="text"> |
6815 |
<p>when the given engine does not exist or a value |
<p>when the given map or engine does not exist or a value |
6816 |
is out of range |
is out of range |
6817 |
</p> |
</p> |
6818 |
</blockquote> |
</blockquote> |
6826 |
<p> |
<p> |
6827 |
</p> |
</p> |
6828 |
<blockquote class="text"> |
<blockquote class="text"> |
6829 |
<p>C: "MAP MIDI_INSTRUMENT 3 0 0 gig '/usr/share/Steinway D.gig' 0 0.8 PERSISTENT" |
<p>C: "MAP MIDI_INSTRUMENT 0 3 0 gig '/usr/share/Steinway D.gig' 0 0.8 PERSISTENT" |
6830 |
</p> |
</p> |
6831 |
<p>S: "OK" |
<p>S: "OK" |
6832 |
</p> |
</p> |
6836 |
<p> |
<p> |
6837 |
</p> |
</p> |
6838 |
<blockquote class="text"> |
<blockquote class="text"> |
6839 |
<p>C: "MAP MIDI_INSTRUMENT 127 4 50 gig '/home/john/foostrings.gig' 7 1.0" |
<p>C: "MAP MIDI_INSTRUMENT 0 4 50 gig '/home/john/foostrings.gig' 7 1.0" |
6840 |
</p> |
</p> |
6841 |
<p>S: "OK" |
<p>S: "OK" |
6842 |
</p> |
</p> |
6850 |
</p> |
</p> |
6851 |
<p>S: "OK" |
<p>S: "OK" |
6852 |
</p> |
</p> |
6853 |
<p>C: "MAP MIDI_INSTRUMENT 1 0 0 gig '/usr/share/piano.gig' 0 0.25 'Silent Piano'" |
<p>C: "MAP MIDI_INSTRUMENT 0 1 0 gig '/usr/share/piano.gig' 0 0.25 'Silent Piano'" |
6854 |
</p> |
</p> |
6855 |
<p>S: "OK" |
<p>S: "OK" |
6856 |
</p> |
</p> |
6860 |
<p> |
<p> |
6861 |
</p> |
</p> |
6862 |
<blockquote class="text"> |
<blockquote class="text"> |
6863 |
<p>C: "MAP MIDI_INSTRUMENT 99 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'" |
<p>C: "MAP MIDI_INSTRUMENT NON_MODAL 1 8 120 gig '/home/joe/foodrums.gig' 0 1.0 PERSISTENT 'Foo Drumkit'" |
6864 |
</p> |
</p> |
6865 |
<p>S: "OK" |
<p>S: "OK" |
6866 |
</p> |
</p> |
6868 |
|
|
6869 |
</p> |
</p> |
6870 |
<a name="GET MIDI_INSTRUMENTS"></a><br /><hr /> |
<a name="GET MIDI_INSTRUMENTS"></a><br /><hr /> |
6871 |
<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> |
6872 |
<a name="rfc.section.6.7.2"></a><h3>6.7.2. Getting ammount of MIDI instrument map entries</h3> |
<a name="rfc.section.6.7.8"></a><h3>6.7.8. |
6873 |
|
Getting ammount of MIDI instrument map entries</h3> |
6874 |
|
|
6875 |
<p>The front-end can query the amount of currently existing MIDI |
<p>The front-end can query the amount of currently existing |
6876 |
instrument map entries by sending the following |
entries in a MIDI instrument map by sending the following |
6877 |
command: |
command: |
6878 |
</p> |
</p> |
6879 |
<p> |
<p> |
6880 |
</p> |
</p> |
6881 |
<blockquote class="text"> |
<blockquote class="text"> |
6882 |
<p>GET MIDI_INSTRUMENTS |
<p>GET MIDI_INSTRUMENTS <map> |
6883 |
|
</p> |
6884 |
|
</blockquote><p> |
6885 |
|
|
6886 |
|
</p> |
6887 |
|
<p>The front-end can query the amount of currently existing |
6888 |
|
entries in all MIDI instrument maps by sending the following |
6889 |
|
command: |
6890 |
|
</p> |
6891 |
|
<p> |
6892 |
|
</p> |
6893 |
|
<blockquote class="text"> |
6894 |
|
<p>GET MIDI_INSTRUMENTS ALL |
6895 |
</p> |
</p> |
6896 |
</blockquote><p> |
</blockquote><p> |
6897 |
|
|
6901 |
<p> |
<p> |
6902 |
</p> |
</p> |
6903 |
<blockquote class="text"> |
<blockquote class="text"> |
6904 |
<p>LinuxSampler will answer by sending the current number of |
<p>The sampler will answer by sending the current number of |
6905 |
entries in the sampler's MIDI instrument map. |
entries in the MIDI instrument map(s). |
6906 |
</p> |
</p> |
6907 |
</blockquote><p> |
</blockquote><p> |
6908 |
|
|
6912 |
<p> |
<p> |
6913 |
</p> |
</p> |
6914 |
<blockquote class="text"> |
<blockquote class="text"> |
6915 |
<p>C: "GET MIDI_INSTRUMENTS" |
<p>C: "GET MIDI_INSTRUMENTS 0" |
6916 |
</p> |
</p> |
6917 |
<p>S: "634" |
<p>S: "234" |
6918 |
|
</p> |
6919 |
|
</blockquote><p> |
6920 |
|
|
6921 |
|
</p> |
6922 |
|
<p> |
6923 |
|
</p> |
6924 |
|
<blockquote class="text"> |
6925 |
|
<p>C: "GET MIDI_INSTRUMENTS ALL" |
6926 |
|
</p> |
6927 |
|
<p>S: "954" |
6928 |
</p> |
</p> |
6929 |
</blockquote><p> |
</blockquote><p> |
6930 |
|
|
6931 |
</p> |
</p> |
6932 |
<a name="LIST MIDI_INSTRUMENTS"></a><br /><hr /> |
<a name="LIST MIDI_INSTRUMENTS"></a><br /><hr /> |
6933 |
<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> |
6934 |
<a name="rfc.section.6.7.3"></a><h3>6.7.3. Getting indeces of all MIDI instrument map entries</h3> |
<a name="rfc.section.6.7.9"></a><h3>6.7.9. |
6935 |
|
Getting indeces of all entries of a MIDI instrument map</h3> |
6936 |
|
|
6937 |
<p>The front-end can query a list of all currently existing MIDI |
<p>The front-end can query a list of all currently existing |
6938 |
instrument map entries by sending the following command: |
entries in a certain MIDI instrument map by sending the following |
6939 |
|
command: |
6940 |
</p> |
</p> |
6941 |
<p> |
<p> |
6942 |
</p> |
</p> |
6943 |
<blockquote class="text"> |
<blockquote class="text"> |
6944 |
<p>LIST MIDI_INSTRUMENTS |
<p>LIST MIDI_INSTRUMENTS <map> |
6945 |
|
</p> |
6946 |
|
</blockquote><p> |
6947 |
|
|
6948 |
|
</p> |
6949 |
|
<p>Where <map> is the numeric ID of the MIDI instrument map. |
6950 |
|
</p> |
6951 |
|
<p>The front-end can query a list of all currently existing |
6952 |
|
entries of all MIDI instrument maps by sending the following |
6953 |
|
command: |
6954 |
|
</p> |
6955 |
|
<p> |
6956 |
|
</p> |
6957 |
|
<blockquote class="text"> |
6958 |
|
<p>LIST MIDI_INSTRUMENTS ALL |
6959 |
</p> |
</p> |
6960 |
</blockquote><p> |
</blockquote><p> |
6961 |
|
|
6965 |
<p> |
<p> |
6966 |
</p> |
</p> |
6967 |
<blockquote class="text"> |
<blockquote class="text"> |
6968 |
<p>LinuxSampler will answer by sending a comma separated |
<p>The sampler will answer by sending a comma separated |
6969 |
list of MIDI bank MSB (coarse) - MIDI bank LSB (fine) - |
list of map ID - MIDI bank - MIDI program triples, where |
6970 |
MIDI program triples, where each triple is encapsulated |
each triple is encapsulated into curly braces. The |
6971 |
into curly braces. The list is returned in one single |
list is returned in one single line. Each triple |
6972 |
line. Each triple just reflects the key of the respective |
just reflects the key of the respective map entry, |
6973 |
map entry, thus subsequent |
thus subsequent |
6974 |
<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> |
<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> |
6975 |
command(s) are necessary to retrieve detailed informations |
command(s) are necessary to retrieve detailed informations |
6976 |
about each entry. |
about each entry. |
6977 |
</p> |
</p> |
6983 |
<p> |
<p> |
6984 |
</p> |
</p> |
6985 |
<blockquote class="text"> |
<blockquote class="text"> |
6986 |
<p>C: "LIST MIDI_INSTRUMENTS" |
<p>C: "LIST MIDI_INSTRUMENTS 0" |
6987 |
</p> |
</p> |
6988 |
<p>S: "{0,0,0},{0,0,1},{120,0,3},{120,0,4},{23,127,127}" |
<p>S: "{0,0,0},{0,0,1},{0,0,3},{0,1,4},{1,127,127}" |
6989 |
</p> |
</p> |
6990 |
</blockquote><p> |
</blockquote><p> |
6991 |
|
|
6992 |
</p> |
</p> |
6993 |
<a name="UNMAP MIDI_INSTRUMENT"></a><br /><hr /> |
<a name="UNMAP MIDI_INSTRUMENT"></a><br /><hr /> |
6994 |
<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> |
6995 |
<a name="rfc.section.6.7.4"></a><h3>6.7.4. Remove an entry from the MIDI instrument map</h3> |
<a name="rfc.section.6.7.10"></a><h3>6.7.10. |
6996 |
|
Remove an entry from the MIDI instrument map</h3> |
6997 |
|
|
6998 |
<p>The front-end can delete an entry from the MIDI instrument |
<p>The front-end can delete an entry from a MIDI instrument |
6999 |
map by sending the following command: |
map by sending the following command: |
7000 |
</p> |
</p> |
7001 |
<p> |
<p> |
7002 |
</p> |
</p> |
7003 |
<blockquote class="text"> |
<blockquote class="text"> |
7004 |
<p>UNMAP MIDI_INSTRUMENT <midi_bank_msb> <midi_bank_lsb> <midi_prog> |
<p>UNMAP MIDI_INSTRUMENT <map> <midi_bank> <midi_prog> |
7005 |
</p> |
</p> |
7006 |
</blockquote><p> |
</blockquote><p> |
7007 |
|
|
7008 |
</p> |
</p> |
7009 |
<p> |
<p> |
7010 |
Where <midi_bank_msb> is an integer value between 0..127 |
Where <map> is the numeric ID of the MIDI instrument map, |
7011 |
reflecting the MIDI bank MSB (coarse) value, <midi_bank_lsb> |
<midi_bank> is an integer value between 0..16383 |
7012 |
an integer value between 0..127 reflecting the MIDI bank LSB |
reflecting the MIDI bank value and |
7013 |
(fine) value and <midi_prog> an integer value between |
<midi_prog> an integer value between |
7014 |
0..127 reflecting the MIDI program value of the map entrie's key |
0..127 reflecting the MIDI program value of the map's entrie's key |
7015 |
index triple. |
index triple. |
7016 |
|
|
7017 |
</p> |
</p> |
7044 |
<p> |
<p> |
7045 |
</p> |
</p> |
7046 |
<blockquote class="text"> |
<blockquote class="text"> |
7047 |
<p>C: "UNMAP MIDI_INSTRUMENT 2 40 127" |
<p>C: "UNMAP MIDI_INSTRUMENT 0 2 127" |
7048 |
</p> |
</p> |
7049 |
<p>S: "OK" |
<p>S: "OK" |
7050 |
</p> |
</p> |
7052 |
|
|
7053 |
</p> |
</p> |
7054 |
<a name="GET MIDI_INSTRUMENT INFO"></a><br /><hr /> |
<a name="GET MIDI_INSTRUMENT INFO"></a><br /><hr /> |
7055 |
<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> |
7056 |
<a name="rfc.section.6.7.5"></a><h3>6.7.5. Get current settings of MIDI instrument map entry</h3> |
<a name="rfc.section.6.7.11"></a><h3>6.7.11. |
7057 |
|
Get current settings of MIDI instrument map entry</h3> |
7058 |
|
|
7059 |
<p>The front-end can retrieve the current settings of a certain |
<p>The front-end can retrieve the current settings of a certain |
7060 |
instrument map entry by sending the following command: |
instrument map entry by sending the following command: |
7062 |
<p> |
<p> |
7063 |
</p> |
</p> |
7064 |
<blockquote class="text"> |
<blockquote class="text"> |
7065 |
<p>GET MIDI_INSTRUMENT INFO <midi_bank_msb> <midi_bank_lsb> <midi_prog> |
<p>GET MIDI_INSTRUMENT INFO <map> <midi_bank> <midi_prog> |
7066 |
</p> |
</p> |
7067 |
</blockquote><p> |
</blockquote><p> |
7068 |
|
|
7069 |
</p> |
</p> |
7070 |
<p> |
<p> |
7071 |
Where <midi_bank_msb> is an integer value between 0..127 |
Where <map> is the numeric ID of the MIDI instrument map, |
7072 |
reflecting the MIDI bank MSB (coarse) value, <midi_bank_lsb> |
<midi_bank> is an integer value between 0..16383 |
7073 |
an integer value between 0..127 reflecting the MIDI bank LSB |
reflecting the MIDI bank value, <midi_bank> |
7074 |
(fine) value and <midi_prog> an integer value between |
and <midi_prog> an integer value between |
7075 |
0..127 reflecting the MIDI program value of the map entrie's key |
0..127 reflecting the MIDI program value of the map's entrie's key |
7076 |
index triple. |
index triple. |
7077 |
|
|
7078 |
</p> |
</p> |
7095 |
This name shall be used by frontends for displaying a |
This name shall be used by frontends for displaying a |
7096 |
name for this mapped instrument. It can be set and |
name for this mapped instrument. It can be set and |
7097 |
changed with the |
changed with the |
7098 |
<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> |
<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> |
7099 |
command and does not have to be unique. |
command and does not have to be unique. |
7100 |
</p> |
</p> |
7101 |
</blockquote> |
</blockquote> |
7140 |
</p> |
</p> |
7141 |
<blockquote class="text"> |
<blockquote class="text"> |
7142 |
<p>Life time of instrument |
<p>Life time of instrument |
7143 |
(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). |
(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). |
7144 |
</p> |
</p> |
7145 |
</blockquote> |
</blockquote> |
7146 |
|
|
7149 |
</p> |
</p> |
7150 |
<blockquote class="text"> |
<blockquote class="text"> |
7151 |
<p>master volume of the instrument as optionally |
<p>master volume of the instrument as optionally |
7152 |
dotted number (where a value < 1.0 means attenuation |
dotted number (where a value < 1.0 means attenuation |
7153 |
and a value > 1.0 means amplification) |
and a value > 1.0 means amplification) |
7154 |
</p> |
</p> |
7155 |
</blockquote> |
</blockquote> |
7165 |
<p> |
<p> |
7166 |
</p> |
</p> |
7167 |
<blockquote class="text"> |
<blockquote class="text"> |
7168 |
<p>C: "GET MIDI_INSTRUMENT INFO 3 45 120" |
<p>C: "GET MIDI_INSTRUMENT INFO 1 45 120" |
7169 |
</p> |
</p> |
7170 |
<p>S: "NAME: Drums for Foo Song" |
<p>S: "NAME: Drums for Foo Song" |
7171 |
</p> |
</p> |
7187 |
|
|
7188 |
</p> |
</p> |
7189 |
<a name="CLEAR MIDI_INSTRUMENTS"></a><br /><hr /> |
<a name="CLEAR MIDI_INSTRUMENTS"></a><br /><hr /> |
7190 |
<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> |
7191 |
<a name="rfc.section.6.7.6"></a><h3>6.7.6. Clear MIDI instrument map</h3> |
<a name="rfc.section.6.7.12"></a><h3>6.7.12. |
7192 |
|
Clear MIDI instrument map</h3> |
7193 |
|
|
7194 |
<p>The front-end can clear the whole MIDI instrument map, that |
<p>The front-end can clear a whole MIDI instrument map, that |
7195 |
is delete all entries by sending the following command: |
is delete all its entries by sending the following command: |
7196 |
|
</p> |
7197 |
|
<p> |
7198 |
|
</p> |
7199 |
|
<blockquote class="text"> |
7200 |
|
<p>CLEAR MIDI_INSTRUMENTS <map> |
7201 |
|
</p> |
7202 |
|
</blockquote><p> |
7203 |
|
|
7204 |
|
</p> |
7205 |
|
<p>Where <map> is the numeric ID of the map to clear. |
7206 |
|
</p> |
7207 |
|
<p>The front-end can clear all MIDI instrument maps, that |
7208 |
|
is delete all entries of all maps by sending the following |
7209 |
|
command: |
7210 |
</p> |
</p> |
7211 |
<p> |
<p> |
7212 |
</p> |
</p> |
7213 |
<blockquote class="text"> |
<blockquote class="text"> |
7214 |
<p>CLEAR MIDI_INSTRUMENTS |
<p>CLEAR MIDI_INSTRUMENTS ALL |
7215 |
</p> |
</p> |
7216 |
</blockquote><p> |
</blockquote><p> |
7217 |
|
|
7218 |
</p> |
</p> |
7219 |
|
<p>The command "CLEAR MIDI_INSTRUMENTS ALL" does not delete the |
7220 |
|
maps, only their entries, thus the map's settings like |
7221 |
|
custom name will be preservevd. |
7222 |
|
</p> |
7223 |
<p>Possible Answers: |
<p>Possible Answers: |
7224 |
</p> |
</p> |
7225 |
<p> |
<p> |
7236 |
</blockquote><p> |
</blockquote><p> |
7237 |
|
|
7238 |
</p> |
</p> |
7239 |
<p>Example: |
<p>Examples: |
7240 |
|
</p> |
7241 |
|
<p> |
7242 |
|
</p> |
7243 |
|
<blockquote class="text"> |
7244 |
|
<p>C: "CLEAR MIDI_INSTRUMENTS 0" |
7245 |
|
</p> |
7246 |
|
<p>S: "OK" |
7247 |
|
</p> |
7248 |
|
</blockquote><p> |
7249 |
|
|
7250 |
</p> |
</p> |
7251 |
<p> |
<p> |
7252 |
</p> |
</p> |
7253 |
<blockquote class="text"> |
<blockquote class="text"> |
7254 |
<p>C: "CLEAR MIDI_INSTRUMENTS" |
<p>C: "CLEAR MIDI_INSTRUMENTS ALL" |
7255 |
|
</p> |
7256 |
|
<p>S: "OK" |
7257 |
|
</p> |
7258 |
|
</blockquote><p> |
7259 |
|
|
7260 |
|
</p> |
7261 |
|
<a name="Managing Instruments Database"></a><br /><hr /> |
7262 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7263 |
|
<a name="rfc.section.6.8"></a><h3>6.8. |
7264 |
|
Managing Instruments Database</h3> |
7265 |
|
|
7266 |
|
<p>The following commands describe how to use and manage |
7267 |
|
the instruments database. |
7268 |
|
</p> |
7269 |
|
<p>Notice: |
7270 |
|
</p> |
7271 |
|
<p> |
7272 |
|
</p> |
7273 |
|
<blockquote class="text"> |
7274 |
|
<p>All command arguments representing a path or |
7275 |
|
instrument/directory name support escape sequences as described in chapter |
7276 |
|
"<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>". |
7277 |
|
|
7278 |
|
</p> |
7279 |
|
<p>All occurrences of a forward slash in instrument and directory |
7280 |
|
names are escaped with its hex (\x2f) or octal (\057) escape sequence. |
7281 |
|
|
7282 |
|
</p> |
7283 |
|
</blockquote><p> |
7284 |
|
|
7285 |
|
</p> |
7286 |
|
<a name="ADD DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7287 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7288 |
|
<a name="rfc.section.6.8.1"></a><h3>6.8.1. |
7289 |
|
Creating a new instrument directory</h3> |
7290 |
|
|
7291 |
|
<p>The front-end can add a new instrument directory to the |
7292 |
|
instruments database by sending the following command: |
7293 |
|
</p> |
7294 |
|
<p> |
7295 |
|
</p> |
7296 |
|
<blockquote class="text"> |
7297 |
|
<p>ADD DB_INSTRUMENT_DIRECTORY <dir> |
7298 |
|
</p> |
7299 |
|
</blockquote><p> |
7300 |
|
|
7301 |
|
</p> |
7302 |
|
<p>Where <dir> is the absolute path name of the directory |
7303 |
|
to be created (encapsulated into apostrophes). |
7304 |
|
</p> |
7305 |
|
<p>Possible Answers: |
7306 |
|
</p> |
7307 |
|
<p> |
7308 |
|
</p> |
7309 |
|
<blockquote class="text"> |
7310 |
|
<p>"OK" - |
7311 |
|
</p> |
7312 |
|
<blockquote class="text"> |
7313 |
|
<p>on success |
7314 |
|
</p> |
7315 |
|
</blockquote> |
7316 |
|
|
7317 |
|
|
7318 |
|
<p>"ERR:<error-code>:<error-message>" - |
7319 |
|
</p> |
7320 |
|
<blockquote class="text"> |
7321 |
|
<p>when the directory could not be created, which |
7322 |
|
can happen if the directory already exists or the |
7323 |
|
name contains not allowed symbols |
7324 |
|
</p> |
7325 |
|
</blockquote> |
7326 |
|
|
7327 |
|
|
7328 |
|
</blockquote><p> |
7329 |
|
|
7330 |
|
</p> |
7331 |
|
<p>Examples: |
7332 |
|
</p> |
7333 |
|
<p> |
7334 |
|
</p> |
7335 |
|
<blockquote class="text"> |
7336 |
|
<p>C: "ADD DB_INSTRUMENT_DIRECTORY '/Piano Collection'" |
7337 |
|
</p> |
7338 |
|
<p>S: "OK" |
7339 |
|
</p> |
7340 |
|
</blockquote><p> |
7341 |
|
|
7342 |
|
</p> |
7343 |
|
<a name="REMOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7344 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7345 |
|
<a name="rfc.section.6.8.2"></a><h3>6.8.2. |
7346 |
|
Deleting an instrument directory</h3> |
7347 |
|
|
7348 |
|
<p>The front-end can delete a particular instrument directory |
7349 |
|
from the instruments database by sending the following command: |
7350 |
|
</p> |
7351 |
|
<p> |
7352 |
|
</p> |
7353 |
|
<blockquote class="text"> |
7354 |
|
<p>REMOVE DB_INSTRUMENT_DIRECTORY [FORCE] <dir> |
7355 |
|
</p> |
7356 |
|
</blockquote><p> |
7357 |
|
|
7358 |
|
</p> |
7359 |
|
<p>Where <dir> is the absolute path name of the directory |
7360 |
|
to delete. The optional FORCE argument can be used to |
7361 |
|
force the deletion of a non-empty directory and all its content. |
7362 |
|
</p> |
7363 |
|
<p>Possible Answers: |
7364 |
|
</p> |
7365 |
|
<p> |
7366 |
|
</p> |
7367 |
|
<blockquote class="text"> |
7368 |
|
<p>"OK" - |
7369 |
|
</p> |
7370 |
|
<blockquote class="text"> |
7371 |
|
<p>if the directory is deleted successfully |
7372 |
|
</p> |
7373 |
|
</blockquote> |
7374 |
|
|
7375 |
|
|
7376 |
|
<p>"ERR:<error-code>:<error-message>" - |
7377 |
|
</p> |
7378 |
|
<blockquote class="text"> |
7379 |
|
<p>if the given directory does not exist, or |
7380 |
|
if trying to delete a non-empty directory, |
7381 |
|
without using the FORCE argument. |
7382 |
|
</p> |
7383 |
|
</blockquote> |
7384 |
|
|
7385 |
|
|
7386 |
|
</blockquote><p> |
7387 |
|
|
7388 |
|
</p> |
7389 |
|
<p>Examples: |
7390 |
|
</p> |
7391 |
|
<p> |
7392 |
|
</p> |
7393 |
|
<blockquote class="text"> |
7394 |
|
<p>C: "REMOVE DB_INSTRUMENT_DIRECTORY FORCE '/Piano Collection'" |
7395 |
|
</p> |
7396 |
|
<p>S: "OK" |
7397 |
|
</p> |
7398 |
|
</blockquote><p> |
7399 |
|
|
7400 |
|
</p> |
7401 |
|
<a name="GET DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7402 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7403 |
|
<a name="rfc.section.6.8.3"></a><h3>6.8.3. |
7404 |
|
Getting amount of instrument directories</h3> |
7405 |
|
|
7406 |
|
<p>The front-end can retrieve the current amount of |
7407 |
|
directories in a specific directory by sending the following command: |
7408 |
|
</p> |
7409 |
|
<p> |
7410 |
|
</p> |
7411 |
|
<blockquote class="text"> |
7412 |
|
<p>GET DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
7413 |
|
</p> |
7414 |
|
</blockquote><p> |
7415 |
|
|
7416 |
|
</p> |
7417 |
|
<p>Where <dir> should be replaced by the absolute path |
7418 |
|
name of the directory. If RECURSIVE is specified, the number of |
7419 |
|
all directories, including those located in subdirectories of the |
7420 |
|
specified directory, will be returned. |
7421 |
|
</p> |
7422 |
|
<p>Possible Answers: |
7423 |
|
</p> |
7424 |
|
<p> |
7425 |
|
</p> |
7426 |
|
<blockquote class="text"> |
7427 |
|
<p>The current number of instrument directories |
7428 |
|
in the specified directory. |
7429 |
|
</p> |
7430 |
|
<p>"ERR:<error-code>:<error-message>" - |
7431 |
|
</p> |
7432 |
|
<blockquote class="text"> |
7433 |
|
<p>if the given directory does not exist. |
7434 |
|
</p> |
7435 |
|
</blockquote> |
7436 |
|
|
7437 |
|
|
7438 |
|
</blockquote><p> |
7439 |
|
|
7440 |
|
</p> |
7441 |
|
<p>Example: |
7442 |
|
</p> |
7443 |
|
<p> |
7444 |
|
</p> |
7445 |
|
<blockquote class="text"> |
7446 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORIES '/'" |
7447 |
|
</p> |
7448 |
|
<p>S: "2" |
7449 |
|
</p> |
7450 |
|
</blockquote><p> |
7451 |
|
|
7452 |
|
</p> |
7453 |
|
<a name="LIST DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7454 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7455 |
|
<a name="rfc.section.6.8.4"></a><h3>6.8.4. |
7456 |
|
Listing all directories in specific directory</h3> |
7457 |
|
|
7458 |
|
<p>The front-end can retrieve the current list of directories |
7459 |
|
in specific directory by sending the following command: |
7460 |
|
</p> |
7461 |
|
<p> |
7462 |
|
</p> |
7463 |
|
<blockquote class="text"> |
7464 |
|
<p>LIST DB_INSTRUMENT_DIRECTORIES [RECURSIVE] <dir> |
7465 |
|
</p> |
7466 |
|
</blockquote><p> |
7467 |
|
|
7468 |
|
</p> |
7469 |
|
<p>Where <dir> should be replaced by the absolute path |
7470 |
|
name of the directory. If RECURSIVE is specified, the absolute path names |
7471 |
|
of all directories, including those located in subdirectories of the |
7472 |
|
specified directory, will be returned. |
7473 |
|
</p> |
7474 |
|
<p>Possible Answers: |
7475 |
|
</p> |
7476 |
|
<p> |
7477 |
|
</p> |
7478 |
|
<blockquote class="text"> |
7479 |
|
<p>A comma separated list of all instrument directories |
7480 |
|
(encapsulated into apostrophes) in the specified directory. |
7481 |
|
</p> |
7482 |
|
<p>"ERR:<error-code>:<error-message>" - |
7483 |
|
</p> |
7484 |
|
<blockquote class="text"> |
7485 |
|
<p>if the given directory does not exist. |
7486 |
|
</p> |
7487 |
|
</blockquote> |
7488 |
|
|
7489 |
|
|
7490 |
|
</blockquote><p> |
7491 |
|
|
7492 |
|
</p> |
7493 |
|
<p>Example: |
7494 |
|
</p> |
7495 |
|
<p> |
7496 |
|
</p> |
7497 |
|
<blockquote class="text"> |
7498 |
|
<p>C: "LIST DB_INSTRUMENT_DIRECTORIES '/'" |
7499 |
|
</p> |
7500 |
|
<p>S: "'Piano Collection','Percussion Collection'" |
7501 |
|
</p> |
7502 |
|
</blockquote><p> |
7503 |
|
|
7504 |
|
</p> |
7505 |
|
<p> |
7506 |
|
</p> |
7507 |
|
<blockquote class="text"> |
7508 |
|
<p>C: "LIST DB_INSTRUMENT_DIRECTORIES RECURSIVE '/'" |
7509 |
|
</p> |
7510 |
|
<p>S: "'/Piano Collection','/Piano Collection/Acoustic','/Piano Collection/Acoustic/New','/Percussion Collection'" |
7511 |
|
</p> |
7512 |
|
</blockquote><p> |
7513 |
|
|
7514 |
|
</p> |
7515 |
|
<a name="GET DB_INSTRUMENT_DIRECTORY INFO"></a><br /><hr /> |
7516 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7517 |
|
<a name="rfc.section.6.8.5"></a><h3>6.8.5. |
7518 |
|
Getting instrument directory information</h3> |
7519 |
|
|
7520 |
|
<p>The front-end can ask for the current settings of an |
7521 |
|
instrument directory by sending the following command: |
7522 |
|
</p> |
7523 |
|
<p> |
7524 |
|
</p> |
7525 |
|
<blockquote class="text"> |
7526 |
|
<p>GET DB_INSTRUMENT_DIRECTORY INFO <dir> |
7527 |
|
</p> |
7528 |
|
</blockquote><p> |
7529 |
|
|
7530 |
|
</p> |
7531 |
|
<p>Where <dir> should be replaced by the absolute path |
7532 |
|
name of the directory the front-end is interested in. |
7533 |
|
</p> |
7534 |
|
<p>Possible Answers: |
7535 |
|
</p> |
7536 |
|
<p> |
7537 |
|
</p> |
7538 |
|
<blockquote class="text"> |
7539 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
7540 |
|
Each answer line begins with the settings category name |
7541 |
|
followed by a colon and then a space character <SP> and finally |
7542 |
|
the info character string to that setting category. At the |
7543 |
|
moment the following categories are defined: |
7544 |
|
</p> |
7545 |
|
<p> |
7546 |
|
</p> |
7547 |
|
<blockquote class="text"> |
7548 |
|
<p>DESCRIPTION - |
7549 |
|
</p> |
7550 |
|
<blockquote class="text"> |
7551 |
|
<p>A brief description of the directory content. |
7552 |
|
Note that the character string may contain |
7553 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
7554 |
|
</p> |
7555 |
|
</blockquote> |
7556 |
|
|
7557 |
|
|
7558 |
|
<p>CREATED - |
7559 |
|
</p> |
7560 |
|
<blockquote class="text"> |
7561 |
|
<p>The creation date and time of the directory, |
7562 |
|
represented in "YYYY-MM-DD HH:MM:SS" format |
7563 |
|
</p> |
7564 |
|
</blockquote> |
7565 |
|
|
7566 |
|
|
7567 |
|
<p>MODIFIED - |
7568 |
|
</p> |
7569 |
|
<blockquote class="text"> |
7570 |
|
<p>The date and time of the last modification of the |
7571 |
|
directory, represented in "YYYY-MM-DD HH:MM:SS" format |
7572 |
|
</p> |
7573 |
|
</blockquote> |
7574 |
|
|
7575 |
|
|
7576 |
|
</blockquote> |
7577 |
|
|
7578 |
|
|
7579 |
|
</blockquote><p> |
7580 |
|
|
7581 |
|
</p> |
7582 |
|
<p>The mentioned fields above don't have to be in particular order. |
7583 |
|
</p> |
7584 |
|
<p>Example: |
7585 |
|
</p> |
7586 |
|
<p> |
7587 |
|
</p> |
7588 |
|
<blockquote class="text"> |
7589 |
|
<p>C: "GET DB_INSTRUMENT_DIRECTORY INFO '/Piano Collection'" |
7590 |
|
</p> |
7591 |
|
<p>S: "DESCRIPTION: Piano collection of instruments in GigaSampler format." |
7592 |
|
</p> |
7593 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
7594 |
|
</p> |
7595 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
7596 |
|
</p> |
7597 |
|
<p> "." |
7598 |
|
</p> |
7599 |
|
</blockquote><p> |
7600 |
|
|
7601 |
|
</p> |
7602 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY NAME"></a><br /><hr /> |
7603 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7604 |
|
<a name="rfc.section.6.8.6"></a><h3>6.8.6. |
7605 |
|
Renaming an instrument directory</h3> |
7606 |
|
|
7607 |
|
<p>The front-end can alter the name of a specific |
7608 |
|
instrument directory by sending the following command: |
7609 |
|
</p> |
7610 |
|
<p> |
7611 |
|
</p> |
7612 |
|
<blockquote class="text"> |
7613 |
|
<p>SET DB_INSTRUMENT_DIRECTORY NAME <dir> <name> |
7614 |
|
</p> |
7615 |
|
</blockquote><p> |
7616 |
|
|
7617 |
|
</p> |
7618 |
|
<p>Where <dir> is the absolute path name of the directory and |
7619 |
|
<name> is the new name for that directory. |
7620 |
|
</p> |
7621 |
|
<p>Possible Answers: |
7622 |
|
</p> |
7623 |
|
<p> |
7624 |
|
</p> |
7625 |
|
<blockquote class="text"> |
7626 |
|
<p>"OK" - |
7627 |
|
</p> |
7628 |
|
<blockquote class="text"> |
7629 |
|
<p>on success |
7630 |
|
</p> |
7631 |
|
</blockquote> |
7632 |
|
|
7633 |
|
|
7634 |
|
<p>"ERR:<error-code>:<error-message>" - |
7635 |
|
</p> |
7636 |
|
<blockquote class="text"> |
7637 |
|
<p>in case the given directory does not exists, |
7638 |
|
or if a directory with name equal to the new |
7639 |
|
name already exists. |
7640 |
|
</p> |
7641 |
|
</blockquote> |
7642 |
|
|
7643 |
|
|
7644 |
|
</blockquote><p> |
7645 |
|
|
7646 |
|
</p> |
7647 |
|
<p>Example: |
7648 |
|
</p> |
7649 |
|
<p> |
7650 |
|
</p> |
7651 |
|
<blockquote class="text"> |
7652 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY NAME '/Piano Collection/Acustic' 'Acoustic'" |
7653 |
|
</p> |
7654 |
|
<p>S: "OK" |
7655 |
|
</p> |
7656 |
|
</blockquote><p> |
7657 |
|
|
7658 |
|
</p> |
7659 |
|
<a name="MOVE DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7660 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7661 |
|
<a name="rfc.section.6.8.7"></a><h3>6.8.7. |
7662 |
|
Moving an instrument directory</h3> |
7663 |
|
|
7664 |
|
<p>The front-end can move a specific |
7665 |
|
instrument directory by sending the following command: |
7666 |
|
</p> |
7667 |
|
<p> |
7668 |
|
</p> |
7669 |
|
<blockquote class="text"> |
7670 |
|
<p>MOVE DB_INSTRUMENT_DIRECTORY <dir> <dst> |
7671 |
|
</p> |
7672 |
|
</blockquote><p> |
7673 |
|
|
7674 |
|
</p> |
7675 |
|
<p>Where <dir> is the absolute path name of the directory |
7676 |
|
to move and <dst> is the location where the directory will |
7677 |
|
be moved to. |
7678 |
|
</p> |
7679 |
|
<p>Possible Answers: |
7680 |
|
</p> |
7681 |
|
<p> |
7682 |
|
</p> |
7683 |
|
<blockquote class="text"> |
7684 |
|
<p>"OK" - |
7685 |
|
</p> |
7686 |
|
<blockquote class="text"> |
7687 |
|
<p>on success |
7688 |
|
</p> |
7689 |
|
</blockquote> |
7690 |
|
|
7691 |
|
|
7692 |
|
<p>"ERR:<error-code>:<error-message>" - |
7693 |
|
</p> |
7694 |
|
<blockquote class="text"> |
7695 |
|
<p>in case a given directory does not exists, |
7696 |
|
or if a directory with name equal to the name |
7697 |
|
of the specified directory already exists in |
7698 |
|
the destination directory. Error is also thrown |
7699 |
|
when trying to move a directory to a subdirectory |
7700 |
|
of itself. |
7701 |
|
</p> |
7702 |
|
</blockquote> |
7703 |
|
|
7704 |
|
|
7705 |
|
</blockquote><p> |
7706 |
|
|
7707 |
|
</p> |
7708 |
|
<p>Example: |
7709 |
|
</p> |
7710 |
|
<p> |
7711 |
|
</p> |
7712 |
|
<blockquote class="text"> |
7713 |
|
<p>C: "MOVE DB_INSTRUMENT_DIRECTORY '/Acoustic' '/Piano Collection/Acoustic'" |
7714 |
|
</p> |
7715 |
|
<p>S: "OK" |
7716 |
|
</p> |
7717 |
|
</blockquote><p> |
7718 |
|
|
7719 |
|
</p> |
7720 |
|
<a name="COPY DB_INSTRUMENT_DIRECTORY"></a><br /><hr /> |
7721 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7722 |
|
<a name="rfc.section.6.8.8"></a><h3>6.8.8. |
7723 |
|
Copying instrument directories</h3> |
7724 |
|
|
7725 |
|
<p>The front-end can copy a specific |
7726 |
|
instrument directory by sending the following command: |
7727 |
|
</p> |
7728 |
|
<p> |
7729 |
|
</p> |
7730 |
|
<blockquote class="text"> |
7731 |
|
<p>COPY DB_INSTRUMENT_DIRECTORY <dir> <dst> |
7732 |
|
</p> |
7733 |
|
</blockquote><p> |
7734 |
|
|
7735 |
|
</p> |
7736 |
|
<p>Where <dir> is the absolute path name of the directory |
7737 |
|
to copy and <dst> is the location where the directory will |
7738 |
|
be copied to. |
7739 |
|
</p> |
7740 |
|
<p>Possible Answers: |
7741 |
|
</p> |
7742 |
|
<p> |
7743 |
|
</p> |
7744 |
|
<blockquote class="text"> |
7745 |
|
<p>"OK" - |
7746 |
|
</p> |
7747 |
|
<blockquote class="text"> |
7748 |
|
<p>on success |
7749 |
|
</p> |
7750 |
|
</blockquote> |
7751 |
|
|
7752 |
|
|
7753 |
|
<p>"ERR:<error-code>:<error-message>" - |
7754 |
|
</p> |
7755 |
|
<blockquote class="text"> |
7756 |
|
<p>in case a given directory does not exists, |
7757 |
|
or if a directory with name equal to the name |
7758 |
|
of the specified directory already exists in |
7759 |
|
the destination directory. Error is also thrown |
7760 |
|
when trying to copy a directory to a subdirectory |
7761 |
|
of itself. |
7762 |
|
</p> |
7763 |
|
</blockquote> |
7764 |
|
|
7765 |
|
|
7766 |
|
</blockquote><p> |
7767 |
|
|
7768 |
|
</p> |
7769 |
|
<p>Example: |
7770 |
|
</p> |
7771 |
|
<p> |
7772 |
|
</p> |
7773 |
|
<blockquote class="text"> |
7774 |
|
<p>C: "COPY DB_INSTRUMENT_DIRECTORY '/Piano Collection/Acoustic' '/Acoustic/Pianos'" |
7775 |
|
</p> |
7776 |
|
<p>S: "OK" |
7777 |
|
</p> |
7778 |
|
</blockquote><p> |
7779 |
|
|
7780 |
|
</p> |
7781 |
|
<a name="SET DB_INSTRUMENT_DIRECTORY DESCRIPTION"></a><br /><hr /> |
7782 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7783 |
|
<a name="rfc.section.6.8.9"></a><h3>6.8.9. |
7784 |
|
Changing the description of directory</h3> |
7785 |
|
|
7786 |
|
<p>The front-end can alter the description of a specific |
7787 |
|
instrument directory by sending the following command: |
7788 |
|
</p> |
7789 |
|
<p> |
7790 |
|
</p> |
7791 |
|
<blockquote class="text"> |
7792 |
|
<p>SET DB_INSTRUMENT_DIRECTORY DESCRIPTION <dir> <desc> |
7793 |
|
</p> |
7794 |
|
</blockquote><p> |
7795 |
|
|
7796 |
|
</p> |
7797 |
|
<p>Where <dir> is the absolute path name of the directory and |
7798 |
|
<desc> is the new description for the directory |
7799 |
|
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
7800 |
|
"<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>"). |
7801 |
|
</p> |
7802 |
|
<p>Possible Answers: |
7803 |
|
</p> |
7804 |
|
<p> |
7805 |
|
</p> |
7806 |
|
<blockquote class="text"> |
7807 |
|
<p>"OK" - |
7808 |
|
</p> |
7809 |
|
<blockquote class="text"> |
7810 |
|
<p>on success |
7811 |
|
</p> |
7812 |
|
</blockquote> |
7813 |
|
|
7814 |
|
|
7815 |
|
<p>"ERR:<error-code>:<error-message>" - |
7816 |
|
</p> |
7817 |
|
<blockquote class="text"> |
7818 |
|
<p>in case the given directory does not exists. |
7819 |
|
</p> |
7820 |
|
</blockquote> |
7821 |
|
|
7822 |
|
|
7823 |
|
</blockquote><p> |
7824 |
|
|
7825 |
|
</p> |
7826 |
|
<p>Example: |
7827 |
|
</p> |
7828 |
|
<p> |
7829 |
|
</p> |
7830 |
|
<blockquote class="text"> |
7831 |
|
<p>C: "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION '/Piano Collection' 'A collection of piano instruments in various format.'" |
7832 |
|
</p> |
7833 |
|
<p>S: "OK" |
7834 |
|
</p> |
7835 |
|
</blockquote><p> |
7836 |
|
|
7837 |
|
</p> |
7838 |
|
<a name="FIND DB_INSTRUMENT_DIRECTORIES"></a><br /><hr /> |
7839 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7840 |
|
<a name="rfc.section.6.8.10"></a><h3>6.8.10. |
7841 |
|
Finding directories</h3> |
7842 |
|
|
7843 |
|
<p>The front-end can search for directories |
7844 |
|
in specific directory by sending the following command: |
7845 |
|
</p> |
7846 |
|
<p> |
7847 |
|
</p> |
7848 |
|
<blockquote class="text"> |
7849 |
|
<p>FIND DB_INSTRUMENT_DIRECTORIES [NON_RECURSIVE] <dir> <criteria-list> |
7850 |
|
</p> |
7851 |
|
</blockquote><p> |
7852 |
|
|
7853 |
|
</p> |
7854 |
|
<p>Where <dir> should be replaced by the absolute path |
7855 |
|
name of the directory to search in. If NON_RECURSIVE is specified, the |
7856 |
|
directories located in subdirectories of the specified directory will not |
7857 |
|
be searched. <criteria-list> is a list of search criterias |
7858 |
|
in form of "key1=val1 key2=val2 ...". The following criterias are |
7859 |
|
allowed: |
7860 |
|
</p> |
7861 |
|
<p> |
7862 |
|
|
7863 |
|
<p>NAME='<search-string>' |
7864 |
|
</p> |
7865 |
|
<blockquote class="text"> |
7866 |
|
<p>Restricts the search to directories, which names |
7867 |
|
satisfy the supplied search string (encapsulated into apostrophes, |
7868 |
|
supporting escape sequences as described in chapter |
7869 |
|
"<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>"). |
7870 |
|
</p> |
7871 |
|
</blockquote><p> |
7872 |
|
|
7873 |
|
</p> |
7874 |
|
|
7875 |
|
|
7876 |
|
<p>CREATED='[<date-after>]..[<date-before>]' |
7877 |
|
</p> |
7878 |
|
<blockquote class="text"> |
7879 |
|
<p>Restricts the search to directories, which creation |
7880 |
|
date satisfies the specified period, where <date-after> |
7881 |
|
and <date-before> are in "YYYY-MM-DD HH:MM:SS" format. |
7882 |
|
If <date-after> is omitted the search is restricted to |
7883 |
|
directories created before <date-before>. If |
7884 |
|
<date-before> is omitted, the search is restricted |
7885 |
|
to directories created after <date-after>. |
7886 |
|
</p> |
7887 |
|
</blockquote><p> |
7888 |
|
|
7889 |
|
</p> |
7890 |
|
|
7891 |
|
|
7892 |
|
<p>MODIFIED='[<date-after>]..[<date-before>]' |
7893 |
|
</p> |
7894 |
|
<blockquote class="text"> |
7895 |
|
<p>Restricts the search to directories, which |
7896 |
|
date of last modification satisfies the specified period, where |
7897 |
|
<date-after> and <date-before> are in "YYYY-MM-DD HH:MM:SS" |
7898 |
|
format. If <date-after> is omitted the search is restricted to |
7899 |
|
directories, which are last modified before <date-before>. If |
7900 |
|
<date-before> is omitted, the search is restricted to directories, |
7901 |
|
which are last modified after <date-after>. |
7902 |
|
</p> |
7903 |
|
</blockquote><p> |
7904 |
|
|
7905 |
|
</p> |
7906 |
|
|
7907 |
|
|
7908 |
|
<p>DESCRIPTION='<search-string>' |
7909 |
|
</p> |
7910 |
|
<blockquote class="text"> |
7911 |
|
<p>Restricts the search to directories with description |
7912 |
|
that satisfies the supplied search string |
7913 |
|
(encapsulated into apostrophes, supporting escape |
7914 |
|
sequences as described in chapter |
7915 |
|
"<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>"). |
7916 |
|
</p> |
7917 |
|
</blockquote><p> |
7918 |
|
|
7919 |
|
</p> |
7920 |
|
|
7921 |
|
|
7922 |
|
<p>Where <search-string> is either a regular expression, or a |
7923 |
|
word list separated with spaces for OR search and with '+' for AND search. |
7924 |
|
</p> |
7925 |
|
<p>Possible Answers: |
7926 |
|
</p> |
7927 |
|
<p> |
7928 |
|
</p> |
7929 |
|
<blockquote class="text"> |
7930 |
|
<p>A comma separated list with the absolute path names (encapsulated into |
7931 |
|
apostrophes) of all directories in the specified directory that satisfy |
7932 |
|
the supplied search criterias. |
7933 |
|
</p> |
7934 |
|
<p>"ERR:<error-code>:<error-message>" - |
7935 |
|
</p> |
7936 |
|
<blockquote class="text"> |
7937 |
|
<p>if the given directory does not exist. |
7938 |
|
</p> |
7939 |
|
</blockquote> |
7940 |
|
|
7941 |
|
|
7942 |
|
</blockquote><p> |
7943 |
|
|
7944 |
|
</p> |
7945 |
|
<p>Example: |
7946 |
|
</p> |
7947 |
|
<p> |
7948 |
|
</p> |
7949 |
|
<blockquote class="text"> |
7950 |
|
<p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' NAME='Piano'" |
7951 |
|
</p> |
7952 |
|
<p>S: "'/Piano Collection'" |
7953 |
|
</p> |
7954 |
|
</blockquote><p> |
7955 |
|
|
7956 |
|
</p> |
7957 |
|
<p> |
7958 |
|
</p> |
7959 |
|
<blockquote class="text"> |
7960 |
|
<p>C: "FIND DB_INSTRUMENT_DIRECTORIES '/' CREATED='..2007-04-01 09:30:13'" |
7961 |
|
</p> |
7962 |
|
<p>S: "'/Piano Collection','/Percussions'" |
7963 |
|
</p> |
7964 |
|
</blockquote><p> |
7965 |
|
|
7966 |
|
</p> |
7967 |
|
<a name="ADD DB_INSTRUMENTS"></a><br /><hr /> |
7968 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
7969 |
|
<a name="rfc.section.6.8.11"></a><h3>6.8.11. |
7970 |
|
Adding instruments to the instruments database</h3> |
7971 |
|
|
7972 |
|
<p>The front-end can add one or more instruments |
7973 |
|
to the instruments database by sending the following command: |
7974 |
|
</p> |
7975 |
|
<p> |
7976 |
|
</p> |
7977 |
|
<blockquote class="text"> |
7978 |
|
<p>ADD DB_INSTRUMENTS [NON_MODAL] [<mode>] <db_dir> <file_path> [<instr_index>] |
7979 |
|
</p> |
7980 |
|
</blockquote><p> |
7981 |
|
|
7982 |
|
</p> |
7983 |
|
<p>Where <db_dir> is the absolute path name of a directory |
7984 |
|
(encapsulated into apostrophes) in the instruments database in which |
7985 |
|
only the new instruments (that are not already in the database) will |
7986 |
|
be added, <file_path> is the absolute path name of a file or |
7987 |
|
directory in the file system (encapsulated into apostrophes). In case |
7988 |
|
an instrument file is supplied, only the instruments in the specified |
7989 |
|
file will be added to the instruments database. If the optional |
7990 |
|
<instr_index> (the index of the instrument within the given file) |
7991 |
|
is supplied too, then only the specified instrument will be added. |
7992 |
|
In case a directory is supplied, the instruments in that directory |
7993 |
|
will be added. The OPTIONAL <mode> argument is only applied |
7994 |
|
when a directory is provided as <file_path> and specifies how the |
7995 |
|
scanning will be done and has exactly the following possibilities: |
7996 |
|
</p> |
7997 |
|
<p> |
7998 |
|
</p> |
7999 |
|
<blockquote class="text"> |
8000 |
|
<p>"RECURSIVE" - |
8001 |
|
</p> |
8002 |
|
<blockquote class="text"> |
8003 |
|
<p>All instruments will be processed, including those |
8004 |
|
in the subdirectories, and the respective subdirectory |
8005 |
|
tree structure will be recreated in the instruments |
8006 |
|
database |
8007 |
|
</p> |
8008 |
|
</blockquote> |
8009 |
|
|
8010 |
|
|
8011 |
|
<p>"NON_RECURSIVE" - |
8012 |
|
</p> |
8013 |
|
<blockquote class="text"> |
8014 |
|
<p>Only the instruments in the specified directory |
8015 |
|
will be added, the instruments in the subdirectories |
8016 |
|
will not be processed. |
8017 |
|
</p> |
8018 |
|
</blockquote> |
8019 |
|
|
8020 |
|
|
8021 |
|
<p>"FLAT" - |
8022 |
|
</p> |
8023 |
|
<blockquote class="text"> |
8024 |
|
<p>All instruments will be processed, including those |
8025 |
|
in the subdirectories, but the respective subdirectory |
8026 |
|
structure will not be recreated in the instruments |
8027 |
|
database. All instruments will be added directly in |
8028 |
|
the specified database directory. |
8029 |
|
</p> |
8030 |
|
</blockquote> |
8031 |
|
|
8032 |
|
|
8033 |
|
</blockquote><p> |
8034 |
|
|
8035 |
|
</p> |
8036 |
|
<p>The difference between regular and NON_MODAL versions of the command |
8037 |
|
is that the regular command returns when the scanning is finished |
8038 |
|
while NON_MODAL version returns immediately and a background process is launched. |
8039 |
|
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> |
8040 |
|
command can be used to monitor the scanning progress. |
8041 |
|
</p> |
8042 |
|
<p>Possible Answers: |
8043 |
|
</p> |
8044 |
|
<p> |
8045 |
|
</p> |
8046 |
|
<blockquote class="text"> |
8047 |
|
<p>"OK" - |
8048 |
|
</p> |
8049 |
|
<blockquote class="text"> |
8050 |
|
<p>on success when NON_MODAL is not supplied |
8051 |
|
</p> |
8052 |
|
</blockquote> |
8053 |
|
|
8054 |
|
|
8055 |
|
<p>"OK[<job-id>]" - |
8056 |
|
</p> |
8057 |
|
<blockquote class="text"> |
8058 |
|
<p>on success when NON_MODAL is supplied, where <job-id> |
8059 |
|
is a numerical ID used to obtain status information about the job progress. |
8060 |
|
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> |
8061 |
|
|
8062 |
|
</p> |
8063 |
|
</blockquote> |
8064 |
|
|
8065 |
|
|
8066 |
|
<p>"ERR:<error-code>:<error-message>" - |
8067 |
|
</p> |
8068 |
|
<blockquote class="text"> |
8069 |
|
<p>if an invalid path is specified. |
8070 |
|
</p> |
8071 |
|
</blockquote> |
8072 |
|
|
8073 |
|
|
8074 |
|
</blockquote><p> |
8075 |
|
|
8076 |
|
</p> |
8077 |
|
<p>Examples: |
8078 |
|
</p> |
8079 |
|
<p> |
8080 |
|
</p> |
8081 |
|
<blockquote class="text"> |
8082 |
|
<p>C: "ADD DB_INSTRUMENTS '/Piano Collection' '/home/me/gigs/PMI Bosendorfer 290.gig' 0" |
8083 |
|
</p> |
8084 |
|
<p>S: "OK" |
8085 |
|
</p> |
8086 |
|
</blockquote><p> |
8087 |
|
|
8088 |
|
</p> |
8089 |
|
<a name="REMOVE DB_INSTRUMENT"></a><br /><hr /> |
8090 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8091 |
|
<a name="rfc.section.6.8.12"></a><h3>6.8.12. |
8092 |
|
Removing an instrument</h3> |
8093 |
|
|
8094 |
|
<p>The front-end can remove a particular instrument |
8095 |
|
from the instruments database by sending the following command: |
8096 |
|
</p> |
8097 |
|
<p> |
8098 |
|
</p> |
8099 |
|
<blockquote class="text"> |
8100 |
|
<p>REMOVE DB_INSTRUMENT <instr_path> |
8101 |
|
</p> |
8102 |
|
</blockquote><p> |
8103 |
|
|
8104 |
|
</p> |
8105 |
|
<p>Where <instr_path> is the absolute path name |
8106 |
|
(in the instruments database) of the instrument to remove. |
8107 |
|
</p> |
8108 |
|
<p>Possible Answers: |
8109 |
|
</p> |
8110 |
|
<p> |
8111 |
|
</p> |
8112 |
|
<blockquote class="text"> |
8113 |
|
<p>"OK" - |
8114 |
|
</p> |
8115 |
|
<blockquote class="text"> |
8116 |
|
<p>if the instrument is removed successfully |
8117 |
|
</p> |
8118 |
|
</blockquote> |
8119 |
|
|
8120 |
|
|
8121 |
|
<p>"ERR:<error-code>:<error-message>" - |
8122 |
|
</p> |
8123 |
|
<blockquote class="text"> |
8124 |
|
<p>if the given path does not exist or |
8125 |
|
is a directory. |
8126 |
|
</p> |
8127 |
|
</blockquote> |
8128 |
|
|
8129 |
|
|
8130 |
|
</blockquote><p> |
8131 |
|
|
8132 |
|
</p> |
8133 |
|
<p>Examples: |
8134 |
|
</p> |
8135 |
|
<p> |
8136 |
|
</p> |
8137 |
|
<blockquote class="text"> |
8138 |
|
<p>C: "REMOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290'" |
8139 |
|
</p> |
8140 |
|
<p>S: "OK" |
8141 |
|
</p> |
8142 |
|
</blockquote><p> |
8143 |
|
|
8144 |
|
</p> |
8145 |
|
<a name="GET DB_INSTRUMENTS"></a><br /><hr /> |
8146 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8147 |
|
<a name="rfc.section.6.8.13"></a><h3>6.8.13. |
8148 |
|
Getting amount of instruments</h3> |
8149 |
|
|
8150 |
|
<p>The front-end can retrieve the current amount of |
8151 |
|
instruments in a specific directory by sending the following command: |
8152 |
|
</p> |
8153 |
|
<p> |
8154 |
|
</p> |
8155 |
|
<blockquote class="text"> |
8156 |
|
<p>GET DB_INSTRUMENTS [RECURSIVE] <dir> |
8157 |
|
</p> |
8158 |
|
</blockquote><p> |
8159 |
|
|
8160 |
|
</p> |
8161 |
|
<p>Where <dir> should be replaced by the absolute path name |
8162 |
|
of the directory. If RECURSIVE is specified, the number of all |
8163 |
|
instruments, including those located in subdirectories of the |
8164 |
|
specified directory, will be returned. |
8165 |
|
</p> |
8166 |
|
<p>Possible Answers: |
8167 |
|
</p> |
8168 |
|
<p> |
8169 |
|
</p> |
8170 |
|
<blockquote class="text"> |
8171 |
|
<p>The current number of instruments |
8172 |
|
in the specified directory. |
8173 |
|
</p> |
8174 |
|
<p>"ERR:<error-code>:<error-message>" - |
8175 |
|
</p> |
8176 |
|
<blockquote class="text"> |
8177 |
|
<p>if the given directory does not exist. |
8178 |
|
</p> |
8179 |
|
</blockquote> |
8180 |
|
|
8181 |
|
|
8182 |
|
</blockquote><p> |
8183 |
|
|
8184 |
|
</p> |
8185 |
|
<p>Example: |
8186 |
|
</p> |
8187 |
|
<p> |
8188 |
|
</p> |
8189 |
|
<blockquote class="text"> |
8190 |
|
<p>C: "GET DB_INSTRUMENTS '/Piano Collection'" |
8191 |
|
</p> |
8192 |
|
<p>S: "2" |
8193 |
|
</p> |
8194 |
|
</blockquote><p> |
8195 |
|
|
8196 |
|
</p> |
8197 |
|
<a name="LIST DB_INSTRUMENTS"></a><br /><hr /> |
8198 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8199 |
|
<a name="rfc.section.6.8.14"></a><h3>6.8.14. |
8200 |
|
Listing all instruments in specific directory</h3> |
8201 |
|
|
8202 |
|
<p>The front-end can retrieve the current list of instruments |
8203 |
|
in specific directory by sending the following command: |
8204 |
|
</p> |
8205 |
|
<p> |
8206 |
|
</p> |
8207 |
|
<blockquote class="text"> |
8208 |
|
<p>LIST DB_INSTRUMENTS [RECURSIVE] <dir> |
8209 |
|
</p> |
8210 |
|
</blockquote><p> |
8211 |
|
|
8212 |
|
</p> |
8213 |
|
<p>Where <dir> should be replaced by the absolute path |
8214 |
|
name of the directory. If RECURSIVE is specified, the absolute path |
8215 |
|
names of all instruments, including those located in subdirectories |
8216 |
|
of the specified directory, will be returned. |
8217 |
|
</p> |
8218 |
|
<p>Possible Answers: |
8219 |
|
</p> |
8220 |
|
<p> |
8221 |
|
</p> |
8222 |
|
<blockquote class="text"> |
8223 |
|
<p>A comma separated list of all instruments |
8224 |
|
(encapsulated into apostrophes) in the specified directory. |
8225 |
|
</p> |
8226 |
|
<p>"ERR:<error-code>:<error-message>" - |
8227 |
|
</p> |
8228 |
|
<blockquote class="text"> |
8229 |
|
<p>if the given directory does not exist. |
8230 |
|
</p> |
8231 |
|
</blockquote> |
8232 |
|
|
8233 |
|
|
8234 |
|
</blockquote><p> |
8235 |
|
|
8236 |
|
</p> |
8237 |
|
<p>Example: |
8238 |
|
</p> |
8239 |
|
<p> |
8240 |
|
</p> |
8241 |
|
<blockquote class="text"> |
8242 |
|
<p>C: "LIST DB_INSTRUMENTS '/Piano Collection'" |
8243 |
|
</p> |
8244 |
|
<p>S: "'Bosendorfer 290','Steinway D'" |
8245 |
|
</p> |
8246 |
|
</blockquote><p> |
8247 |
|
|
8248 |
|
</p> |
8249 |
|
<p> |
8250 |
|
</p> |
8251 |
|
<blockquote class="text"> |
8252 |
|
<p>C: "LIST DB_INSTRUMENTS RECURSIVE '/Piano Collection'" |
8253 |
|
</p> |
8254 |
|
<p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D','/Piano Collection/Lite/Free Piano'" |
8255 |
|
</p> |
8256 |
|
</blockquote><p> |
8257 |
|
|
8258 |
|
</p> |
8259 |
|
<a name="GET DB_INSTRUMENT INFO"></a><br /><hr /> |
8260 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8261 |
|
<a name="rfc.section.6.8.15"></a><h3>6.8.15. |
8262 |
|
Getting instrument information</h3> |
8263 |
|
|
8264 |
|
<p>The front-end can ask for the current settings of an |
8265 |
|
instrument by sending the following command: |
8266 |
|
</p> |
8267 |
|
<p> |
8268 |
|
</p> |
8269 |
|
<blockquote class="text"> |
8270 |
|
<p>GET DB_INSTRUMENT INFO <instr_path> |
8271 |
|
</p> |
8272 |
|
</blockquote><p> |
8273 |
|
|
8274 |
|
</p> |
8275 |
|
<p>Where <instr_path> should be replaced by the absolute path |
8276 |
|
name of the instrument the front-end is interested in. |
8277 |
|
</p> |
8278 |
|
<p>Possible Answers: |
8279 |
|
</p> |
8280 |
|
<p> |
8281 |
|
</p> |
8282 |
|
<blockquote class="text"> |
8283 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
8284 |
|
Each answer line begins with the settings category name |
8285 |
|
followed by a colon and then a space character <SP> and finally |
8286 |
|
the info character string to that setting category. At the |
8287 |
|
moment the following categories are defined: |
8288 |
|
</p> |
8289 |
|
<p> |
8290 |
|
</p> |
8291 |
|
<blockquote class="text"> |
8292 |
|
<p>INSTRUMENT_FILE - |
8293 |
|
</p> |
8294 |
|
<blockquote class="text"> |
8295 |
|
<p>File name of the instrument. |
8296 |
|
Note that the character string may contain |
8297 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8298 |
|
</p> |
8299 |
|
</blockquote> |
8300 |
|
|
8301 |
|
|
8302 |
|
<p>INSTRUMENT_NR - |
8303 |
|
</p> |
8304 |
|
<blockquote class="text"> |
8305 |
|
<p>Index of the instrument within the file. |
8306 |
|
</p> |
8307 |
|
</blockquote> |
8308 |
|
|
8309 |
|
|
8310 |
|
<p>FORMAT_FAMILY - |
8311 |
|
</p> |
8312 |
|
<blockquote class="text"> |
8313 |
|
<p>The format family of the instrument. |
8314 |
|
</p> |
8315 |
|
</blockquote> |
8316 |
|
|
8317 |
|
|
8318 |
|
<p>FORMAT_VERSION - |
8319 |
|
</p> |
8320 |
|
<blockquote class="text"> |
8321 |
|
<p>The format version of the instrument. |
8322 |
|
</p> |
8323 |
|
</blockquote> |
8324 |
|
|
8325 |
|
|
8326 |
|
<p>SIZE - |
8327 |
|
</p> |
8328 |
|
<blockquote class="text"> |
8329 |
|
<p>The size of the instrument in bytes. |
8330 |
|
</p> |
8331 |
|
</blockquote> |
8332 |
|
|
8333 |
|
|
8334 |
|
<p>CREATED - |
8335 |
|
</p> |
8336 |
|
<blockquote class="text"> |
8337 |
|
<p>The date and time when the instrument is added |
8338 |
|
in the instruments database, represented in |
8339 |
|
"YYYY-MM-DD HH:MM:SS" format |
8340 |
|
</p> |
8341 |
|
</blockquote> |
8342 |
|
|
8343 |
|
|
8344 |
|
<p>MODIFIED - |
8345 |
|
</p> |
8346 |
|
<blockquote class="text"> |
8347 |
|
<p>The date and time of the last modification of the |
8348 |
|
instrument's database settings, represented in |
8349 |
|
"YYYY-MM-DD HH:MM:SS" format |
8350 |
|
</p> |
8351 |
|
</blockquote> |
8352 |
|
|
8353 |
|
|
8354 |
|
<p>DESCRIPTION - |
8355 |
|
</p> |
8356 |
|
<blockquote class="text"> |
8357 |
|
<p>A brief description of the instrument. |
8358 |
|
Note that the character string may contain |
8359 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8360 |
|
</p> |
8361 |
|
</blockquote> |
8362 |
|
|
8363 |
|
|
8364 |
|
<p>IS_DRUM - |
8365 |
|
</p> |
8366 |
|
<blockquote class="text"> |
8367 |
|
<p>either true or false, determines whether the |
8368 |
|
instrument is a drumkit or a chromatic instrument |
8369 |
|
</p> |
8370 |
|
</blockquote> |
8371 |
|
|
8372 |
|
|
8373 |
|
<p>PRODUCT - |
8374 |
|
</p> |
8375 |
|
<blockquote class="text"> |
8376 |
|
<p>The product title of the instrument. |
8377 |
|
Note that the character string may contain |
8378 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8379 |
|
</p> |
8380 |
|
</blockquote> |
8381 |
|
|
8382 |
|
|
8383 |
|
<p>ARTISTS - |
8384 |
|
</p> |
8385 |
|
<blockquote class="text"> |
8386 |
|
<p>Lists the artist names. |
8387 |
|
Note that the character string may contain |
8388 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8389 |
|
</p> |
8390 |
|
</blockquote> |
8391 |
|
|
8392 |
|
|
8393 |
|
<p>KEYWORDS - |
8394 |
|
</p> |
8395 |
|
<blockquote class="text"> |
8396 |
|
<p>Provides a list of keywords that refer to the instrument. |
8397 |
|
Keywords are separated with semicolon and blank. |
8398 |
|
Note that the character string may contain |
8399 |
|
<a class='info' href='#character_set'>escape sequences<span> (</span><span class='info'>Character Set and Escape Sequences</span><span>)</span></a>. |
8400 |
|
</p> |
8401 |
|
</blockquote> |
8402 |
|
|
8403 |
|
|
8404 |
|
</blockquote> |
8405 |
|
|
8406 |
|
|
8407 |
|
</blockquote><p> |
8408 |
|
|
8409 |
|
</p> |
8410 |
|
<p>The mentioned fields above don't have to be in particular order. |
8411 |
|
</p> |
8412 |
|
<p>Example: |
8413 |
|
</p> |
8414 |
|
<p> |
8415 |
|
</p> |
8416 |
|
<blockquote class="text"> |
8417 |
|
<p>C: "GET DB_INSTRUMENT INFO '/Piano Collection/Bosendorfer 290'" |
8418 |
|
</p> |
8419 |
|
<p>S: "INSTRUMENT_FILE: /home/me/gigs/Bosendorfer 290.gig" |
8420 |
|
</p> |
8421 |
|
<p> "INSTRUMENT_NR: 0" |
8422 |
|
</p> |
8423 |
|
<p> "FORMAT_FAMILY: GIG" |
8424 |
|
</p> |
8425 |
|
<p> "FORMAT_VERSION: 2" |
8426 |
|
</p> |
8427 |
|
<p> "SIZE: 2050871870" |
8428 |
|
</p> |
8429 |
|
<p> "CREATED: 2007-02-05 10:23:12" |
8430 |
|
</p> |
8431 |
|
<p> "MODIFIED: 2007-04-07 12:50:21" |
8432 |
|
</p> |
8433 |
|
<p> "DESCRIPTION: " |
8434 |
|
</p> |
8435 |
|
<p> "IS_DRUM: false" |
8436 |
|
</p> |
8437 |
|
<p> "PRODUCT: GRANDIOSO Bosendorfer 290" |
8438 |
|
</p> |
8439 |
|
<p> "ARTISTS: Post Musical Instruments" |
8440 |
|
</p> |
8441 |
|
<p> "KEYWORDS: Bosendorfer" |
8442 |
|
</p> |
8443 |
|
<p> "." |
8444 |
|
</p> |
8445 |
|
</blockquote><p> |
8446 |
|
|
8447 |
|
</p> |
8448 |
|
<a name="SET DB_INSTRUMENT NAME"></a><br /><hr /> |
8449 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8450 |
|
<a name="rfc.section.6.8.16"></a><h3>6.8.16. |
8451 |
|
Renaming an instrument</h3> |
8452 |
|
|
8453 |
|
<p>The front-end can alter the name of a specific |
8454 |
|
instrument by sending the following command: |
8455 |
|
</p> |
8456 |
|
<p> |
8457 |
|
</p> |
8458 |
|
<blockquote class="text"> |
8459 |
|
<p>SET DB_INSTRUMENT NAME <instr> <name> |
8460 |
|
</p> |
8461 |
|
</blockquote><p> |
8462 |
|
|
8463 |
|
</p> |
8464 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8465 |
|
<name> is the new name for that instrument. |
8466 |
|
</p> |
8467 |
|
<p>Possible Answers: |
8468 |
|
</p> |
8469 |
|
<p> |
8470 |
|
</p> |
8471 |
|
<blockquote class="text"> |
8472 |
|
<p>"OK" - |
8473 |
|
</p> |
8474 |
|
<blockquote class="text"> |
8475 |
|
<p>on success |
8476 |
|
</p> |
8477 |
|
</blockquote> |
8478 |
|
|
8479 |
|
|
8480 |
|
<p>"ERR:<error-code>:<error-message>" - |
8481 |
|
</p> |
8482 |
|
<blockquote class="text"> |
8483 |
|
<p>in case the given instrument does not exists, |
8484 |
|
or if an instrument with name equal to the new |
8485 |
|
name already exists. |
8486 |
|
</p> |
8487 |
|
</blockquote> |
8488 |
|
|
8489 |
|
|
8490 |
|
</blockquote><p> |
8491 |
|
|
8492 |
|
</p> |
8493 |
|
<p>Example: |
8494 |
|
</p> |
8495 |
|
<p> |
8496 |
|
</p> |
8497 |
|
<blockquote class="text"> |
8498 |
|
<p>C: "SET DB_INSTRUMENT NAME '/Piano Collection/Bosendorfer' 'Bosendorfer 290'" |
8499 |
|
</p> |
8500 |
|
<p>S: "OK" |
8501 |
|
</p> |
8502 |
|
</blockquote><p> |
8503 |
|
|
8504 |
|
</p> |
8505 |
|
<a name="MOVE DB_INSTRUMENT"></a><br /><hr /> |
8506 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8507 |
|
<a name="rfc.section.6.8.17"></a><h3>6.8.17. |
8508 |
|
Moving an instrument</h3> |
8509 |
|
|
8510 |
|
<p>The front-end can move a specific instrument to another directory by |
8511 |
|
sending the following command: |
8512 |
|
</p> |
8513 |
|
<p> |
8514 |
|
</p> |
8515 |
|
<blockquote class="text"> |
8516 |
|
<p>MOVE DB_INSTRUMENT <instr> <dst> |
8517 |
|
</p> |
8518 |
|
</blockquote><p> |
8519 |
|
|
8520 |
|
</p> |
8521 |
|
<p>Where <instr> is the absolute path name of the instrument |
8522 |
|
to move and <dst> is the directory where the instrument will |
8523 |
|
be moved to. |
8524 |
|
</p> |
8525 |
|
<p>Possible Answers: |
8526 |
|
</p> |
8527 |
|
<p> |
8528 |
|
</p> |
8529 |
|
<blockquote class="text"> |
8530 |
|
<p>"OK" - |
8531 |
|
</p> |
8532 |
|
<blockquote class="text"> |
8533 |
|
<p>on success |
8534 |
|
</p> |
8535 |
|
</blockquote> |
8536 |
|
|
8537 |
|
|
8538 |
|
<p>"ERR:<error-code>:<error-message>" - |
8539 |
|
</p> |
8540 |
|
<blockquote class="text"> |
8541 |
|
<p>in case the given instrument does not exists, |
8542 |
|
or if an instrument with name equal to the name of the |
8543 |
|
specified instrument already exists in the destination |
8544 |
|
directory. |
8545 |
|
</p> |
8546 |
|
</blockquote> |
8547 |
|
|
8548 |
|
|
8549 |
|
</blockquote><p> |
8550 |
|
|
8551 |
|
</p> |
8552 |
|
<p>Example: |
8553 |
|
</p> |
8554 |
|
<p> |
8555 |
|
</p> |
8556 |
|
<blockquote class="text"> |
8557 |
|
<p>C: "MOVE DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Piano Collection/Acoustic'" |
8558 |
|
</p> |
8559 |
|
<p>S: "OK" |
8560 |
|
</p> |
8561 |
|
</blockquote><p> |
8562 |
|
|
8563 |
|
</p> |
8564 |
|
<a name="COPY DB_INSTRUMENT"></a><br /><hr /> |
8565 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8566 |
|
<a name="rfc.section.6.8.18"></a><h3>6.8.18. |
8567 |
|
Copying instruments</h3> |
8568 |
|
|
8569 |
|
<p>The front-end can copy a specific instrument to another directory by |
8570 |
|
sending the following command: |
8571 |
|
</p> |
8572 |
|
<p> |
8573 |
|
</p> |
8574 |
|
<blockquote class="text"> |
8575 |
|
<p>COPY DB_INSTRUMENT <instr> <dst> |
8576 |
|
</p> |
8577 |
|
</blockquote><p> |
8578 |
|
|
8579 |
|
</p> |
8580 |
|
<p>Where <instr> is the absolute path name of the instrument |
8581 |
|
to copy and <dst> is the directory where the instrument will |
8582 |
|
be copied to. |
8583 |
|
</p> |
8584 |
|
<p>Possible Answers: |
8585 |
|
</p> |
8586 |
|
<p> |
8587 |
|
</p> |
8588 |
|
<blockquote class="text"> |
8589 |
|
<p>"OK" - |
8590 |
|
</p> |
8591 |
|
<blockquote class="text"> |
8592 |
|
<p>on success |
8593 |
|
</p> |
8594 |
|
</blockquote> |
8595 |
|
|
8596 |
|
|
8597 |
|
<p>"ERR:<error-code>:<error-message>" - |
8598 |
|
</p> |
8599 |
|
<blockquote class="text"> |
8600 |
|
<p>in case the given instrument does not exists, |
8601 |
|
or if an instrument with name equal to the name of the |
8602 |
|
specified instrument already exists in the destination |
8603 |
|
directory. |
8604 |
|
</p> |
8605 |
|
</blockquote> |
8606 |
|
|
8607 |
|
|
8608 |
|
</blockquote><p> |
8609 |
|
|
8610 |
|
</p> |
8611 |
|
<p>Example: |
8612 |
|
</p> |
8613 |
|
<p> |
8614 |
|
</p> |
8615 |
|
<blockquote class="text"> |
8616 |
|
<p>C: "COPY DB_INSTRUMENT '/Piano Collection/Bosendorfer 290' '/Acoustic/Pianos/'" |
8617 |
|
</p> |
8618 |
|
<p>S: "OK" |
8619 |
|
</p> |
8620 |
|
</blockquote><p> |
8621 |
|
|
8622 |
|
</p> |
8623 |
|
<a name="SET DB_INSTRUMENT DESCRIPTION"></a><br /><hr /> |
8624 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8625 |
|
<a name="rfc.section.6.8.19"></a><h3>6.8.19. |
8626 |
|
Changing the description of instrument</h3> |
8627 |
|
|
8628 |
|
<p>The front-end can alter the description of a specific |
8629 |
|
instrument by sending the following command: |
8630 |
|
</p> |
8631 |
|
<p> |
8632 |
|
</p> |
8633 |
|
<blockquote class="text"> |
8634 |
|
<p>SET DB_INSTRUMENT DESCRIPTION <instr> <desc> |
8635 |
|
</p> |
8636 |
|
</blockquote><p> |
8637 |
|
|
8638 |
|
</p> |
8639 |
|
<p>Where <instr> is the absolute path name of the instrument and |
8640 |
|
<desc> is the new description for the instrument |
8641 |
|
(encapsulated into apostrophes, supporting escape sequences as described in chapter |
8642 |
|
"<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>"). |
8643 |
|
</p> |
8644 |
|
<p>Possible Answers: |
8645 |
|
</p> |
8646 |
|
<p> |
8647 |
|
</p> |
8648 |
|
<blockquote class="text"> |
8649 |
|
<p>"OK" - |
8650 |
|
</p> |
8651 |
|
<blockquote class="text"> |
8652 |
|
<p>on success |
8653 |
|
</p> |
8654 |
|
</blockquote> |
8655 |
|
|
8656 |
|
|
8657 |
|
<p>"ERR:<error-code>:<error-message>" - |
8658 |
|
</p> |
8659 |
|
<blockquote class="text"> |
8660 |
|
<p>in case the given instrument does not exists. |
8661 |
|
</p> |
8662 |
|
</blockquote> |
8663 |
|
|
8664 |
|
|
8665 |
|
</blockquote><p> |
8666 |
|
|
8667 |
|
</p> |
8668 |
|
<p>Example: |
8669 |
|
</p> |
8670 |
|
<p> |
8671 |
|
</p> |
8672 |
|
<blockquote class="text"> |
8673 |
|
<p>C: "SET DB_INSTRUMENT DESCRIPTION '/Piano Collection/Acoustic/Bosendorfer 290' 'No comment :)'" |
8674 |
|
</p> |
8675 |
|
<p>S: "OK" |
8676 |
|
</p> |
8677 |
|
</blockquote><p> |
8678 |
|
|
8679 |
|
</p> |
8680 |
|
<a name="FIND DB_INSTRUMENTS"></a><br /><hr /> |
8681 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8682 |
|
<a name="rfc.section.6.8.20"></a><h3>6.8.20. |
8683 |
|
Finding instruments</h3> |
8684 |
|
|
8685 |
|
<p>The front-end can search for instruments |
8686 |
|
in specific directory by sending the following command: |
8687 |
|
</p> |
8688 |
|
<p> |
8689 |
|
</p> |
8690 |
|
<blockquote class="text"> |
8691 |
|
<p>FIND DB_INSTRUMENTS [NON_RECURSIVE] <dir> <criteria-list> |
8692 |
|
</p> |
8693 |
|
</blockquote><p> |
8694 |
|
|
8695 |
|
</p> |
8696 |
|
<p>Where <dir> should be replaced by the absolute path |
8697 |
|
name of the directory to search in. If NON_RECURSIVE is specified, the |
8698 |
|
directories located in subdirectories of the specified directory will not |
8699 |
|
be searched. <criteria-list> is a list of search criterias |
8700 |
|
in form of "key1=val1 key2=val2 ...". The following criterias are |
8701 |
|
allowed: |
8702 |
|
</p> |
8703 |
|
<p> |
8704 |
|
|
8705 |
|
<p>NAME='<search-string>' |
8706 |
|
</p> |
8707 |
|
<blockquote class="text"> |
8708 |
|
<p>Restricts the search to instruments, which names |
8709 |
|
satisfy the supplied search string (encapsulated into apostrophes, |
8710 |
|
supporting escape sequences as described in chapter |
8711 |
|
"<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>"). |
8712 |
|
</p> |
8713 |
|
</blockquote><p> |
8714 |
|
|
8715 |
|
</p> |
8716 |
|
|
8717 |
|
|
8718 |
|
<p>SIZE=[<min>]..[<max>] |
8719 |
|
</p> |
8720 |
|
<blockquote class="text"> |
8721 |
|
<p>Restricts the search to instruments, which |
8722 |
|
size is in the specified range. If <min> is omitted, |
8723 |
|
the search results are restricted to instruments with size less then |
8724 |
|
or equal to <max>. If <max> is omitted, the |
8725 |
|
search is restricted to instruments with size greater then |
8726 |
|
or equal to <min>. |
8727 |
|
</p> |
8728 |
|
</blockquote><p> |
8729 |
|
|
8730 |
|
</p> |
8731 |
|
|
8732 |
|
|
8733 |
|
<p>CREATED='[<date-after>]..[<date-before>]' |
8734 |
|
</p> |
8735 |
|
<blockquote class="text"> |
8736 |
|
<p>Restricts the search to instruments, which creation |
8737 |
|
date satisfies the specified period, where <date-after> |
8738 |
|
and <date-before> are in "YYYY-MM-DD HH:MM:SS" format. |
8739 |
|
If <date-after> is omitted the search is restricted to |
8740 |
|
instruments created before <date-before>. If |
8741 |
|
<date-before> is omitted, the search is restricted |
8742 |
|
to instruments created after <date-after>. |
8743 |
|
</p> |
8744 |
|
</blockquote><p> |
8745 |
|
|
8746 |
|
</p> |
8747 |
|
|
8748 |
|
|
8749 |
|
<p>MODIFIED='[<date-after>]..[<date-before>]' |
8750 |
|
</p> |
8751 |
|
<blockquote class="text"> |
8752 |
|
<p>Restricts the search to instruments, which |
8753 |
|
date of last modification satisfies the specified period, where |
8754 |
|
<date-after> and <date-before> are in "YYYY-MM-DD HH:MM:SS" |
8755 |
|
format. If <date-after> is omitted the search is restricted to |
8756 |
|
instruments, which are last modified before <date-before>. If |
8757 |
|
<date-before> is omitted, the search is restricted to instruments, |
8758 |
|
which are last modified after <date-after>. |
8759 |
|
</p> |
8760 |
|
</blockquote><p> |
8761 |
|
|
8762 |
|
</p> |
8763 |
|
|
8764 |
|
|
8765 |
|
<p>DESCRIPTION='<search-string>' |
8766 |
|
</p> |
8767 |
|
<blockquote class="text"> |
8768 |
|
<p>Restricts the search to instruments with description |
8769 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8770 |
|
supporting escape sequences as described in chapter |
8771 |
|
"<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>"). |
8772 |
|
</p> |
8773 |
|
</blockquote><p> |
8774 |
|
|
8775 |
|
</p> |
8776 |
|
|
8777 |
|
|
8778 |
|
<p>PRODUCT='<search-string>' |
8779 |
|
</p> |
8780 |
|
<blockquote class="text"> |
8781 |
|
<p>Restricts the search to instruments with product info |
8782 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8783 |
|
supporting escape sequences as described in chapter |
8784 |
|
"<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>"). |
8785 |
|
</p> |
8786 |
|
</blockquote><p> |
8787 |
|
|
8788 |
|
</p> |
8789 |
|
|
8790 |
|
|
8791 |
|
<p>ARTISTS='<search-string>' |
8792 |
|
</p> |
8793 |
|
<blockquote class="text"> |
8794 |
|
<p>Restricts the search to instruments with artists info |
8795 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8796 |
|
supporting escape sequences as described in chapter |
8797 |
|
"<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>"). |
8798 |
|
</p> |
8799 |
|
</blockquote><p> |
8800 |
|
|
8801 |
|
</p> |
8802 |
|
|
8803 |
|
|
8804 |
|
<p>KEYWORDS='<search-string>' |
8805 |
|
</p> |
8806 |
|
<blockquote class="text"> |
8807 |
|
<p>Restricts the search to instruments with keyword list |
8808 |
|
that satisfies the supplied search string (encapsulated into apostrophes, |
8809 |
|
supporting escape sequences as described in chapter |
8810 |
|
"<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>"). |
8811 |
|
</p> |
8812 |
|
</blockquote><p> |
8813 |
|
|
8814 |
|
</p> |
8815 |
|
|
8816 |
|
|
8817 |
|
<p>IS_DRUM=true | false |
8818 |
|
</p> |
8819 |
|
<blockquote class="text"> |
8820 |
|
<p>Either true or false. Restricts the search to |
8821 |
|
drum kits or chromatic instruments. |
8822 |
|
</p> |
8823 |
|
</blockquote><p> |
8824 |
|
|
8825 |
|
</p> |
8826 |
|
|
8827 |
|
|
8828 |
|
<p>FORMAT_FAMILIES='<format-list>' |
8829 |
|
</p> |
8830 |
|
<blockquote class="text"> |
8831 |
|
<p>Restricts the search to instruments of the supplied format families, |
8832 |
|
where <format-list> is a comma separated list of format families. |
8833 |
|
</p> |
8834 |
|
</blockquote><p> |
8835 |
|
|
8836 |
|
</p> |
8837 |
|
|
8838 |
|
|
8839 |
|
<p>Where <search-string> is either a regular expression, or a |
8840 |
|
word list separated with spaces for OR search and with '+' for AND search. |
8841 |
|
</p> |
8842 |
|
<p>Possible Answers: |
8843 |
|
</p> |
8844 |
|
<p> |
8845 |
|
</p> |
8846 |
|
<blockquote class="text"> |
8847 |
|
<p>A comma separated list with the absolute path names (encapsulated into |
8848 |
|
apostrophes) of all instruments in the specified directory that satisfy |
8849 |
|
the supplied search criterias. |
8850 |
|
</p> |
8851 |
|
<p>"ERR:<error-code>:<error-message>" - |
8852 |
|
</p> |
8853 |
|
<blockquote class="text"> |
8854 |
|
<p>if the given directory does not exist. |
8855 |
|
</p> |
8856 |
|
</blockquote> |
8857 |
|
|
8858 |
|
|
8859 |
|
</blockquote><p> |
8860 |
|
|
8861 |
|
</p> |
8862 |
|
<p>Example: |
8863 |
|
</p> |
8864 |
|
<p> |
8865 |
|
</p> |
8866 |
|
<blockquote class="text"> |
8867 |
|
<p>C: "FIND DB_INSTRUMENTS '/Piano Collection' NAME='bosendorfer+290'" |
8868 |
|
</p> |
8869 |
|
<p>S: "'/Piano Collection/Bosendorfer 290'" |
8870 |
|
</p> |
8871 |
|
</blockquote><p> |
8872 |
|
|
8873 |
|
</p> |
8874 |
|
<p> |
8875 |
|
</p> |
8876 |
|
<blockquote class="text"> |
8877 |
|
<p>C: "FIND DB_INSTRUMENTS '/Piano Collection' CREATED='2007-04-01 09:30:13..'" |
8878 |
|
</p> |
8879 |
|
<p>S: "'/Piano Collection/Bosendorfer 290','/Piano Collection/Steinway D'" |
8880 |
|
</p> |
8881 |
|
</blockquote><p> |
8882 |
|
|
8883 |
|
</p> |
8884 |
|
<a name="GET DB_INSTRUMENTS_JOB INFO"></a><br /><hr /> |
8885 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8886 |
|
<a name="rfc.section.6.8.21"></a><h3>6.8.21. |
8887 |
|
Getting job status information</h3> |
8888 |
|
|
8889 |
|
<p>The front-end can ask for the current status of a |
8890 |
|
particular database instruments job by sending the following command: |
8891 |
|
</p> |
8892 |
|
<p> |
8893 |
|
</p> |
8894 |
|
<blockquote class="text"> |
8895 |
|
<p>GET DB_INSTRUMENTS_JOB INFO <job-id> |
8896 |
|
</p> |
8897 |
|
</blockquote><p> |
8898 |
|
|
8899 |
|
</p> |
8900 |
|
<p>Where <job-id> should be replaced by the numerical ID |
8901 |
|
of the job the front-end is interested in. |
8902 |
|
</p> |
8903 |
|
<p>Possible Answers: |
8904 |
|
</p> |
8905 |
|
<p> |
8906 |
|
</p> |
8907 |
|
<blockquote class="text"> |
8908 |
|
<p>LinuxSampler will answer by sending a <CRLF> separated list. |
8909 |
|
Each answer line begins with the settings category name |
8910 |
|
followed by a colon and then a space character <SP> and finally |
8911 |
|
the info character string to that setting category. At the |
8912 |
|
moment the following categories are defined: |
8913 |
|
</p> |
8914 |
|
<p> |
8915 |
|
</p> |
8916 |
|
<blockquote class="text"> |
8917 |
|
<p>FILES_TOTAL - |
8918 |
|
</p> |
8919 |
|
<blockquote class="text"> |
8920 |
|
<p>The total number of files scheduled for scanning |
8921 |
|
</p> |
8922 |
|
</blockquote> |
8923 |
|
|
8924 |
|
|
8925 |
|
<p>FILES_SCANNED - |
8926 |
|
</p> |
8927 |
|
<blockquote class="text"> |
8928 |
|
<p>The current number of scanned files |
8929 |
|
</p> |
8930 |
|
</blockquote> |
8931 |
|
|
8932 |
|
|
8933 |
|
<p>SCANNING - |
8934 |
|
</p> |
8935 |
|
<blockquote class="text"> |
8936 |
|
<p>The absolute path name of the file which is currently |
8937 |
|
being scanned |
8938 |
|
</p> |
8939 |
|
</blockquote> |
8940 |
|
|
8941 |
|
|
8942 |
|
<p>STATUS - |
8943 |
|
</p> |
8944 |
|
<blockquote class="text"> |
8945 |
|
<p>An integer value between 0 and 100 indicating the |
8946 |
|
scanning progress percentage of the file which is |
8947 |
|
currently being scanned |
8948 |
|
</p> |
8949 |
|
</blockquote> |
8950 |
|
|
8951 |
|
|
8952 |
|
</blockquote> |
8953 |
|
|
8954 |
|
|
8955 |
|
</blockquote><p> |
8956 |
|
|
8957 |
|
</p> |
8958 |
|
<p>The mentioned fields above don't have to be in particular order. |
8959 |
|
</p> |
8960 |
|
<p>Example: |
8961 |
|
</p> |
8962 |
|
<p> |
8963 |
|
</p> |
8964 |
|
<blockquote class="text"> |
8965 |
|
<p>C: "GET DB_INSTRUMENTS_JOB INFO 2" |
8966 |
|
</p> |
8967 |
|
<p>S: "FILES_TOTAL: 12" |
8968 |
|
</p> |
8969 |
|
<p> "FILES_SCANNED: 7" |
8970 |
|
</p> |
8971 |
|
<p> "SCANNING: /home/me/gigs/Bosendorfer 290.gig" |
8972 |
|
</p> |
8973 |
|
<p> "STATUS: 42" |
8974 |
|
</p> |
8975 |
|
<p> "." |
8976 |
|
</p> |
8977 |
|
</blockquote><p> |
8978 |
|
|
8979 |
|
</p> |
8980 |
|
<a name="FORMAT INSTRUMENTS_DB"></a><br /><hr /> |
8981 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
8982 |
|
<a name="rfc.section.6.8.22"></a><h3>6.8.22. |
8983 |
|
Formatting the instruments database</h3> |
8984 |
|
|
8985 |
|
<p>The front-end can remove all instruments and directories and re-create |
8986 |
|
the instruments database structure (e.g., in case of a database corruption) |
8987 |
|
by sending the following command: |
8988 |
|
</p> |
8989 |
|
<p> |
8990 |
|
</p> |
8991 |
|
<blockquote class="text"> |
8992 |
|
<p>FORMAT INSTRUMENTS_DB |
8993 |
|
</p> |
8994 |
|
</blockquote><p> |
8995 |
|
|
8996 |
|
</p> |
8997 |
|
<p>Possible Answers: |
8998 |
|
</p> |
8999 |
|
<p> |
9000 |
|
</p> |
9001 |
|
<blockquote class="text"> |
9002 |
|
<p>"OK" - |
9003 |
|
</p> |
9004 |
|
<blockquote class="text"> |
9005 |
|
<p>on success |
9006 |
|
</p> |
9007 |
|
</blockquote> |
9008 |
|
|
9009 |
|
|
9010 |
|
<p>"ERR:<error-code>:<error-message>" - |
9011 |
|
</p> |
9012 |
|
<blockquote class="text"> |
9013 |
|
<p>If the formatting of the instruments database |
9014 |
|
failed. |
9015 |
|
</p> |
9016 |
|
</blockquote> |
9017 |
|
|
9018 |
|
|
9019 |
|
</blockquote><p> |
9020 |
|
|
9021 |
|
</p> |
9022 |
|
<a name="editing_instruments"></a><br /><hr /> |
9023 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9024 |
|
<a name="rfc.section.6.9"></a><h3>6.9. |
9025 |
|
Editing Instruments</h3> |
9026 |
|
|
9027 |
|
<p>The sampler allows to edit instruments while playing with the |
9028 |
|
sampler by spawning an external (3rd party) instrument editor |
9029 |
|
application for a given instrument. The 3rd party instrument |
9030 |
|
editor applications have to place a respective plugin DLL file |
9031 |
|
into the sampler's plugins directory. The sampler will |
9032 |
|
automatically try to load all plugin DLLs in that directory on |
9033 |
|
startup and only on startup! |
9034 |
|
</p> |
9035 |
|
<p>At the moment there is only one command for this feature set, |
9036 |
|
but this will most probably change in future. |
9037 |
|
</p> |
9038 |
|
<a name="EDIT INSTRUMENT"></a><br /><hr /> |
9039 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
9040 |
|
<a name="rfc.section.6.9.1"></a><h3>6.9.1. |
9041 |
|
Opening an appropriate instrument editor application</h3> |
9042 |
|
|
9043 |
|
<p>The front-end can request to open an appropriate instrument |
9044 |
|
editor application by sending the following command: |
9045 |
|
</p> |
9046 |
|
<p> |
9047 |
|
</p> |
9048 |
|
<blockquote class="text"> |
9049 |
|
<p>EDIT INSTRUMENT <sampler-channel> |
9050 |
|
</p> |
9051 |
|
</blockquote><p> |
9052 |
|
|
9053 |
|
</p> |
9054 |
|
<p>Where <sampler-channel> should be replaced by the |
9055 |
|
number of the sampler channel as given by the |
9056 |
|
<a class='info' href='#ADD CHANNEL'>"ADD CHANNEL"<span> (</span><span class='info'>Adding a new sampler channel</span><span>)</span></a> |
9057 |
|
or <a class='info' href='#LIST CHANNELS'>"LIST CHANNELS"<span> (</span><span class='info'>Getting all created sampler channel list</span><span>)</span></a> |
9058 |
|
command. |
9059 |
|
</p> |
9060 |
|
<p>The sampler will try to ask all registered instrument |
9061 |
|
editors (or to be more specific: their sampler plugins) |
9062 |
|
whether they are capable to handle the instrument on the |
9063 |
|
given sampler channel. The sampler will simply use the first |
9064 |
|
instrument editor application which replied with a positive |
9065 |
|
answer and spawn that instrument editor application within |
9066 |
|
the sampler's process and provide that application access |
9067 |
|
to the instrument's data structures, so both applications |
9068 |
|
can share and access the same instruments data at the same |
9069 |
|
time, thus allowing to immediately hear changes with the |
9070 |
|
sampler made by the instrument editor. |
9071 |
|
</p> |
9072 |
|
<p>Note: consequently instrument editors are always spawned |
9073 |
|
locally on the same machine where the sampler is running |
9074 |
|
on! |
9075 |
|
</p> |
9076 |
|
<p>Possible Answers: |
9077 |
|
</p> |
9078 |
|
<p> |
9079 |
|
</p> |
9080 |
|
<blockquote class="text"> |
9081 |
|
<p>"OK" - |
9082 |
|
</p> |
9083 |
|
<blockquote class="text"> |
9084 |
|
<p>when an appropriate instrument editor was |
9085 |
|
launched |
9086 |
|
</p> |
9087 |
|
</blockquote> |
9088 |
|
|
9089 |
|
|
9090 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
9091 |
|
</p> |
9092 |
|
<blockquote class="text"> |
9093 |
|
<p>when an appropriate instrument editor was |
9094 |
|
launched, but there are noteworthy issues |
9095 |
|
</p> |
9096 |
|
</blockquote> |
9097 |
|
|
9098 |
|
|
9099 |
|
<p>"ERR:<error-code>:<error-message>" - |
9100 |
|
</p> |
9101 |
|
<blockquote class="text"> |
9102 |
|
<p>when an appropriate instrument editor |
9103 |
|
could not be launched |
9104 |
|
</p> |
9105 |
|
</blockquote> |
9106 |
|
|
9107 |
|
|
9108 |
|
</blockquote><p> |
9109 |
|
|
9110 |
|
</p> |
9111 |
|
<p>Examples: |
9112 |
|
</p> |
9113 |
|
<p> |
9114 |
|
</p> |
9115 |
|
<blockquote class="text"> |
9116 |
|
<p>C: "EDIT INSTRUMENT 0" |
9117 |
</p> |
</p> |
9118 |
<p>S: "OK" |
<p>S: "OK" |
9119 |
</p> |
</p> |
9121 |
|
|
9122 |
</p> |
</p> |
9123 |
<a name="command_syntax"></a><br /><hr /> |
<a name="command_syntax"></a><br /><hr /> |
9124 |
<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> |
9125 |
<a name="rfc.section.7"></a><h3>7. Command Syntax</h3> |
<a name="rfc.section.7"></a><h3>7. |
9126 |
|
Command Syntax</h3> |
9127 |
|
|
9128 |
<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> |
9129 |
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>) |
9130 |
where applicable. |
where applicable. |
9131 |
|
|
9132 |
</p> |
</p> |
9184 |
<p>command = |
<p>command = |
9185 |
</p> |
</p> |
9186 |
<blockquote class="text"> |
<blockquote class="text"> |
9187 |
<p>ADD SP CHANNEL |
<p>ADD SP add_instruction |
9188 |
|
|
9189 |
</p> |
</p> |
9190 |
<p>/ MAP SP map_instruction |
<p>/ MAP SP map_instruction |
9209 |
|
|
9210 |
</p> |
</p> |
9211 |
<p>/ REMOVE SP remove_instruction |
<p>/ REMOVE SP remove_instruction |
|
|
|
9212 |
|
|
9213 |
</p> |
</p> |
9214 |
<p>/ SET SP set_instruction |
<p>/ SET SP set_instruction |
9220 |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
<p>/ UNSUBSCRIBE SP unsubscribe_event |
9221 |
|
|
9222 |
</p> |
</p> |
|
<p>/ SELECT SP text |
|
|
|
|
|
</p> |
|
9223 |
<p>/ RESET SP reset_instruction |
<p>/ RESET SP reset_instruction |
9224 |
|
|
9225 |
</p> |
</p> |
9226 |
<p>/ CLEAR SP clear_instruction |
<p>/ CLEAR SP clear_instruction |
9227 |
|
|
9228 |
</p> |
</p> |
9229 |
|
<p>/ FIND SP find_instruction |
9230 |
|
|
9231 |
|
</p> |
9232 |
|
<p>/ MOVE SP move_instruction |
9233 |
|
|
9234 |
|
</p> |
9235 |
|
<p>/ COPY SP copy_instruction |
9236 |
|
|
9237 |
|
</p> |
9238 |
|
<p>/ EDIT SP edit_instruction |
9239 |
|
|
9240 |
|
</p> |
9241 |
|
<p>/ FORMAT SP format_instruction |
9242 |
|
|
9243 |
|
</p> |
9244 |
<p>/ RESET |
<p>/ RESET |
9245 |
|
|
9246 |
</p> |
</p> |
9250 |
</blockquote><p> |
</blockquote><p> |
9251 |
|
|
9252 |
</p> |
</p> |
9253 |
|
<p>add_instruction = |
9254 |
|
</p> |
9255 |
|
<blockquote class="text"> |
9256 |
|
<p>CHANNEL |
9257 |
|
|
9258 |
|
</p> |
9259 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP db_path |
9260 |
|
|
9261 |
|
</p> |
9262 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP scan_mode SP db_path SP filename |
9263 |
|
|
9264 |
|
</p> |
9265 |
|
<p>/ DB_INSTRUMENTS SP scan_mode SP db_path SP filename |
9266 |
|
|
9267 |
|
</p> |
9268 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename |
9269 |
|
|
9270 |
|
</p> |
9271 |
|
<p>/ DB_INSTRUMENTS SP NON_MODAL SP db_path SP filename SP instrument_index |
9272 |
|
|
9273 |
|
</p> |
9274 |
|
<p>/ DB_INSTRUMENTS SP db_path SP filename |
9275 |
|
|
9276 |
|
</p> |
9277 |
|
<p>/ DB_INSTRUMENTS SP db_path SP filename SP instrument_index |
9278 |
|
|
9279 |
|
</p> |
9280 |
|
<p>/ MIDI_INSTRUMENT_MAP |
9281 |
|
|
9282 |
|
</p> |
9283 |
|
<p>/ MIDI_INSTRUMENT_MAP SP map_name |
9284 |
|
|
9285 |
|
</p> |
9286 |
|
</blockquote><p> |
9287 |
|
|
9288 |
|
</p> |
9289 |
<p>subscribe_event = |
<p>subscribe_event = |
9290 |
</p> |
</p> |
9291 |
<blockquote class="text"> |
<blockquote class="text"> |
9292 |
<p>CHANNEL_COUNT |
<p>AUDIO_OUTPUT_DEVICE_COUNT |
9293 |
|
|
9294 |
|
</p> |
9295 |
|
<p>/ AUDIO_OUTPUT_DEVICE_INFO |
9296 |
|
|
9297 |
|
</p> |
9298 |
|
<p>/ MIDI_INPUT_DEVICE_COUNT |
9299 |
|
|
9300 |
|
</p> |
9301 |
|
<p>/ MIDI_INPUT_DEVICE_INFO |
9302 |
|
|
9303 |
|
</p> |
9304 |
|
<p>/ CHANNEL_COUNT |
9305 |
|
|
9306 |
</p> |
</p> |
9307 |
<p>/ VOICE_COUNT |
<p>/ VOICE_COUNT |
9316 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
9317 |
|
|
9318 |
</p> |
</p> |
9319 |
|
<p>/ FX_SEND_COUNT |
9320 |
|
|
9321 |
|
</p> |
9322 |
|
<p>/ FX_SEND_INFO |
9323 |
|
|
9324 |
|
</p> |
9325 |
|
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
9326 |
|
|
9327 |
|
</p> |
9328 |
|
<p>/ MIDI_INSTRUMENT_MAP_INFO |
9329 |
|
|
9330 |
|
</p> |
9331 |
|
<p>/ MIDI_INSTRUMENT_COUNT |
9332 |
|
|
9333 |
|
</p> |
9334 |
|
<p>/ MIDI_INSTRUMENT_INFO |
9335 |
|
|
9336 |
|
</p> |
9337 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
9338 |
|
|
9339 |
|
</p> |
9340 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
9341 |
|
|
9342 |
|
</p> |
9343 |
|
<p>/ DB_INSTRUMENT_COUNT |
9344 |
|
|
9345 |
|
</p> |
9346 |
|
<p>/ DB_INSTRUMENT_INFO |
9347 |
|
|
9348 |
|
</p> |
9349 |
|
<p>/ DB_INSTRUMENTS_JOB_INFO |
9350 |
|
|
9351 |
|
</p> |
9352 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
9353 |
|
|
9354 |
</p> |
</p> |
9355 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
9356 |
|
|
9357 |
</p> |
</p> |
9358 |
|
<p>/ GLOBAL_INFO |
9359 |
|
|
9360 |
|
</p> |
9361 |
</blockquote><p> |
</blockquote><p> |
9362 |
|
|
9363 |
</p> |
</p> |
9364 |
<p>unsubscribe_event = |
<p>unsubscribe_event = |
9365 |
</p> |
</p> |
9366 |
<blockquote class="text"> |
<blockquote class="text"> |
9367 |
<p>CHANNEL_COUNT |
<p>AUDIO_OUTPUT_DEVICE_COUNT |
9368 |
|
|
9369 |
|
</p> |
9370 |
|
<p>/ AUDIO_OUTPUT_DEVICE_INFO |
9371 |
|
|
9372 |
|
</p> |
9373 |
|
<p>/ MIDI_INPUT_DEVICE_COUNT |
9374 |
|
|
9375 |
|
</p> |
9376 |
|
<p>/ MIDI_INPUT_DEVICE_INFO |
9377 |
|
|
9378 |
|
</p> |
9379 |
|
<p>/ CHANNEL_COUNT |
9380 |
|
|
9381 |
</p> |
</p> |
9382 |
<p>/ VOICE_COUNT |
<p>/ VOICE_COUNT |
9391 |
<p>/ CHANNEL_INFO |
<p>/ CHANNEL_INFO |
9392 |
|
|
9393 |
</p> |
</p> |
9394 |
|
<p>/ FX_SEND_COUNT |
9395 |
|
|
9396 |
|
</p> |
9397 |
|
<p>/ FX_SEND_INFO |
9398 |
|
|
9399 |
|
</p> |
9400 |
|
<p>/ MIDI_INSTRUMENT_MAP_COUNT |
9401 |
|
|
9402 |
|
</p> |
9403 |
|
<p>/ MIDI_INSTRUMENT_MAP_INFO |
9404 |
|
|
9405 |
|
</p> |
9406 |
|
<p>/ MIDI_INSTRUMENT_COUNT |
9407 |
|
|
9408 |
|
</p> |
9409 |
|
<p>/ MIDI_INSTRUMENT_INFO |
9410 |
|
|
9411 |
|
</p> |
9412 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_COUNT |
9413 |
|
|
9414 |
|
</p> |
9415 |
|
<p>/ DB_INSTRUMENT_DIRECTORY_INFO |
9416 |
|
|
9417 |
|
</p> |
9418 |
|
<p>/ DB_INSTRUMENT_COUNT |
9419 |
|
|
9420 |
|
</p> |
9421 |
|
<p>/ DB_INSTRUMENT_INFO |
9422 |
|
|
9423 |
|
</p> |
9424 |
|
<p>/ DB_INSTRUMENTS_JOB_INFO |
9425 |
|
|
9426 |
|
</p> |
9427 |
<p>/ MISCELLANEOUS |
<p>/ MISCELLANEOUS |
9428 |
|
|
9429 |
</p> |
</p> |
9430 |
<p>/ TOTAL_VOICE_COUNT |
<p>/ TOTAL_VOICE_COUNT |
9431 |
|
|
9432 |
</p> |
</p> |
9433 |
|
<p>/ GLOBAL_INFO |
9434 |
|
|
9435 |
|
</p> |
9436 |
</blockquote><p> |
</blockquote><p> |
9437 |
|
|
9438 |
</p> |
</p> |
9439 |
<p>map_instruction = |
<p>map_instruction = |
9440 |
</p> |
</p> |
9441 |
<blockquote class="text"> |
<blockquote class="text"> |
9442 |
<p>MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value |
<p>MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value |
9443 |
|
|
9444 |
</p> |
</p> |
9445 |
<p>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode |
<p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode |
9446 |
|
|
9447 |
</p> |
</p> |
9448 |
<p>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name |
<p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP entry_name |
9449 |
|
|
9450 |
</p> |
</p> |
9451 |
<p>/ MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name |
<p>/ MIDI_INSTRUMENT SP modal_arg midi_map SP midi_bank SP midi_prog SP engine_name SP filename SP instrument_index SP volume_value SP instr_load_mode SP entry_name |
9452 |
|
|
9453 |
</p> |
</p> |
9454 |
</blockquote><p> |
</blockquote><p> |
9457 |
<p>unmap_instruction = |
<p>unmap_instruction = |
9458 |
</p> |
</p> |
9459 |
<blockquote class="text"> |
<blockquote class="text"> |
9460 |
<p>MIDI_INSTRUMENT SP midi_bank_msb SP midi_bank_lsb SP midi_prog |
<p>MIDI_INSTRUMENT SP midi_map SP midi_bank SP midi_prog |
9461 |
|
|
9462 |
</p> |
</p> |
9463 |
</blockquote><p> |
</blockquote><p> |
9469 |
<p>CHANNEL SP sampler_channel |
<p>CHANNEL SP sampler_channel |
9470 |
|
|
9471 |
</p> |
</p> |
9472 |
|
<p>/ MIDI_INSTRUMENT_MAP SP midi_map |
9473 |
|
|
9474 |
|
</p> |
9475 |
|
<p>/ MIDI_INSTRUMENT_MAP SP ALL |
9476 |
|
|
9477 |
|
</p> |
9478 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP FORCE SP db_path |
9479 |
|
|
9480 |
|
</p> |
9481 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP db_path |
9482 |
|
|
9483 |
|
</p> |
9484 |
|
<p>/ DB_INSTRUMENT SP db_path |
9485 |
|
|
9486 |
|
</p> |
9487 |
</blockquote><p> |
</blockquote><p> |
9488 |
|
|
9489 |
</p> |
</p> |
9568 |
<p>/ TOTAL_VOICE_COUNT_MAX |
<p>/ TOTAL_VOICE_COUNT_MAX |
9569 |
|
|
9570 |
</p> |
</p> |
9571 |
<p>/ MIDI_INSTRUMENTS |
<p>/ MIDI_INSTRUMENTS SP midi_map |
9572 |
|
|
9573 |
</p> |
</p> |
9574 |
<p>/ MIDI_INSTRUMENT SP INFO SP midi_bank_msb SP midi_bank_lsb SP midi_prog |
<p>/ MIDI_INSTRUMENTS SP ALL |
9575 |
|
|
9576 |
|
</p> |
9577 |
|
<p>/ MIDI_INSTRUMENT SP INFO SP midi_map SP midi_bank SP midi_prog |
9578 |
|
|
9579 |
|
</p> |
9580 |
|
<p>/ MIDI_INSTRUMENT_MAPS |
9581 |
|
|
9582 |
|
</p> |
9583 |
|
<p>/ MIDI_INSTRUMENT_MAP SP INFO SP midi_map |
9584 |
|
|
9585 |
|
</p> |
9586 |
|
<p>/ FX_SENDS SP sampler_channel |
9587 |
|
|
9588 |
|
</p> |
9589 |
|
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
9590 |
|
|
9591 |
|
</p> |
9592 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path |
9593 |
|
|
9594 |
|
</p> |
9595 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path |
9596 |
|
|
9597 |
|
</p> |
9598 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP INFO SP db_path |
9599 |
|
|
9600 |
|
</p> |
9601 |
|
<p>/ DB_INSTRUMENTS SP RECURSIVE SP db_path |
9602 |
|
|
9603 |
|
</p> |
9604 |
|
<p>/ DB_INSTRUMENTS SP db_path |
9605 |
|
|
9606 |
|
</p> |
9607 |
|
<p>/ DB_INSTRUMENT SP INFO SP db_path |
9608 |
|
|
9609 |
|
</p> |
9610 |
|
<p>/ DB_INSTRUMENTS_JOB SP INFO SP number |
9611 |
|
|
9612 |
|
</p> |
9613 |
|
<p>/ VOLUME |
9614 |
|
|
9615 |
</p> |
</p> |
9616 |
</blockquote><p> |
</blockquote><p> |
9628 |
<p>/ MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list |
<p>/ MIDI_INPUT_DEVICE_PARAMETER SP number SP string '=' param_val_list |
9629 |
|
|
9630 |
</p> |
</p> |
9631 |
|
<p>/ MIDI_INPUT_PORT_PARAMETER SP number SP number SP string '=' NONE |
9632 |
|
|
9633 |
|
</p> |
9634 |
<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 |
9635 |
|
|
9636 |
</p> |
</p> |
9637 |
<p>/ CHANNEL SP set_chan_instruction |
<p>/ CHANNEL SP set_chan_instruction |
9638 |
|
|
9639 |
</p> |
</p> |
9640 |
|
<p>/ MIDI_INSTRUMENT_MAP SP NAME SP midi_map SP map_name |
9641 |
|
|
9642 |
|
</p> |
9643 |
|
<p>/ FX_SEND SP NAME SP sampler_channel SP fx_send_id SP fx_send_name |
9644 |
|
|
9645 |
|
</p> |
9646 |
|
<p>/ FX_SEND SP AUDIO_OUTPUT_CHANNEL SP sampler_channel SP fx_send_id SP audio_channel_index SP audio_channel_index |
9647 |
|
|
9648 |
|
</p> |
9649 |
|
<p>/ FX_SEND SP MIDI_CONTROLLER SP sampler_channel SP fx_send_id SP midi_ctrl |
9650 |
|
|
9651 |
|
</p> |
9652 |
|
<p>/ FX_SEND SP LEVEL SP sampler_channel SP fx_send_id SP volume_value |
9653 |
|
|
9654 |
|
</p> |
9655 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP NAME SP db_path SP stringval_escaped |
9656 |
|
|
9657 |
|
</p> |
9658 |
|
<p>/ DB_INSTRUMENT_DIRECTORY SP DESCRIPTION SP db_path SP stringval_escaped |
9659 |
|
|
9660 |
|
</p> |
9661 |
|
<p>/ DB_INSTRUMENT SP NAME SP db_path SP stringval_escaped |
9662 |
|
|
9663 |
|
</p> |
9664 |
|
<p>/ DB_INSTRUMENT SP DESCRIPTION SP db_path SP stringval_escaped |
9665 |
|
|
9666 |
|
</p> |
9667 |
<p>/ ECHO SP boolean |
<p>/ ECHO SP boolean |
9668 |
|
|
9669 |
</p> |
</p> |
9670 |
|
<p>/ VOLUME SP volume_value |
9671 |
|
|
9672 |
|
</p> |
9673 |
</blockquote><p> |
</blockquote><p> |
9674 |
|
|
9675 |
</p> |
</p> |
9688 |
<p>/ MIDI_INPUT_DEVICE SP string |
<p>/ MIDI_INPUT_DEVICE SP string |
9689 |
|
|
9690 |
</p> |
</p> |
9691 |
|
<p>/ FX_SEND SP sampler_channel SP midi_ctrl |
9692 |
|
|
9693 |
|
</p> |
9694 |
|
<p>/ FX_SEND SP sampler_channel SP midi_ctrl SP fx_send_name |
9695 |
|
|
9696 |
|
</p> |
9697 |
</blockquote><p> |
</blockquote><p> |
9698 |
|
|
9699 |
</p> |
</p> |
9709 |
<p>clear_instruction = |
<p>clear_instruction = |
9710 |
</p> |
</p> |
9711 |
<blockquote class="text"> |
<blockquote class="text"> |
9712 |
<p>MIDI_INSTRUMENTS |
<p>MIDI_INSTRUMENTS SP midi_map |
9713 |
|
|
9714 |
|
</p> |
9715 |
|
<p>/ MIDI_INSTRUMENTS SP ALL |
9716 |
|
|
9717 |
|
</p> |
9718 |
|
</blockquote><p> |
9719 |
|
|
9720 |
|
</p> |
9721 |
|
<p>find_instruction = |
9722 |
|
</p> |
9723 |
|
<blockquote class="text"> |
9724 |
|
<p>DB_INSTRUMENTS SP NON_RECURSIVE SP db_path SP query_val_list |
9725 |
|
|
9726 |
|
</p> |
9727 |
|
<p>/ DB_INSTRUMENTS SP db_path SP query_val_list |
9728 |
|
|
9729 |
|
</p> |
9730 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP NON_RECURSIVE SP db_path SP query_val_list |
9731 |
|
|
9732 |
|
</p> |
9733 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path SP query_val_list |
9734 |
|
|
9735 |
|
</p> |
9736 |
|
</blockquote><p> |
9737 |
|
|
9738 |
|
</p> |
9739 |
|
<p>move_instruction = |
9740 |
|
</p> |
9741 |
|
<blockquote class="text"> |
9742 |
|
<p>DB_INSTRUMENT_DIRECTORY SP db_path SP db_path |
9743 |
|
|
9744 |
|
</p> |
9745 |
|
<p>/ DB_INSTRUMENT SP db_path SP db_path |
9746 |
|
|
9747 |
|
</p> |
9748 |
|
</blockquote><p> |
9749 |
|
|
9750 |
|
</p> |
9751 |
|
<p>copy_instruction = |
9752 |
|
</p> |
9753 |
|
<blockquote class="text"> |
9754 |
|
<p>DB_INSTRUMENT_DIRECTORY SP db_path SP db_path |
9755 |
|
|
9756 |
|
</p> |
9757 |
|
<p>/ DB_INSTRUMENT SP db_path SP db_path |
9758 |
|
|
9759 |
</p> |
</p> |
9760 |
</blockquote><p> |
</blockquote><p> |
9769 |
<p>/ MIDI_INPUT_DEVICE SP number |
<p>/ MIDI_INPUT_DEVICE SP number |
9770 |
|
|
9771 |
</p> |
</p> |
9772 |
|
<p>/ FX_SEND SP sampler_channel SP fx_send_id |
9773 |
|
|
9774 |
|
</p> |
9775 |
</blockquote><p> |
</blockquote><p> |
9776 |
|
|
9777 |
</p> |
</p> |
9823 |
<p>/ SOLO SP sampler_channel SP boolean |
<p>/ SOLO SP sampler_channel SP boolean |
9824 |
|
|
9825 |
</p> |
</p> |
9826 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP midi_map |
9827 |
|
|
9828 |
|
</p> |
9829 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP NONE |
9830 |
|
|
9831 |
|
</p> |
9832 |
|
<p>/ MIDI_INSTRUMENT_MAP SP sampler_channel SP DEFAULT |
9833 |
|
|
9834 |
|
</p> |
9835 |
|
</blockquote><p> |
9836 |
|
|
9837 |
|
</p> |
9838 |
|
<p>edit_instruction = |
9839 |
|
</p> |
9840 |
|
<blockquote class="text"> |
9841 |
|
<p>INSTRUMENT SP sampler_channel |
9842 |
|
|
9843 |
|
</p> |
9844 |
|
</blockquote><p> |
9845 |
|
|
9846 |
|
</p> |
9847 |
|
<p>format_instruction = |
9848 |
|
</p> |
9849 |
|
<blockquote class="text"> |
9850 |
|
<p>INSTRUMENTS_DB |
9851 |
|
|
9852 |
|
</p> |
9853 |
|
</blockquote><p> |
9854 |
|
|
9855 |
|
</p> |
9856 |
|
<p>modal_arg = |
9857 |
|
</p> |
9858 |
|
<blockquote class="text"> |
9859 |
|
<p>/* epsilon (empty argument) */ |
9860 |
|
|
9861 |
|
</p> |
9862 |
|
<p>/ NON_MODAL SP |
9863 |
|
|
9864 |
|
</p> |
9865 |
</blockquote><p> |
</blockquote><p> |
9866 |
|
|
9867 |
</p> |
</p> |
9910 |
<p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
<p>/ AVAILABLE_AUDIO_OUTPUT_DRIVERS |
9911 |
|
|
9912 |
</p> |
</p> |
9913 |
<p>/ MIDI_INSTRUMENTS |
<p>/ MIDI_INSTRUMENTS SP midi_map |
9914 |
|
|
9915 |
|
</p> |
9916 |
|
<p>/ MIDI_INSTRUMENTS SP ALL |
9917 |
|
|
9918 |
|
</p> |
9919 |
|
<p>/ MIDI_INSTRUMENT_MAPS |
9920 |
|
|
9921 |
|
</p> |
9922 |
|
<p>/ FX_SENDS SP sampler_channel |
9923 |
|
|
9924 |
|
</p> |
9925 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP RECURSIVE SP db_path |
9926 |
|
|
9927 |
|
</p> |
9928 |
|
<p>/ DB_INSTRUMENT_DIRECTORIES SP db_path |
9929 |
|
|
9930 |
|
</p> |
9931 |
|
<p>/ DB_INSTRUMENTS SP RECURSIVE SP db_path |
9932 |
|
|
9933 |
|
</p> |
9934 |
|
<p>/ DB_INSTRUMENTS SP db_path |
9935 |
|
|
9936 |
</p> |
</p> |
9937 |
</blockquote><p> |
</blockquote><p> |
10030 |
</blockquote><p> |
</blockquote><p> |
10031 |
|
|
10032 |
</p> |
</p> |
10033 |
<p>midi_bank_msb = |
<p>midi_map = |
10034 |
</p> |
</p> |
10035 |
<blockquote class="text"> |
<blockquote class="text"> |
10036 |
<p>number |
<p>number |
10039 |
</blockquote><p> |
</blockquote><p> |
10040 |
|
|
10041 |
</p> |
</p> |
10042 |
<p>midi_bank_lsb = |
<p>midi_bank = |
10043 |
</p> |
</p> |
10044 |
<blockquote class="text"> |
<blockquote class="text"> |
10045 |
<p>number |
<p>number |
10057 |
</blockquote><p> |
</blockquote><p> |
10058 |
|
|
10059 |
</p> |
</p> |
10060 |
|
<p>midi_ctrl = |
10061 |
|
</p> |
10062 |
|
<blockquote class="text"> |
10063 |
|
<p>number |
10064 |
|
|
10065 |
|
</p> |
10066 |
|
</blockquote><p> |
10067 |
|
|
10068 |
|
</p> |
10069 |
<p>volume_value = |
<p>volume_value = |
10070 |
</p> |
</p> |
10071 |
<blockquote class="text"> |
<blockquote class="text"> |
10096 |
</blockquote><p> |
</blockquote><p> |
10097 |
|
|
10098 |
</p> |
</p> |
10099 |
|
<p>fx_send_id = |
10100 |
|
</p> |
10101 |
|
<blockquote class="text"> |
10102 |
|
<p>number |
10103 |
|
|
10104 |
|
</p> |
10105 |
|
</blockquote><p> |
10106 |
|
|
10107 |
|
</p> |
10108 |
<p>engine_name = |
<p>engine_name = |
10109 |
</p> |
</p> |
10110 |
<blockquote class="text"> |
<blockquote class="text"> |
10117 |
<p>filename = |
<p>filename = |
10118 |
</p> |
</p> |
10119 |
<blockquote class="text"> |
<blockquote class="text"> |
10120 |
|
<p>path |
10121 |
|
|
10122 |
|
</p> |
10123 |
|
</blockquote><p> |
10124 |
|
|
10125 |
|
</p> |
10126 |
|
<p>db_path = |
10127 |
|
</p> |
10128 |
|
<blockquote class="text"> |
10129 |
|
<p>path |
10130 |
|
|
10131 |
|
</p> |
10132 |
|
</blockquote><p> |
10133 |
|
|
10134 |
|
</p> |
10135 |
|
<p>map_name = |
10136 |
|
</p> |
10137 |
|
<blockquote class="text"> |
10138 |
<p>stringval |
<p>stringval |
10139 |
|
|
10140 |
</p> |
</p> |
10150 |
</blockquote><p> |
</blockquote><p> |
10151 |
|
|
10152 |
</p> |
</p> |
10153 |
|
<p>fx_send_name = |
10154 |
|
</p> |
10155 |
|
<blockquote class="text"> |
10156 |
|
<p>stringval |
10157 |
|
|
10158 |
|
</p> |
10159 |
|
</blockquote><p> |
10160 |
|
|
10161 |
|
</p> |
10162 |
<p>param_val_list = |
<p>param_val_list = |
10163 |
</p> |
</p> |
10164 |
<blockquote class="text"> |
<blockquote class="text"> |
10189 |
</blockquote><p> |
</blockquote><p> |
10190 |
|
|
10191 |
</p> |
</p> |
10192 |
|
<p>query_val_list = |
10193 |
|
</p> |
10194 |
|
<blockquote class="text"> |
10195 |
|
<p>string '=' query_val |
10196 |
|
|
10197 |
|
</p> |
10198 |
|
<p>/ query_val_list SP string '=' query_val |
10199 |
|
|
10200 |
|
</p> |
10201 |
|
</blockquote><p> |
10202 |
|
|
10203 |
|
</p> |
10204 |
|
<p>query_val = |
10205 |
|
</p> |
10206 |
|
<blockquote class="text"> |
10207 |
|
<p>textval_escaped |
10208 |
|
|
10209 |
|
</p> |
10210 |
|
<p>/ stringval_escaped |
10211 |
|
|
10212 |
|
</p> |
10213 |
|
</blockquote><p> |
10214 |
|
|
10215 |
|
</p> |
10216 |
|
<p>scan_mode = |
10217 |
|
</p> |
10218 |
|
<blockquote class="text"> |
10219 |
|
<p>RECURSIVE |
10220 |
|
|
10221 |
|
</p> |
10222 |
|
<p>/ NON_RECURSIVE |
10223 |
|
|
10224 |
|
</p> |
10225 |
|
<p>/ FLAT |
10226 |
|
|
10227 |
|
</p> |
10228 |
|
</blockquote><p> |
10229 |
|
|
10230 |
|
</p> |
10231 |
|
<a name="character_set"></a><br /><hr /> |
10232 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10233 |
|
<a name="rfc.section.7.1"></a><h3>7.1. |
10234 |
|
Character Set and Escape Sequences</h3> |
10235 |
|
|
10236 |
|
<p>Older versions of this protocol up to and including v1.1 only |
10237 |
|
supported the standard ASCII character set (ASCII code 0 - 127) |
10238 |
|
<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 |
10239 |
|
however support the Extended ASCII character set (ASCII code |
10240 |
|
0 - 255). The same group of younger protocols also support |
10241 |
|
escape sequences, but only for certain, explicitly declared |
10242 |
|
parts of the protocol. The supported escape sequences are |
10243 |
|
defined as follows: |
10244 |
|
</p><table class="full" align="center" border="0" cellpadding="2" cellspacing="2"> |
10245 |
|
<col align="left"><col align="left"> |
10246 |
|
<tr><th align="left">ASCII Character Sequence</th><th align="left">Translated into (Name)</th></tr> |
10247 |
|
<tr> |
10248 |
|
<td align="left">\n</td> |
10249 |
|
<td align="left">new line</td> |
10250 |
|
</tr> |
10251 |
|
<tr> |
10252 |
|
<td align="left">\r</td> |
10253 |
|
<td align="left">carriage return</td> |
10254 |
|
</tr> |
10255 |
|
<tr> |
10256 |
|
<td align="left">\f</td> |
10257 |
|
<td align="left">form feed</td> |
10258 |
|
</tr> |
10259 |
|
<tr> |
10260 |
|
<td align="left">\t</td> |
10261 |
|
<td align="left">horizontal tab</td> |
10262 |
|
</tr> |
10263 |
|
<tr> |
10264 |
|
<td align="left">\v</td> |
10265 |
|
<td align="left">vertical tab</td> |
10266 |
|
</tr> |
10267 |
|
<tr> |
10268 |
|
<td align="left">\'</td> |
10269 |
|
<td align="left">apostrophe</td> |
10270 |
|
</tr> |
10271 |
|
<tr> |
10272 |
|
<td align="left">\"</td> |
10273 |
|
<td align="left">quotation mark</td> |
10274 |
|
</tr> |
10275 |
|
<tr> |
10276 |
|
<td align="left">\\</td> |
10277 |
|
<td align="left">backslash</td> |
10278 |
|
</tr> |
10279 |
|
<tr> |
10280 |
|
<td align="left">\OOO</td> |
10281 |
|
<td align="left">three digit octal ASCII code of the character</td> |
10282 |
|
</tr> |
10283 |
|
<tr> |
10284 |
|
<td align="left">\xHH</td> |
10285 |
|
<td align="left">two digit hex ASCII code of the character</td> |
10286 |
|
</tr> |
10287 |
|
</table> |
10288 |
|
|
10289 |
|
<p>Notice: due to the transition of certain parts of the |
10290 |
|
protocol which now support escape sequences, a slight backward |
10291 |
|
incompatibility to protocols version v1.1 and younger has been |
10292 |
|
introduced. The only difference is that in parts of the protocol |
10293 |
|
where escape characters are now supported, a backslash characters |
10294 |
|
MUST be escaped as well (that is as double backslash), whereas |
10295 |
|
in the old versions a single backslash was sufficient. |
10296 |
|
</p> |
10297 |
<a name="events"></a><br /><hr /> |
<a name="events"></a><br /><hr /> |
10298 |
<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> |
10299 |
<a name="rfc.section.8"></a><h3>8. Events</h3> |
<a name="rfc.section.8"></a><h3>8. |
10300 |
|
Events</h3> |
10301 |
|
|
10302 |
<p>This chapter will describe all currently defined events supported by LinuxSampler. |
<p>This chapter will describe all currently defined events supported by LinuxSampler. |
10303 |
</p> |
</p> |
10304 |
<a name="SUBSCRIBE CHANNEL"></a><br /><hr /> |
<a name="SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT"></a><br /><hr /> |
10305 |
<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> |
10306 |
<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. |
10307 |
|
Number of audio output devices changed</h3> |
10308 |
|
|
10309 |
|
<p>Client may want to be notified when the total number of audio output devices on the |
10310 |
|
back-end changes by issuing the following command: |
10311 |
|
</p> |
10312 |
|
<p> |
10313 |
|
</p> |
10314 |
|
<blockquote class="text"> |
10315 |
|
<p>SUBSCRIBE AUDIO_OUTPUT_DEVICE_COUNT |
10316 |
|
</p> |
10317 |
|
</blockquote><p> |
10318 |
|
|
10319 |
|
</p> |
10320 |
|
<p>Server will start sending the following notification messages: |
10321 |
|
</p> |
10322 |
|
<p> |
10323 |
|
</p> |
10324 |
|
<blockquote class="text"> |
10325 |
|
<p>"NOTIFY:AUDIO_OUTPUT_DEVICE_COUNT:<devices>" |
10326 |
|
</p> |
10327 |
|
</blockquote><p> |
10328 |
|
|
10329 |
|
</p> |
10330 |
|
<p>where <devices> will be replaced by the new number |
10331 |
|
of audio output devices. |
10332 |
|
</p> |
10333 |
|
<a name="SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO"></a><br /><hr /> |
10334 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10335 |
|
<a name="rfc.section.8.2"></a><h3>8.2. |
10336 |
|
Audio output device's settings changed</h3> |
10337 |
|
|
10338 |
|
<p>Client may want to be notified when changes were made to audio output devices on the |
10339 |
|
back-end by issuing the following command: |
10340 |
|
</p> |
10341 |
|
<p> |
10342 |
|
</p> |
10343 |
|
<blockquote class="text"> |
10344 |
|
<p>SUBSCRIBE AUDIO_OUTPUT_DEVICE_INFO |
10345 |
|
</p> |
10346 |
|
</blockquote><p> |
10347 |
|
|
10348 |
|
</p> |
10349 |
|
<p>Server will start sending the following notification messages: |
10350 |
|
</p> |
10351 |
|
<p> |
10352 |
|
</p> |
10353 |
|
<blockquote class="text"> |
10354 |
|
<p>"NOTIFY:AUDIO_OUTPUT_DEVICE_INFO:<device-id>" |
10355 |
|
</p> |
10356 |
|
</blockquote><p> |
10357 |
|
|
10358 |
|
</p> |
10359 |
|
<p>where <device-id> will be replaced by the numerical ID of the audio output device, |
10360 |
|
which settings has been changed. The front-end will have to send |
10361 |
|
the respective command to actually get the audio output device info. Because these messages |
10362 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10363 |
|
time events happening on the server, it is believed that an empty notification |
10364 |
|
message is sufficient here. |
10365 |
|
</p> |
10366 |
|
<a name="SUBSCRIBE MIDI_INPUT_DEVICE_COUNT"></a><br /><hr /> |
10367 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10368 |
|
<a name="rfc.section.8.3"></a><h3>8.3. |
10369 |
|
Number of MIDI input devices changed</h3> |
10370 |
|
|
10371 |
|
<p>Client may want to be notified when the total number of MIDI input devices on the |
10372 |
|
back-end changes by issuing the following command: |
10373 |
|
</p> |
10374 |
|
<p> |
10375 |
|
</p> |
10376 |
|
<blockquote class="text"> |
10377 |
|
<p>SUBSCRIBE MIDI_INPUT_DEVICE_COUNT |
10378 |
|
</p> |
10379 |
|
</blockquote><p> |
10380 |
|
|
10381 |
|
</p> |
10382 |
|
<p>Server will start sending the following notification messages: |
10383 |
|
</p> |
10384 |
|
<p> |
10385 |
|
</p> |
10386 |
|
<blockquote class="text"> |
10387 |
|
<p>"NOTIFY:MIDI_INPUT_DEVICE_COUNT:<devices>" |
10388 |
|
</p> |
10389 |
|
</blockquote><p> |
10390 |
|
|
10391 |
|
</p> |
10392 |
|
<p>where <devices> will be replaced by the new number |
10393 |
|
of MIDI input devices. |
10394 |
|
</p> |
10395 |
|
<a name="SUBSCRIBE MIDI_INPUT_DEVICE_INFO"></a><br /><hr /> |
10396 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10397 |
|
<a name="rfc.section.8.4"></a><h3>8.4. |
10398 |
|
MIDI input device's settings changed</h3> |
10399 |
|
|
10400 |
|
<p>Client may want to be notified when changes were made to MIDI input devices on the |
10401 |
|
back-end by issuing the following command: |
10402 |
|
</p> |
10403 |
|
<p> |
10404 |
|
</p> |
10405 |
|
<blockquote class="text"> |
10406 |
|
<p>SUBSCRIBE MIDI_INPUT_DEVICE_INFO |
10407 |
|
</p> |
10408 |
|
</blockquote><p> |
10409 |
|
|
10410 |
|
</p> |
10411 |
|
<p>Server will start sending the following notification messages: |
10412 |
|
</p> |
10413 |
|
<p> |
10414 |
|
</p> |
10415 |
|
<blockquote class="text"> |
10416 |
|
<p>"NOTIFY:MIDI_INPUT_DEVICE_INFO:<device-id>" |
10417 |
|
</p> |
10418 |
|
</blockquote><p> |
10419 |
|
|
10420 |
|
</p> |
10421 |
|
<p>where <device-id> will be replaced by the numerical ID of the MIDI input device, |
10422 |
|
which settings has been changed. The front-end will have to send |
10423 |
|
the respective command to actually get the MIDI input device info. Because these messages |
10424 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10425 |
|
time events happening on the server, it is believed that an empty notification |
10426 |
|
message is sufficient here. |
10427 |
|
</p> |
10428 |
|
<a name="SUBSCRIBE CHANNEL_COUNT"></a><br /><hr /> |
10429 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10430 |
|
<a name="rfc.section.8.5"></a><h3>8.5. |
10431 |
|
Number of sampler channels changed</h3> |
10432 |
|
|
10433 |
<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 |
10434 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
10455 |
of sampler channels. |
of sampler channels. |
10456 |
</p> |
</p> |
10457 |
<a name="SUBSCRIBE VOICE_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE VOICE_COUNT"></a><br /><hr /> |
10458 |
<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> |
10459 |
<a name="rfc.section.8.2"></a><h3>8.2. Number of active voices changed</h3> |
<a name="rfc.section.8.6"></a><h3>8.6. |
10460 |
|
Number of active voices changed</h3> |
10461 |
|
|
10462 |
<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 |
10463 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
10475 |
<p> |
<p> |
10476 |
</p> |
</p> |
10477 |
<blockquote class="text"> |
<blockquote class="text"> |
10478 |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices> |
<p>"NOTIFY:VOICE_COUNT:<sampler-channel> <voices>" |
10479 |
</p> |
</p> |
10480 |
</blockquote><p> |
</blockquote><p> |
10481 |
|
|
10485 |
active voices on that channel. |
active voices on that channel. |
10486 |
</p> |
</p> |
10487 |
<a name="SUBSCRIBE STREAM_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE STREAM_COUNT"></a><br /><hr /> |
10488 |
<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> |
10489 |
<a name="rfc.section.8.3"></a><h3>8.3. Number of active disk streams changed</h3> |
<a name="rfc.section.8.7"></a><h3>8.7. |
10490 |
|
Number of active disk streams changed</h3> |
10491 |
|
|
10492 |
<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 |
10493 |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT |
changes by issuing the following command: SUBSCRIBE STREAM_COUNT |
10515 |
active disk streams on that channel. |
active disk streams on that channel. |
10516 |
</p> |
</p> |
10517 |
<a name="SUBSCRIBE BUFFER_FILL"></a><br /><hr /> |
<a name="SUBSCRIBE BUFFER_FILL"></a><br /><hr /> |
10518 |
<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> |
10519 |
<a name="rfc.section.8.4"></a><h3>8.4. Disk stream buffer fill state changed</h3> |
<a name="rfc.section.8.8"></a><h3>8.8. |
10520 |
|
Disk stream buffer fill state changed</h3> |
10521 |
|
|
10522 |
<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 |
10523 |
on the back-end changes by issuing the following command: |
on the back-end changes by issuing the following command: |
10542 |
</p> |
</p> |
10543 |
<p>where <sampler-channel> will be replaced by the sampler channel the |
<p>where <sampler-channel> will be replaced by the sampler channel the |
10544 |
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 |
10545 |
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> |
10546 |
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. |
10547 |
</p> |
</p> |
10548 |
<a name="SUBSCRIBE INFO"></a><br /><hr /> |
<a name="SUBSCRIBE CHANNEL_INFO"></a><br /><hr /> |
10549 |
<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> |
10550 |
<a name="rfc.section.8.5"></a><h3>8.5. Channel information changed</h3> |
<a name="rfc.section.8.9"></a><h3>8.9. |
10551 |
|
Channel information changed</h3> |
10552 |
|
|
10553 |
<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 |
10554 |
back-end by issuing the following command: |
back-end by issuing the following command: |
10578 |
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 |
10579 |
message is sufficient here. |
message is sufficient here. |
10580 |
</p> |
</p> |
10581 |
|
<a name="SUBSCRIBE FX_SEND_COUNT"></a><br /><hr /> |
10582 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10583 |
|
<a name="rfc.section.8.10"></a><h3>8.10. |
10584 |
|
Number of effect sends changed</h3> |
10585 |
|
|
10586 |
|
<p>Client may want to be notified when the number of effect sends on |
10587 |
|
a particular sampler channel is changed by issuing the following command: |
10588 |
|
</p> |
10589 |
|
<p> |
10590 |
|
</p> |
10591 |
|
<blockquote class="text"> |
10592 |
|
<p>SUBSCRIBE FX_SEND_COUNT |
10593 |
|
</p> |
10594 |
|
</blockquote><p> |
10595 |
|
|
10596 |
|
</p> |
10597 |
|
<p>Server will start sending the following notification messages: |
10598 |
|
</p> |
10599 |
|
<p> |
10600 |
|
</p> |
10601 |
|
<blockquote class="text"> |
10602 |
|
<p>"NOTIFY:FX_SEND_COUNT:<channel-id> <fx-sends>" |
10603 |
|
</p> |
10604 |
|
</blockquote><p> |
10605 |
|
|
10606 |
|
</p> |
10607 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
10608 |
|
channel, on which the effect sends number is changed and <fx-sends> will |
10609 |
|
be replaced by the new number of effect sends on that channel. |
10610 |
|
</p> |
10611 |
|
<a name="SUBSCRIBE FX_SEND_INFO"></a><br /><hr /> |
10612 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10613 |
|
<a name="rfc.section.8.11"></a><h3>8.11. |
10614 |
|
Effect send information changed</h3> |
10615 |
|
|
10616 |
|
<p>Client may want to be notified when changes were made to effect sends on a |
10617 |
|
a particular sampler channel by issuing the following command: |
10618 |
|
</p> |
10619 |
|
<p> |
10620 |
|
</p> |
10621 |
|
<blockquote class="text"> |
10622 |
|
<p>SUBSCRIBE FX_SEND_INFO |
10623 |
|
</p> |
10624 |
|
</blockquote><p> |
10625 |
|
|
10626 |
|
</p> |
10627 |
|
<p>Server will start sending the following notification messages: |
10628 |
|
</p> |
10629 |
|
<p> |
10630 |
|
</p> |
10631 |
|
<blockquote class="text"> |
10632 |
|
<p>"NOTIFY:FX_SEND_INFO:<channel-id> <fx-send-id>" |
10633 |
|
</p> |
10634 |
|
</blockquote><p> |
10635 |
|
|
10636 |
|
</p> |
10637 |
|
<p>where <channel-id> will be replaced by the numerical ID of the sampler |
10638 |
|
channel, on which an effect send entity is changed and <fx-send-id> will |
10639 |
|
be replaced by the numerical ID of the changed effect send. |
10640 |
|
</p> |
10641 |
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
<a name="SUBSCRIBE TOTAL_VOICE_COUNT"></a><br /><hr /> |
10642 |
<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> |
10643 |
<a name="rfc.section.8.6"></a><h3>8.6. Total number of active voices changed</h3> |
<a name="rfc.section.8.12"></a><h3>8.12. |
10644 |
|
Total number of active voices changed</h3> |
10645 |
|
|
10646 |
<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 |
10647 |
back-end changes by issuing the following command: |
back-end changes by issuing the following command: |
10659 |
<p> |
<p> |
10660 |
</p> |
</p> |
10661 |
<blockquote class="text"> |
<blockquote class="text"> |
10662 |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices> |
<p>"NOTIFY:TOTAL_VOICE_COUNT:<voices>" |
10663 |
</p> |
</p> |
10664 |
</blockquote><p> |
</blockquote><p> |
10665 |
|
|
10667 |
<p>where <voices> will be replaced by the new number of |
<p>where <voices> will be replaced by the new number of |
10668 |
all currently active voices. |
all currently active voices. |
10669 |
</p> |
</p> |
10670 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT"></a><br /><hr /> |
10671 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10672 |
|
<a name="rfc.section.8.13"></a><h3>8.13. |
10673 |
|
Number of MIDI instrument maps changed</h3> |
10674 |
|
|
10675 |
|
<p>Client may want to be notified when the number of MIDI instrument maps on the |
10676 |
|
back-end changes by issuing the following command: |
10677 |
|
</p> |
10678 |
|
<p> |
10679 |
|
</p> |
10680 |
|
<blockquote class="text"> |
10681 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_MAP_COUNT |
10682 |
|
</p> |
10683 |
|
</blockquote><p> |
10684 |
|
|
10685 |
|
</p> |
10686 |
|
<p>Server will start sending the following notification messages: |
10687 |
|
</p> |
10688 |
|
<p> |
10689 |
|
</p> |
10690 |
|
<blockquote class="text"> |
10691 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_MAP_COUNT:<maps>" |
10692 |
|
</p> |
10693 |
|
</blockquote><p> |
10694 |
|
|
10695 |
|
</p> |
10696 |
|
<p>where <maps> will be replaced by the new number |
10697 |
|
of MIDI instrument maps. |
10698 |
|
</p> |
10699 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO"></a><br /><hr /> |
10700 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10701 |
|
<a name="rfc.section.8.14"></a><h3>8.14. |
10702 |
|
MIDI instrument map information changed</h3> |
10703 |
|
|
10704 |
|
<p>Client may want to be notified when changes were made to MIDI instrument maps on the |
10705 |
|
back-end by issuing the following command: |
10706 |
|
</p> |
10707 |
|
<p> |
10708 |
|
</p> |
10709 |
|
<blockquote class="text"> |
10710 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_MAP_INFO |
10711 |
|
</p> |
10712 |
|
</blockquote><p> |
10713 |
|
|
10714 |
|
</p> |
10715 |
|
<p>Server will start sending the following notification messages: |
10716 |
|
</p> |
10717 |
|
<p> |
10718 |
|
</p> |
10719 |
|
<blockquote class="text"> |
10720 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_MAP_INFO:<map-id>" |
10721 |
|
</p> |
10722 |
|
</blockquote><p> |
10723 |
|
|
10724 |
|
</p> |
10725 |
|
<p>where <map-id> will be replaced by the numerical ID of the MIDI instrument map, |
10726 |
|
for which information changes occurred. The front-end will have to send |
10727 |
|
the respective command to actually get the MIDI instrument map info. Because these messages |
10728 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10729 |
|
time events happening on the server, it is believed that an empty notification |
10730 |
|
message is sufficient here. |
10731 |
|
</p> |
10732 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_COUNT"></a><br /><hr /> |
10733 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10734 |
|
<a name="rfc.section.8.15"></a><h3>8.15. |
10735 |
|
Number of MIDI instruments changed</h3> |
10736 |
|
|
10737 |
|
<p>Client may want to be notified when the number of MIDI instrument maps on the |
10738 |
|
back-end changes by issuing the following command: |
10739 |
|
</p> |
10740 |
|
<p> |
10741 |
|
</p> |
10742 |
|
<blockquote class="text"> |
10743 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_COUNT |
10744 |
|
</p> |
10745 |
|
</blockquote><p> |
10746 |
|
|
10747 |
|
</p> |
10748 |
|
<p>Server will start sending the following notification messages: |
10749 |
|
</p> |
10750 |
|
<p> |
10751 |
|
</p> |
10752 |
|
<blockquote class="text"> |
10753 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_COUNT:<map-id> <instruments>" |
10754 |
|
</p> |
10755 |
|
</blockquote><p> |
10756 |
|
|
10757 |
|
</p> |
10758 |
|
<p>where <map-id> is the numerical ID of the MIDI instrument map, in which |
10759 |
|
the nuber of instruments has changed and <instruments> will be replaced by |
10760 |
|
the new number of MIDI instruments in the specified map. |
10761 |
|
</p> |
10762 |
|
<a name="SUBSCRIBE MIDI_INSTRUMENT_INFO"></a><br /><hr /> |
10763 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10764 |
|
<a name="rfc.section.8.16"></a><h3>8.16. |
10765 |
|
MIDI instrument information changed</h3> |
10766 |
|
|
10767 |
|
<p>Client may want to be notified when changes were made to MIDI instruments on the |
10768 |
|
back-end by issuing the following command: |
10769 |
|
</p> |
10770 |
|
<p> |
10771 |
|
</p> |
10772 |
|
<blockquote class="text"> |
10773 |
|
<p>SUBSCRIBE MIDI_INSTRUMENT_INFO |
10774 |
|
</p> |
10775 |
|
</blockquote><p> |
10776 |
|
|
10777 |
|
</p> |
10778 |
|
<p>Server will start sending the following notification messages: |
10779 |
|
</p> |
10780 |
|
<p> |
10781 |
|
</p> |
10782 |
|
<blockquote class="text"> |
10783 |
|
<p>"NOTIFY:MIDI_INSTRUMENT_INFO:<map-id> <bank> <program>" |
10784 |
|
</p> |
10785 |
|
</blockquote><p> |
10786 |
|
|
10787 |
|
</p> |
10788 |
|
<p>where <map-id> will be replaced by the numerical ID of the MIDI instrument map, |
10789 |
|
in which a MIDI instrument is changed. <bank> and <program> specifies |
10790 |
|
the location of the changed MIDI instrument in the map. The front-end will have to send |
10791 |
|
the respective command to actually get the MIDI instrument info. Because these messages |
10792 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10793 |
|
time events happening on the server, it is believed that an empty notification |
10794 |
|
message is sufficient here. |
10795 |
|
</p> |
10796 |
|
<a name="SUBSCRIBE GLOBAL_INFO"></a><br /><hr /> |
10797 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10798 |
|
<a name="rfc.section.8.17"></a><h3>8.17. |
10799 |
|
Global settings changed</h3> |
10800 |
|
|
10801 |
|
<p>Client may want to be notified when changes to the global settings |
10802 |
|
of the sampler were made by issuing the following command: |
10803 |
|
</p> |
10804 |
|
<p> |
10805 |
|
</p> |
10806 |
|
<blockquote class="text"> |
10807 |
|
<p>SUBSCRIBE GLOBAL_INFO |
10808 |
|
</p> |
10809 |
|
</blockquote><p> |
10810 |
|
|
10811 |
|
</p> |
10812 |
|
<p>Server will start sending the following types of notification messages: |
10813 |
|
</p> |
10814 |
|
<p> |
10815 |
|
</p> |
10816 |
|
<blockquote class="text"> |
10817 |
|
<p>"NOTIFY:GLOBAL_INFO:VOLUME <volume>" - Notifies that the |
10818 |
|
golbal volume of the sampler is changed, where <volume> will be |
10819 |
|
replaced by the optional dotted floating point value, reflecting the |
10820 |
|
new global volume parameter. |
10821 |
|
</p> |
10822 |
|
</blockquote><p> |
10823 |
|
|
10824 |
|
</p> |
10825 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT"></a><br /><hr /> |
10826 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10827 |
|
<a name="rfc.section.8.18"></a><h3>8.18. |
10828 |
|
Number of database instrument directories changed</h3> |
10829 |
|
|
10830 |
|
<p>Client may want to be notified when the number of instrument |
10831 |
|
directories in a particular directory in the instruments database |
10832 |
|
is changed by issuing the following command: |
10833 |
|
</p> |
10834 |
|
<p> |
10835 |
|
</p> |
10836 |
|
<blockquote class="text"> |
10837 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_COUNT |
10838 |
|
</p> |
10839 |
|
</blockquote><p> |
10840 |
|
|
10841 |
|
</p> |
10842 |
|
<p>Server will start sending the following notification messages: |
10843 |
|
</p> |
10844 |
|
<p> |
10845 |
|
</p> |
10846 |
|
<blockquote class="text"> |
10847 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_COUNT:<dir-path>" |
10848 |
|
</p> |
10849 |
|
</blockquote><p> |
10850 |
|
|
10851 |
|
</p> |
10852 |
|
<p>where <dir-path> will be replaced by the absolute path |
10853 |
|
name of the directory in the instruments database, |
10854 |
|
in which the number of directories is changed. |
10855 |
|
</p> |
10856 |
|
<p>Note that when a non-empty directory is removed, this event |
10857 |
|
is not sent for the subdirectories in that directory. |
10858 |
|
</p> |
10859 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO"></a><br /><hr /> |
10860 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10861 |
|
<a name="rfc.section.8.19"></a><h3>8.19. |
10862 |
|
Database instrument directory information changed</h3> |
10863 |
|
|
10864 |
|
<p>Client may want to be notified when changes were made to directories |
10865 |
|
in the instruments database by issuing the following command: |
10866 |
|
</p> |
10867 |
|
<p> |
10868 |
|
</p> |
10869 |
|
<blockquote class="text"> |
10870 |
|
<p>SUBSCRIBE DB_INSTRUMENT_DIRECTORY_INFO |
10871 |
|
</p> |
10872 |
|
</blockquote><p> |
10873 |
|
|
10874 |
|
</p> |
10875 |
|
<p>Server will start sending the following notification messages: |
10876 |
|
</p> |
10877 |
|
<p> |
10878 |
|
</p> |
10879 |
|
<blockquote class="text"> |
10880 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:<dir-path>" |
10881 |
|
</p> |
10882 |
|
</blockquote><p> |
10883 |
|
|
10884 |
|
</p> |
10885 |
|
<p>where <dir-path> will be replaced by the absolute path name |
10886 |
|
of the directory, for which information changes occurred. The front-end will have to send |
10887 |
|
the respective command to actually get the updated directory info. Because these messages |
10888 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10889 |
|
time events happening on the server, it is believed that an empty notification |
10890 |
|
message is sufficient here. |
10891 |
|
</p> |
10892 |
|
<p> |
10893 |
|
</p> |
10894 |
|
<blockquote class="text"> |
10895 |
|
<p>"NOTIFY:DB_INSTRUMENT_DIRECTORY_INFO:NAME <old-dir-path> <new-name>" |
10896 |
|
</p> |
10897 |
|
</blockquote><p> |
10898 |
|
|
10899 |
|
</p> |
10900 |
|
<p>where <old-dir-path> is the old absolute path name of the directory |
10901 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
10902 |
|
the new name of the directory, encapsulated into apostrophes. |
10903 |
|
</p> |
10904 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_COUNT"></a><br /><hr /> |
10905 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10906 |
|
<a name="rfc.section.8.20"></a><h3>8.20. |
10907 |
|
Number of database instruments changed</h3> |
10908 |
|
|
10909 |
|
<p>Client may want to be notified when the number of instruments |
10910 |
|
in a particular directory in the instruments database |
10911 |
|
is changed by issuing the following command: |
10912 |
|
</p> |
10913 |
|
<p> |
10914 |
|
</p> |
10915 |
|
<blockquote class="text"> |
10916 |
|
<p>SUBSCRIBE DB_INSTRUMENT_COUNT |
10917 |
|
</p> |
10918 |
|
</blockquote><p> |
10919 |
|
|
10920 |
|
</p> |
10921 |
|
<p>Server will start sending the following notification messages: |
10922 |
|
</p> |
10923 |
|
<p> |
10924 |
|
</p> |
10925 |
|
<blockquote class="text"> |
10926 |
|
<p>"NOTIFY:DB_INSTRUMENT_COUNT:<dir-path>" |
10927 |
|
</p> |
10928 |
|
</blockquote><p> |
10929 |
|
|
10930 |
|
</p> |
10931 |
|
<p>where <dir-path> will be replaced by the absolute path |
10932 |
|
name of the directory in the instruments database, |
10933 |
|
in which the number of instruments is changed. |
10934 |
|
</p> |
10935 |
|
<p>Note that when a non-empty directory is removed, this event |
10936 |
|
is not sent for the instruments in that directory. |
10937 |
|
</p> |
10938 |
|
<a name="SUBSCRIBE DB_INSTRUMENT_INFO"></a><br /><hr /> |
10939 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10940 |
|
<a name="rfc.section.8.21"></a><h3>8.21. |
10941 |
|
Database instrument information changed</h3> |
10942 |
|
|
10943 |
|
<p>Client may want to be notified when changes were made to instruments |
10944 |
|
in the instruments database by issuing the following command: |
10945 |
|
</p> |
10946 |
|
<p> |
10947 |
|
</p> |
10948 |
|
<blockquote class="text"> |
10949 |
|
<p>SUBSCRIBE DB_INSTRUMENT_INFO |
10950 |
|
</p> |
10951 |
|
</blockquote><p> |
10952 |
|
|
10953 |
|
</p> |
10954 |
|
<p>Server will start sending the following notification messages: |
10955 |
|
</p> |
10956 |
|
<p> |
10957 |
|
</p> |
10958 |
|
<blockquote class="text"> |
10959 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:<instr-path>" |
10960 |
|
</p> |
10961 |
|
</blockquote><p> |
10962 |
|
|
10963 |
|
</p> |
10964 |
|
<p>where <instr-path> will be replaced by the absolute path name |
10965 |
|
of the instrument, which settings are changed. The front-end will have to send |
10966 |
|
the respective command to actually get the updated directory info. Because these messages |
10967 |
|
will be triggered by LSCP commands issued by other clients rather than real |
10968 |
|
time events happening on the server, it is believed that an empty notification |
10969 |
|
message is sufficient here. |
10970 |
|
</p> |
10971 |
|
<p> |
10972 |
|
</p> |
10973 |
|
<blockquote class="text"> |
10974 |
|
<p>"NOTIFY:DB_INSTRUMENT_INFO:NAME <old-instr-path> <new-name>" |
10975 |
|
</p> |
10976 |
|
</blockquote><p> |
10977 |
|
|
10978 |
|
</p> |
10979 |
|
<p>where <old-instr-path> is the old absolute path name of the instrument |
10980 |
|
(encapsulated into apostrophes), which name is changes and <new-name> is |
10981 |
|
the new name of the instrument, encapsulated into apostrophes. |
10982 |
|
</p> |
10983 |
|
<a name="SUBSCRIBE DB_INSTRUMENTS_JOB_INFO"></a><br /><hr /> |
10984 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
10985 |
|
<a name="rfc.section.8.22"></a><h3>8.22. |
10986 |
|
Database job status information changed</h3> |
10987 |
|
|
10988 |
|
<p>Client may want to be notified when the status of particular database |
10989 |
|
instruments job is changed by issuing the following command: |
10990 |
|
</p> |
10991 |
|
<p> |
10992 |
|
</p> |
10993 |
|
<blockquote class="text"> |
10994 |
|
<p>SUBSCRIBE DB_INSTRUMENTS_JOB_INFO |
10995 |
|
</p> |
10996 |
|
</blockquote><p> |
10997 |
|
|
10998 |
|
</p> |
10999 |
|
<p>Server will start sending the following notification messages: |
11000 |
|
</p> |
11001 |
|
<p> |
11002 |
|
</p> |
11003 |
|
<blockquote class="text"> |
11004 |
|
<p>"NOTIFY:DB_INSTRUMENTS_JOB_INFO:<job-id>" |
11005 |
|
</p> |
11006 |
|
</blockquote><p> |
11007 |
|
|
11008 |
|
</p> |
11009 |
|
<p>where <job-id> will be replaced by the numerical ID of the job, |
11010 |
|
which status is changed. The front-end will have to send the respective |
11011 |
|
command to actually get the status info. Because these messages |
11012 |
|
will be triggered by LSCP commands issued by other clients rather than real |
11013 |
|
time events happening on the server, it is believed that an empty notification |
11014 |
|
message is sufficient here. |
11015 |
|
</p> |
11016 |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
<a name="SUBSCRIBE MISCELLANEOUS"></a><br /><hr /> |
11017 |
<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> |
11018 |
<a name="rfc.section.8.7"></a><h3>8.7. Miscellaneous and debugging events</h3> |
<a name="rfc.section.8.23"></a><h3>8.23. |
11019 |
|
Miscellaneous and debugging events</h3> |
11020 |
|
|
11021 |
<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 |
11022 |
the server by issuing the following command: |
the server by issuing the following command: |
11043 |
wants to send to the client. Client MAY display this data to the |
wants to send to the client. Client MAY display this data to the |
11044 |
user AS IS to facilitate debugging. |
user AS IS to facilitate debugging. |
11045 |
</p> |
</p> |
11046 |
<a name="anchor15"></a><br /><hr /> |
<a name="anchor14"></a><br /><hr /> |
11047 |
<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> |
11048 |
<a name="rfc.section.9"></a><h3>9. Security Considerations</h3> |
<a name="rfc.section.9"></a><h3>9. |
11049 |
|
Security Considerations</h3> |
11050 |
|
|
11051 |
<p>As there is so far no method of authentication and authorization |
<p>As there is so far no method of authentication and authorization |
11052 |
defined and so not required for a client applications to succeed to |
defined and so not required for a client applications to succeed to |
11053 |
connect, running LinuxSampler might be a security risk for the host |
connect, running LinuxSampler might be a security risk for the host |
11054 |
system the LinuxSampler instance is running on. |
system the LinuxSampler instance is running on. |
11055 |
</p> |
</p> |
11056 |
<a name="anchor16"></a><br /><hr /> |
<a name="anchor15"></a><br /><hr /> |
11057 |
<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> |
11058 |
<a name="rfc.section.10"></a><h3>10. Acknowledgments</h3> |
<a name="rfc.section.10"></a><h3>10. |
11059 |
|
Acknowledgments</h3> |
11060 |
|
|
11061 |
<p>This document has benefited greatly from the comments of the |
<p>This document has benefited greatly from the comments of the |
11062 |
following people, discussed on the LinuxSampler developer's mailing |
following people, discussed on the LinuxSampler developer's mailing |
11077 |
|
|
11078 |
</p> |
</p> |
11079 |
<a name="rfc.references1"></a><br /><hr /> |
<a name="rfc.references1"></a><br /><hr /> |
11080 |
<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> |
11081 |
<h3>11. References</h3> |
<h3>11. References</h3> |
11082 |
<table width="99%" border="0"> |
<table width="99%" border="0"> |
11083 |
|
<tr><td class="author-text" valign="top"><a name="RFC20">[RFC20]</a></td> |
11084 |
|
<td class="author-text">UCLA, “<a href="ftp://ftp.isi.edu/in-notes/rfc20.txt">ASCII format for Network Interchange</a>,” RFC 20, 1969.</td></tr> |
11085 |
<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> |
11086 |
<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="ftp://ftp.isi.edu/in-notes/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>,” RFC 2119, 1997.</td></tr> |
11087 |
<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> |
11091 |
</table> |
</table> |
11092 |
|
|
11093 |
<a name="rfc.authors"></a><br /><hr /> |
<a name="rfc.authors"></a><br /><hr /> |
11094 |
<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> |
11095 |
<h3>Author's Address</h3> |
<h3>Author's Address</h3> |
11096 |
<table width="99%" border="0" cellpadding="0" cellspacing="0"> |
<table width="99%" border="0" cellpadding="0" cellspacing="0"> |
11097 |
<tr><td class="author-text"> </td> |
<tr><td class="author-text"> </td> |
11109 |
<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> |
11110 |
</table> |
</table> |
11111 |
<a name="rfc.copyright"></a><br /><hr /> |
<a name="rfc.copyright"></a><br /><hr /> |
11112 |
<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> |
11113 |
<h3>Intellectual Property Statement</h3> |
<h3>Full Copyright Statement</h3> |
11114 |
<p class='copyright'> |
<p class='copyright'> |
11115 |
The IETF takes no position regarding the validity or scope of |
Copyright © The IETF Trust (2007).</p> |
|
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> |
|
11116 |
<p class='copyright'> |
<p class='copyright'> |
11117 |
The IETF invites any interested party to bring to its |
This document is subject to the rights, |
11118 |
attention any copyrights, patents or patent applications, or |
licenses and restrictions contained in BCP 78, |
11119 |
other proprietary rights which may cover technology that may be |
and except as set forth therein, |
11120 |
required to practice this standard. Please address the |
the authors retain all their rights.</p> |
|
information to the IETF Executive Director.</p> |
|
|
<h3>Full Copyright Statement</h3> |
|
11121 |
<p class='copyright'> |
<p class='copyright'> |
11122 |
Copyright © The Internet Society (2006). All Rights Reserved.</p> |
This document and the information contained herein are provided |
11123 |
|
on an “AS IS” basis and THE CONTRIBUTOR, |
11124 |
|
THE ORGANIZATION HE/SHE REPRESENTS |
11125 |
|
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST |
11126 |
|
AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, |
11127 |
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT |
11128 |
|
THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY |
11129 |
|
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR |
11130 |
|
PURPOSE.</p> |
11131 |
|
<h3>Intellectual Property</h3> |
11132 |
<p class='copyright'> |
<p class='copyright'> |
11133 |
This document and translations of it may be copied and furnished to |
The IETF takes no position regarding the validity or scope of any |
11134 |
others, and derivative works that comment on or otherwise explain it |
Intellectual Property Rights or other rights that might be claimed |
11135 |
or assist in its implementation may be prepared, copied, published and |
to pertain to the implementation or use of the technology |
11136 |
distributed, in whole or in part, without restriction of any kind, |
described in this document or the extent to which any license |
11137 |
provided that the above copyright notice and this paragraph are |
under such rights might or might not be available; nor does it |
11138 |
included on all such copies and derivative works. However, this |
represent that it has made any independent effort to identify any |
11139 |
document itself may not be modified in any way, such as by removing |
such rights. |
11140 |
the copyright notice or references to the Internet Society or other |
Information on the procedures with respect to |
11141 |
Internet organizations, except as needed for the purpose of |
rights in RFC documents can be found in BCP 78 and BCP 79.</p> |
|
developing Internet standards in which case the procedures for |
|
|
copyrights defined in the Internet Standards process must be |
|
|
followed, or as required to translate it into languages other than |
|
|
English.</p> |
|
11142 |
<p class='copyright'> |
<p class='copyright'> |
11143 |
The limited permissions granted above are perpetual and will not be |
Copies of IPR disclosures made to the IETF Secretariat and any |
11144 |
revoked by the Internet Society or its successors or assignees.</p> |
assurances of licenses to be made available, |
11145 |
|
or the result of an attempt made to obtain a general license or |
11146 |
|
permission for the use of such proprietary rights by implementers or |
11147 |
|
users of this specification can be obtained from the IETF on-line IPR |
11148 |
|
repository at <a href='http://www.ietf.org/ipr'>http://www.ietf.org/ipr</a>.</p> |
11149 |
<p class='copyright'> |
<p class='copyright'> |
11150 |
This document and the information contained herein is provided on an |
The IETF invites any interested party to bring to its attention |
11151 |
“AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING |
any copyrights, |
11152 |
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING |
patents or patent applications, |
11153 |
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION |
or other |
11154 |
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF |
proprietary rights that may cover technology that may be required |
11155 |
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</p> |
to implement this standard. |
11156 |
|
Please address the information to the IETF at <a href='mailto:ietf-ipr@ietf.org'>ietf-ipr@ietf.org</a>.</p> |
11157 |
<h3>Acknowledgment</h3> |
<h3>Acknowledgment</h3> |
11158 |
<p class='copyright'> |
<p class='copyright'> |
11159 |
Funding for the RFC Editor function is currently provided by the |
Funding for the RFC Editor function is provided by |
11160 |
Internet Society.</p> |
the IETF Administrative Support Activity (IASA).</p> |
11161 |
</body></html> |
</body></html> |
11162 |
|
|