Modify tokenizer to parse notes
This commit is contained in:
@@ -47,6 +47,7 @@ class NotePitch(Enum):
|
||||
raise NoteException(f"Note '{string}' does not exist")
|
||||
|
||||
stringToPitch = {
|
||||
'cb': NotePitch.H,
|
||||
'c': NotePitch.C,
|
||||
'c#': NotePitch.CIS,
|
||||
'db': NotePitch.CIS,
|
||||
|
||||
Reference in New Issue
Block a user