Metadata-Version: 2.1
Name: vogen
Version: 0.0.5
Summary: An AI based vocal synthesizer implemented in python and onnx, with a music21 interface
Home-page: https://github.com/oxygen-dioxide/vogen
Author: oxygen dioxide
Author-email: 1463567152@qq.com
License: MIT License
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Multimedia :: Sound/Audio :: MIDI
Classifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.5.0
Description-Content-Type: text/markdown
License-File: LICENSE


# 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/)
[onnxruntime](https://www.onnxruntime.ai/)
[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)

