musescore / musescore/MuseScore

[API] add access to 'transpose' property of Instrument

Open
#30,534 3 comments 0 reactions 1 assignee View on GitHub

@cbjeukendrup is already working on this.

Since Oct 17, 2025.

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

Description

Your idea

Provide a mapping in the API to the 'transpose' property of an Instrument.

Problem to be solved

In the new MS 4.6 API, you can get the transpose() value of a Staff at a particular tick, but if you wanted to iterate through all the instruments in a score, and look at their transposition, this is currently not possible, AFAIK.

Prior art

No response

Additional context

I should be able to propose a PR to fix this, but if @XiaoMigros wants to get in first, I'd be grateful :-)

Checklist
  • This request follows the guidelines for reporting issues
  • I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.