microsoft / microsoft/pxt-microbit
Melody editor pitch to colour mapping doesn't match the expected pattern
Nobody has claimed this yet.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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