aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorRaulshc <[email protected]>2018-03-18 17:47:17 +0100
committerGitHub <[email protected]>2018-03-18 17:47:17 +0100
commit6fd23f09842b81788298e1840b8626252fdf5e18 (patch)
tree1f777d222368b80c131e9992735ffa3811052b5e /Alc/ALc.c
parent3fde27d89098f6f71f82c06f89a2acbaa5f20400 (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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index eee17768..8cfc7d25 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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),