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

Overflow voices #477

Merged
merged 6 commits into from
Oct 7, 2020
Merged

Overflow voices #477

merged 6 commits into from
Oct 7, 2020

Conversation

paulfd
Copy link
Member

@paulfd paulfd commented Oct 6, 2020

This creates more voices that asked for using setNumVoices(...) for example. These "overflow" voices participate in the usual rendering, but a polyphony check is done so that the "required" number of voices is not reached. When the "required" polyphony is reached, stolen voices will be fast released, which avoids most clicking.

This solves a corruption problem lingering in the previous version due to the fact that before, stolen voices due to engine polyphony limits were rendered outside of the normal operation of the modulation matrix, leading to weird issues.

@paulfd paulfd requested a review from jpcima October 6, 2020 22:41
@paulfd paulfd merged commit b9f58f1 into sfztools:develop Oct 7, 2020
@paulfd paulfd deleted the overflow-voices branch October 7, 2020 12:32
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.

2 participants