 //Keep track of the note durations and range for later use in mapping
 
 public class AKMIDINoteDuration {
-    
     public var noteBeginningTime = 0.0
     public var noteEndTime = 0.0
     public var noteDuration = 0.0
     public var noteNum = 0
     public var noteNumMap = 0
     public var noteRange = 0
-    
     public init(noteOnPosition: Double, noteOffPosition: Double, noteNum: Int) {
         self.noteBeginningTime = noteOnPosition
         self.noteEndTime = noteOffPosition

            return 0
        }
    }
    
    public var hiNote: Int {
        if noteList.count >= 2 {
            return (noteList.max(by: {$0.noteNum < $1.noteNum})?.noteNum)!

        self.noteNum = noteNum
    }
}
//Get the MIDI events which occur inside a MIDI track in a MIDI file
public class AKMIDIFileTrackNoteMap {
    public let midiTrack: AKMIDIFileTrack!
    public let midiFile: AKMIDIFile!
    public let trackNum: Int!
    //AudioKit midi object reference for later implementation with the AKMIDITempoListener
    let midi = AudioKit.midi
    public let tempoListener = AKMIDITempoListener(smoothing: 0.98, bpmHistoryLimit: 1)
    public var loNote: Int {
        if noteList.count >= 2 {
            return (noteList.min(by: {$0.noteNum < $1.noteNum})?.noteNum)!
