mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-02-07 11:26:30 +08:00
如改
This commit is contained in:
parent
041c64ff65
commit
a4565b8529
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,6 +21,7 @@ RES.txt
|
||||
/MSCT_Packer.py
|
||||
/Packer/*.MPK
|
||||
/Packer/checksum.txt
|
||||
/bgArrayLib
|
||||
|
||||
# Byte-compiled / optimized
|
||||
__pycache__/
|
||||
|
@ -17,8 +17,8 @@ Terms & Conditions: License.md in the root directory
|
||||
# 若需转载或借鉴 许可声明请查看仓库目录下的 License.md
|
||||
|
||||
|
||||
__version__ = "1.7.3"
|
||||
__vername__ = "功能结构化"
|
||||
__version__ = "1.7.4"
|
||||
__vername__ = "部分音色更新"
|
||||
__author__ = (
|
||||
("金羿", "Eilles Wan"),
|
||||
("诸葛亮与八卦阵", "bgArray"),
|
||||
|
@ -269,18 +269,18 @@ MIDI_PITCHED_NOTE_NAME_TABLE: Dict[int, Tuple[str, str]] = {
|
||||
78: ("尺八", "Shakuhachi"),
|
||||
79: ("哨子", "Whistle"),
|
||||
80: ("陶笛", "Ocarina"),
|
||||
81: ("方波", "Lead 1 (square)"),
|
||||
82: ("锯齿波", "Lead 2 (sawtooth)"),
|
||||
81: ("合成方波", "Lead 1 (square)"),
|
||||
82: ("锯齿波音", "Lead 2 (sawtooth)"),
|
||||
83: ("汽笛风琴", "Lead 3 (calliope)"),
|
||||
84: ("合成吹管", "Lead 4 (chiff)"),
|
||||
85: ("合成电吉他", "Lead 5 (charang)"),
|
||||
86: ("人声键盘", "Lead 6 (voice)"),
|
||||
87: ("五度音", "Lead 7 (fifths)"),
|
||||
88: ("低音+主音", "Lead 8 (bass+lead)"),
|
||||
89: ("新纪元", "Pad 1 (new age)"),
|
||||
88: ("低音与主音", "Lead 8 (bass+lead)"),
|
||||
89: ("新纪", "Pad 1 (new age)"),
|
||||
90: ("暖温", "Pad 2 (warm)"),
|
||||
91: ("复合成音", "Pad 3 (polysynth)"),
|
||||
92: ("人声合唱", "Pad 4 (choir)"),
|
||||
91: ("复音", "Pad 3 (polysynth)"),
|
||||
92: ("合声", "Pad 4 (choir)"),
|
||||
93: ("弓弦", "Pad 5 (bowed)"),
|
||||
94: ("银铃", "Pad 6 (metallic)"),
|
||||
95: ("荣光", "Pad 7 (halo)"),
|
||||
@ -338,7 +338,7 @@ MIDI_PERCUSSION_NOTE_NAME_TABLE: Dict[int, Tuple[str, str]] = {
|
||||
49: ("强音钹1", "Crash Cymbal 1"),
|
||||
50: ("高桶鼓", "High Tom"),
|
||||
51: ("打点钹1", "Ride Cymbal 1"),
|
||||
52: ("钹", "Chinese Cymbal"),
|
||||
52: ("铙钹", "Chinese Cymbal"),
|
||||
53: ("圆铃", "Ride Bell"),
|
||||
54: ("铃鼓", "Tambourine"),
|
||||
55: ("小钹铜钹", "Splash Cymbal"),
|
||||
@ -356,7 +356,7 @@ MIDI_PERCUSSION_NOTE_NAME_TABLE: Dict[int, Tuple[str, str]] = {
|
||||
67: ("高音阿哥哥", "High Agogo"),
|
||||
68: ("低音阿哥哥", "Low Agogo"),
|
||||
69: ("串珠", "Cabasa"),
|
||||
70: ("沙铃", "Maracas"),
|
||||
70: ("沙槌", "Maracas"),
|
||||
71: ("短口哨", "Short Whistle"),
|
||||
72: ("长口哨", "Long Whistle"),
|
||||
73: ("短刮壶", "Short Guiro"),
|
||||
@ -610,7 +610,7 @@ MM_CLASSIC_PERCUSSION_INSTRUMENT_TABLE: Dict[int, Tuple[str, int]] = {
|
||||
67: ("note.bell", 4),
|
||||
68: ("note.hat", -1),
|
||||
69: ("note.hat", -1),
|
||||
70: ("note.flute", 5),
|
||||
70: ("note.snare", -1),
|
||||
71: ("note.flute", 5),
|
||||
72: ("note.hat", -1),
|
||||
73: ("note.hat", -1),
|
||||
@ -796,7 +796,7 @@ MM_TOUCH_PERCUSSION_INSTRUMENT_TABLE: Dict[int, Tuple[str, int]] = {
|
||||
67: ("note.bell", 4),
|
||||
68: ("note.hat", -1),
|
||||
69: ("note.hat", -1),
|
||||
70: ("note.flute", 5),
|
||||
70: ("note.snare", -1),
|
||||
71: ("note.flute", 5),
|
||||
72: ("note.hat", -1),
|
||||
73: ("note.hat", -1),
|
||||
|
@ -42,7 +42,7 @@ import dill
|
||||
import brotli
|
||||
|
||||
|
||||
def enpack_llc_pack(sth, to_dist: str):
|
||||
def enpack_msct_pack(sth, to_dist: str):
|
||||
packing_bytes = brotli.compress(
|
||||
dill.dumps(
|
||||
sth,
|
||||
@ -59,12 +59,12 @@ def enpack_llc_pack(sth, to_dist: str):
|
||||
|
||||
with open("./Packer/checksum.txt", "w", encoding="utf-8") as f:
|
||||
f.write("MSCT_MAIN:\n")
|
||||
f.write(enpack_llc_pack(MSCT_MAIN, "./Packer/MSCT_MAIN.MPK").hexdigest())
|
||||
f.write(enpack_msct_pack(MSCT_MAIN, "./Packer/MSCT_MAIN.MPK").hexdigest())
|
||||
f.write("\nMSCT_PLUGIN:\n")
|
||||
f.write(enpack_llc_pack(MSCT_PLUGIN, "./Packer/MSCT_PLUGIN.MPK").hexdigest())
|
||||
f.write(enpack_msct_pack(MSCT_PLUGIN, "./Packer/MSCT_PLUGIN.MPK").hexdigest())
|
||||
f.write("\nMSCT_PLUGIN_FUNCTION:\n")
|
||||
f.write(
|
||||
enpack_llc_pack(
|
||||
enpack_msct_pack(
|
||||
MSCT_PLUGIN_FUNCTION, "./Packer/MSCT_PLUGIN_FUNCTION.MPK"
|
||||
).hexdigest()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user