 //  Created by Evan Murray on 6/23/20.
 //  Copyright © 2020 AudioKit. All rights reserved.
 //
-
-//TODO: Successfully implement a tempo listener so the tempo automation can be represented in the speed of the playback
 
 //Keep track of the note durations and range for later use in mapping
 

    }
}

//Tried to follow some example code from the MIDI Connection Manager.swift example
//to implement the AKMIDITempoListener
extension AKMIDIFileTrackNoteMap: AKMIDITempoObserver {
    

                    noteNum = Int(data[1])
                    if let prevPosValue = notesInProgress[noteNum]?.0 {
                        notesInProgress[noteNum] = (prevPosValue, eventPosition)
                        let noteTracker = AKMIDINoteDuration(noteOnPosition: notesInProgress[noteNum]!.0, 
                                                             noteOffPosition: notesInProgress[noteNum]!.1, 
                                                             noteNum: noteNum)
                        notesInProgress.removeValue(forKey: noteNum)
                        finalNoteList.append(noteTracker)
                    }
