BogaNet.TTS
1.3.1
See the version list below for details.
dotnet add package BogaNet.TTS --version 1.3.1
NuGet\Install-Package BogaNet.TTS -Version 1.3.1
<PackageReference Include="BogaNet.TTS" Version="1.3.1" />
paket add BogaNet.TTS --version 1.3.1
#r "nuget: BogaNet.TTS, 1.3.1"
// Install BogaNet.TTS as a Cake Addin #addin nuget:?package=BogaNet.TTS&version=1.3.1 // Install BogaNet.TTS as a Cake Tool #tool nuget:?package=BogaNet.TTS&version=1.3.1
BogaNet.TTS
Use the built-in Text-To-Speech (TTS) engine under Windows, OSX and Linux. It provides all installed voices and support for SSML. It's also possible to implement your own custom voice provider (e.g. to use other engines like AWS Polly, Azure, Google, ElvenLabs etc.).
Note
The LinuxVoiceProvider uses eSpeak/eSpeak-NG as engine, which is also available for Windows and OSX. Therefore it's possible to take advantage of this engine by installing it and setting the property "UseESpeak" on the Speaker-class to true.
Windows
BogaNet.TTS uses the SAPI-voices, visible by running the following command: %windir%\sysWOW64\speech\SpeechUX\SAPI.cpl
Main classes and example code
Speaker.Instance.Speak("Hello dear user, how are you?"); //talk with the system default voice
var voice = Speaker.Instance.VoiceForCulture("de"); //talk in German
Speaker.Instance.SpeakAsync("Hallo lieber Benutzer, wie geht es dir?", voice);
Nuget:
API:
https://www.crosstales.com/media/data/BogaNet/api/
GitHub:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- BogaNet.Common (>= 1.3.0)
- BogaNet.Encoder (>= 1.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BogaNet.TTS:
Package | Downloads |
---|---|
BogaNet.Avalonia.Browser
Browser-specific helpers for Avalonia development. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Support for custom voice providers.