Skip to main content

A simple text-to-speech client using azure TTS API(trial).

Project description

aspeak

A simple text-to-speech client using azure TTS API(trial).

TL;DR: This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you.

Installation

$ pip install aspeak

Usage

usage: aspeak [-h] [-v] [-t [TEXT] | -s [SSML]] [-f FILE] [-o OUTPUT_PATH]

This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you.

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -t [TEXT], --text [TEXT]
                        Text to speak. Left blank when reading from file/stdin.
  -s [SSML], --ssml [SSML]
                        SSML to speak. Left blank when reading from file/stdin.
  -f FILE, --file FILE  Text/SSML file to speak, default to `-`(stdin).
  -o OUTPUT_PATH, --output OUTPUT_PATH
                        Output wav file path

e.g.

$ aspeak -t "Hello, world!" -o output.wav
  • If you don't specify -o, we will use your default speaker.
  • If you don't specify -t or -s, we will read from stdin until EOF.

Project details


Release history Release notifications | RSS feed

This version

0.2.0

Download files

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

Source Distribution

aspeak-0.2.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

aspeak-0.2.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page