change_reso()
This function can be used to modify the filter resonance of active voices during their entire life time. You need to pass the note ID of the voices you want to alter. This function will change the resonance of all active voices associated with the requested note. So if you are using a layered instrument patch, then it will change the filter resonance of all layers.
The resonance changes set by calling this function are always applied relatively to the resonance calculated by the synthesis model and sampler format. That means the various sources of resonance factors like Filter Envelopes, Filter LFOs and other resonance factors that may be defined by the instrument patch, are always processed and calculated for the voices first, and the final resonance applied is always a relative combination of all those factors and the one set with this function call. Or in other words: you cannot replace the resonance set by other synthesis sources with this function.
play_note()
instead of using the sampler format's internal support for release trigger samples.
Function Prototype
change_reso(note, resonance)
Arguments
Argument Name | Data Type | Description |
---|---|---|
note |
Note ID Number or Note ID Array | All voices of this note will be modified. [required] |
resonance |
Integer Number | New Resonance Value (abstract non-negative value,
0 for lowest resonance,
1000000 for neutral resonance factor,
2000000 for doubling the effective resonance).[required] |
Return Value
None.
Remarks
This functions accepts finalness for its argument resonance
.
Examples
None yet.
Availability
Since LinuxSampler 2.0.0.svn12.