Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle NAN and INF from Formula #5576

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

baconpaul
Copy link
Collaborator

NaN and Inf from formula would rip through the engine and
blow through various checks and so on. So inside formula
do an explicit std::isfinite and set a flag if they return
these.

Closes #5566

NaN and Inf from formula would rip through the engine and
blow through various checks and so on. So inside formula
do an explicit std::isfinite and set a flag if they return
these. Also add a unit test of the behavior.

Closes surge-synthesizer#5566
@baconpaul baconpaul force-pushed the handle-formnan-5566 branch from 58f2463 to 5757c1f Compare December 6, 2021 15:18
@baconpaul baconpaul merged commit 4c9d5da into surge-synthesizer:main Dec 6, 2021
@baconpaul baconpaul deleted the handle-formnan-5566 branch April 25, 2022 12:03
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.

NaN formula values crash Surge XT when a note is played
1 participant