Browse Source
Merge pull request #373 from grahamwhaley/20201229_5k_hishelf
sg5k: calcBiquad: add missing break; for hishelf
dds
Paul Stoffregen
3 years ago
No account linked to committer's email address
1 changed files with
1 additions and
0 deletions
-
control_sgtl5000.cpp
|
|
|
|
|
|
|
|
a0 = (A+1.0F) - ((A-1.0F)*cosw) + (beta*sinw); |
|
|
a0 = (A+1.0F) - ((A-1.0F)*cosw) + (beta*sinw); |
|
|
a1 = -2.0F * ((A-1.0F) - ((A+1.0F)*cosw)); |
|
|
a1 = -2.0F * ((A-1.0F) - ((A+1.0F)*cosw)); |
|
|
a2 = -((A+1.0F) - ((A-1.0F)*cosw) - (beta*sinw)); |
|
|
a2 = -((A+1.0F) - ((A-1.0F)*cosw) - (beta*sinw)); |
|
|
|
|
|
break; |
|
|
default: |
|
|
default: |
|
|
b0 = 0.5; |
|
|
b0 = 0.5; |
|
|
b1 = 0.0; |
|
|
b1 = 0.0; |