     ///
     public func sequence(from data: Data) {
         do {
-            try sequencer.load(from: data, options: [])
+            try load(from: data, options: [])
         } catch {
             AKLog("cannot load from data \(error)")
             return


    /// Enable looping for all tracks - loops entire sequence
    public func enableLooping() {
        for track in sequencer.tracks {
            track.isLoopingEnabled = true
            track.loopRange = AVMakeBeatRange(0, self.length.beats)
        }

        let fileURL = URL(fileURLWithPath: file)

        do {
            try load(from: fileURL, options: [])
        } catch _ {
            AKLog("failed to load MIDI into sequencer")
        }
