Code gets stuck on the last note of the melody after being played

Yeah, I wondered if the const would make a difference.

The only warning I’ve ever gotten is the obvs wrong “too many initialisers”, which I often do deliberately, add an extra one, take the complaint and derive a good clue that you have the right number.

a7