[Regression] Messed playback in the score

• Mar 28, 2018 - 13:43
Reported version
S3 - Major

The score opened in MuseScore 2.2 has awful messed playback. Uploading to musescore.com gives the same playback.

The score sounds better in 2.1, but with a very distinctive notes. I suspect changes in playback algorithms.

The score is https://drive.google.com/file/d/1eOzLRTr4-4xWcoT0rlNHjSLtrlpxhYdQ/view?….

Workaround scenario:
1. Open synthesizer
2. Remove MuseScore_General, add Arachno sound font
3. Click save to score, click set as default
4. Close MuseScore, open MuseScore
Result: sound is pretty good

Note, if I change sound font in the synth and don't set as default (only save to score), soundfont won't be changed.


OK, this is weird. Sometimes I get the obviously messed up playback - notes that should sound together aren't, weird delays and echos, etc. And once this happens, even other scores played afterwards are affected - the synth is pretty hosed at this point until a restart,

However, other times it plays fine. I'm not sure if this is the trigger or not, but it seems if I play anything first before this score, all is well, but if this score is the first thing I play after starting MuseScore, bad things happen.

Somehow I suspect this might turn out to be related to #270748: [Regression] Playback slow to engage even though the problem definitely still occurs even if I wait a while. It's more about making sure the first sound that plays is good. Or so it seems so far.

confirmed, playing any other score before and this one sound fine.
Not an option on MuseScore.com though, where the mp3 is generated already and bogus

I suspect it will turn out to be something about the specific "Feedback Guitar" sound used. If I go to the Mixer first and change the guitar staves to Funk Guitar, all is well, or at least I was n longer able to reproduce.

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 0aa2511f3f

fix #270803 messed playback for specific sounds

The reason was not updated minimal frames count and desync between different voices in playback as a result.