Am 20.03.22 um 16:31 schrieb Will Godfrey:
Unfortunately I've hit a snag :(
When in Auto-Apply mode, if I increase the xFade time to more than about
300mS, on the next key press, and all future keys I get.
REJECT XFade... useCnt=1 old wavetable: 0x7fe3a9483040
This sounds interesting; seemingly the ref-count did not drop to zero,
which means there must be one note where the cross-fading wave interpolator
must have been destroyed before reaching the end of the fade time.
Which indicates a gap my reasoning; the reference count should probably
be decremented in the destructor, and not immediately when reaching the
end of the fade, making that a two-step process. And yes, running into
that corner case becomes more likely on longer crossfades.
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel