Text-To-Speech with MSSpeak
Project description
===============================================
MSSpeak - Microsoft Translator Speak for Python
===============================================
:Author: Arezqui Belaid and Joshua Patten
:Description: Microsoft Translator API module for Python
:Documentation: RTD https://python-msspeak.readthedocs.org
:Contributors: https://github.com/newfies-dialer/python-msspeak/graphs/contributors
:License: MIT
.. image:: https://img.shields.io/travis/newfies-dialer/python-msspeak.svg
:target: https://travis-ci.org/newfies-dialer/python-msspeak
.. image:: https://img.shields.io/pypi/v/python-msspeak.svg
:target: https://pypi-hypernode.com/pypi/python-msspeak
Microsoft Speech Bing Documentation:
https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceOutput
Python Bing Speech
------------------
python-msspeak is a library to produce a text-to-speech file using `Microsoft Cognitive Services`_.
In order to utilize this service you must sign up for Microsoft Translator
service and register an application. More information on creating a Microsoft
account is located at the `getting started with Microsoft Translator API`_ page.
Quickstart
----------
A quick-and-dirty script to utilize the python-msspeak library.
::
import msspeak
subscription_key = 'XXXXXXXXXXXX'
tts_msspeak = msspeak.MSSpeak(subscription_key, '/tmp/')
output_filename = tts_msspeak.speak("This is the text I will speak to you", "en")
print "Recorded TTS to %s" % output_filename
Features
--------
* Produce text to speech in different languages.
Installation
------------
Install, upgrade and uninstall python-msspeak.py with these commands:
::
$ pip install python-msspeak
$ pip install --upgrade python-msspeak
$ pip uninstall python-msspeak
Example usage and output
------------------------
Usage:
::
$ python-msspeak --subscription_key=<subscription_key> -t <text> [-d <directory>] [-url <service_url>] [-h]
Example:
::
$ msspeak --subscription_key=XXXXXXXXX -t "Salut, Vous vous appelez comment?" -l fr
Output :
::
$ Recorded TTS to /tmp/MSTRANSLATE-8895934760117809679-fr.mp3
Feedback
--------
Feedback are more than welcome, post bugs and feature requests on github:
http://github.com/newfies-dialer/python-msspeak/issues
Extra information
-----------------
Newfies-Dialer, an open source Auto Dialer software, uses this module to
synthetize audio files being play to the end-user.
Further information about Newfies-Dialer can be found at
http://www.newfies-dialer.org
This module is built and supported by Star2Billing: http://www.star2billing.com
Source download
---------------
The source code is currently available on github. Fork away!
https://github.com/newfies-dialer/python-msspeak
Other libraries
---------------
* Javascript: https://github.com/nanek/mstranslator
* Python: https://pypi-hypernode.com/pypi/mstranslator
* Python: https://github.com/bebound/Python-Microsoft-Translate-API
.. _Microsoft Cognitive Services: https://www.microsoft.com/cognitive-services/en-us/
.. _getting started with Tet to Speech: https://www.microsoft.com/cognitive-services/en-us/speech-api
TODO
----
- [ ] Rename package to python-bing-speech
History
-------
0.2.0 (2017-02-21)
------------------
* Support switch to Azure portal
1.1.4 (2017-01-20)
------------------
* fix request deps don't force single version
0.1.1 (2015-10-08)
------------------
* Improve Readme and add script to updateversion
0.1.0 (2015-10-06)
---------------------
* First release on PyPI.
MSSpeak - Microsoft Translator Speak for Python
===============================================
:Author: Arezqui Belaid and Joshua Patten
:Description: Microsoft Translator API module for Python
:Documentation: RTD https://python-msspeak.readthedocs.org
:Contributors: https://github.com/newfies-dialer/python-msspeak/graphs/contributors
:License: MIT
.. image:: https://img.shields.io/travis/newfies-dialer/python-msspeak.svg
:target: https://travis-ci.org/newfies-dialer/python-msspeak
.. image:: https://img.shields.io/pypi/v/python-msspeak.svg
:target: https://pypi-hypernode.com/pypi/python-msspeak
Microsoft Speech Bing Documentation:
https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceOutput
Python Bing Speech
------------------
python-msspeak is a library to produce a text-to-speech file using `Microsoft Cognitive Services`_.
In order to utilize this service you must sign up for Microsoft Translator
service and register an application. More information on creating a Microsoft
account is located at the `getting started with Microsoft Translator API`_ page.
Quickstart
----------
A quick-and-dirty script to utilize the python-msspeak library.
::
import msspeak
subscription_key = 'XXXXXXXXXXXX'
tts_msspeak = msspeak.MSSpeak(subscription_key, '/tmp/')
output_filename = tts_msspeak.speak("This is the text I will speak to you", "en")
print "Recorded TTS to %s" % output_filename
Features
--------
* Produce text to speech in different languages.
Installation
------------
Install, upgrade and uninstall python-msspeak.py with these commands:
::
$ pip install python-msspeak
$ pip install --upgrade python-msspeak
$ pip uninstall python-msspeak
Example usage and output
------------------------
Usage:
::
$ python-msspeak --subscription_key=<subscription_key> -t <text> [-d <directory>] [-url <service_url>] [-h]
Example:
::
$ msspeak --subscription_key=XXXXXXXXX -t "Salut, Vous vous appelez comment?" -l fr
Output :
::
$ Recorded TTS to /tmp/MSTRANSLATE-8895934760117809679-fr.mp3
Feedback
--------
Feedback are more than welcome, post bugs and feature requests on github:
http://github.com/newfies-dialer/python-msspeak/issues
Extra information
-----------------
Newfies-Dialer, an open source Auto Dialer software, uses this module to
synthetize audio files being play to the end-user.
Further information about Newfies-Dialer can be found at
http://www.newfies-dialer.org
This module is built and supported by Star2Billing: http://www.star2billing.com
Source download
---------------
The source code is currently available on github. Fork away!
https://github.com/newfies-dialer/python-msspeak
Other libraries
---------------
* Javascript: https://github.com/nanek/mstranslator
* Python: https://pypi-hypernode.com/pypi/mstranslator
* Python: https://github.com/bebound/Python-Microsoft-Translate-API
.. _Microsoft Cognitive Services: https://www.microsoft.com/cognitive-services/en-us/
.. _getting started with Tet to Speech: https://www.microsoft.com/cognitive-services/en-us/speech-api
TODO
----
- [ ] Rename package to python-bing-speech
History
-------
0.2.0 (2017-02-21)
------------------
* Support switch to Azure portal
1.1.4 (2017-01-20)
------------------
* fix request deps don't force single version
0.1.1 (2015-10-08)
------------------
* Improve Readme and add script to updateversion
0.1.0 (2015-10-06)
---------------------
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-msspeak-0.2.0.tar.gz
(17.0 kB
view details)
Built Distribution
python_msspeak-0.2.0-py2.7.egg
(13.1 kB
view details)
File details
Details for the file python-msspeak-0.2.0.tar.gz
.
File metadata
- Download URL: python-msspeak-0.2.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39312f3fcce9f7b39838e1fea65b946ae3ac04845e7594929ab3856f779db257 |
|
MD5 | 5168ea0f604ae313a7265d82a1516a22 |
|
BLAKE2b-256 | f3f1f0689a2cd5727276213ed35eaf49614ba977f7437a3d5b8e1143f07171f7 |
File details
Details for the file python_msspeak-0.2.0-py2.7.egg
.
File metadata
- Download URL: python_msspeak-0.2.0-py2.7.egg
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c061e2769ce9b70df993596a75a0e850d8dee80d0d19daac5d0f7a34599f3fb |
|
MD5 | 34e42686a21c6630142eedbd89c7a728 |
|
BLAKE2b-256 | d1b8a84aa7cf6f0aeb78fa7c5e8465fa6d56b3429dbe3c519bc8d46f43dc1691 |