Convert MIDI ticks to quarter-note beats.
Whole tick count, negative before the first downbeat.
Pulses (ticks) per quarter note, e.g. 96, 480, or 960.
The position or length in quarter-note beats.
If ticks is not an integer or ppq is not a positive integer.
ticks
ppq
import { ticksToBeats } from '@libraz/libcantus';ticksToBeats(720, 480); // 1.5 Copy
import { ticksToBeats } from '@libraz/libcantus';ticksToBeats(720, 480); // 1.5
Convert MIDI ticks to quarter-note beats.