--- linuxsampler/trunk/Documentation/lscp.xml 2006/12/27 16:17:08 1001 +++ linuxsampler/trunk/Documentation/lscp.xml 2006/12/29 20:06:14 1005 @@ -3814,6 +3814,65 @@ The mentioned fields above don't have to be in particular order. Other fields might be added in future. + +
+ The client can ask for the current global sampler-wide volume + attenuation by sending the following command: + + + GET VOLUME + + + Possible Answers: + + + The sampler will always answer by returning the optional + dotted floating point coefficient, reflecting the current + global volume attenuation. + + + + Note: it is up to the respective sampler engine whether to obey + that global volume parameter or not, but in general all engines SHOULD + use this parameter. +
+ +
+ The client can alter the current global sampler-wide volume + attenuation by sending the following command: + + + SET VOLUME <volume> + + + Where <volume> should be replaced by the optional dotted + floating point value, reflecting the new global volume parameter. + This value might usually be in the range between 0.0 and 1.0, that + is for attenuating the overall volume. + + Possible Answers: + + + "OK" - + + on success + + + "WRN:<warning-code>:<warning-message>" - + + if the global volume was set, but there are noteworthy + issue(s) related, providing an appropriate warning code and + warning message + + + "ERR:<error-code>:<error-message>" - + + in case it failed, providing an appropriate error code and error message + + + + +
@@ -4771,6 +4830,8 @@ / FX_SEND SP INFO SP sampler_channel SP fx_send_id + / VOLUME + set_instruction = @@ -4791,6 +4852,8 @@ / ECHO SP boolean + / VOLUME SP volume_value + create_instruction =