pub fn offset_ticks(min: FloatType, max: FloatType, step: i64) -> Vec<i64>Expand description
Ticks every step from min to max, rounded outward: music21’s
OffsetAxis.ticks where there are no measures.
use music21::graph::axis::offset_ticks;
assert_eq!(offset_ticks(0.0, 20.0, 10), vec![0, 10, 20]);
assert_eq!(offset_ticks(0.5, 4.5, 2), vec![0, 2, 4]);