Keyboard playback extending for longer than necessary
If I open the "bach-bc2" demo using the latest nightly (r. 2888) and press all the keys on the keyboard in quick succession it plays each note for 300ms and it takes playback several second to catch up with the key presses. When I create a new score there are no delays in playback for multiple key presses in quick succession.
I was just wondering if anyone understood why MIDI keyboard playback for the "bach-bc2" demo behaves differently from other scores. I case it makes a difference, I am using Virtual MIDI Piano Keyboard with LoopBe1 on Windows 7.
Comments
I don't know why but it's related to the score size. If you remove all the measure except the first page you don't have this behavior anymore.
The current implementation does a relayout after every keypress. This is slow for big scores. It could be optimized and maybe i will do this for the next release.
In reply to The current implementation by [DELETED] 3
I tried a cheap fix in r2891 to avoid relayout if a midi note is received out of note entry mode. Hope it does not have side effect.