Kaldi Speech Recognition Toolkit VS larynx

Compare Kaldi Speech Recognition Toolkit vs larynx and see what are their differences.

larynx

End to end text to speech system using gruut and onnx (by rhasspy)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Kaldi Speech Recognition Toolkit larynx
22 18
13,685 788
1.1% -
7.4 0.0
3 months ago 10 months ago
Shell Python
GNU General Public License v3.0 or later MIT License
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.

Kaldi Speech Recognition Toolkit

Posts with mentions or reviews of Kaldi Speech Recognition Toolkit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Amazon plans to charge for Alexa in June–unless internal conflict delays revamp
    1 project | news.ycombinator.com | 20 Jan 2024
    Yeah, whisper is the closest thing we have, but even it requires more processing power than is present in most of these edge devices in order to feel smooth. I've started a voice interface project on a Raspberry Pi 4, and it takes about 3 seconds to produce a result. That's impressive, but not fast enough for Alexa.

    From what I gather a Pi 5 can do it in 1.5 seconds, which is closer, so I suspect it's only a matter of time before we do have fully local STT running directly on speakers.

    > Probably anathema to the space, but if the devices leaned into the ~five tasks people use them for (timers, weather, todo list?) could probably tighten up the AI models to be more accurate and/or resource efficient.

    Yes, this is the approach taken by a lot of streaming STT systems, like Kaldi [0]. Rather than use a fully capable model, you train a specialized one that knows what kinds of things people are likely to say to it.

    [0] http://kaldi-asr.org/

  • Unsupervised (Semi-Supervised) ASR/STT training recipes
    2 projects | /r/deeplearning | 3 Nov 2023
  • Steve's Explanation of the Viterbi Algorithm
    1 project | news.ycombinator.com | 16 Oct 2023
    You can study CTC in isolation, ignoring all the HMM background. That is how CTC was also originally introduced, by mostly ignoring any of the existing HMM literature. So e.g. look at the original CTC paper. But I think the distill.pub article (https://distill.pub/2017/ctc/) is also good.

    For studying HMMs, any speech recognition lecture should cover that. We teach that at RWTH Aachen University but I don't think there are public recordings. But probably you should find some other lectures online somewhere.

    You also find a lot of tutorials for Kaldi: https://kaldi-asr.org/

    Maybe check this book: https://www.microsoft.com/en-us/research/publication/automat...

    The relation of CTC and HMM becomes intuitively clear once you get the concept of HMMs. Often in terms of speech recognition, it is all formulated as finite state automata (FSA) (or finite state transducer (FST), or weighted FST (WFST)), and the CTC FST just looks a bit different (simpler) than the traditional HMMs, but in all cases, you can think about having states with possible transitions.

    This is all mostly about the modeling. The training is more different. For CTC, you often calculate the log prob of the full sequence over all possible alignments directly, while for HMMs, people often use a fixed alignment, and calculate framewise cross entropy.

    I did some research on the relation of CTC training and HMM training: https://www-i6.informatik.rwth-aachen.de/publications/downlo...

  • [D] What's stopping you from working on speech and voice?
    7 projects | /r/MachineLearning | 30 Jan 2023
    - https://github.com/kaldi-asr/kaldi
  • C++ for machine learning
    2 projects | /r/cscareerquestions | 7 Jan 2023
    Additionally, C++ may be used for extremely high levels of optimization even for cloud-based ML. Dlib and Kaldi are C++ libraries used as dependencies in Python codebases for computer vision and audio processing, for example. So if your application requires you to customize any functions similar to those libraries, then you'll need C++ knowhow.
  • The Advantages and disadvantages of In-House Speech Acknowledgment
    1 project | /r/datatangblogbotshare | 12 Dec 2022
    Frameworks as well as toolkits like Kaldi were at first promoted by the research study area, yet nowadays used by both scientists and also market experts, reduced the access obstacle in the advancement of automatic speech recognition systems. Nonetheless, cutting edge methods need big speech data readies to achieve a usable system.
  • xbp-src to only cross compile 32-bit
    2 projects | /r/voidlinux | 21 Nov 2022
    Hello. I'm trying to package the openfst library (here)[https://github.com/void-linux/void-packages/pull/39015] but a developer says 32-bit must be cross compiled from 64-bit. I see xbps-src has a nocross option, but I don't see a way to only cross compile. What do you think I should do? I have currently limited the archs to 64-bit ones. Here's my issue with the developer's response: https://github.com/kaldi-asr/kaldi/issues/4808 Thank you.
  • Machine Learning with Unix Pipes
    1 project | news.ycombinator.com | 15 Nov 2022
    If you interested in unix-like software design and not yet familiar with kaldi toolkit, you definitely need to check it https://kaldi-asr.org

    It extended Unix design with archives, control lists and matrices and enabled really flexible unix-like processing. For example, recognition of a dataset looks like this:

    extract-wav scp:list.scp ark:- | compute-mfcc-feats ark:- ark:- | lattice-decoder-faster final.mdl HCLG.fst ark:- ark:- | lattice-rescore ark:- ark:'|gzip -c > lat.gzip'

    Another example is gstreamer command line.

  • Lexicap: Lex Fridman Podcast Whisper Captions by Andrej Karpathy
    1 project | news.ycombinator.com | 27 Sep 2022
    No, speaker diarization is not part of Whisper. There are open source projects - such as Kaldi [1], but it's hard to get them running if you are not an area expert.

    [1] https://kaldi-asr.org/

  • Is there a way to integrate a raspberry pi with a keyboard to do speech to text?
    2 projects | /r/ErgoMechKeyboards | 1 Sep 2022
    State-of-the-art ASR, like what you get on smartphones, has unfortunately high resource requirements. Some recent smartphone models are able to run ASR on-device, but more typically, ASR is done by sending audio to a web service. Check out the (currently experimental) Web SpeechRecognition API in a Chrome browser. Here is a demo of the API in action. For something open source, check out Kaldi ASR.

larynx

Posts with mentions or reviews of larynx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-27.
  • Home Assistant’s Year of the Voice – Chapter 2
    7 projects | news.ycombinator.com | 27 Apr 2023
    The most exciting thing about Home Assistant's "Year of the Voice", for me, is that it is apparently enabling/supporting @synesthesiam's continued phenomenal contributions to the FLOSS off-line voice synthesis space.

    The quality, variety & diversity of voices that synesthesiam's "Larynx" TTS project (https://github.com/rhasspy/larynx/) made available, completely transformed the Free/Open Source Text To Speech landscape.

    In addition "OpenTTS" (https://github.com/synesthesiam/opentts) provided a common API for interacting with multiple FLOSS TTS projects which showed great promise for actually enabling "standing on the shoulders of" rather than re-inventing the same basic functionality every time.

    The new "Piper" TTS project mentioned in the article is the apparent successor to Larynx and, along with the accompanying LibriTTS/LibriVox-based voice models, brings to FLOSS TTS something it's never had before:

    * Too many voices! :)

    Seriously, the current LibriTTS voice model version has 900+ voices (of varying quality levels), how do you even navigate that many?![0]

    And that's not even considering the even higher quality single speaker models based on other audio recording sources.

    Offline TTS while immensely valuable for individuals, doesn't seem to be attractive domain for most commercial entities due to lack of lock-in/telemetry opportunities so I was concerned that we might end up missing out on further valuable contributions from synesthesiam's specialised skills & experience due to financial realities & the human need for food. :)

    I'm glad we instead get to see what happens next.

    [0] See my follow-up comment about this.

  • Text to speech
    4 projects | /r/selfhosted | 21 Feb 2023
    Larynx!
  • Ask HN: Are there any good open source Text-to-Speech tools?
    15 projects | news.ycombinator.com | 1 Jan 2023
    I've had good results with https://github.com/rhasspy/larynx
  • Recommend a Text to Speech tool ?
    1 project | /r/RASPBERRY_PI_PROJECTS | 12 Nov 2022
    Larynx is a really good text-to-speech engine
  • Klipper on android
    1 project | /r/klippers | 18 Oct 2022
    I was able to install 3.7 following this guide. https://github.com/rhasspy/larynx/issues/9
  • I built an audio only Gemini client.
    2 projects | /r/geminiprotocol | 5 Jun 2022
  • NaturalSpeech: End-to-End Text to Speech Synthesis with Human-Level Quality
    14 projects | news.ycombinator.com | 17 May 2022
    If you've not already encountered them I'd definitely encourage you to check out these Free/Open Source projects too:

    * Larynx: https://github.com/rhasspy/larynx/

    * OpenTTS: https://github.com/synesthesiam/opentts

    * Likely Mimic3 in the near future: https://mycroft.ai/blog/mimic-3-preview/

    Larynx in particular has a focus on "faster than real-time" while OpenTTS is an attempt to package & provide common REST API to all Free/Open Source Text To Speech systems so the FLOSS ecosystem can build on previous work supported by short-lived business interests, rather than start from scratch every time.

    AIUI the developer of the first two projects now works for Mycroft AI & is involved in the development of Mimic3 which seems very promising given how much of an impact on quality his solo work has had in just the past couple of years or so.

  • Need a recommendation: Self hosted speech to text service
    1 project | /r/selfhosted | 21 Mar 2022
    I haven't used it on it's own, but Larynx has worked well for me for Rhasspy
  • NATSpeech: High Quality Text-to-Speech Implementation with HuggingFace Demo
    4 projects | news.ycombinator.com | 16 Feb 2022
  • Question: Does anybody know of a working Text to Speech for python on pi?
    1 project | /r/raspberry_pi | 29 Jan 2022

What are some alternatives?

When comparing Kaldi Speech Recognition Toolkit and larynx you can also consider the following projects:

vosk-api - Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node

tortoise-tts - A multi-voice TTS system trained with an emphasis on quality

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.

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

pyannote-audio - Neural building blocks for speaker diarization: speech activity detection, speaker change detection, overlapped speech detection, speaker embedding

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

speech-and-text-unity-ios-android - Speed to text in Unity iOS use Native Speech Recognition

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)

espnet - End-to-End Speech Processing Toolkit

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

rhasspy - Offline private voice assistant for many human languages