o
    0¢ÄiÔ  ã                   @  sp   d Z ddlmZ ddlZddlmZmZmZmZ ddl	m
Z
mZ ddlmZ dZg d	¢Ze e¡ e ¡ ¡ dS )
uÝ  Supertonic â€” Lightning Fast, On-Device TTS.

Supertonic is a high-performance, on-device text-to-speech system powered by
ONNX Runtime. It delivers state-of-the-art speech synthesis with unprecedented
speed and efficiency.

Supertonic-2 supports multilingual synthesis with 5 languages:
- English (en)
- Korean (ko)
- Spanish (es)
- Portuguese (pt)
- French (fr)

Example:
    ```python
    from supertonic import TTS

    tts = TTS()
    style = tts.get_voice_style("M1")

    # English (default)
    wav, duration = tts.synthesize("Welcome to Supertonic!", voice_style=style, lang="en")

    # Korean
    wav_ko, _ = tts.synthesize("ì•ˆë…•í•˜ì„¸ìš”!", voice_style=style, lang="ko")

    tts.save_audio(wav, "output.wav")
    ```
é    )ÚannotationsNé   )ÚAVAILABLE_LANGUAGESÚAVAILABLE_MODELSÚDEFAULT_LANGUAGEÚDEFAULT_MODEL)ÚStyleÚUnicodeProcessor)ÚTTSz1.1.2)r
   r   r	   r   r   r   r   Ú__version__)Ú__doc__Ú
__future__r   ÚloggingÚconfigr   r   r   r   Úcorer   r	   Zpipeliner
   r   Ú__all__Ú	getLoggerÚ__name__Ú
addHandlerÚNullHandler© r   r   úM/home/kim/smarthome/.venv/lib/python3.10/site-packages/supertonic/__init__.pyÚ<module>   s    