Files
2026-10-26 22:57:12 +08:00
..
2025-08-08 20:22:05 +08:00
2024-01-28 23:29:39 +08:00
2026-10-26 22:57:12 +08:00
2026-10-26 22:57:12 +08:00

Introduction

This folder contains C# API examples for sherpa-onnx.

Please refer to the documentation https://k2-fsa.github.io/sherpa/onnx/csharp-api/index.html for details.

The TTS examples come in two text-frontend flavors:

  • *-lexicon — a lexicon file, no external phonemizer
  • *-phonemize — the text is phonemized outside of sherpa-onnx with piper-phonemize (see ./offline-tts-phonemize, ./kitten-tts-phonemize, ./kokoro-tts-phonemize)
dotnet new console -n offline-tts-play-lexicon
dotnet sln ./sherpa-onnx.sln add ./offline-tts-play-lexicon
dotnet nuget locals all --list
dotnet nuget locals all --clear