No picture, but you get a self-playing piano instead! Use the left/right keys to see the whole piano.
How do you get more than the usual three octaves?
Ah, my script automatically converts the note names like
440 and so on, the first parameter to
music.playTone is the frequency - in blocks, they have a note chooser which automatically picks the frequency for you.
Wow, this is terrific! Did you create a parser to turn a MIDI file into the js score? Some other witchcraft??
Yes, I’ve wrote about what I did here, but the scripts are outdated. The code to convert .midi to .js is still the same, just I added more features like the piano keyboard:
If you did use a parser or something similar, can you please make it an extention or a web based thing, like @kristianpedersen 's image convertor.
Hmmmm…that’s a good idea, I’ll try on a spare weekend if I don’t have 500 projects to finish!
Time to learn some web dev!
Oh and also, the reason the song feels slightly rushed is that it doesn’t know what a rest looks like! I really need to fix that but my smol brain can’t understand the code I wrote 6 months ago.
Or if you want those synthesia things: