Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 40e63482 authored by Reece Dunn's avatar Reece Dunn
Browse files

klatt.cpp: fix a sound spike in setzeroabc when f == 0.

If setzeroabc is passed f == 0, rp->a will be set to 0 and when
the coefficients get inverted (a'=1/a, b'=b/a, c'=c/a) then a',
b' and c' get set to INF. This results in an audible sound spike
when these resonators get used.

Found when investigating an issue in klatt with example1.par when
using the cascade synthesis mode.

Bug: https://github.com/rhdunn/klatt/issues/1.
parent 397583db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment