mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-10-17 16:46:31 +00:00
Merge branch 'master' of https://gitee.com/EillesWan/Musicreater
This commit is contained in:
@@ -22,7 +22,7 @@ The Licensor of Musicreater("this project") is Eilles, bgArray.
|
||||
# 若需转载或借鉴 许可声明请查看仓库目录下的 License.md
|
||||
|
||||
|
||||
__version__ = "2.4.2.2"
|
||||
__version__ = "2.4.2.3"
|
||||
__vername__ = "音符附加信息升级"
|
||||
__author__ = (
|
||||
("金羿", "Eilles"),
|
||||
|
@@ -671,7 +671,7 @@ class MusicSequence:
|
||||
# 音乐名称 music_name 长度最多 63 支持到 31 个中文字符 或 63 个西文字符
|
||||
|
||||
bytes_buffer = (
|
||||
(b"FSQ!" if flowing_codec_support else b"MSQ!")
|
||||
(b"FSQ$" if flowing_codec_support else b"MSQ$")
|
||||
+ (
|
||||
(len(r := self.music_name.encode("GB18030")) << 10) # 音乐名称长度
|
||||
+ round(self.minimum_volume * 1000) # 最小音量
|
||||
|
Reference in New Issue
Block a user