Cheetah Speech-to-Text
.NET Quick Start
Platforms
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- Raspberry Pi (3, 4, 5)
Requirements
.NET Framework 4.6.1+ / .NET Standard 2.0+ / .NET Core 3.1+:
- Windows (x86_64)
.NET Core 2.0+ / .NET Core 3.1+:
- Linux (x86_64)
- macOS (x86_64)
.NET Core 3.1+:
- Raspberry Pi (3, 4)
.NET 6.0+:
- macOS (arm64)
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
Install .NET.
Install the Cheetah Streaming Speech-to-Text NuGet package in Visual Studio or using the .NET CLI:
Usage
Create an instance of the engine:
Transcribe audio:
Model File
The Cheetah Speech-to-Text .NET SDK comes preloaded with a default English language model (.pv
file).
Default models for other supported languages can be found in the Cheetah Speech-to-Text GitHub repository.
Create custom language models using the Picovoice Console. Here you can train language models with custom vocabulary and boost words in the existing vocabulary.
To switch from the default English model, pass in a .pv
file to the .Create()
constructor:
Demo
For the Cheetah Streaming Speech-to-Text .NET SDK, we offer demo applications that demonstrate how to use the Speech-to-Text engine on real-time audio streams (i.e. microphone input).
Setup
- Clone the Cheetah Streaming Speech-to-Text repository from GitHub:
- Build the demo:
Usage
Use the --help
flag to see the usage options for the demo:
Ensure you have a working microphone connected to your system and run the following command to perform live speech-to-text:
For more information on our Cheetah Streaming Speech-to-Text demos for .NET, head over to our GitHub repository.
Resources
Package
API
GitHub
- Cheetah Streaming Speech-to-Text .NET SDK on GitHub
- Cheetah Streaming Speech-to-Text .NET Demos on GitHub