mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-01-31 15:31:55 +08:00
小改example
This commit is contained in:
parent
cb95c51a47
commit
755de846c7
@ -19,6 +19,6 @@ Terms & Conditions: ../License.md
|
||||
|
||||
from .main import *
|
||||
|
||||
__version__ = "0.5.1"
|
||||
__version__ = "0.5.1.1"
|
||||
__all__ = []
|
||||
__author__ = (("金羿", "Eilles Wan"), ("诸葛亮与八卦阵", "bgArray"), ("鸣凤鸽子", "MingFengPigeon"))
|
||||
|
@ -113,7 +113,7 @@ else:
|
||||
if args:
|
||||
prompts.append(args[1](input(args[0])))
|
||||
|
||||
conversion = Musicreater.midiConvert(debug=debug)
|
||||
conversion = Musicreater.midiConvert(debug=debug, enable_old_exe_format=False)
|
||||
|
||||
|
||||
print(f"正在处理 {midi_path} :")
|
||||
@ -123,7 +123,11 @@ if debug:
|
||||
json.dump(conversion.toDICT(), f)
|
||||
f.write(5 * "\n")
|
||||
conversion_result = (
|
||||
conversion.to_mcpack(convert_method, *prompts)
|
||||
(
|
||||
conversion.to_mcpack(convert_method, *prompts)
|
||||
if playerFormat == 1
|
||||
else conversion.to_mcpack_with_delay(convert_method, *prompts)
|
||||
)
|
||||
if fileFormat == 0
|
||||
else (
|
||||
conversion.to_BDX_file(convert_method, *prompts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user