The arpeggiator creates hanging notes at high speeds. In this line, if frequency is high, min_gate becomes > 1, and gate becomes > 1 as well. This can result in note_handler_->noteOff not getting called.
It seems that this can be fixed by limiting min_gate to be ≤ 1:
The arpeggiator creates hanging notes at high speeds. In this line, if
frequency
is high,min_gate
becomes > 1, andgate
becomes > 1 as well. This can result innote_handler_->noteOff
not getting called.It seems that this can be fixed by limiting
min_gate
to be ≤ 1: