Skip to content

Conversation

@KirillAlekseeenko
Copy link

@KirillAlekseeenko KirillAlekseeenko commented Dec 6, 2024

Additional multiplier in this fix is needed to account for the difference between e (central sample) and minRingSample if (e << minRingSample) here:
// 0 == (w*(b+d+f+h)+e)/(4*w+1) -> w = -e/(b+d+f+h)

due to min max usage instead of individual taps we have:
e/(b+d+f+h) > e/(4maxRing) which is safe
But
e/(4
maxRing) < minRing / (4*maxRing) in (e << minRingSample) case
So we risk getting such w that result output would be < 0

@kurbeco kurbeco force-pushed the main branch 3 times, most recently from beeb9fd to c6efa6b Compare August 20, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant