An AI based vocal synthesizer implemented in python and onnx, with a music21 interface
Project description
PyVogen
Github | Gitee | Gitlab | Bitbucket | Coding
PyVogen是开源歌声合成引擎Vogen的python实现
本python库依赖以下库:
tqdm numpy pyworld jyutping tabulate pypinyin onnxruntime more-itertools
安装
暂未上架pypi,请自行下载,将vogen文件夹复制到python安装目录下的Lib文件夹下,或使用以下命令安装:
git clone https://github.com/oxygen-dioxide/vogen
cd vogen
python setup.py install
示例
以下是文件读写示例,音频合成等更多示例参见文档
import vogen as vg
#打开文件
vf=vg.openvog("myproject.vog")
# 获取第0乐句的歌词与拼音列表
u=vf.utts[0]
lyrics=[i.lyric for i in u.notes]
roms=[i.rom for i in u.notes]
print(lyrics)
print(roms)
#保存文件
vf.save("myproject2.vog")
相关链接
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
vogen-0.0.4.tar.gz
(124.2 kB
view hashes)
Built Distribution
vogen-0.0.4-py2.py3-none-any.whl
(128.5 kB
view hashes)
Close
Hashes for vogen-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb36afcce4a5496fb86970437b5165bdf5537c428335e22230e96c439f258239 |
|
MD5 | fd9a29ed34aa31bbd05630ae0b0ca4d9 |
|
BLAKE2b-256 | 33da55409cff6eab2d7daaf94806de580690117705c7d6e48b447c2632fcad21 |