mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-13 10:57:43 +08:00
little update
This commit is contained in:
parent
c419adc274
commit
15cd0ad777
@ -207,7 +207,7 @@ class midiConvert:
|
|||||||
try:
|
try:
|
||||||
return percussion_instrument_list[instrumentID]
|
return percussion_instrument_list[instrumentID]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print("WARN", "无法使用打击乐器列表库,可能是不支持当前环境,打击乐器使用Dislink算法代替。")
|
print("WARN", "无法使用打击乐器列表库,或者使用了不存在的乐器,打击乐器使用Dislink算法代替。{instrumentID}")
|
||||||
if instrumentID == 55:
|
if instrumentID == 55:
|
||||||
return "note.cow_bell", 5
|
return "note.cow_bell", 5
|
||||||
elif instrumentID in [41, 43, 45]:
|
elif instrumentID in [41, 43, 45]:
|
||||||
|
Loading…
Reference in New Issue
Block a user