pub fn read_measure_line(src: &str) -> Result<MeasureLine>Expand description
A measure line’s parts.
use music21::romantext::tokens::read_measure_line;
let line = read_measure_line("m15a V6 b1.5 V6/5 b2 I b3 viio6")?;
assert_eq!(line.data, "V6 b1.5 V6/5 b2 I b3 viio6");
assert_eq!(line.number, [15]);
assert_eq!(line.repeat_letter, ["a"]);§Errors
A line that starts with no measure tag, or whose tag’s numbers cannot be read.