Orca Text-to-Speech
Python Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- NVIDIA Jetson Nano
- Raspberry Pi (3, 4, 5)
Requirements
- Picovoice Account & AccessKey
- Python 3.7+
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
Install Python 3 (3.7 or higher).
Install the pvorca Python package using PIP:
Usage
Create an instance of the Orca engine and synthesize speech:
Synthesize speech by calling one of the synthesize
methods:
Free resources used by Orca
:
For more information on our Orca Python SDK, head over to our Orca GitHub repository.
Voices
Orca can synthesize speech with various voices, each of which is characterized by a model file located in the Orca GitHub repository. To create an instance of the engine with a specific voice, use:
and replace ${MODEL_PATH}
with the path to the model file with the desired voice.
Demos
For the Orca Python SDK, we offer a demo application that demonstrates how to use the Text-to-Speech engine.
Setup
Install the pvorcademo Python package using PIP:
This package installs command-line utilities for the Orca Python demos.
Usage
Use the --help
flag to see the usage options for the demos:
To synthesize speech, run the following:
For more information on our Orca demo for Python, head over to our GitHub repository.