change_amp_lfo_depth()
This function can be used to modify the amplitude LFO depth of active voices. Since LFOs are per voice, you need to pass the note ID(s) of the voices you want to alter. This function will change the amplitude LFO depth of all active voices associated with the requested note. So if you are using a layered instrument patch, then it will change the amplitude LFO depth of all layers.
The LFO depth changes set by calling this function are always applied relatively to
all other LFO depth sources defined for controlling the LFO (i.e. an internal
constant LFO depth value, an associated MIDI controller defined in the instrument
preset to control the LFO depth, etc.).
Or in other words: the depth
value passed to this
function will not replace the overall LFO depth, it will rather be multiplied
against all other LFO depth control sources.
play_note()
instead of using the sampler format's internal support for release trigger samples.
Function Prototype
change_amp_lfo_depth(note, depth)
Arguments
Argument Name | Data Type | Description |
---|---|---|
note |
Note ID Number or Note ID Array | All voices of this note will be modified. [required] |
depth |
New LFO Depth Value (abstract non-negative value,
0 for zero depth,
1000000 for neutral depth factor,
2000000 for doubling the effective LFO depth).[required] |
Return Value
None.
Examples
None yet.
Availability
Since LinuxSampler 2.0.0.svn44.