What good are tones?

What good are tones if you can’t string them together into something meaningful? I took one of the tone examples and added a few bits to make music. (Hopefully I’ve put this in the right forum.)

I hope you like! :smiley:

Where this is going: I plan to make a sort of puzzle toy for my grandson. It will have push buttons and LEDs and a speaker, of course. He’ll have to push some combination of buttons to ‘unlock’ various features which will include songs. The next step is to convert this to the event driven framework which I have been working on (for too long!).

Merry Christmas,
hank

Music.ino (4.14 KB)

pitches.h (1.96 KB)