craffel/pretty-midi

How to calculate the duration of note like quarter note or full note or half note ?

burcehan opened this issue · 1 comments

Hi:
I found that absolute time was used,for different tempo of MIDI files,how to calculate the duration of note like quarter note or full note or half note?
Thanks for your help

Hi, pretty_midi does not support metrical durations in any straightforward way. Everything is represented in wall-clock time intentionally.