Skip to content

midi note entry does not accurately track midi on off messages #31376

@a101010

Description

@a101010

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce

Expected behavior: Note entry with a MIDI device should accurately track the notes currently being sounded on the MIDI input device. (Also, it would be nice if when you are pressing nothing on the MIDI device, the last note is not saved so you can enter a rest by pressing a duration with nothing played. That behavior seems to be intended, so that part may be a feature request.)
Actual behavior: If you press a single note or chord, that note or chord will be accurately tracked. However, if you change the chord, it will clear notes that are still being pressed, so what you enter does not match what you are playing. The sound engine seems to (mostly) accurately get note on and off messages (although sometimes it seems to miss note off messages. That's a separate issue, however.) But the note entry state does not track accurately at all. If this is by design for some reason (to support entry with a PC keyboard instead of a MIDI device?) it seems like incorrect behavior for MIDI devices. They should track accurately what is currently being played.

Supporting files, videos and screenshots

Video with midi messages and finger positions.

MusescoreMIDIbug01.mp4

In which versions of MuseScore Studio is this issue present?

4.5-4.6.4

Regression

No.

Operating system

Windows 10

Additional context

So, in 4.5, the behavior is different. It seems even more restrictive. Default playback duration is different. But it still didn't support entering what you are currently playing, as opposed to the most recent set of keys played at about the same time. In fact, sometimes 4.5 doesn't seem to register an entire chord.

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions