DeepSpeech VS TTS

Compare DeepSpeech vs TTS and see what are their differences.

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. (by mozilla)

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
DeepSpeech TTS
67 62
24,212 8,784
1.2% 2.0%
0.0 0.0
2 months ago 6 months ago
C++ Jupyter Notebook
Mozilla Public License 2.0 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.

DeepSpeech

Posts with mentions or reviews of DeepSpeech. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • Common Voice
    5 projects | news.ycombinator.com | 5 Dec 2023
  • Ask HN: Speech to text models, are they usable yet?
    2 projects | news.ycombinator.com | 22 Oct 2023
  • Looking to recreate a cool AI assistant project with free tools
    3 projects | /r/selfhosted | 2 Aug 2023
    - [DeepSpeech](https://github.com/mozilla/DeepSpeech) rather than Whisper for offline speech-to-text
    3 projects | /r/techsupport | 2 Aug 2023
    I came across a very interesting [project]( (4) Mckay Wrigley on Twitter: "My goal is to (hopefully!) add my house to the dataset over time so that I have an indoor assistant with knowledge of my surroundings. It’s basically just a slow process of building a good enough dataset. I hacked this together for 2 reasons: 1) It was fun, and I wanted to…" / X ) made by Mckay Wrigley and I was wondering what's the easiest way to implement it using free, open-source software. Here's what he used originally, followed by some open source candidates I'm considering but would love feedback and advice before starting: Original Tools: - YoloV8 does the heavy lifting with the object detection - OpenAI Whisper handles voice - GPT-4 handles the “AI” - Google Custom Search Engine handles web browsing - MacOS/iOS handles streaming the video from my iPhone to my Mac - Python for the rest Open Source Alternatives: - [ OpenCV](https://opencv.org/) instead of YoloV8 for computer vision and object detection - Replacing GPT-4 is still a challenge as I know there are some good open-source LLms like Llama 2, but I don't know how to apply this in the code perhaps in the form of api - [DeepSpeech](https://github.com/mozilla/DeepSpeech) rather than Whisper for offline speech-to-text - [Coqui TTS](https://github.com/coqui-ai/TTS) instead of Whisper for text-to-speech - Browser automation with [Selenium](https://www.selenium.dev/) instead of Google Custom Search - Stream video from phone via RTSP instead of iOS integration - Python for rest of code I'm new to working with tools like OpenCV, DeepSpeech, etc so would love any advice on the best way to replicate the original project in an open source way before I dive in. Are there any good guides or better resources out there? What are some pitfalls to avoid? Any help is much appreciated!
  • Speech-to-Text in Real Time
    1 project | news.ycombinator.com | 16 Jul 2023
  • Linux Mint XFCE
    1 project | /r/linuxbrasil | 29 Apr 2023
    algo assim? https://github.com/mozilla/DeepSpeech
  • Are there any secure and free auto transcription software ?
    2 projects | /r/software | 19 Apr 2023
    If you're not afraid to get a little technical, you could take a look at mozilla/DeepSpeech (installation & usage docs here).
  • 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.
  • Deepspeech /common voice.
    1 project | /r/mozilla | 14 Apr 2023
  • Mozilla Launches Responsible AI Challenge
    2 projects | news.ycombinator.com | 15 Mar 2023
    Mozilla did release DeepSpeech[0] and Firefox Translation[1] (the latter of which they included in Firefox, to offer client-side webpage translations.)

    They definitely have fewer resources than OpenAI, and they do not produce SOTA research (their publications have plummeted to 1/year anyway[2]). So the only way for them to make progress is to seek government grants or make challenges like these.

    This challenge is unlikely to be profitable for the winning team: the expected value of winnings are likely around $1K when taking into account the probability that another team gets a better rank, but ML research projects are often more expensive (recently, Alpaca spent upwards of $600 on computation alone; and of course pretraining large models is much more expensive). So the main gain will be publicity.

    [0]: https://github.com/mozilla/deepspeech

    [1]: https://github.com/mozilla/firefox-translations/

    [2]: https://research.mozilla.org/

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 DeepSpeech and TTS you can also consider the following projects:

Kaldi Speech Recognition Toolkit - kaldi-asr/kaldi is the official location of the Kaldi project.

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

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)

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)

picovoice - On-device voice assistant platform powered by deep learning

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

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

PaddleSpeech - Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.