musescore / musescore/MuseScore

Swing and Staccato information get's lost when exporting parts to midi

Open
#22,911 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

MIDI P3 regression MS3
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Import/export issue

Bug description

I use Musescore for composing and generating midi tracks - one per part - to be imported to my DAW (Reaper in this case). I realized that the staccato point is not respected in the midi file by shortening the note length.
Recently I exported a midi file containing SWING notation. The resulting midi file plays straight eights although it plays swing eights in MuseScore.

Is this problem known?

Steps to reproduce

Staccato Issue

  1. Open new score
  2. Type some quarter note, make them staccato
  3. Export part as midi file
  4. open midi file in any DAW
  5. Choose any VST to hear the notes
  6. Notes are legato, not staccato

SWING issue
Open new score
2. Type some eights notes
3. add Text / SWING
4. hear in MuseScore to verify the eights are shuffled
5. export part to midi file
6. import in any DAW and assign any VST to it
7. play part and see it's straight instead of swing

Screenshots/Screen recordings

No response

MuseScore Version

MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing both export cases in MuseScore 4.3.0: a staccato passage and a passage marked with Swing, then compare the resulting MIDI files in a DAW. Trace the part-to-MIDI export path and verify that completed work preserves shortened staccato notes and swung eighth-note timing in the exported files.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.