diff --git a/Musicreater/constants.py b/Musicreater/constants.py index 59b6ebe..3e1b98a 100644 --- a/Musicreater/constants.py +++ b/Musicreater/constants.py @@ -36,10 +36,8 @@ z # Midi用对照表 - - MIDI_PITCH_NAME_TABLE: Dict[int, str] = { - 0: "C", + 0: "C", # Midi 最低,C-1 1: "C#", 2: "D", 3: "D#", @@ -51,7 +49,7 @@ MIDI_PITCH_NAME_TABLE: Dict[int, str] = { 9: "A", 10: "A#", 11: "B", - 12: "C", + 12: "C", # C0 13: "C#", 14: "D", 15: "D#", @@ -60,10 +58,10 @@ MIDI_PITCH_NAME_TABLE: Dict[int, str] = { 18: "F#", 19: "G", 20: "G#", - 21: "A", + 21: "A", # 钢琴最低,A0 22: "A#", 23: "B", - 24: "C", + 24: "C", # C1 25: "C#", 26: "D", 27: "D#", @@ -99,7 +97,7 @@ MIDI_PITCH_NAME_TABLE: Dict[int, str] = { 57: "A", 58: "A#", 59: "B", - 60: "C", + 60: "C", # 钢琴中央 C,C4 61: "C#", 62: "D", 63: "D#", @@ -147,7 +145,7 @@ MIDI_PITCH_NAME_TABLE: Dict[int, str] = { 105: "A", 106: "A#", 107: "B", - 108: "C", + 108: "C", # 钢琴最高,C8 109: "C#", 110: "D", 111: "D#", @@ -166,10 +164,11 @@ MIDI_PITCH_NAME_TABLE: Dict[int, str] = { 124: "E", 125: "F", 126: "F#", - 127: "G", + 127: "G", # G9 } """Midi音高名称对照表""" + MIDI_PITCHED_NOTE_NAME_GROUP: Dict[int, Tuple[str, str]] = { 1: ("钢琴", "Piano"), 9: ("半音阶打击乐器", "Chromatic Percussion"), @@ -516,7 +515,6 @@ MM_INSTRUMENT_DEVIATION_TABLE: Dict[str, int] = { """ - # Midi音高对MC方块对照表 # 金羿ELS 音符方块对照表