Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A library for Yandex speech kit

Project Description

Generation of speech using Yandex SpeechKit.

  1. Import module

    from yandex_speech import tts

  2. Call a function

    tts.generate_voice("Привет", "mp3", "jane", "60589d42-0e42-b742-8942-thekeyisalie")

    Required parameters:

    • text - Text to speech: “Р·+амок” (before the stressed vowel can be put “+”; the restriction on line length: 2000 bytes);
    • extension - Audio file format: “mp3”, “wav”, “opus”;
    • speaker - Speaker
      • female: “jane”, “oksana”, “alyss”, “omazh”;
      • male: “zahar”, “ermil”;
    • key - API‑key.

    Optional parameters:

    • lang - Language: “ru‑RU”, “en-US”, “tr-TR”, “uk-UK”;
    • path - A path to save file: “test”, “dirname/test”, “test.mp3”, “dirname/test.mp3”;
    • emotion - The color of the voice: “neutral” (by default), “evil”, “good”;
    • speed - Speech tempo: a value between 0.1 (slowest) to 3.0 (fastest).

    Returns the path.

Release History

Release History

This version
History Node

0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yandex_speech-0.2.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting