Skip to content

Commit

Permalink
In conversion from musicXML, allow multiple FretIndications and Strin…
Browse files Browse the repository at this point in the history
…gIndications for chord.
  • Loading branch information
Vsevolod Eremenko committed Dec 13, 2023
1 parent a938a8c commit f0fc1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music21/musicxml/xmlToM21.py
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,7 @@ def xmlToChord(self, mxNoteList: list[ET.Element]) -> chord.ChordBase:
if type(art) in seenArticulations:
continue
c.articulations.append(art)
if not isinstance(art, articulations.Fingering):
if not isinstance(art, (articulations.Fingering, articulations.StringIndication, articulations.FretIndication)):
seenArticulations.add(type(art))
for exp in n.expressions:
if type(exp) in seenExpressions:
Expand Down

0 comments on commit f0fc1a2

Please sign in to comment.