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

Fix for possible ADSR hangs #1245

Closed
wants to merge 26 commits into from
Closed

Conversation

PythonBlue
Copy link
Contributor

This commit for a special branch in my fork is after discovering a glitch that I was even able to reproduce in the official builds: sometimes with the delay opcodes set to a value above zero, I noticed some notes would hang when getting close to the polyphony limit. Easiest way to reproduce is to hit a variety of notes very quickly across multiple octaves and velocities. You don't have to go that far to have the problem, but that's the guaranteed way to find it.

Anyway, I hesitate to believe this revision is the way it should be for the ADSREnvelope source code, but I failed to reproduce it since: adding an extra iteration of the Delay phase of the envelope seems to negate the problem.

Disregard the modified wavpack submodule if need be: not sure how that happened...

PythonBlue added 26 commits June 8, 2023 22:19
Fix applied to the CC processing: too many CC values were specified to be per-voice originally.
Merged changes in the fork and the main repo
-Corrected the eg_shapes
-added support for eg_curvecc's.
This commit for a special branch is after discovering a glitch that I was even able to reproduce in the official builds: sometimes with the delay opcodes set to a value above zero, I noticed some notes would hang when getting close to the polyphony limit. Easiest way to reproduce is to hit a variety of notes very quickly across multiple octaves and velocities. You don't have to go that far to have the problem, but that's the guaranteed way to find it.

Anyway, I hesitate to believe this revision is the way it should be for the ADSREnvelope source code, but I failed to reproduce it since: adding an extra iteration of the Delay phase of the envelope seems to negate the problem.
@PythonBlue PythonBlue closed this Feb 13, 2024
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