     func handleButtonX(button: GCControllerButtonInput) {
         if button.pressed && buttonAPending {
             buttonAPending = false
-            buttonPressed(.Menu)
+            playNote(.Menu)
         } else if button.pressed {
             buttonXPending = true
             eventDate = NSDate()
         }
     }
 
-    func buttonPressed(pressType: UIPressType) {
+    func playNote(pressType: UIPressType) {
         if let frequency = frequencies[pressType] {
             synthNode.frequency = upAnOctave ? frequency * octaveMultiplier : frequency
             synthNode.startPlaying()


        let threshold: Float = 0.4
        var max: Float = 0
        var type = UIPressType.Select

        let up = dpad.up.value
        let down = dpad.down.value


    override func completePendingUpdate() {
        if buttonAPending && buttonXPending {
            playNote(.Menu)
            buttonAPending = false
            buttonXPending = false
        } else if buttonAPending {
            playNote(.Select)
            buttonAPending = false
        } else if buttonXPending {
            playNote(.PlayPause)
            buttonXPending = false
        }
    }
