Read deepvocal dv file
Project description
dvfile-python
介绍
试图解析Deepvocal dv文件的python库。
由于dv文件为二进制文件,且没有官方文档或解析器,本项目无法保证与deepvocal完美兼容,如遇到文件解析错误欢迎在issue中提出。
安装
pip install dvfile
功能
目前可以解析的内容:
- 曲速标记:位置、曲速
- 节拍标记:位置、每小节拍数、音符分数
- 音轨属性:音轨名、音轨音量
- 区段属性:区段名、区段音源名、起点、长度
- 音符属性:起点、长度、音高、歌词汉字、歌词拼音
目前不能解析的内容:
- 伴奏音轨
- 音轨属性:双声道平衡
- 区段参数:音量、音调、气声、声线
- 音符属性:音素、颤音、滑音
示例
import dvfile as df
#打开dv文件
d=df.opendv("myproject.dv")
#导出为mid文件
d.to_midi_file().save("myproject.mid")
#每个音轨单独导出为ust文件
for (i,t) in enumerate(d.track):
t.to_ust_file().save('myproject{}.ust'.format(i))
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dvfile-0.0.2.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for dvfile-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e3b4222ae7eee7be2884d478d28a9d511a4f4a0f89725ca04a78818597bb1b |
|
MD5 | 8b24c98ab66f39ef136249d286f6878d |
|
BLAKE2b-256 | 7c9d160add3963018622418db00a90871a5ba38a07694035a8c4dfd021f35d4a |