HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mozilla
TTS
Jupyter Notebook2018–2026
mozilla / TTS

TTS

:robot: :speech_balloon: Deep learning for Text to Speech (Discussion forum: https://discourse.mozilla.org/c/tts)

28Distinct people
32Mentions
0Explicit recommenders
10.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

:robot: :speech_balloon: Deep learning for Text to Speech (Discussion forum: https://discourse.mozilla.org/c/tts)

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year32 dated mentions

Observed mentions: 2018-11-19 19:10:53 UTC to 2026-01-13 19:42:31 UTC.

024682018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC624
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC808
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC716
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC413
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC202
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC202

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
TTS: Text-to-Speech for all. TTS is a library for advanced Text-to-Speech generation. It's built on the latest research, was designed to achieve the best trade-off among ease-of-training, speed and quality. TTS comes with pretrained models, tools for measuring dataset quality and already used in 20+ languages for products and research projects. 📢 English Voice Samples and SoundCloud playlist 👨‍🍳 TTS training recipes 📄 Text-to-Speech paper collection 💬 Where to ask questions Please use our dedicated channels for questions and discussion. Help is much more valuable if it's shared publicly, so that more people can benefit from it. Type Platforms 🚨 Bug Reports GitHub Issue Tracker ❔ FAQ TTS/Wiki 🎁 Feature Requests & Ideas GitHub Issue Tracker 👩‍💻 Usage Questions Discourse Forum 🗯 General Discussion Discourse Forum and Matrix Channel 🔗 Links and Resources Type Links 💾 Installation TTS/README.md 👩🏾‍🏫 Tutorials and Examples TTS/Wiki 🚀 Released Models TTS/Wiki 💻 Docker Image Repository by @synesthesiam 🖥️ Demo Server TTS/server 🤖 Running TTS on Terminal TTS/README.md ✨ How to contribute TTS/README.md 🥇 TTS Performance "Mozilla*" and "Judy*" are our models. Details... Features High performance Deep Learning models for Text2Speech tasks. Text2Spec models (Tacotron, Tacotron2, Glow-TTS, SpeedySpeech). Speaker Encoder to compute speaker embeddings efficiently. Vocoder models (MelGAN, Multiband-MelGAN, GAN-TTS, ParallelWaveGAN, WaveGrad, WaveRNN) Fast and efficient model training. Detailed training logs on console and Tensorboard. Support for multi-speaker TTS. Efficient Multi-GPUs training. Ability to convert PyTorch models to Tensorflow 2.0 and TFLite for inference. Released models in PyTorch, Tensorflow and TFLite. Tools to curate Text2Speech datasets underdataset_analysis. Demo server for model testing. Notebooks for extensive model benchmarking. Modular (but not too much) code base enabling easy testing for new ideas. Implemented Models Text-to-Spectrogram Tacotron: paper Tacotron2: paper Glow-TTS: paper Speedy-Speech: paper Attention Methods Guided Attention: paper Forward Backward Decoding: paper Graves Attention: paper Double Decoder Consistency: blog Speaker Encoder GE2E: paper Angular Loss: paper Vocoders MelGAN: paper MultiBandMelGAN: paper ParallelWaveGAN: paper GAN-TTS discriminators: paper WaveRNN: origin WaveGrad: paper You can also help us implement more models. Some TTS related work can be found here. Install TTS TTS supports python >= 3.6, <3.9. If you are only interested in synthesizing speech with the released TTS models, installing from PyPI is the easiest option. pip install TTS If you plan to code or train models, clone TTS and install it locally. git clone https://github.com/mozilla/TTS pip install -e . Directory Structure |- notebooks/ (Jupyter Notebooks for model evaluation, parameter selection and data analysis.) |- utils/ (common utilities.) |- TTS |- bin/ (folder for all the executables.) |- train*.py (train your target model.) |- distribute.py (train your TTS model using Multiple GPUs.) |- compute_statistics.py (compute dataset statistics for normalization.) |- convert*.py (convert target torch model to TF.) |- tts/ (text to speech models) |- layers/ (model layer definitions) |- models/ (model definitions) |- tf/ (Tensorflow 2 utilities and model implementations) |- utils/ (model specific utilities.) |- speaker_encoder/ (Speaker Encoder models.) |- (same) |- vocoder/ (Vocoder models.) |- (same) Sample Model Output Below you see Tacotron model state after 16K iterations with batch-size 32 with LJSpeech dataset. "Recent research at Harvard has shown meditating for as little as 8 weeks can actually increase the grey matter in the parts of the brain responsible for emotional regulation and learning." Audio examples: soundcloud Datasets and Data-Loading TTS provides a generic dataloader easy to use for your custom dataset. You just need to write a simple function to format the dataset. Check datasets/preprocess.py to see some examples. After that, you need to set dataset fields in config.json. Some of the public datasets that we successfully applied TTS: LJ Speech Nancy TWEB M-AI-Labs LibriTTS Spanish - thx! @carlfm01 Example: Synthesizing Speech on Terminal Using the Released Models. After the installation, TTS provides a CLI interface for synthesizing speech using pre-trained models. You can either use your own model or the release models under the TTS project. Listing released TTS models. tts --list_models Run a tts and a vocoder model from the released model list. (Simply copy and paste the full model names from the list as arguments for the command below.) tts --text "Text for TTS" \ --model_name "<type>/<language>/<dataset>/<model_name>" \ --vocoder_name "<type>/<language>/<dataset>/<model_name>" \ --out_path folder/to/save/output/ Run your own TTS model (Using Griffin-Lim Vocoder) tts --text "Text for TTS" \ --model_path path/to/model.pth.tar \ --config_path path/to/config.json \ --out_path output/path/speech.wav Run your own TTS and Vocoder models tts --text "Text for TTS" \ --model_path path/to/config.json \ --config_path path/to/model.pth.tar \ --out_path output/path/speech.wav \ --vocoder_path path/to/vocoder.pth.tar \ --vocoder_config_path path/to/vocoder_config.json Note: You can use ./TTS/bin/synthesize.py if you prefer running tts from the TTS project folder. Example: Training and Fine-tuning LJ-Speech Dataset Here you can find a CoLab notebook for a hands-on example, training LJSpeech. Or you can manually follow the guideline below. To start with, split metadata.csv into train and validation subsets respectively metadata_train.csv
Read the full README on GitHub

What Hacker News says

32 sources
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).
In Coqui.ai Is Shutting Down
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.
In Any recommendation for human like voice AI model for conversation AI?
Not sure about OP but I just implemented this in my Hacker News android client (thanks for the idea OP). This is how I implemented it. I had already achieved article to "reader mode" extraction by heavily customizing the Kotlin port of Mozilla‘s Readability: https://github.com/dankito/Readability4J From the extracted "reader mode" text, I had to do further extraction to get rid of things like image captions, author names, article publish timestamps etc. Also links had to be removed to not let the TTS engine speaking out links. Then I pass the text via Android's TextToSpeech library and it works very well: fun trySpeaking(str:String){ fun speak(){ tts?.speak(str, TextToSpeech.QUEUE_FLUSH, null, null) } tts?.also { it.stop() speak() } ?: run { tts
Read the rest
= TextToSpeech(appContext) { status -> println("Speak: $status") if (status == TextToSpeech.SUCCESS) { speak() } }.apply { language = Locale.US } } } If someone wants to do a tl;dr on the article text, they could pass it through SMMRY api (which the Reddit's TL;DR bot uses): https://smmry.com On Desktop, one can do text to speech conversion using mozilla TTS: https://github.com/mozilla/TTS Or Amazon Polly: https://aws.amazon.com/polly/ For anyone wanting to give it a try, this "article to audio" will be available in tomorrow's update in my app. The reader mode is already available: https://play.google.com/store/apps/details?id=com.pranapps.h... Full disclaimer: I am the developer of the app and the Android version is brand new (released at 4am this morning).
In Show HN: Instantly listen to any URL
Mozilla TTS is a great open source speech generator that uses state of the art ML models. https://github.com/mozilla/TTS If you need good TTS, this is it. It sounds as good as Google, Apple, or Amazon products, if you have a good data set. The pre trained models are decent enough for real use cases. Datasets are the problem. Quality data is expensive. It takes about 24 hours of aligned and annotated quality voice samples to make a model. The most common "open" dataset is LJSpeech. It's kinda noisy and recorded with a bad mic. And that greatly degrades quality of generated audio. It's still miles better than anything 5+ years ago, but has a metallic quality. If anyone is interested, you can record your own voice to make a model for Mozilla TTS. What isn't talked about, is that modern ML voice models aren't synthetic voices, they're audio
Read the rest
deepfakes. Clones. We're talking to the point your friends couldn't tell if it was you or the model on the phone. Some people might find that scary but I think it's incredibly cool. If you build a great quality model for Mozilla TTS your voice can outlive you.
In Mozilla partners with Nvidia to democratize and diversify voice technology

Showing the 15 most recent of 32 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.