powertab / powertabeditor

View and edit guitar tablature.
https://powertab.github.io
GNU General Public License v3.0
526 stars 68 forks source link

MIDI Player goes out of tune #361

Closed BigHonkinDaddy closed 2 years ago

BigHonkinDaddy commented 2 years ago

Sometimes, after pausing, repositioning and restarting the midi player, its out of tune, sometimes a step higher, sometimes a step lower. When this happens, the midi player remains out of tune until encountering a bend or slide at then adjusts itself back to the proper tuning.

To Reproduce I will attempt to reproduce the behavior in a sample file and upload. More to come....

Version Windows 10, Alpha 16.

cameronwhite commented 2 years ago

MidiOutputDevice::stopAllNotes() should probably also reset the pitch wheel Or, maybe MidiFile::load should also reset the pitch wheel at the same time as it sets the pitch bend range