microsoft / microsoft/pxt-microbit

Melody editor pitch to colour mapping doesn't match the expected pattern

Open
#6,157 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

music
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Arising from https://support.microbit.org/helpdesk/tickets/88158 (private)

It's confusing that the colours run the opposite way to instruments, for example,
https://boomwhackers.com/products/boomwhackers%C2%AE-c-major-diatonic-scale-set

It's also unexpected that gallery item "Scale" is a falling sequence.

I found this research paper, which seems to suggest it's more common to associate C=red, D=orange, E=yellow...
https://www.researchgate.net/publication/367509824_Two_Models_of_Pitch-Colour_Mapping_An_Experimental_Investigation

The expected mapping and sequence are something like this
Image

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 locating the melody editor's pitch-to-colour mapping and the gallery item's "Scale" sequence, then compare both with the expected C=red, D=orange, E=yellow pattern shown in the issue. Done means the editor mapping and gallery sequence consistently follow the expected pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
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.