新增部分可指定的默认值,增加默认乐器替换表

This commit is contained in:
2025-04-15 21:14:38 +08:00
parent 64048a5e31
commit 7a1ca86132
5 changed files with 71 additions and 18 deletions

View File

@@ -123,14 +123,7 @@ msc_cvt = Musicreater.experiment.FutureMidiConvertJavaE.from_midi_file(
input("midi路径"),
play_speed=float(input("播放速度:")),
old_exe_format=True,
note_table_replacement={
"note.iron_xylophone": "note.xylophone",
"note.cow_bell": "note.xylophone",
"note.didgeridoo": "note.guitar",
"note.bit": "note.harp",
"note.banjo": "note.flute",
"note.pling": "note.harp",
},
note_table_replacement=Musicreater.MC_EILLES_RTJE12_INSTRUMENT_REPLACE_TABLE,
# pitched_note_table=Musicreater.MM_NBS_PITCHED_INSTRUMENT_TABLE,
)