AudioEffectChorus

    Adds a chorus audio effect.

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

    get_voice_cutoff_hz ( voice_idx ) const

    float

    ( int voice_idx ) const

    get_voice_depth_ms ( voice_idx ) const

    float

    ( int voice_idx ) const

    get_voice_pan ( voice_idx ) const

    float

    ( int voice_idx ) const

    void

    ( int voice_idx, cutoff_hz )

    void

    void

    set_voice_depth_ms ( voice_idx, float depth_ms )

    void

    ( int voice_idx, level_db )

    void

    set_voice_pan ( voice_idx, float pan )

    void

    ( int voice_idx, rate_hz )

    • dry

    Default

    1.0

    Setter

    set_dry(value)

    Getter

    get_dry()

    The effect’s raw signal.


    Default

    8000.0

    Setter

    set_voice_cutoff_hz(value)

    Getter

    get_voice_cutoff_hz()

    The voice’s cutoff frequency.


    • voice/1/delay_ms

    Default

    15.0

    Setter

    set_voice_delay_ms(value)

    Getter

    get_voice_delay_ms()

    The voice’s signal delay.


    Default

    2.0

    Setter

    set_voice_depth_ms(value)

    Getter

    get_voice_depth_ms()

    The voice filter’s depth.


    • voice/1/level_db

    Default

    0.0

    Setter

    set_voice_level_db(value)

    Getter

    get_voice_level_db()

    The voice’s volume.


    Default

    Setter

    set_voice_pan(value)

    Getter

    get_voice_pan()

    The voice’s pan level.


    • voice/1/rate_hz

    Default

    0.8

    Setter

    set_voice_rate_hz(value)

    Getter

    get_voice_rate_hz()

    The voice’s filter rate.


    The voice’s cutoff frequency.


    • voice/2/delay_ms

    Default

    20.0

    Setter

    set_voice_delay_ms(value)

    Getter

    get_voice_delay_ms()

    The voice’s signal delay.


    Default

    3.0

    Setter

    set_voice_depth_ms(value)

    Getter

    get_voice_depth_ms()

    The voice filter’s depth.


    Default

    0.0

    Setter

    set_voice_level_db(value)

    Getter

    get_voice_level_db()

    The voice’s volume.


    • voice/2/pan

    Default

    Setter

    set_voice_pan(value)

    Getter

    get_voice_pan()

    The voice’s pan level.


    Default

    1.2

    Setter

    set_voice_rate_hz(value)

    Getter

    get_voice_rate_hz()

    The voice’s filter rate.


    • voice/3/cutoff_hz

    Setter

    set_voice_cutoff_hz(value)

    Getter

    get_voice_cutoff_hz()

    The voice’s cutoff frequency.


    Setter

    set_voice_delay_ms(value)

    Getter

    get_voice_delay_ms()

    The voice’s signal delay.


    • voice/3/depth_ms

    Setter

    set_voice_depth_ms(value)

    Getter

    get_voice_depth_ms()

    The voice filter’s depth.


    The voice’s volume.


    • voice/3/pan

    Setter

    set_voice_pan(value)

    Getter

    get_voice_pan()

    The voice’s pan level.


    Setter

    set_voice_rate_hz(value)

    Getter

    get_voice_rate_hz()

    The voice’s filter rate.


    • voice/4/cutoff_hz

    Setter

    set_voice_cutoff_hz(value)

    Getter

    get_voice_cutoff_hz()

    The voice’s cutoff frequency.


    Setter

    set_voice_delay_ms(value)

    Getter

    get_voice_delay_ms()

    The voice’s signal delay.


    • voice/4/depth_ms

    Setter

    set_voice_depth_ms(value)

    Getter

    get_voice_depth_ms()

    The voice filter’s depth.


    Setter

    set_voice_level_db(value)

    Getter

    get_voice_level_db()

    The voice’s volume.


    • voice/4/pan

    Setter

    set_voice_pan(value)

    Getter

    get_voice_pan()

    The voice’s pan level.


    Setter

    set_voice_rate_hz(value)

    Getter

    get_voice_rate_hz()

    The voice’s filter rate.


    • int voice_count

    The amount of voices in the effect.


    • wet

    Default

    0.5

    Setter

    set_wet(value)

    Getter

    get_wet()

    The effect’s processed signal.

    • get_voice_cutoff_hz ( int voice_idx ) const

    • get_voice_delay_ms ( int voice_idx ) const

    • get_voice_depth_ms ( int voice_idx ) const

    • get_voice_level_db ( int voice_idx ) const

    • get_voice_pan ( int voice_idx ) const

    • get_voice_rate_hz ( int voice_idx ) const

    • void set_voice_cutoff_hz ( voice_idx, float cutoff_hz )

    • void set_voice_delay_ms ( voice_idx, float delay_ms )

    • void set_voice_depth_ms ( voice_idx, float depth_ms )

    • void set_voice_level_db ( voice_idx, float level_db )

    • void set_voice_pan ( voice_idx, float pan )

    • void set_voice_rate_hz ( voice_idx, float rate_hz )