跳转至

AudioEffectPitchShift

继承

AudioEffect

简要描述

向音频总线添加音高变化的音频效果。

升高或降低原始声音的音调。

描述

允许独立于速度调节音高。

成员

类型 属性名 默认值
int fft_size 3
int oversampling 4
float pitch_scale 1.0

枚举

enum FFT_Size: - FFT_SIZE_256 = 0

  • FFT_SIZE_512 = 1

  • FFT_SIZE_1024 = 2

  • FFT_SIZE_2048 = 3

  • FFT_SIZE_4096 = 4

  • FFT_SIZE_MAX = 5

表示FFT_Size枚举的大小。


成员说明

  • int fft_size
Default 3
setter set_fft_size(value)
getter get_fft_size
  • int oversampling
Default 4
setter set_oversampling(value)
getter get_oversampling
  • float pitch_scale
Default 1.0
setter set_pitch_scale(value)
getter get_pitch_scale