     let analysisSequence = AKSequence()
     let updateAnalysis = AKEvent()
     
+    override init() {
+        microphone = VocalInput()
+        analyzer = AKAudioAnalyzer(audioSource: microphone.auxilliaryOutput)
+        super.init()
+    }
+    
+    required init(coder aDecoder: NSCoder) {
+        microphone = VocalInput()
+        analyzer = AKAudioAnalyzer(audioSource: microphone.auxilliaryOutput)
+        super.init(coder: aDecoder)
+    }
+    
     override func viewDidAppear(animated: Bool) {
         super.viewDidAppear(animated)
         
-        conductor.reallyStart()
+        AKOrchestra.addInstrument(microphone)
+        AKOrchestra.addInstrument(analyzer)
+        AKOrchestra.start()
+        analyzer.play()
+        microphone.play()
+        
         let analysisSequence = AKSequence()
         var updateAnalysis = AKEvent()
         updateAnalysis = AKEvent(block: {

                }
            }

            var octave = Int(log2f(conductor.analyzer.trackedFrequency.value / frequency))
            var noteName = String(format: "%@%d", noteNamesWithSharps[index], octave)
            noteNameWithSharpsLabel.text = noteName
            noteName = String(format: "%@%d", noteNamesWithFlats[index], octave)
            noteNameWithFlatsLabel.text = noteName
        }
        amplitudeLabel.text = String(format: "%0.2f", conductor.analyzer.trackedAmplitude.value)
    }
}
//  Copyright (c) 2015 AudioKit. All rights reserved.
//

class AnalysisViewController: UIViewController {
    
    @IBOutlet var frequencyLabel: UILabel!
