Adds a chorus audio effect to an audio bus.
Gives the impression of multiple audio sources.
A "chorus" effect creates multiple copies of the original audio (called "voices") with variations in pitch, and layers on top of the original, giving the impression that the sound comes from multiple sources. This creates spectral and spatial movement.
Each voice is played a short period of time after the original audio, controlled by delay. An internal low-frequency oscillator (LFO) controls their pitch, and depth controls the LFO's maximum amount.
In the real world, this kind of effect is found in pianos, choirs, and instrument ensembles.
This effect can also be used to widen mono audio and make digital sounds have a more natural or analog quality.
Returns the frequency threshold of a given voice_idx's low-pass filter in Hz. Frequencies above this value are removed from the voice.
Returns the pan position of a given voice_idx. Negative values mean the left channel, positive mean the right.
Sets the frequency threshold of a given voice_idx's low-pass filter in Hz. Frequencies above cutoff_hz are removed from voice_idx. Value can range from 1 to 20500.
Sets the delay of a given voice_idx in milliseconds, compared to the original audio. Value can range from 0 to 50.
Sets the depth of a given voice_idx's low-frequency oscillator in milliseconds. Value can range from 0 to 20.
Sets the pan position of a given voice_idx. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.
Sets the rate of a given voice_idx's low-frequency oscillator in Hz. Value can range from 0.1 to 20.