pub fn event_ticks(deltas: &[Option<u64>]) -> Vec<(u64, usize)>Expand description
Each event paired with the tick it falls on, from a list of delta times
(Some) and events (None): music21’s getTimeForEvents. An event
counts only right after a delta time; anything out of that order is
passed over. The answer is each event’s tick and its place in the list.