Click the green flag and listen to generative music using a few very basic rules.
I haven't taken scales in consideration, so the music isn't very coherent. The rhythm is a bit boring, but I wanted to keep it simple. Also, Scratch is not great at keeping the tempo, so I went with a rather slow tempo. And I was too lazy to add visualization for the drums. Some ideas for more advanced versions: ● Add scales ● Make instruments customizable ● Make tempo customizable ● Visualize drums ● Allow user to set the rules via a GUI