From 150a9ce9be8e499d9d7dfd84be25e99dada66176 Mon Sep 17 00:00:00 2001 From: Tim Beyer <35711942+TimFelixBeyer@users.noreply.github.com> Date: Tue, 26 Mar 2024 01:00:36 +0100 Subject: [PATCH 1/2] Add 'fa up' notehead type --- music21/note.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/music21/note.py b/music21/note.py index 11946ab51..b8b7ebc0e 100644 --- a/music21/note.py +++ b/music21/note.py @@ -59,6 +59,7 @@ 'diamond', 'do', 'fa', + 'fa up', 'inverted triangle', 'la', 'left triangle', @@ -1132,7 +1133,7 @@ def notehead(self) -> str: >>> note.noteheadTypeNames ('arrow down', 'arrow up', 'back slashed', 'circle dot', 'circle-x', 'circled', 'cluster', - 'cross', 'diamond', 'do', 'fa', 'inverted triangle', 'la', 'left triangle', + 'cross', 'diamond', 'do', 'fa', 'fa up', 'inverted triangle', 'la', 'left triangle', 'mi', 'none', 'normal', 'other', 're', 'rectangle', 'slash', 'slashed', 'so', 'square', 'ti', 'triangle', 'x') >>> n = note.Note() From c0e1999501093f114bd4c863de4060757b8de36f Mon Sep 17 00:00:00 2001 From: Tim Beyer <35711942+TimFelixBeyer@users.noreply.github.com> Date: Tue, 26 Mar 2024 01:01:38 +0100 Subject: [PATCH 2/2] fix test --- music21/chord/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/music21/chord/__init__.py b/music21/chord/__init__.py index db050b439..f1a0eb912 100644 --- a/music21/chord/__init__.py +++ b/music21/chord/__init__.py @@ -4247,6 +4247,7 @@ def setNotehead(self, nh, pitchTarget): 'diamond' 'do' 'fa' + 'fa up' 'inverted triangle' 'la' 'left triangle'