From f6b884e38f7b24a7e0a34d76172496e510c8899c Mon Sep 17 00:00:00 2001 From: EillesWan Date: Tue, 11 Jun 2024 00:54:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E7=B2=BE=E5=BA=A6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=94=AF=E6=8C=81=EF=BC=8C=E4=BF=AE=E5=A4=8DTEMPO=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Musicreater/constants.py | 143 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 139 insertions(+), 4 deletions(-) diff --git a/Musicreater/constants.py b/Musicreater/constants.py index e24353b..5d40dcb 100644 --- a/Musicreater/constants.py +++ b/Musicreater/constants.py @@ -482,6 +482,8 @@ MM_INSTRUMENT_DEVIATION_TABLE: Dict[str, int] = { # Midi乐器对MC乐器对照表 +# “经典”对照表,由 Chalie Ping “查理平” 和 金羿ELS 提供 + MM_CLASSIC_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = { 0: "note.harp", 1: "note.harp", @@ -665,8 +667,7 @@ MM_CLASSIC_PERCUSSION_INSTRUMENT_TABLE: Dict[int, str] = { } """“经典”打击乐器对照表""" -# 以下是由 Touch “偷吃” 带来的高准确率音色对照表 -# 包括乐音乐器对照和打击乐器对照 +# Touch “偷吃” 高准确率音色对照表 MM_TOUCH_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = { 0: "note.harp", @@ -851,8 +852,7 @@ MM_TOUCH_PERCUSSION_INSTRUMENT_TABLE: Dict[int, str] = { } """“偷吃”打击乐器对照表""" -# 以下是 Dislink “断联” 的音色对照表 -# 包括乐音乐器对照和打击乐器对照 +# Dislink “断联” 音色对照表 MM_DISLINK_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = { 0: "note.harp", @@ -1037,6 +1037,141 @@ MM_DISLINK_PERCUSSION_INSTRUMENT_TABLE: Dict[int, str] = { } """“断联”打击乐器对照表""" +# Midi音高对MC方块对照表 + +# 金羿ELS 音符方块对照表 + +MN_EILLES_NOTE_TABLE: Dict[int, str] = { + 0: "C", + 1: "C#", + 2: "D", + 3: "D#", + 4: "E", + 5: "F", + 6: "F#", + 7: "G", + 8: "G#", + 9: "A", + 10: "A#", + 11: "B", + 12: "C", + 13: "C#", + 14: "D", + 15: "D#", + 16: "E", + 17: "F", + 18: "F#", + 19: "G", + 20: "G#", + 21: "A", + 22: "A#", + 23: "B", + 24: "C", + 25: "C#", + 26: "D", + 27: "D#", + 28: "E", + 29: "F", + 30: "F#", + 31: "G", + 32: "G#", + 33: "A", + 34: "A#", + 35: "B", + 36: "C", + 37: "C#", + 38: "D", + 39: "D#", + 40: "E", + 41: "F", + 42: "F#", + 43: "G", + 44: "G#", + 45: "A", + 46: "A#", + 47: "B", + 48: "C", + 49: "C#", + 50: "D", + 51: "D#", + 52: "E", + 53: "F", + 54: "F#", + 55: "G", + 56: "G#", + 57: "A", + 58: "A#", + 59: "B", + 60: "C", + 61: "C#", + 62: "D", + 63: "D#", + 64: "E", + 65: "F", + 66: "F#", + 67: "G", + 68: "G#", + 69: "A", + 70: "A#", + 71: "B", + 72: "C", + 73: "C#", + 74: "D", + 75: "D#", + 76: "E", + 77: "F", + 78: "F#", + 79: "G", + 80: "G#", + 81: "A", + 82: "A#", + 83: "B", + 84: "C", + 85: "C#", + 86: "D", + 87: "D#", + 88: "E", + 89: "F", + 90: "F#", + 91: "G", + 92: "G#", + 93: "A", + 94: "A#", + 95: "B", + 96: "C", + 97: "C#", + 98: "D", + 99: "D#", + 100: "E", + 101: "F", + 102: "F#", + 103: "G", + 104: "G#", + 105: "A", + 106: "A#", + 107: "B", + 108: "C", + 109: "C#", + 110: "D", + 111: "D#", + 112: "E", + 113: "F", + 114: "F#", + 115: "G", + 116: "G#", + 117: "A", + 118: "A#", + 119: "B", + 120: "C", + 121: "C#", + 122: "D", + 123: "D#", + 124: "E", + 125: "F", + 126: "F#", + 127: "G", +} + # 即将启用 # height2note = {