tick_t MidiTime::ticksPerTact( const TimeSig &sig ) { return DefaultTicksPerTact * sig.numerator() / sig.denominator(); }
tick_t MidiTime::ticksPerBeat( const TimeSig &sig ) const { // (number of ticks per bar) divided by (number of beats per bar) return ticksPerTact(sig) / sig.numerator(); }