eSpeak NG Binding
This is a .NET binding library for eSpeak NG, an open-source speech synthesiser. It enables .NET applications to make use of an existing installation of eSpeak NG.
The MainWindowViewModel class demonstrates usage of the library.
Example usage
using ESpeakBinding;
ESpeak.Initialize(AudioOutputType.Playback);
ESpeak.SetVoice("en");
ESpeak.Speak("Hello world!");Installation
This library currently depends on an existing installation of libespeak-ng or libespeak.
Windows
Download and install the latest release of eSpeak NG from that repository's GitHub releases.
If building eSpeak NG from source, install it using the resulting installer.
Ubuntu and derivatives
This library has been tested on Ubuntu 24.04.
Install the espeak-ng and libespeak-ng-dev packages using APT:
sudo apt install espeak libespeak-ng-devIn order to use MBROLA voices with eSpeak NG, you can also install the appropriate MBROLA packages. For example:
sudo apt install mbrola mbrola-en1