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 a regression introduced by #1314 #1381

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

derselbst
Copy link
Member

@derselbst derselbst commented Sep 17, 2024

This fixes a regression introduced in #1314, most notable in test case 1 of Christian's new test suite, but also present in others.

Broken behavior introduced by #1314: The short saw wave voice finished processing, but this was not properly attributed and therefore remained in the dsp loop, causing audible sound until the noteoff was received.

Screenshot_20240917_121558

Correct behavior before #1314 and with this fix: The saw wave voice is now removed from the dsp loop once it has finished. Voices which are in delay phase (#1312) are still processed to have their dsp phase updated correctly.

Screenshot_20240917_121606

@derselbst derselbst added this to the 2.4 milestone Sep 17, 2024
@derselbst

This comment was marked as outdated.

@derselbst derselbst changed the title Revert "Fix behavior of volume envelope delay phase" Fix a regression introduced by #1314 Sep 17, 2024
Copy link

sonarcloud bot commented Sep 17, 2024

@derselbst derselbst added the bug label Sep 19, 2024
@derselbst derselbst linked an issue Sep 19, 2024 that may be closed by this pull request
@derselbst derselbst merged commit 40ede9d into master Sep 19, 2024
72 of 78 checks passed
@derselbst derselbst deleted the revert-1314-issue1312 branch September 19, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

volume envelope delay is not to spec
1 participant