Metadata-Version: 1.1
Name: yandex-speech
Version: 0.3
Summary: A library for Yandex speech kit
Home-page: https://github.com/art1415926535/Yandex_speech
Author: Artem Fedotov
Author-email: art1415926535@ya.ru
License: MIT
Description: ============================
        yandex_speech
        ============================
        
        Generation of speech using `Yandex SpeechKit
        <https://tech.yandex.ru/speechkit/>`_.
        SpeechKit Cloud allows you to voice any text in Russian or English.
        You can choose the voice (male or female), tempo and intonation (e.g., joy).
        
        .. image:: https://badge.fury.io/py/yandex_speech.svg
            :target: https://badge.fury.io/py/yandex_speech
        
        .. image:: https://travis-ci.org/art1415926535/Yandex_speech.svg?branch=master
            :target: https://travis-ci.org/art1415926535/Yandex_speech
        
        .. image:: https://landscape.io/github/art1415926535/Yandex_speech/master/landscape.svg?style=flat
            :target: https://landscape.io/github/art1415926535/Yandex_speech/master
        
        Installation
        ------------
        Use ``Pip``, Luke
        
        .. code-block:: bash
        
            $ pip install yandex_speech
        
        Usage
        -----
        .. code-block:: python
        
            from yandex_speech import TTS
            tts = TTS("jane", "mp3", "60589d42-0e42-b742-8942-thekeyisalie")
            tts.generate("РџСЂРёРІРµС‚ РјРёСЂ")
            tss.save()
        
        TTS(speaker, audio_format, key, lang="ruвЂ‘RU", emotion="neutral", speed=1)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        *Required parameters:*
        
        - ``speaker`` - Speaker. Female: "jane", "oksana", "alyss", "omazh". Male: "zahar", "ermil";
        - ``audio_format`` - Audio file format: "mp3", "wav", "opus";
        - ``key`` - `APIвЂ‘key for Yandex speech kit<https://developer.tech.yandex.ru>`_.
        
        *Optional parameters:*
        
        - ``lang`` - Language: "ruвЂ‘RU" (by default), "en-US", "tr-TR", "uk-UK";
        - ``emotion`` - The color of the voice: "neutral" (by default), "evil", "good";
        - ``speed`` - Speech tempo: a value between 0.1 (slowest) to 3.0 (fastest).
        
        
        tts.generate(text)
        ~~~~~~~~~~~~~~~~~~~~~~~
        - ``text`` - Text to speech: "Р·+Р°РјРѕРє" (before the stressed vowel can be put "+"; the restriction on line length: 2000 bytes);
        
        tts.save(path="speech")
        ~~~~~~~~~~~~~~~~~~~~~~~
        - ``path`` (optional) - A path to save file: "test", "dirname/test.mp3", ...;
        Returns the path.
        
        References
        ----------
        `SpeechKit Cloud API
        <https://tech.yandex.ru/speechkit/cloud/doc/intro/overview/concepts/about-docpage/>`_
        
        `Overview technology
        <https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/speechkit-dg-overview-technology-tts-docpage/>`_
        
        `The format of request and response
        <https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/speechkit-dg-tts-docpage/>`_
        
        `SpeechKit Key
        <https://developer.tech.yandex.ru>`_
        
Keywords: yandex speech kit text-to-speech tts
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Russian
Classifier: Natural Language :: English
Classifier: Natural Language :: Turkish
Classifier: Natural Language :: Ukranian
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
