         }
     }
     
-    public init(enableLooping: Bool) {
-        
-        self.enableLooping = enableLooping
+    public init() {
         
         var result = OSStatus(noErr)
         result = NewMusicSequence(&musicSequence)

                if status != OSStatus(noErr) {
                    print("Error setting loopinfo on track \(status)")
                }
            }
            
            var trackLength: MusicTimeStamp = 0
            var trackLengthSize: UInt32 = 0
            
            MusicSequenceGetIndTrack(sequence, i, &musicTrack)
            MusicTrackGetProperty(musicTrack!, kSequenceTrackProperty_TrackLength, &trackLength, &trackLengthSize)
            
            if sequenceLength < trackLength {
                sequenceLength = trackLength
            }
        }
        

    
    weak public var delegate: MIDIMessageListener?
    
    public var enableLooping = false
    
    public var currentPositionInSeconds: TimeInterval {
        get {
