更新一下我的言论部分

This commit is contained in:
2022-01-25 15:08:38 +08:00
parent 0e3eb394ab
commit 39148a6c76
3 changed files with 13 additions and 8 deletions

View File

@ -92,9 +92,9 @@ class report:
class version:
libraries = (
'mido', 'amulet', 'amulet-core', 'amulet-nbt', 'piano_transcription_inference', 'pypinyin', 'pyinstaller',
'py7zr',
'websockets', 'torch')
'mido', 'amulet', 'amulet-core', 'amulet-nbt', 'piano_transcription_inference', 'pypinyin',
'pyinstaller','py7zr','websockets', 'torch'
)
"""当前所需库,有一些是开发用的,用户不需要安装"""
version = ('0.0.1', 'Delta',)

View File

@ -151,9 +151,7 @@ def note2webs(Notes: list, Instrument: str, speed: float = 5.0, PlayerSelect: st
j = 1
for i in range(len(Notes)):
await fcwslib.send_command(websocket,
'execute @a' + PlayerSelect + ' ~ ~ ~ playsound ' + Instrument +
' @s ~ ~ ~ 1000 ' + str(
Notes[i][0]) + ' 1000')
f'execute @a{PlayerSelect} ~ ~ ~ playsound {Instrument} @s ~ ~ ~ 1000 {Notes[i][0]} 1000')
if isProsess:
fcwslib.send_command(websocket,
'execute @a' + PlayerSelect + ' ~ ~ ~ title @s actionbar §e▶ 播放中: §a' + str(