 
     let octaveMultiplier = CGFloat(pow(pow(2.0, 1.0/12.0), 12.0))
     let animationDuration = 0.4
+    let ranDemoKey = "ranDemo"
 
     var controller: GCController?
     var dpadActive = false
     var buttonAPending = false
     var buttonXPending = false
+    var demoFinished = false
 
     let frequencies: [UIPressType: CGFloat] = [
         .UpArrow: Note.D4.rawValue,

            y: (1/8)*screenHeight)

        addButtonNodes()
    }

    override func addWordmarkNode() {


    override func update(currentTime: NSTimeInterval) {
        if let gravity = self.controller?.motion?.gravity
            where upAnOctave != (gravity.z > -2.0/3.0) && demoFinished {
                upAnOctave = !upAnOctave

                if upAnOctave {
