Fretboard diagram legend (and auto-generated diagrams) should follow the instrument's tuning, e.g. ukulele

Open
#35,889 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
design, desktop

Research direction

Start by tracing the “Fretboard legend” command and how automatic chord diagrams are selected for a staff; the issue names instrument string data and fretboard palettes as possible sources. Compare the result for standard guitar and ukulele tuning. Done means generated legend diagrams follow the instrument’s tuning and string count; the issue does not identify specific source files or tests.

Written by the indexing model from the issue text.

Description

Your idea

When I use Add → Frames → Fretboard legend, MuseScore generates a diagram for every chord symbol in the score. These diagrams are always 6-string standard-tuning guitar shapes, even when the score is for ukulele.

I'd like the legend (and other automatically generated fretboard diagrams) to use the tuning and string count of the instrument the chord symbols belong to. MuseScore already knows this: ukulele, baritone ukulele, mandolin, banjo etc. all have string data (tuning and number of strings) in their instrument definitions.

Possible ways to solve it, from most to least automatic:

  1. Generate diagrams from the staff's string data, or ship built-in chord shape tables for common tunings (ukulele GCEA, baritone ukulele DGBE, mandolin GDAE, banjo, etc.).
  2. Let the user choose the diagram source for the legend: "Guitar (standard)", "Ukulele (GCEA)", ... or a custom fretboard diagram palette.
  3. At minimum: when building the legend, use diagrams from a palette the user selects, matched by chord name.
Problem to be solved

Ukulele players can't use the fretboard legend: every chord comes out as a guitar diagram. Fixing it by hand means re-entering every dot, open-string marker and barre in every diagram, for every song.

Typing chord symbols with Ctrl/Cmd+K is the natural way to write a lead sheet, and a legend with the right chord shapes at the top is exactly what ukulele players need (song sheets for groups, classes and beginners). The legend feature is great, but today it only works for guitar.

Related: #27284, where ukulele and mandolin users raised the same concern about guitar-only automatic diagrams, and the reply said the 4.6 feature would take these points into account. #30798 asks for more flexibility in the legend.

Prior art

As far as I know, Sibelius and Dorico both generate chord diagrams based on the instrument's tuning, so chord symbols on a ukulele staff get ukulele chord diagrams automatically.

My current workaround: I built a custom ukulele fretboard palette (.mpal) and an external script that rewrites the guitar diagrams in the legend inside the saved .mscz file into ukulele shapes. It works, but it requires leaving MuseScore, and the plugin API in 4.7 can't edit diagram dots.

Additional context

MuseScore Studio 4.7.x on macOS. Instrument: ukulele (standard GCEA, re-entrant tuning).

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
Dominant language
C++
Stars
15.5k
Forks
3.5k
Avg merge
2d 19h
Merged PRs (30d)
124

Getting set up

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.

More from musescore/MuseScore

All issues in musescore/MuseScore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.