Skip to main content

用DiffSinger让bot唱歌

Project description

这个需要配合这个项目使用(DiffSingerMiniEngine

怎么搭? 我只在windows上跑的,欢迎PR()

python -m venv ds
ds\Scripts\activate
git clone https://github.com/zhzhongshi/DiffSingerMiniEngine
cd DiffSingerMiniEngine
# 从release里把模型下下来解压丢进去(
pip install -r requirememts.txt -U
python server.py

然后搭建nb,从nb里把插件跑起来 我默认你会用nb-cli

nb plugin install nonebot-plugin-diffsinger

插件会自动添加到你pyproject.toml里面

你要是打算用pip安装的话

pip install nonebot-plugin-diffsinger

别忘了把"nonebot-plugin-diffsinger"加到pyproject.toml里面的"plugins"里面

测试指令

/diffsinger 120~[
[60,2,"AP"],
[57,2,"ba"],
[59,2,"ni"],
[60,2,"peng"],
[64,2,"zai"],
[62,2,"shou"],
[60,2,"+"],
[62,8,"shang"],
[60,4,"AP"],
[57,2,"he"],
[59,2,"qi"],
[60,12,"le"],
[59,4,"shou"],
[55,16,"zhang"],
[60,4,"AP"]
]|120~[
[60,4,"dao"],
[62,4,"lai"],
[64,4,"mi"],
[65,4,"fa"],
[67,4,"sao"],
[69,4,"la"],
[71,4,"xi"]
]|90~[
[60,4,"dao"],
[62,4,"lai"],
[64,4,"mi"],
[65,4,"fa"],
[67,4,"sao"],
[69,4,"la"],
[71,4,"xi"]
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_diffsinger-0.1.7.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_diffsinger-0.1.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_diffsinger-0.1.7.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_diffsinger-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9c08767b422b460b43261e1ddc8f8c81b743e6f40f2e4f10086940863ad8bcbc
MD5 64720ce8c6a408a7c7ebbb953805e1a4
BLAKE2b-256 6bf5efe75907ef9d18c0fde3c823f88f63aa7ae05ec03cf1533a4b983d23bf29

See more details on using hashes here.

File details

Details for the file nonebot_plugin_diffsinger-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_diffsinger-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 011359bcfa22d56c76dd49d0db82b1654465d161fce341c0b9d3a3920ed21895
MD5 3a21c027fb7428918d58a16e98dbdcfd
BLAKE2b-256 cce23741e9d61131077cf1bc2c49f572716f1f6248f5a077ebd0cf6090e0c681

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page