espeak-ng VS TTS

Compare espeak-ng vs TTS and see what are their differences.

espeak-ng

eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents. (by espeak-ng)

TTS

:robot: :speech_balloon: Deep learning for Text to Speech (Discussion forum: https://discourse.mozilla.org/c/tts) (by mozilla)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
espeak-ng TTS
25 62
2,858 8,806
5.3% 2.2%
7.2 0.0
6 days ago 6 months ago
C Jupyter Notebook
GNU General Public License v3.0 only Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

espeak-ng

Posts with mentions or reviews of espeak-ng. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-01.
  • IAMA senior javascript dev, ask me anything
    7 projects | /r/learnjavascript | 1 Jul 2023
    I'm skeptical about a senior JavaScript developer claiming to be bored. Nonetheless, let's see. How would you go about modifying [this](ng/blob/master/emscripten/espeakng_glue.idl) IDL file, this C++ glue code, and the relevant Make file to compile eSpeak NG to JavaScript with Emscripten with SSML support enabled?
  • Is there a good text to speech program for linux?
    6 projects | /r/linux | 22 Jun 2023
    eSpeak NG supports running on Linux, BSD, Mac, Android, Windows, has been compiled to WASM with Emscripten. See also espeak and meSpeak.js.
  • Vietnamese Phonology
    1 project | /r/VulgarLang | 22 Jun 2023
    I may have a solution, BUT I'm at an airport right now, so... Perhaps tonight I can give you some ideas. There is a program I used to make a few presets for myself. https://github.com/espeak-ng/espeak-ng/blob/master/docs/languages.md
  • [P] Balacoon: Fastest neural text-to-speech on CPU
    1 project | /r/LanguageTechnology | 15 Apr 2023
    For this one, I used espeak (https://github.com/espeak-ng/espeak-ng) as a text processor. It is almost 17 years old software and is pretty lacking, unfortunately. On the other hand, it's super fast and supports tens of languages. Long story short, punctuation introduces phrase break with a pause of fixed length, and capitalization is ignored.
  • Balacoon: python package for text-to-speech
    4 projects | /r/Python | 13 Apr 2023
    I didnt not release trainy parts to build voices. I am considering, but there is so many packages already (coqui, espnet, piper, nemo, fairseq to name a few) that i focused on usability for now. Support for new languages is a different question. Everyone wants to train fancy neural nets. But support for new language is about writing rules and having language expertise. I did it for English (https://github.com/balacoon/en_us_normalization/tree/c1019cf878aa6baf25d6fff719cf418cca5a3107/production/classify). Doing it for all the other languages would probably take me a lifetime. Other speech synthesis solutions use 17-years old espeak for this purpose (https://github.com/espeak-ng/espeak-ng/blob/master/docs/languages.md). I introduced the fallback to it in Balacoon too. But generally, it is outdated technology and I believe we should do better.
  • Is there a good audio-to-IPA phone app that doesn’t assume a particular language?
    1 project | /r/linguistics | 10 Apr 2023
    espeak-ng works by first converting text to IPA and then pronouncing that. But im not sure im aware of a way to input arbitrary IPA, and also the quality is probably too low for you.
  • I Created A Web Speech API NPM Package Called SpeechKit
    7 projects | /r/javascript | 23 Feb 2023
    There are espeak-ng https://github.com/espeak-ng/espeak-ng and pocketsphinx https://github.com/cmusphinx/pocketsphinx which can be used locally without making external requests.
  • Which languages have readily available IPA equivalents to learn from?
    1 project | /r/linguistics | 5 Feb 2023
    There are automatic tools to convert a written form of a language to IPA, I'm personally aware of espeak-ng, which supports* a lot of languages.
  • Ask HN: Are there any good open source Text-to-Speech tools?
    15 projects | news.ycombinator.com | 1 Jan 2023
    I've had good luck with https://github.com/espeak-ng/espeak-ng (for very specific purposes, and I was willing to wrangle IPA)
  • Node.js Native Messaging host
    5 projects | /r/node | 9 Oct 2022
    Web Speech API does not provide a means to capture audio output of speechSynthesis.speak(new SpeechSynthesis.speak()). Using Native Messaging we start a local server, send input text or SSML to the local server with fetch(), pass the input data to local speech synthesis engine, in this case espeak-ng, get response back as WAV in the browser, which we parse to Float32Array and write to a MediaStreamTrackGenerator which we then output speakers and/or share with peers (https://github.com/guest271314/native-messaging-espeak-ng; https://github.com/espeak-ng/espeak-ng/tree/master/chromium_extension).

TTS

Posts with mentions or reviews of TTS. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Any recommendation for human like voice AI model for conversation AI?
    2 projects | news.ycombinator.com | 4 Jan 2024
    Fast or good, choose one

    Mozilla's TTS is a python package installable with pip and uses cpu or gpu resources to render a choice of voices, they mostly sound natural and this is the good. https://github.com/mozilla/TTS

    Mycroft's mimic3 is the default voice renderer for the Mycroft project that runs on pi hardware and sounds ok-ish, that is the fast. https://github.com/MycroftAI/mimic3

    There are many others but these are the two I use according to if it needs to run on limited hardware or if the cycles fall freely from the sky.

  • Coqui.ai Is Shutting Down
    4 projects | news.ycombinator.com | 3 Jan 2024
    Coqui-ai was a commercial continuation of Mozilla TTS and STT (https://github.com/mozilla/TTS).

    At the time (2018-ish), it was really impressive for on-device voice synthesis (with a quality approaching the Google and Azure cloud-based voice synthesis options) and open source, so a lot of people in the FOSS community were hoping it could be used for a privacy-respecting home assistant, Linux speech synthesis that doesn't suck, etc.

    After Mozilla abandoned the project, Coqui continued development and had some really impressive one-shot voice cloning, but pivoted to marketing speech synthesis for game developers. They were probably having trouble monetizing it, and it doesn't surprise me that they shut down.

    An equivalent project that's still in active development and doing really well is Piper TTS (https://github.com/rhasspy/piper).

  • What self hosted app do you wish existed?
    17 projects | /r/selfhosted | 18 Jun 2023
    An RSS reader that integrates TTS (or TTS)
  • Audio Converter! How to write one in c/c++?
    1 project | /r/AskProgramming | 14 May 2023
    My solution would be to use a speech synthesis library, maybe eSpeak or Festival, just for ease of use; I think they each provide a library that you could use from C or C++ easily. This one from Mozilla is a more modern system with better-quality output, but it looks like it's set up to run through Python, and I haven't looked at it closely enough to see how much work it would be to get it working for you.
  • Web Speech API is (still) broken on Linux circa 2023
    8 projects | /r/javascript | 15 Apr 2023
    There is a lot of TTS and SST development going on (https://github.com/mozilla/TTS; https://github.com/mozilla/DeepSpeech; https://github.com/common-voice/common-voice). That is the only way they work: Contributions from the wild.
  • [P] Balacoon: free-to-use text-to-speech
    3 projects | /r/MachineLearning | 13 Apr 2023
    unfortunately not yet. I need to expand the library of languages and voices. looking around, it seems only Coqui had some traction re Brazilian Portuguese: https://github.com/mozilla/TTS/issues/160. If you foresee wide adoption of the tech for this locale, hit me up with DM
  • Text to speech free
    1 project | /r/software | 9 Apr 2023
    I haven't used it, but there's also mozilla/TTS.
  • Does anyone know how to set up Mozilla TTS to work with firefox's reader view?
    1 project | /r/firefox | 31 Mar 2023
    Mozilla TTS
  • Conteúdo removido do rb que fiz sobre a destruição do Rio Doce 853KM de rio pela Vale e BHP Billings
    1 project | /r/brasilivre | 25 Mar 2023
  • [D] Looking for someone to do a small coding job
    2 projects | /r/MachineLearning | 25 Feb 2023
    Instead, just use Firefox's open-source TTS model: https://github.com/mozilla/TTS

What are some alternatives?

When comparing espeak-ng and TTS you can also consider the following projects:

RHVoice - a free and open source speech synthesizer for Russian and other languages

Real-Time-Voice-Cloning - Clone a voice in 5 seconds to generate arbitrary speech in real-time

TTS - 🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production

TensorFlowTTS - :stuck_out_tongue_closed_eyes: TensorFlowTTS: Real-Time State-of-the-art Speech Synthesis for Tensorflow 2 (supported including English, French, Korean, Chinese, German and Easy to adapt for other languages)

piper - A fast, local neural text to speech system

STT - 🐸STT - The deep learning toolkit for Speech-to-Text. Training and deploying STT models has never been so easy.

scrcpy - Display and control your Android device

DeepSpeech - DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.

aeneas - aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)

NeMo - A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)

SAM - Software Automatic Mouth - Tiny Speech Synthesizer