Troubles playing a non blocking melody.

My code from last summer was for 13 notes. I have a link to a youtube video showing 8 at once, all the buttons I had at the time.