Modify tokenizer to parse notes

This commit is contained in:
Bartłomiej Pluta
2019-07-05 18:36:12 +02:00
parent ad19e851ec
commit 425d23eb5f
9 changed files with 70 additions and 101 deletions

View File

@@ -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,