Problemn with expandRepeats

12 views
Skip to first unread message

Michèle Deneumostier

unread,
May 22, 2024, 3:22:51 AMMay 22
to music21
I have got a verry little and simple score to test music21 (see mew PB.musicxml).

I only want to parse name of parts (A Intro, B Couplet, C Refrain) and their repeats.

So I use expandRepeats but the result is not correct.

From my score I should receive : A Intro, B couplet, B Couplet, C Refrain (B Couplet is repeated as well as some chords inside this part) but here is the result of music21 (see file.xml) part A Intro is repeated.

How can I fix this?

Thanks
file.xml
new PB.musicxml
Reply all
Reply to author
Forward
0 new messages