     }
 
 }
+
+extension Conductor {
+    func AKMidiMmcPreparePlay(continue: Bool) {
+        sequencer.preroll()
+    }
+
+    func AKMidiMmcStartFirstBeat(continue: Bool) {
+        sequencer.play()
+    }
+
+    func AKMidiMmcStop() {
+
+    }
+
+    func AKMidiQuarterNoteBeat() {
+
+    }
+}

        generateSnareDrumGhostSequence()

        sequencer.enableLooping()
        sequencer.setTempo(100)
        sequencer.play()
    }

    func generateNewMelodicSequence(_ stepSize: Float = 1 / 8, minor: Bool = false, clear: Bool = true) {


import AudioKit

class Conductor : AKMIDIBeatEventListener {

    let bpmListenter = AKMIDIBPMListener()

    let fmOscillator = AKFMOscillatorBank()
    var melodicSound: AKMIDINode!
    var verb: AKReverb2!

