diff options
author | Raulshc <[email protected]> | 2018-03-18 17:47:17 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-03-18 17:47:17 +0100 |
commit | 6fd23f09842b81788298e1840b8626252fdf5e18 (patch) | |
tree | 1f777d222368b80c131e9992735ffa3811052b5e /Alc/ALc.c | |
parent | 3fde27d89098f6f71f82c06f89a2acbaa5f20400 (diff) |
EFX:Pitch Shifter implementation
Add pitch shifter effect using standard phase vocoder, based on work of Stephan Bernsee. Only mono signal processing by now.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -547,10 +547,10 @@ static const struct { DECL(AL_EFFECT_DISTORTION), DECL(AL_EFFECT_ECHO), DECL(AL_EFFECT_FLANGER), + DECL(AL_EFFECT_PITCH_SHIFTER), #if 0 DECL(AL_EFFECT_FREQUENCY_SHIFTER), DECL(AL_EFFECT_VOCAL_MORPHER), - DECL(AL_EFFECT_PITCH_SHIFTER), #endif DECL(AL_EFFECT_RING_MODULATOR), #if 0 @@ -634,6 +634,9 @@ static const struct { DECL(AL_RING_MODULATOR_HIGHPASS_CUTOFF), DECL(AL_RING_MODULATOR_WAVEFORM), + DECL(AL_PITCH_SHIFTER_COARSE_TUNE), + DECL(AL_PITCH_SHIFTER_FINE_TUNE), + DECL(AL_COMPRESSOR_ONOFF), DECL(AL_EQUALIZER_LOW_GAIN), |