h4yn0nnym0u5e
Well-known member
Absolutely a
I did start looking for occurrences of
Yes, the optimisation seems to be able to throw up some odd behaviour … and I’m having a heck of a time reproducing the TeensyDebug issue!
noteOff()
without a noteOn()
should be handled properly. Previously if that happened I blindly put the sound into release
mode, which fades it to nothing over the course of ~9ms to prevent clicks from the DC offset; now it does nothing if the sound isn’t playing. There’s also a check at the start of update()
to abandon processing if sampleCount
is zero.I did start looking for occurrences of
noteOff()
but there were too many to make it worth my while trawling through them. The observation that led me to suspect it was that the big list of control settings (?) at startup never completed, so I thought maybe something there was ensuring all voices were silent.Yes, the optimisation seems to be able to throw up some odd behaviour … and I’m having a heck of a time reproducing the TeensyDebug issue!