             return avSequencer.tracks
         } else {
             //this won't do anything if not using an AVSeq
+            print("AVSequencer ERROR ! avTracks only work if isAVSequencer ")
+
             let tracks = [AVMusicTrack]()
             return tracks
         }

    ///
    public func setLoopInfo(duration: AKDuration, numberOfLoops: Int) {
        if isAVSequencer {
            //nothing yet
        } else {
            for track in tracks {

    ///   - position: Point in time in beats
    ///
    public func addTempoEventAt(tempo bpm: Double, position: AKDuration) {
        if isAVSequencer {
            print("AVSequencer ERROR ! addTempoEventAt only work if not isAVSequencer ")
            return }

        let constrainedTempo = min(max(bpm, 10.0), 280.0)

