         var eventData: UnsafePointer<Void> = nil
         var eventDataSize: UInt32 = 0
         var hasNextEvent: DarwinBoolean = false
-        
+
         MusicEventIteratorHasCurrentEvent(iterator, &hasNextEvent)
         while(hasNextEvent) {
             MusicEventIteratorGetEventInfo(iterator, &eventTime, &eventType, &eventData, &eventDataSize)
-            
+
             if eventType != 5 {
                 outBool = true
             }

    public func clearRange(start start: AKDuration, duration: AKDuration) {
        if isAVSequencer {
            print("AKSequencer ERROR ! clearRange only work if not isAVSequencer ")
        return }

        for track in tracks {
            track.clearRange(start: start, duration: duration)

            for track in tracks {
                track.setLength(length)
            }

            let size: UInt32 = 0
            var len = length.musicTimeStamp
            var tempoTrack: MusicTrack = nil
