/[svn]/linuxsampler/trunk/Documentation/lscp.xml
ViewVC logotype

Diff of /linuxsampler/trunk/Documentation/lscp.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1001 by schoenebeck, Wed Dec 27 16:17:08 2006 UTC revision 1005 by schoenebeck, Fri Dec 29 20:06:14 2006 UTC
# Line 3814  Schoenebeck'> Line 3814  Schoenebeck'>
3814                      <t>The mentioned fields above don't have to be in particular order.                      <t>The mentioned fields above don't have to be in particular order.
3815                      Other fields might be added in future.</t>                      Other fields might be added in future.</t>
3816                  </section>                  </section>
3817    
3818                    <section title="Getting global volume attenuation" anchor="GET VOLUME">
3819                        <t>The client can ask for the current global sampler-wide volume
3820                        attenuation by sending the following command:</t>
3821                        <t>
3822                            <list>
3823                                <t>GET VOLUME</t>
3824                            </list>
3825                        </t>
3826                        <t>Possible Answers:</t>
3827                        <t>
3828                            <list>
3829                                <t>The sampler will always answer by returning the optional
3830                                dotted floating point coefficient, reflecting the current
3831                                global volume attenuation.
3832                                </t>
3833                            </list>
3834                        </t>
3835                        <t>Note: it is up to the respective sampler engine whether to obey
3836                        that global volume parameter or not, but in general all engines SHOULD
3837                        use this parameter.</t>
3838                    </section>
3839    
3840                    <section title="Setting global volume attenuation" anchor="SET VOLUME">
3841                        <t>The client can alter the current global sampler-wide volume
3842                        attenuation by sending the following command:</t>
3843                        <t>
3844                            <list>
3845                                <t>SET VOLUME &lt;volume&gt;</t>
3846                            </list>
3847                        </t>
3848                       <t>Where &lt;volume&gt; should be replaced by the optional dotted
3849                       floating point value, reflecting the new global volume parameter.
3850                       This value might usually be in the range between 0.0 and 1.0, that
3851                       is for attenuating the overall volume.</t>
3852    
3853                        <t>Possible Answers:</t>
3854                        <t>
3855                            <list>
3856                                <t>"OK" -
3857                                    <list>
3858                                        <t>on success</t>
3859                                    </list>
3860                                </t>
3861                                <t>"WRN:&lt;warning-code&gt;:&lt;warning-message&gt;" -
3862                                    <list>
3863                                        <t>if the global volume was set, but there are noteworthy
3864                                        issue(s) related, providing an appropriate warning code and
3865                                        warning message</t>
3866                                    </list>
3867                                </t>
3868                                <t>"ERR:&lt;error-code&gt;:&lt;error-message&gt;" -
3869                                    <list>
3870                                        <t>in case it failed, providing an appropriate error code and error message</t>
3871                                    </list>
3872                                </t>
3873                            </list>
3874                        </t>
3875                    </section>
3876              </section>              </section>
3877    
3878    
# Line 4771  Schoenebeck'> Line 4830  Schoenebeck'>
4830                  </t>                  </t>
4831                  <t>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id                  <t>/ FX_SEND SP INFO SP sampler_channel SP fx_send_id
4832                  </t>                  </t>
4833                    <t>/ VOLUME
4834                    </t>
4835          </list>          </list>
4836  </t>  </t>
4837  <t>set_instruction =  <t>set_instruction =
# Line 4791  Schoenebeck'> Line 4852  Schoenebeck'>
4852                  </t>                  </t>
4853                  <t>/ ECHO SP boolean                  <t>/ ECHO SP boolean
4854                  </t>                  </t>
4855                    <t>/ VOLUME SP volume_value
4856                    </t>
4857          </list>          </list>
4858  </t>  </t>
4859  <t>create_instruction =  <t>create_instruction =

Legend:
Removed from v.1001  
changed lines
  Added in v.1005

  ViewVC Help
Powered by ViewVC