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 [code]delay[/code]. An internal low-frequency oscillator (LFO) controls their pitch, and [code]depth[/code] 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.
$DOCS_URL/tutorials/audio/audio_buses.html $DOCS_URL/tutorials/audio/audio_effects.html
Returns the frequency threshold of a given [param voice_idx]'s low-pass filter in Hz. Frequencies above this value are removed from the voice.
Returns the delay of a given [param voice_idx] in milliseconds, compared to the original audio.
Returns the depth of a given [param voice_idx]'s low-frequency oscillator in milliseconds.
Returns the gain of a given [param voice_idx] in dB.
Returns the pan position of a given [param voice_idx]. Negative values mean the left channel, positive mean the right.
Returns the rate of a given [param voice_idx]'s low-frequency oscillator in Hz.
Sets the frequency threshold of a given [param voice_idx]'s low-pass filter in Hz. Frequencies above [param cutoff_hz] are removed from [param voice_idx]. Value can range from 1 to 20500.
Sets the delay of a given [param voice_idx] in milliseconds, compared to the original audio. Value can range from 0 to 50.
Sets the depth of a given [param voice_idx]'s low-frequency oscillator in milliseconds. Value can range from 0 to 20.
Sets the gain of a given [param voice_idx] in dB. Value can range from -60 to 24.
Sets the pan position of a given [param 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 [param voice_idx]'s low-frequency oscillator in Hz. Value can range from 0.1 to 20.
- The volume ratio of the original audio. Value can range from 0 to 1.
- The frequency threshold of the voice's low-pass filter in Hz.
- The delay of the voice in milliseconds, compared to the original audio.
- The depth of the voice's low-frequency oscillator in milliseconds.
- The gain of the voice in dB.
- The pan position of the voice.
- The rate of the voice's low-frequency oscillator in Hz.
- The frequency threshold of the voice's low-pass filter in Hz.
- The delay of the voice in milliseconds, compared to the original audio.
- The depth of the voice's low-frequency oscillator in milliseconds.
- The gain of the voice in dB.
- The pan position of the voice.
- The rate of the voice's low-frequency oscillator in Hz.
- The frequency threshold of the voice's low-pass filter in Hz.
- The delay of the voice in milliseconds, compared to the original audio.
- The depth of the voice's low-frequency oscillator in milliseconds.
- The gain of the voice in dB.
- The pan position of the voice.
- The rate of the voice's low-frequency oscillator in Hz.
- The frequency threshold of the voice's low-pass filter in Hz.
- The delay of the voice in milliseconds, compared to the original audio.
- The depth of the voice's low-frequency oscillator in milliseconds.
- The gain of the voice in dB.
- The pan position of the voice.
- The rate of the voice's low-frequency oscillator in Hz.
- The number of voices in the effect. Value can range from 1 to 4.
- The volume ratio of all voices. Value can range from 0 to 1.