Tonejs/Midi

endOfTrack event should be duration

JackCA opened this issue · 1 comments

Currently, the duration of a track (and a file) are determined by the the last note event's start + duration.

However, there can/should be an endOfTrack event on each track that can take place after the above location.

It looks like there's some checked-in commented-out code that was heading down this track.

Any thoughts on this? I could try and finish it out.

Closed by #123