MIDI Format is explaine in this website.
The clock unit in the CSV file generated by the midicsv tool is in terms of PPQN Clock.
The rate PPQN ticks is calcuated as follows:
MicrosPerPPQN = MicroTempo/Division
MicroTempo=60,000,000/BPM(Beat Per Minute)
Divison is also called Timebase. It is specified in the midi file header. For hardware Midi equipments, this is a fixed value. For software generated midi files, this usually is also a application-dependent fixed value
No comments:
Post a Comment