145 |
<tr><td class="header">LinuxSampler Developers</td><td class="header">C. Schoenebeck</td></tr> |
<tr><td class="header">LinuxSampler Developers</td><td class="header">C. Schoenebeck</td></tr> |
146 |
<tr><td class="header">Internet-Draft</td><td class="header">Interessengemeinschaft Software</td></tr> |
<tr><td class="header">Internet-Draft</td><td class="header">Interessengemeinschaft Software</td></tr> |
147 |
<tr><td class="header">Intended status: Standards Track</td><td class="header">Engineering e. V.</td></tr> |
<tr><td class="header">Intended status: Standards Track</td><td class="header">Engineering e. V.</td></tr> |
148 |
<tr><td class="header">Expires: June 30, 2007</td><td class="header">December 27, 2006</td></tr> |
<tr><td class="header">Expires: July 2, 2007</td><td class="header">December 29, 2006</td></tr> |
149 |
</table></td></tr></table> |
</table></td></tr></table> |
150 |
<h1><br />LinuxSampler Control Protocol<br />LSCP 1.2</h1> |
<h1><br />LinuxSampler Control Protocol<br />LSCP 1.2</h1> |
151 |
|
|
173 |
The list of Internet-Draft Shadow Directories can be accessed at |
The list of Internet-Draft Shadow Directories can be accessed at |
174 |
<a href='http://www.ietf.org/shadow.html'>http://www.ietf.org/shadow.html</a>.</p> |
<a href='http://www.ietf.org/shadow.html'>http://www.ietf.org/shadow.html</a>.</p> |
175 |
<p> |
<p> |
176 |
This Internet-Draft will expire on June 30, 2007.</p> |
This Internet-Draft will expire on July 2, 2007.</p> |
177 |
|
|
178 |
<h3>Copyright Notice</h3> |
<h3>Copyright Notice</h3> |
179 |
<p> |
<p> |
352 |
Reset sampler<br /> |
Reset sampler<br /> |
353 |
<a href="#GET SERVER INFO">6.6.4.</a> |
<a href="#GET SERVER INFO">6.6.4.</a> |
354 |
General sampler informations<br /> |
General sampler informations<br /> |
355 |
|
<a href="#GET VOLUME">6.6.5.</a> |
356 |
|
Getting global volume attenuation<br /> |
357 |
|
<a href="#SET VOLUME">6.6.6.</a> |
358 |
|
Setting global volume attenuation<br /> |
359 |
<a href="#MIDI Instrument Mapping">6.7.</a> |
<a href="#MIDI Instrument Mapping">6.7.</a> |
360 |
MIDI Instrument Mapping<br /> |
MIDI Instrument Mapping<br /> |
361 |
<a href="#ADD MIDI_INSTRUMENT MAP">6.7.1.</a> |
<a href="#ADD MIDI_INSTRUMENT MAP">6.7.1.</a> |
5826 |
<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. |
5827 |
Other fields might be added in future. |
Other fields might be added in future. |
5828 |
</p> |
</p> |
5829 |
|
<a name="GET VOLUME"></a><br /><hr /> |
5830 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5831 |
|
<a name="rfc.section.6.6.5"></a><h3>6.6.5. |
5832 |
|
Getting global volume attenuation</h3> |
5833 |
|
|
5834 |
|
<p>The client can ask for the current global sampler-wide volume |
5835 |
|
attenuation by sending the following command: |
5836 |
|
</p> |
5837 |
|
<p> |
5838 |
|
</p> |
5839 |
|
<blockquote class="text"> |
5840 |
|
<p>GET VOLUME |
5841 |
|
</p> |
5842 |
|
</blockquote><p> |
5843 |
|
|
5844 |
|
</p> |
5845 |
|
<p>Possible Answers: |
5846 |
|
</p> |
5847 |
|
<p> |
5848 |
|
</p> |
5849 |
|
<blockquote class="text"> |
5850 |
|
<p>The sampler will always answer by returning the optional |
5851 |
|
dotted floating point coefficient, reflecting the current |
5852 |
|
global volume attenuation. |
5853 |
|
|
5854 |
|
</p> |
5855 |
|
</blockquote><p> |
5856 |
|
|
5857 |
|
</p> |
5858 |
|
<p>Note: it is up to the respective sampler engine whether to obey |
5859 |
|
that global volume parameter or not, but in general all engines SHOULD |
5860 |
|
use this parameter. |
5861 |
|
</p> |
5862 |
|
<a name="SET VOLUME"></a><br /><hr /> |
5863 |
|
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5864 |
|
<a name="rfc.section.6.6.6"></a><h3>6.6.6. |
5865 |
|
Setting global volume attenuation</h3> |
5866 |
|
|
5867 |
|
<p>The client can alter the current global sampler-wide volume |
5868 |
|
attenuation by sending the following command: |
5869 |
|
</p> |
5870 |
|
<p> |
5871 |
|
</p> |
5872 |
|
<blockquote class="text"> |
5873 |
|
<p>SET VOLUME <volume> |
5874 |
|
</p> |
5875 |
|
</blockquote><p> |
5876 |
|
|
5877 |
|
</p> |
5878 |
|
<p>Where <volume> should be replaced by the optional dotted |
5879 |
|
floating point value, reflecting the new global volume parameter. |
5880 |
|
This value might usually be in the range between 0.0 and 1.0, that |
5881 |
|
is for attenuating the overall volume. |
5882 |
|
</p> |
5883 |
|
<p>Possible Answers: |
5884 |
|
</p> |
5885 |
|
<p> |
5886 |
|
</p> |
5887 |
|
<blockquote class="text"> |
5888 |
|
<p>"OK" - |
5889 |
|
</p> |
5890 |
|
<blockquote class="text"> |
5891 |
|
<p>on success |
5892 |
|
</p> |
5893 |
|
</blockquote> |
5894 |
|
|
5895 |
|
|
5896 |
|
<p>"WRN:<warning-code>:<warning-message>" - |
5897 |
|
</p> |
5898 |
|
<blockquote class="text"> |
5899 |
|
<p>if the global volume was set, but there are noteworthy |
5900 |
|
issue(s) related, providing an appropriate warning code and |
5901 |
|
warning message |
5902 |
|
</p> |
5903 |
|
</blockquote> |
5904 |
|
|
5905 |
|
|
5906 |
|
<p>"ERR:<error-code>:<error-message>" - |
5907 |
|
</p> |
5908 |
|
<blockquote class="text"> |
5909 |
|
<p>in case it failed, providing an appropriate error code and error message |
5910 |
|
</p> |
5911 |
|
</blockquote> |
5912 |
|
|
5913 |
|
|
5914 |
|
</blockquote><p> |
5915 |
|
|
5916 |
|
</p> |
5917 |
<a name="MIDI Instrument Mapping"></a><br /><hr /> |
<a name="MIDI Instrument Mapping"></a><br /><hr /> |
5918 |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc"> TOC </a></td></tr></table> |
5919 |
<a name="rfc.section.6.7"></a><h3>6.7. |
<a name="rfc.section.6.7"></a><h3>6.7. |
7289 |
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
<p>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id |
7290 |
|
|
7291 |
</p> |
</p> |
7292 |
|
<p>/ VOLUME |
7293 |
|
|
7294 |
|
</p> |
7295 |
</blockquote><p> |
</blockquote><p> |
7296 |
|
|
7297 |
</p> |
</p> |
7322 |
<p>/ ECHO SP boolean |
<p>/ ECHO SP boolean |
7323 |
|
|
7324 |
</p> |
</p> |
7325 |
|
<p>/ VOLUME SP volume_value |
7326 |
|
|
7327 |
|
</p> |
7328 |
</blockquote><p> |
</blockquote><p> |
7329 |
|
|
7330 |
</p> |
</p> |