File tree Expand file tree Collapse file tree 8 files changed +80
-0
lines changed Expand file tree Collapse file tree 8 files changed +80
-0
lines changed Original file line number Diff line number Diff line change
1
+ # NbsConvertor
2
+
3
+ 将 nbs 文件输出为 json 格式的小程序
4
+
5
+ ## 使用
6
+
7
+ ### 命令行参数
8
+
9
+ - ` -f ` / ` --file ` - 指定输入 nbs 文件
10
+ - ` -o ` / ` -out ` - _ (可选)_ 指定输出文件(文件夹必须先创建好),如果不指定,结果将会打印到标准输出
Original file line number Diff line number Diff line change
1
+ <!-- markdownlint-disable MD033 -->
2
+
3
+ # NbsPlayer
4
+
5
+ BDS 中的 NBS 音乐播放器!
6
+ 下载插件请去[ Releases] ( https://github.com/lgc2333/LLSEPlugins/releases )
7
+
8
+ ## 介绍
9
+
10
+ ### 运作原理
11
+
12
+ 1 . 插件通过[ NbsConvertor] ( NbsConvertor ) 将 nbs 文件转换成 json 格式存储在 ` cache ` 目录中
13
+ 2 . 读取 json 数据,通过` setInterval ` 设置循环执行函数来对时并且根据已播放时间根据 json 内的各数据生成` playsound ` 命令并执行
14
+
15
+ ### 特点
16
+
17
+ - 支持 单音符/轨道/音色 的音高、音量等设置
18
+ - 支持自定义音色
19
+ - 请将自定义音色的名称设置为` playsound ` 命令可以播放的声音 ID,例:` dig.stone ` ,支持资源包自定义的音色
20
+
21
+ ### 缺点
22
+
23
+ - 播放效果不好,会有小卡顿(对不上拍)(脚本语言 / 调用 BDS 执行命令效率问题?)
24
+ - 无法实现左右声道偏离(` playsound ` 局限)
25
+ - 稍微动一下视角声道就会偏(` playsound ` 局限)
26
+ - 插件没有经过深度测试,可能会有小 bug
27
+
28
+ ### 截图
29
+
30
+ ![ 1] ( readme/1.png )
31
+ ![ 2] ( readme/2.png )
32
+ ![ 3] ( readme/3.png )
33
+ ![ 4] ( readme/4.png )
34
+ ![ 5] ( readme/5.png )
35
+
36
+ ## 安装
37
+
38
+ 请去 [ Releases] ( https://github.com/lgc2333/LLSEPlugins/releases ) 下载最新版插件附件,解压到 bds 的插件目录
39
+
40
+ ## 配置
41
+
42
+ 直接将 nbs 文件放置在插件数据目录即可,注意文件名不要有特殊字符、中文等,否则可能会出错
43
+ 例图:
44
+ ![ 6] ( readme/6.png )
45
+
46
+ ## 配置文件
47
+
48
+ 插件没有配置文件
49
+
50
+ ## 联系我
51
+
52
+ QQ:3076823485
53
+ 吹水群:[ 1105946125] ( https://jq.qq.com/?_wv=1027&k=Z3n1MpEp )
54
+
55
+
56
+ ## 赞助
57
+
58
+ 感谢大家的赞助!你们的赞助将是我继续创作的动力!
59
+
60
+ - [ 爱发电] ( https://afdian.net/@lgc2333 )
61
+ - <details >
62
+ <summary >赞助二维码(点击展开)</summary >
63
+
64
+ ![ 讨饭] ( https://raw.githubusercontents.com/lgc2333/ShigureBotMenu/master/src/imgs/sponsor.png )
65
+
66
+ </details >
67
+
68
+ ## 更新日志
69
+
70
+ 暂无
You can’t perform that action at this time.
0 commit comments