pub fn progression_repeat(
progression: &Staff,
occurrences: usize,
) -> Result<MusicTransform<Staff>, TransformError>Expand description
Repeats a progression back to back while keeping global identity unique.
The first occurrence preserves every original id. Later occurrences derive
note and event ids by appending /repeat/<occurrence> and report every
derivation as MusicTransformChange::RepeatedIdentity. Voice ids remain
stable because each repeated line is still the same logical voice.