BogaNet.TTS 1.3.1

There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BogaNet.TTS" Version="1.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BogaNet.TTS --version 1.3.1                
#r "nuget: BogaNet.TTS, 1.3.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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: Main component for TTS-operations.
  • Voice: Model for a voice.
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:

BogaNet.TTS

API:

https://www.crosstales.com/media/data/BogaNet/api/

GitHub:

https://github.com/slaubenberger/BogaNet/

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.4.0 86 8/5/2024
1.3.3 75 7/31/2024
1.3.2 79 7/27/2024
1.3.1 81 7/27/2024
1.3.0 82 7/26/2024
1.2.4 74 7/25/2024
1.2.3 100 7/22/2024
0.9.1 110 7/21/2024
0.9.0 120 7/21/2024

Support for custom voice providers.