Closed freq-mod closed 6 years ago
Confirmed. Also it's only a thing of the UI interaction, it's not happening with the Midi keys.
I trace a changeNote
call which happens as number keys are typed with cursor in the edit box.
Gotta solve the mystery about what causes this.
Looks like is need to re-send the current note number and pitch to the chip on note play request...
I found that only the key-release event is passed through to the piano when typing in an edit box. Out of this key-release the note is getting changed. I think, by arranging the piano to store the key states pressed by keyboard, I can then discard the unmatched key-release and not act the change of note.
Looks like it's fine now. Thnaks @jpcima!
Steps to replicate:
This bug can be hard to replicate, since it seems to be very random. Tested on Nuked OPN2 core.