--- doc/docbase/instrument_scripts/nksp/reference/functions/nksp_change_vol_function.html 2017/05/19 14:23:12 3188 +++ doc/docbase/instrument_scripts/nksp/reference/functions/nksp_change_vol_function.html 2017/05/19 14:26:05 3189 @@ -16,6 +16,15 @@ all layers.

+ Internally the sampler always fades the volume from its current value to + the new volume as requested, however that volume fade by default is so fast + that it sounds like its value jumps directly from its old to the new value, + it is yet slow enough though to avoid undesired click sounds. You may also + override that automated fade time explicitly by calling + change_vol_time() before calling the + change_vol() function. +

+

The volume changes set by calling this function are always applied relatively to the volume calculated by the synthesis model and sampler format. That means the various sources of volume factors like MIDI CC #7, Amplitute Envelopes, @@ -59,7 +68,8 @@ Integer Number Volume change in Milli dB. A positive value increases the volume, - a negative value decreases the volume. + a negative value decreases the volume.
+ [required] ??relative?? @@ -79,9 +89,18 @@

Examples

None yet.

+ +

See also

+

change_vol_time(), fade_in(), fade_out()

Availabilty

Since LinuxSampler 2.0.0.svn11.

+ + The third argument of this function ??relative?? is only + optional with NKSP. If you want to keep compatibility with KSP, then you + should always pass a value for that third argument of this function. + +