Cheetah Speech-to-Text
C Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- Raspberry Pi (3, 4, 5)
Requirements
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
- Clone the repository:
Usage
- Include the public header files (
picovoice.h
andpv_cheetah.h
). - Link the project to an appropriate precompiled library for the target platform and load it.
- Download a custom model from Picovoice Console or the default model.
- Construct the Cheetah Streaming Speech-to-Text object:
- Pass in an audio path to the
pv_cheetah_process
function:
- Release resources explicitly when done with Cheetah Streaming Speech-to-Text:
Demo
For the Cheetah Streaming Speech-to-Text SDK, we offer demo applications that demonstrate how to use the Speech-to-Text engine on real-time audio streams (i.e. microphone input) and audio files.
Setup
- Clone the Cheetah Streaming Speech-to-Text repository from GitHub using HTTPS:
- Build the microphone demo:
Usage
To see the usage options for the demo:
Run the command corresponding to your platform from the root of the repository:
For more information on our Cheetah Streaming Speech-to-Text demos for C, head over to our GitHub repository.