musescore / musescore/MuseScore

MIDI file import, time signature, tempo

Open
#28,678 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

Import/export

Description with steps to reproduce

When importing this MIDI file, MuseScore shows a time signature of 3/4 and a tempo of 118. The real time sig is 4/4 and the tempo is ~90 BPM. The file opens fine in Logic.

The file contains two tracks, each track contains time signature and tempo events.

output.mid.zip

Supporting files, videos and screenshots
Image
What is the latest version of MuseScore Studio where this issue is present?

OS: macOS 15.5, Arch.: arm64, MuseScore Studio version (64-bit): 4.5.2-251141402, revision: github-musescore-musescore-ac9d3bc

Regression

No.

Operating system

macOS 15.5

Additional context

No response

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

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 importing the attached output.mid.zip in MuseScore and trace the MIDI import handling for time-signature and tempo events across its two tracks. Compare the imported result with the file's expected 4/4 time signature and approximately 90 BPM tempo; done means MuseScore no longer reports 3/4 and 118 BPM.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.