What is wrong. Solved.

I am using a anolog joystick to try to play different notes but it plays the same note over and over again. and that is the code that I just updated.