Skip to content
Branch: master
Find file History
Bert Casper
Latest commit de10a95 Sep 30, 2019

README.md

Text-to-speech (TTS) - Python Samples

This repository includes Python code samples for text-to-speech, a REST endpoint made available through Microsoft Speech Services. Each sample corresponds to a Quickstart activity on docs.microsoft.com:

Prerequisites

Here's what you'll need to run these samples:

  • Your favorite IDE or text editor
  • Python 2.7.x or 3.x
  • An Azure subscription with Speech Services enabled. Get one for free!

Code samples

To use these samples, follow these instructions:

  • Create a new project using your favorite IDE or text editor
  • Copy the code from the sample into a file named TTSSample.py
  • Set your subscription key
  • From the working directory, run: pip install -r requirements.txt
  • Run the sample: python TTSSample.py

Resources

You can’t perform that action at this time.