After using staff text to change channel, wrong patch/sound is played for notes in chords containing tied notes

• Aug 14, 2019 - 01:41
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

Steps to Reproduce

  1. Create a score with the B Trumpet instrument (or any multi channel instrument)
  2. Input a note, repeat the note on the second beat and tie both notes together
  3. On the second beat, add a note below the tied note (e.g. a third below)
  4. On the first beat, add a Staff Text with all voices changed to channel 'mute'
  5. Start playback

Alternatively, open the attatched file

Expected Behavior

The second channel patch (muted trumpet) is used for all notes.

Actual Behavior

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.

Workaround

  1. Remove the tie
  2. Start playback once
  3. 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/Version Number

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.7955, revision: 5979345

Attachment Size
test.mscz 4.78 KB