Changed analog pin and beep() to playNote()