-
Notifications
You must be signed in to change notification settings - Fork 761
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
Free/PauseSelf: restate state of Ctor after init sample calc #5914
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question: why is this second assignment to zero necessary here and not in other cases, like SetResetFF_Ctor
?
It likely will be necessary, I was just fixing the problem with |
@mtmccrea could you please rebase this on the |
7aa4f21
to
190ae24
Compare
Thanks @dyfer does this look ok? |
Hm, the version change commit shouldn't be there. Maybe I messed up something with the branches...? |
I had exactly the same when rebasing. I hand reverted that commit. So yes, maybe there is something wrong in |
@mtmccrea can you do interactive rebase and remove the version change commit? Sorry the branch state is messy |
190ae24
to
1802580
Compare
Reset state of
PauseSelf
andFreeSelf
after init sample calculation, otherwise a trigger on the first sample will be missed.Note the
FreeSelf
change fixes an edge case where a UGen would free the synth on the first sample.This example doesn't currently work, but works with this proposed fix.
Purpose and Motivation
Fixes #5910, and hopefully SuperDirt #277
Types of changes
To-do list