mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
修复了生成指令出错的问题
This commit is contained in:
parent
9f8694ef14
commit
f08a2ff9be
BIN
bgArrayLib/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
bgArrayLib/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
BIN
bgArrayLib/__pycache__/bpm.cpython-38.pyc
Normal file
BIN
bgArrayLib/__pycache__/bpm.cpython-38.pyc
Normal file
Binary file not shown.
BIN
bgArrayLib/__pycache__/compute.cpython-38.pyc
Normal file
BIN
bgArrayLib/__pycache__/compute.cpython-38.pyc
Normal file
Binary file not shown.
BIN
bgArrayLib/__pycache__/reader.cpython-38.pyc
Normal file
BIN
bgArrayLib/__pycache__/reader.cpython-38.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -25,7 +25,7 @@ def hans2pinyin(hans, style=3):
|
||||
return final
|
||||
|
||||
|
||||
def classList_conversion_SinglePlayer(List: list, ScoreboardName: str, Instrument: str, playerSelection: str = '',
|
||||
def classList_conversion_SinglePlayer(List: list, ScoreboardName: str, playerSelection: str = '',
|
||||
isProsess: bool = False) -> list:
|
||||
from bgArrayLib.compute import round_up
|
||||
commands = []
|
||||
@ -43,7 +43,7 @@ def classList_conversion_SinglePlayer(List: list, ScoreboardName: str, Instrumen
|
||||
commands.append(
|
||||
f"execute @a{playerSelection} ~ ~ ~ execute @s[scores={{{ScoreboardName}="
|
||||
f"{str(round_up(i.time_position)).replace('.0', '')}}}] ~ ~{127 - i.velocity} "
|
||||
f"~ playsound {Instrument} @s ~ ~ ~ 1000 {i.pitch} 1000\n")
|
||||
f"~ playsound {i.instrument} @s ~ ~ ~ 1000 {i.pitch} 1000\n")
|
||||
if isProsess:
|
||||
commands.append(
|
||||
f"execute @a{playerSelection} ~ ~ ~ execute @s[scores={{{ScoreboardName}="
|
||||
|
@ -10,27 +10,35 @@ Copyright © W-YI 2022
|
||||
1.可以导出自定义的结构文件用于存储要导入地图中的结构
|
||||
2.进度条
|
||||
3.可以将音乐写入音符盒(红乐)
|
||||
4.更换tk库为briefcase库,支持安卓系统
|
||||
|
||||
5.支持自动给音符盒绑定更多的音色
|
||||
6.可以由.schematic文件导入地图,亦可反向处理
|
||||
7.支持自定义指令方块区域的长宽高等
|
||||
|
||||
8.支持自定义创建websockeet服务器播放音乐(感谢由 Fuckcraft <https://github.com/fuckcraft> “鸣凤鸽子”等 带来的我的世界websocket服务器功能)
|
||||
9.支持使用红石播放指令音乐
|
||||
9.支持使用红石播放音乐
|
||||
10.支持采用延时的播放器
|
||||
11.支持使用bdx导出结构
|
||||
12.支持采用tp的方法播放
|
||||
13.支持识别曲谱图片解析音乐
|
||||
14.支持使用瀑布流的方式播放音乐
|
||||
15.帮助菜单
|
||||
16.多语言
|
||||
17.支持自动搜寻地图目录位置(网易&微软)
|
||||
|
||||
|
||||
17.支持自动搜寻地图目录位置(网易&微软)
|
||||
++++++
|
||||
4.修改UI界面使之适应当前功能
|
||||
7.制作软件下载器使用户更直观地操作
|
||||
15.
|
||||
16.
|
||||
|
||||
|
||||
|
||||
|
||||
新更新日志
|
||||
|
||||
Delta 0.1.5
|
||||
2022 2 1 农历大年初一
|
||||
1.修复所有用户在使用过程中可遇到的bug
|
||||
|
||||
Delta 0.1.1
|
||||
2022 1 30
|
||||
1.新增设置调用方案,但未使用
|
||||
|
BIN
测试用/国歌2.msctn
Normal file
BIN
测试用/国歌2.msctn
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user