Skip to content

Commit

Permalink
Merge pull request #1673 from seffka/master
Browse files Browse the repository at this point in the history
In conversion from musicXML, allow multiple {Fret/String}Indications for chord.
  • Loading branch information
mscuthbert authored Jan 3, 2024
2 parents 72120cc + 529febb commit 815821a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion music21/musicxml/xmlToM21.py
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,9 @@ 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 815821a

Please sign in to comment.