pub fn merge_variants(
x: &Stream,
y: &Stream,
variant_name: &str,
) -> Result<Stream>Expand description
Merges another version of a stream into a copy of it as variants named
variant_name: a score part by part (merge_variant_scores), a
stream of measures measure by measure
(merge_variant_measure_streams), or notes and rests of the same
length note by note (merge_variants_equal_duration): music21’s
mergeVariants.
§Errors
As each of those, or a stream none of them merges.