banner



How To Install Ivona Voices

Ivona, Speak!

Build status Test coverage PyPI version Python versions License

Python script that lets yous easily convert passed text to synthesized audio files, with help of Amazon's IVONA. All you lot need is a pair of keys and this script. Yes, that's literally everything you lot need to never speak again. If that's your affair of course.

If you want to use IVONA Voice communication Deject directly inside your Python project then you should have a look at python-ivona-api, which this script uses in the background.

Installation

From PyPI (recommended):

              $ pip install ivona_speak                          

With git clone:

              $ git clone https://github.com/Pythonity/ivona-speak $ pip install -r ivona-speak/requirements.txt $ cd ivona-speak/bin                          

Usage

              $ ivona-speak --help    Easily convert passed text to synthesized audio files, with help of   Amazon's IVONA. All yous need is a pair of auth keys.    Encounter https://github.com/Pythonity/ivona-speak for more than info.  Options:   --help  Show this message and leave.  Commands:   synthesize*  Synthesize passed text and salvage it every bit an...   list-voices  List bachelor Ivona voices                          

Examples

You tin can provide keys either explicitly:

              $ ivona-speak --admission-key 'YOUR_ACTUAL_ACCESS_KEY' --cloak-and-dagger-key 'YOUR_ACTUAL_SECRET_KEY' list-voices                          

or export them as environment variables:

              $ export IVONA_ACCESS_KEY='...' $ export IVONA_SECRET_KEY='...' $ ivona-speak list-voices                          

The default subcommand is synthesize, so these exercise the same:

              $ ivona-speak synthesize -o hello_world.mp3 'Hello world!' $ ivona-speak -o hello_world.mp3 'Hello world!'                          

I want someone to say 'Hello world!', and say information technology quick:

              $ ivona-speak synthesize -o hello_world.mp3 'Hello world!'                          

She sounds and then nice. I want someone special to respond her:

              $ ivona-speak synthesize -o response.mp3 -n Joey 'How you lot doin?'                          

Tests

Bundle was tested with the aid of py.test and tox on Python ii.vii, iii.4, 3.5 and 3.6 (run across tox.ini).

Code coverage is available at Coveralls.

To run tests yourself you demand to set environment variables with secret and access keys before running tox inside the repository:

$ pip install tox $              export              IVONA_ACCESS_KEY=                '..'                            $              export              IVONA_SECRET_KEY=                '..'                            $ tox

Contributions

Packet source code is available at GitHub.

Experience free to employ, ask, fork, star, report bugs, fix them, suggest enhancements, add together functionality and signal out any mistakes. Thanks!

Authors

Developed and maintained by Pythonity, a group of Python enthusiasts who love open source, have a corking blog and are available for rent.

Written by Paweł Adamczak.

Released under MIT License.

Source: https://github.com/Pythonity/ivona-speak

Posted by: wootencized1957.blogspot.com

0 Response to "How To Install Ivona Voices"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel