Help with using data from an array

I think you have it addressing itself there.

Try making a global int array named songNotes[ numberOfNotes ] and notesArray = songNotes will point to the start of that. The names must be different and should be far enough different to keep humans reading the code from confusing the two.

Just to check, you know what global is?

Also, how many notes to your song and are they all full/half/quarter/etc notes? Is that what you call rythm?