How to get PPQ (pulse per quarter note) of midi file currently playing? #1112
-
Hi, I have tried 2 approaches:
`
` But this returns BPM=120 (default) and total_ticks = 0
How can I get PPQ of file that is currently playing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Ok, my above program does not work for 2 reasons:
This only works if the duration of the midi file is 1 minute... which is never the case! Unfortunately there is no call to get PPQ of MIDI file that is currently playing; 2 possibilities from there:
|
Beta Was this translation helpful? Give feedback.
-
See my PR #1220 which should solve the issue. |
Beta Was this translation helpful? Give feedback.
See my PR #1220 which should solve the issue.