[GH-ISSUE #55] Infrasonic - K for second biquad calculated from first biquad's Q #47

Open
opened 2026-05-05 22:03:18 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @Kiriki-liszt on GitHub (Oct 18, 2024).
Original GitHub issue: https://github.com/airwindows/airwindows/issues/55

Hi!
I was looking through Infrasonic code, and noticed some odd point.
K for second stage of biquad(==BiquadB) is calculated from first stage biquad(==BiquadA).

K = tan(M_PI * biquadA[0]); // <- this
norm = 1.0 / (1.0 + K / biquadB[1] + K * K);

027b95722f/plugins/MacVST/Infrasonic/source/InfrasonicProc.cpp (L32-L38)

Originally created by @Kiriki-liszt on GitHub (Oct 18, 2024). Original GitHub issue: https://github.com/airwindows/airwindows/issues/55 Hi! I was looking through Infrasonic code, and noticed some odd point. K for second stage of biquad(==BiquadB) is calculated from first stage biquad(==BiquadA). ``` c++ K = tan(M_PI * biquadA[0]); // <- this norm = 1.0 / (1.0 + K / biquadB[1] + K * K); ``` https://github.com/airwindows/airwindows/blob/027b95722f800f20f503169b593e880670b085a0/plugins/MacVST/Infrasonic/source/InfrasonicProc.cpp#L32-L38
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/airwindows#47
No description provided.