semvec/pypi-packages huggingface dataset:
vogen 0.0.7
An AI based vocal synthesizer implemented in python and onnx, with a music21 interface
License: MIT License
Requires Python: >=3.5.0


# PyVogen
[Github](https://github.com/oxygen-dioxide/vogen) | 
[Gitee](https://gitee.com/oxygendioxide/vogen) | 
[Gitlab](https://gitlab.com/oxygen-dioxide/vogen) | 
[Bitbucket](https://bitbucket.org/oxygendioxide/vogen) |
[Coding](https://oxygen-dioxide.coding.net/public/1/vogen/git/files)

PyVogen是开源歌声合成引擎[Vogen](https://github.com/aqtq314/Vogen.Client)的python实现

本python库依赖以下库：
[wget](http://bitbucket.org/techtonik/python-wget/)
[tqdm](https://tqdm.github.io/)
[numpy](https://numpy.org/) 
[pyworld](https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder)
[jyutping](https://github.com/imdreamrunner/python-jyutping)
[tabulate](https://github.com/astanin/python-tabulate)
[pypinyin](https://pypinyin.readthedocs.io/zh_CN/master/)
[pyperclip](https://github.com/asweigart/pyperclip)
[onnxruntime](https://www.onnxruntime.ai/)
[simpleaudio](https://github.com/hamiltron/py-simple-audio)
[more-itertools](https://more-itertools.readthedocs.io/)

## 安装
```
pip install vogen
```

## 示例

以下是文件读写示例，音频合成等更多示例参见[文档](https://github.com/oxygen-dioxide/pyvogen-docs)

```py
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")
```

# 相关链接
[vogen仓库](https://github.com/aqtq314/Vogen.Client)

[vogen作者的b站空间（vogen试听页面）](https://space.bilibili.com/169955)