https://github.com/wpcwzy/minepiano
https://github.com/wpcwzy/minepiano
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wpcwzy/minepiano
- Owner: wpcwzy
- Created: 2020-06-26T13:42:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-27T09:57:41.000Z (about 5 years ago)
- Last Synced: 2024-12-27T07:26:36.072Z (6 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minePiano
## 软件功能
配合地毯端假人自动用音符盒弹奏MIDI文件## 依赖
1. [Mido](https://mido.readthedocs.io/en/latest/) MIDI库 安装方法:`pip3 install mido`
2. [TISUnion/PlayerInfoAPI](https://github.com/TISUnion/PlayerInfoAPI) 安装方法:仓库中已自带该文件,如需更新请自行下载替换## 使用
1. 使用 `!!piano load + ` 来加载MIDI文件
2. 使用 `!!piano log + + ` 记录每个音符盒的坐标 `` 的取值请参考 [MIDI音符对应表](https://blog.csdn.net/claroja/article/details/104247327)
3. 使用 `!!piano player + ` 来指定演奏者
4. 站在合适的位置后,使用 `!!piano play` 开始演奏*
教程视频还在咕,剪辑完成后将上传## 注意事项
1. 为防止无意中破坏音符盒,开始演奏后演奏者游戏模式将变为 生存模式
2. 请尽量避免同时演奏两个音符,否则可能影响演奏效果
## TODO
- [x] 解析MIDI文件
- [x] 记录每个音符对应的假人头部偏转角度
- [x] 自动控制假人转头
- [ ] 加入多声部支持