FoxDot.lib.Extensions.VRender¶
- FoxDot.lib.Extensions.VRender.vrender(notes, *, file: str = 'v1', lyrics: str = 'oo ', dur: list[int | float] | None = None, sex: Literal['male', 'female'] = 'female')[source]¶
The feature basically converts the notes and durations into a MIDI file, then converts it to a musicXML with musescore and the lyrics are added with a python script. Finally it makes a request to sinsy.jp to create the WAV file.
Example:
from .Extensions.VRender import vrender # Import vrender vrender([0,2,0,4], file="wavName", lyrics="hey ho lets go", dur=[1,1,1,1], sex="male") # Generate voice audio file f1 >> loop('wavName', P[4:12], dur=1) # Play it