葡萄 (putao, grape): Poor man's UTAU.
Project description
葡萄 (putao, grape): Poor man's UTAU
putao is a Python module that allows programmatic creation, editing, and saving of UTAU-style songs.
No more having to wrestle with encoding issues: all filenames use plain ASCII romanization of Japanese syllables!
Inspired by Composite's Bad Apple script.
Why name it putao?
Because python + utau = putao. Conincidentally, it means 'grape' in Chinese.
How it works
putao uses voicebanks, like a normal voice synthesizer.
A voicebank is a regular folder with wav files, and a putao.json config file that maps those wavs to syllables.
The syllables are then pitched using scientific pitch notation and streched according to a duration. The result of this is a lyric. The lyrics can then be joined into a song.
See the examples folder for what a voicebank should look like.
Making a song
Currently, the only way to do this is to use a special markup:
(syllable)<(note),(duration)>
syllable: alphanumerical name of syllable to sing (without spacing)
note: what pitch to sing the syllable at in the format (key)(octave)
where key must be one of c c# d d# e f f# g g# a bb b, and octave is an integer.
The key may be upper or lowercase.
duration: how long to hold the note for as an int/float
i.e
A<c4,0.1>
Todo
- Add midi support
- GUI, like UTAU
- Project-like import/export
Install
pip install putao
On Linux, you may have to install your distro's equivelent of the packages libsndfile1 and sox.
i.e Debian:
sudo apt install libsndfile1 sox
License
MIT.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file putao-0.0.1a0.tar.gz.
File metadata
- Download URL: putao-0.0.1a0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad0d574d9d20c0fd3b638f20f357a52afcb3261e75d164252ec2965d80b01c8d
|
|
| MD5 |
d79216f49a577a9dc962139f65447aa7
|
|
| BLAKE2b-256 |
8fa2b9aabf8c5a538172fc5c1fd677a7ee4dc431eaee0ecac19907999ed71a1d
|
File details
Details for the file putao-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: putao-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d77c5d8f0644ac12244d8b638d0f6a26de29334a22b05ca2f0c5fa0391939cfb
|
|
| MD5 |
bdbe238355fd4b07dba1a5002ee501fa
|
|
| BLAKE2b-256 |
74cf76c52f7799c0816214aac269d27980890362f59549942c32fc721131c4ce
|