新增批量转换新样例

This commit is contained in:
2022-06-19 02:04:17 +08:00
parent c5a7dfb608
commit 56fb029e75
4 changed files with 70 additions and 24 deletions

View File

@ -88,7 +88,7 @@ if os.path.isdir(midipath):
for i in os.listdir(midipath):
if i.endswith('.mid'):
print(f'正在操作{i}')
convertion.convert(midipath + '/' + i, outpath + '/' + i[:-4] + '.mcpack')
convertion.convert(midipath + '/' + i, outpath + '/' + i[:-4] )
if outFormat == 0:
convertion.tomcpack(
1,