         }
         return outBool
     }
-    
+
     /// Convert seconds into AKDuration
     ///
     /// - parameter seconds: time in seconds


        return tempoOut
    }
    
    var isTempoTrackEmpty : Bool {
        var outBool = true
        var iterator: MusicEventIterator = nil
        var tempoTrack: MusicTrack = nil

        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
            }
