AudioEffectChorus
继承
简要描述
添加合唱音频效果。
描述
添加合唱音频效果。
成员
类型 | 属性名 | 默认值 |
---|---|---|
float | dry | 1.0 |
float | voice/1/cutoff_hz | 8000.0 |
float | voice/1/delay_ms | 15.0 |
float | voice/1/depth_ms | 2.0 |
float | voice/1/level_db | 0.0 |
float | voice/1/pan | -0.5 |
float | voice/1/rate_hz | 0.8 |
float | voice/2/cutoff_hz | 8000.0 |
float | voice/2/delay_ms | 20.0 |
float | voice/2/depth_ms | 3.0 |
float | voice/2/level_db | 0.0 |
float | voice/2/pan | 0.5 |
float | voice/2/rate_hz | 1.2 |
float | voice/3/cutoff_hz | |
float | voice/3/delay_ms | |
float | voice/3/depth_ms | |
float | voice/3/level_db | |
float | voice/3/pan | |
float | voice/3/rate_hz | |
float | voice/4/cutoff_hz | |
float | voice/4/delay_ms | |
float | voice/4/depth_ms | |
float | voice/4/level_db | |
float | voice/4/pan | |
float | voice/4/rate_hz | |
int | voice_count | 2 |
float | wet | 0.5 |
方法
返回值类型 | 方法名称 |
---|---|
float | get_voice_cutoff_hz(voice_idx: int) const |
float | get_voice_delay_ms(voice_idx: int) const |
float | get_voice_depth_ms(voice_idx: int) const |
float | get_voice_level_db(voice_idx: int) const |
float | get_voice_pan(voice_idx: int) const |
float | get_voice_rate_hz(voice_idx: int) const |
void | set_voice_cutoff_hz(voice_idx: int, cutoff_hz: float) |
void | set_voice_delay_ms(voice_idx: int, delay_ms: float) |
void | set_voice_depth_ms(voice_idx: int, depth_ms: float) |
void | set_voice_level_db(voice_idx: int, level_db: float) |
void | set_voice_pan(voice_idx: int, pan: float) |
void | set_voice_rate_hz(voice_idx: int, rate_hz: float) |
常量
成员说明
- float dry
Default | 1.0 |
---|---|
setter | set_dry(value) |
getter | get_dry |
- float voice/1/cutoff_hz
Default | 8000.0 |
---|---|
setter | set_voice_cutoff_hz(value) |
getter | get_voice_cutoff_hz |
- float voice/1/delay_ms
Default | 15.0 |
---|---|
setter | set_voice_delay_ms(value) |
getter | get_voice_delay_ms |
- float voice/1/depth_ms
Default | 2.0 |
---|---|
setter | set_voice_depth_ms(value) |
getter | get_voice_depth_ms |
- float voice/1/level_db
Default | 0.0 |
---|---|
setter | set_voice_level_db(value) |
getter | get_voice_level_db |
- float voice/1/pan
Default | -0.5 |
---|---|
setter | set_voice_pan(value) |
getter | get_voice_pan |
- float voice/1/rate_hz
Default | 0.8 |
---|---|
setter | set_voice_rate_hz(value) |
getter | get_voice_rate_hz |
- float voice/2/cutoff_hz
Default | 8000.0 |
---|---|
setter | set_voice_cutoff_hz(value) |
getter | get_voice_cutoff_hz |
- float voice/2/delay_ms
Default | 20.0 |
---|---|
setter | set_voice_delay_ms(value) |
getter | get_voice_delay_ms |
- float voice/2/depth_ms
Default | 3.0 |
---|---|
setter | set_voice_depth_ms(value) |
getter | get_voice_depth_ms |
- float voice/2/level_db
Default | 0.0 |
---|---|
setter | set_voice_level_db(value) |
getter | get_voice_level_db |
- float voice/2/pan
Default | 0.5 |
---|---|
setter | set_voice_pan(value) |
getter | get_voice_pan |
- float voice/2/rate_hz
Default | 1.2 |
---|---|
setter | set_voice_rate_hz(value) |
getter | get_voice_rate_hz |
- float voice/3/cutoff_hz
setter | set_voice_cutoff_hz(value) |
---|---|
getter | get_voice_cutoff_hz |
- float voice/3/delay_ms
setter | set_voice_delay_ms(value) |
---|---|
getter | get_voice_delay_ms |
- float voice/3/depth_ms
setter | set_voice_depth_ms(value) |
---|---|
getter | get_voice_depth_ms |
- float voice/3/level_db
setter | set_voice_level_db(value) |
---|---|
getter | get_voice_level_db |
- float voice/3/pan
setter | set_voice_pan(value) |
---|---|
getter | get_voice_pan |
- float voice/3/rate_hz
setter | set_voice_rate_hz(value) |
---|---|
getter | get_voice_rate_hz |
- float voice/4/cutoff_hz
setter | set_voice_cutoff_hz(value) |
---|---|
getter | get_voice_cutoff_hz |
- float voice/4/delay_ms
setter | set_voice_delay_ms(value) |
---|---|
getter | get_voice_delay_ms |
- float voice/4/depth_ms
setter | set_voice_depth_ms(value) |
---|---|
getter | get_voice_depth_ms |
- float voice/4/level_db
setter | set_voice_level_db(value) |
---|---|
getter | get_voice_level_db |
- float voice/4/pan
setter | set_voice_pan(value) |
---|---|
getter | get_voice_pan |
- float voice/4/rate_hz
setter | set_voice_rate_hz(value) |
---|---|
getter | get_voice_rate_hz |
- int voice_count
Default | 2 |
---|---|
setter | set_voice_count(value) |
getter | get_voice_count |
- float wet
Default | 0.5 |
---|---|
setter | set_wet(value) |
getter | get_wet |
方法说明
- get_voice_cutoff_hz get_voice_cutoff_hz(voice_idx: int) const
- get_voice_delay_ms get_voice_delay_ms(voice_idx: int) const
- get_voice_depth_ms get_voice_depth_ms(voice_idx: int) const
- get_voice_level_db get_voice_level_db(voice_idx: int) const
- get_voice_pan get_voice_pan(voice_idx: int) const
- get_voice_rate_hz get_voice_rate_hz(voice_idx: int) const
- set_voice_cutoff_hz set_voice_cutoff_hz(voice_idx: int, cutoff_hz: float)
- set_voice_delay_ms set_voice_delay_ms(voice_idx: int, delay_ms: float)
- set_voice_depth_ms set_voice_depth_ms(voice_idx: int, depth_ms: float)
- set_voice_level_db set_voice_level_db(voice_idx: int, level_db: float)
- set_voice_pan set_voice_pan(voice_idx: int, pan: float)
- set_voice_rate_hz set_voice_rate_hz(voice_idx: int, rate_hz: float)