This is a basic music generator This generator works by selecting notes only that are sharps or flats on the piano. There are three notes, The Bass 1, The Bass 2, And the Melody. The Bass 1 is randomly selected from notes 1-3 every 2 beats, and the Bass 2 is 2-3 notes above the Bass 1 every 2 beats. The Melody is randomly generated every beat from 5-10
Other things This uses a little bit more complicated version of beat counting. The scratch music blocks are a bit weird when you have multiple notes at a time, so I created my own beat variable, adding .5 of a beat every fourth of a second, or 120 BPM.