You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The octave for each B (e.g. MIDI 0x53) is currently calculated to be the same as the C above it (e.g. MIDI 0x54)
So Melodies.Entertainer:
4a014b014c0154024c0154024c0154035401560157015801540156015802530156025404
has a b5 near the end
['d4:1','d#','e','c5:2','e4:1','c5:2','e4:1','c5:3','c:1','d','d#','e','c','d','e:2','b:1','d:2','c:4']
that should be a b4
['d4:1','d#','e','c5:2','e4:1','c5:2','e4:1','c5:3','c:1','d','d#','e','c','d','e:2','b4:1','d5:2','c:4']
as in MakeCode v4
Describe the bug
Arising from https://www.reddit.com/r/microbit/comments/1gsly00/does_anyone_else_have_this_bug_where_it_plays/
Wrong notes can be heard in start/play melody in both simulator and hardware.
It seems to have changed between v4 and v5. Both old "start" and new "play" blocks are affected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No wrong notes.
micro:bit version (please complete the following information):
V1 and V2
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: