aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/autowah.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-08-26 19:04:49 -0700
committerChris Robinson <[email protected]>2018-08-26 19:04:49 -0700
commit4be6584850e8e8d9958d00d5aa8dc548743671d5 (patch)
treecf0e6935a4544013d68797e2be7ca7148a8d9f32 /Alc/effects/autowah.c
parent24b646dec0ea08434bc30b73389cbc01efb59596 (diff)
Further limit the upper frequency range for autowah
Diffstat (limited to 'Alc/effects/autowah.c')
-rw-r--r--Alc/effects/autowah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/autowah.c b/Alc/effects/autowah.c
index 5f45c43a..d7cb662a 100644
--- a/Alc/effects/autowah.c
+++ b/Alc/effects/autowah.c
@@ -153,7 +153,7 @@ static ALvoid ALautowahState_process(ALautowahState *state, ALsizei SamplesToDo,
env_delay = lerp(sample, env_delay, a);
/* Calculate the cos and alpha components for this sample's filter. */
- w0 = minf((bandwidth*env_delay + freq_min), 0.49f) * F_TAU;
+ w0 = minf((bandwidth*env_delay + freq_min), 0.46f) * F_TAU;
state->CosW0[i] = cosf(w0);
state->Alpha[i] = sinf(w0)/(2.0f * Q_FACTOR);
}