After using staff text to change channel, wrong patch/sound is played for notes in chords containing tied notes
Steps to Reproduce
- Create a score with the B Trumpet instrument (or any multi channel instrument)
- Input a note, repeat the note on the second beat and tie both notes together
- On the second beat, add a note below the tied note (e.g. a third below)
- On the first beat, add a Staff Text with all voices changed to channel 'mute'
- Start playback
Alternatively, open the attatched file
The second channel patch (muted trumpet) is used for all notes.
The second note uses the (previously used) first channel patch (open trumpet).
The bug persists after file reopening/restart.
Possibly related: The tied note (high note on the second beat) also uses the wrong sound when clicked. This only affects playback when the tied note is used for other effects, i.e. a glissando. Interestingly, the note below the tied note plays the wrong sound when played back, but the correct sound when clicked.
- Remove the tie
- Start playback once
- Add the tie again
Now the correct sound is used for playback and clicking the notes. However, this fix does not persist after file reopening/restart.
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 18.104.22.16855, revision: 5979345