Class reference

AudioEffectChorus

Inherits AudioEffect

Adds a chorus audio effect.

Description

Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.

Properties

float dry = 1.0

The effect's raw signal.

float voice/1/cutoff_hz = 8000.0

The voice's cutoff frequency.

float voice/1/delay_ms = 15.0

The voice's signal delay.

float voice/1/depth_ms = 2.0

The voice filter's depth.

float voice/1/level_db = 0.0

The voice's volume.

float voice/1/pan = -0.5

The voice's pan level.

float voice/1/rate_hz = 0.8

The voice's filter rate.

float voice/2/cutoff_hz = 8000.0

The voice's cutoff frequency.

float voice/2/delay_ms = 20.0

The voice's signal delay.

float voice/2/depth_ms = 3.0

The voice filter's depth.

float voice/2/level_db = 0.0

The voice's volume.

float voice/2/pan = 0.5

The voice's pan level.

float voice/2/rate_hz = 1.2

The voice's filter rate.

float voice/3/cutoff_hz

The voice's cutoff frequency.

float voice/3/delay_ms

The voice's signal delay.

float voice/3/depth_ms

The voice filter's depth.

float voice/3/level_db

The voice's volume.

float voice/3/pan

The voice's pan level.

float voice/3/rate_hz

The voice's filter rate.

float voice/4/cutoff_hz

The voice's cutoff frequency.

float voice/4/delay_ms

The voice's signal delay.

float voice/4/depth_ms

The voice filter's depth.

float voice/4/level_db

The voice's volume.

float voice/4/pan

The voice's pan level.

float voice/4/rate_hz

The voice's filter rate.

int voice_count = 2

The number of voices in the effect.

float wet = 0.5

The effect's processed signal.

Methods

float get_voice_cutoff_hz(int voice_idx) const

float get_voice_delay_ms(int voice_idx) const

float get_voice_depth_ms(int voice_idx) const

float get_voice_level_db(int voice_idx) const

float get_voice_pan(int voice_idx) const

float get_voice_rate_hz(int voice_idx) const

void set_voice_cutoff_hz(int voice_idx, float cutoff_hz)

void set_voice_delay_ms(int voice_idx, float delay_ms)

void set_voice_depth_ms(int voice_idx, float depth_ms)

void set_voice_level_db(int voice_idx, float level_db)

void set_voice_pan(int voice_idx, float pan)

void set_voice_rate_hz(int voice_idx, float rate_hz)

Tutorials

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.