Skip to content

Commit 591b2bf

Browse files
author
Martin Klang
committed
fix typo
1 parent 1ebf181 commit 591b2bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LibSource/BiquadFilter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ class FilterStage {
8888

8989
static void setAllPass(float* coefficients, float omega, float q){
9090
float K = tanf(omega);
91-
float norm = 1 / (1 + K / Q + K * K);
92-
coefficients[0] = (1 - K / Q + K * K) * norm;
91+
float norm = 1 / (1 + K / q + K * K);
92+
coefficients[0] = (1 - K / q + K * K) * norm;
9393
coefficients[1] = 2 * (K * K - 1) * norm;
9494
coefficients[2] = 1;
9595
coefficients[3] = coefficients[1];

0 commit comments

Comments
 (0)