pysinsy
The pysinsy module.
High-level API
Warning
The use of high-level APIs is not encouraged if you want to get a full control (e.g., using an external dictionary or htsvoice). Please manually instanciate the Sinsy class and use it with your own options.
- pysinsy.synthesize(musicxml_path: str)[source]
Synthesize waveform given muxic XML file
- Parameters
str – music XML path
- Returns
tuple of wav array of type float64 and sampling frequency
- Return type
- Raises
RuntimeError – if fail to synthesize