Use the high-level pyopenjtalk API
masterThe pyopenjtalk module provides a high-level functional interface for text processing and waveform synthesis. Most common tasks can be performed using these top-level functions, which internally manage global instances of pyopenjtalk.openjtalk.OpenJTalk and pyopenjtalk.htsengine.HTSEngine for ease of use.
Key high-level functions include:
tts: Performs Text-to-Speech synthesis.g2p: Performs Grapheme-to-Phoneme conversion.extract_fullcontext: Extracts full context information from text.synthesize: Synthesizes audio from text.