pub fn duration_of(written: &str) -> Result<Duration>
music21’s setDurationForObject: the length a Dur value gives, with its dots, grace and triplet.
setDurationForObject
Dur
A length music21 does not know.