高精度时间支持,修复TEMPO设置错误的问题

This commit is contained in:
EillesWan 2024-06-11 00:54:53 +08:00
parent bf1b7b99d8
commit f6b884e38f

View File

@ -482,6 +482,8 @@ MM_INSTRUMENT_DEVIATION_TABLE: Dict[str, int] = {
# Midi乐器对MC乐器对照表 # Midi乐器对MC乐器对照表
# “经典”对照表,由 Chalie Ping “查理平” 和 金羿ELS 提供
MM_CLASSIC_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = { MM_CLASSIC_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = {
0: "note.harp", 0: "note.harp",
1: "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] = { MM_TOUCH_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = {
0: "note.harp", 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] = { MM_DISLINK_PITCHED_INSTRUMENT_TABLE: Dict[int, str] = {
0: "note.harp", 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 = { # height2note = {