19 comments

  • Evidlo 24 minutes ago
    How feasible would it be to build this project into a small static binary that could be distributed? The dependencies are pretty big.
  • derHackerman 1 hour ago
    I read this, then realized I needed a browser extension to read my long case study and made a browser interface of this and put this together:

    https://github.com/lukasmwerner/pocket-reader

  • lukebechtel 6 hours ago
    Nice!

    Just made it an MCP server so claude can tell me when it's done with something :)

    https://github.com/Marviel/speak_when_done

  • lykahb 13 minutes ago
    It'd be great if it supported stdin&stdout for text and wav. Then it could get piped right into afplay
  • singpolyma3 6 hours ago
    Love this.

    It says MIT license but then readme has a separate section on prohibited use that maybe adds restrictions to make it nonfree? Not sure the legal implications here.

    • CGamesPlay 5 hours ago
      For reference, the MIT license contains this text: "Permission is hereby granted... to deal in the Software without restriction, including without limitation the rights to use". So the README containing a "Prohibited Use" section definitely creates a conflicting statement.
    • jandrese 5 hours ago
      The "prohibited uses" section seems to be basically "not to be used for crime", which probably doesn't have much legal weight one way or another.
      • mips_avatar 1 hour ago
        I think the only restriction that seems problematic is not being able to clone someone’s voice without permission. I think there’s probably a valid case for using it for satire.
      • WhyNotHugo 2 hours ago
        You might use it for something illegal in one country, and then leave for another country with no extradition… but you’ve lost the license to sue the software and can be sued for copyright infringement.
    • Buttons840 5 hours ago
      Good question.

      If a license says "you may use this, you are prohibited from using this", and I use it, did I break the license?

      • ethin 4 hours ago
        If memory serves, the license is the ultimate source of truth on what is allowed or not. You cannot add some section that isn't in the text of the license (at least in the US and other countries that use similar legal systems) on some website and expect it to hold up in court because the license doesn't include that text. I know of a few other bigger-name projects that try to pull these kinds of stunts because they don't believe anyone is going to actually read the text of the license.
        • HenrikB 1 hour ago
          The copyright holder can set whatever license they want, including writing their own.

          In this case, I'd interpret it as they made up a new licence based on MIT, but their addendum makes it non-MIT, but something else. I agree with what others said; this "new" license has internal conflicts.

    • iamrobertismo 5 hours ago
      Yeah, I don't understand the point of the prohibited use section at all, seems like unnecessary fluff.
  • armcat 7 hours ago
    Oh this is sweet, thanks for sharing! I've been a huge fan of Kokoro and event setup my own fully-local voice assistant [1]. Will definitely give Pocket TTS a go!

    [1] https://github.com/acatovic/ova

    • gropo 6 hours ago
      Kokoro is better for tts by far

      For voice cloning, pocket tts is walled so I can't tell

      • seunosewa 4 hours ago
        Chatterbox-turbo is really good too. Has a version that uses Apple's gpu.
      • echelon 5 hours ago
        What are the advantages of PocketTTS over Kokoro?

        It seems like Kokoro is the smaller model, also runs on CPU in real time, and is more open and fine tunable. More scripts and extensions, etc., whereas this is new and doesn't have any fine tuning code yet.

        I couldn't tell an audio quality difference.

        • hexaga 45 minutes ago
          Kokoro is fine tunable? Speaking as someone who went down the rabbit hole... it's really not. There's no (as of last time I checked) training code available so you need to reverse engineer everything. Beyond that the model is not good at doing voices outside the existing voicepacks: simply put, it isn't a foundation model trained on internet scale data. It is made from a relatively small set of focused, synthetic voice data. So, a very narrow distribution to work with. Going OOD immediately tanks perceptual quality.

          There's a bunch of inference stuff though, which is cool I guess. And it really is a quite nice little model in its niche. But let's not pretend there aren't huge tradeoffs in the design: synthetic data, phonemization, lack of train code, sharp boundary effects, etc.

        • jamilton 5 hours ago
          Being able to voice clone with PocketTTS seems major, it doesn't look like there's any support for that with Kokoro.
          • echelon 4 hours ago
            Zero shot voice clones have never been very good. Fine tuned models hit natural speaker similarity and prosody in a way zero shot models can't emulate.

            If it were a big model and was trained on a diverse set of speakers and could remember how to replicate them all, then zero shot is a potentially bigger deal. But this is a tiny model.

            I'll try out the zero shot functionality of Pocket TTS and report back.

        • jhatemyjob 3 hours ago
          Less licensing headache, it seems. Kokoro says its Apache licensed. But it has eSpeak-NG as a dependency, which is GPL, which brings into question whether or not Kokoro is actually GPL. PocketTTS doesn't have eSpeak-NG as a dependency so you don't need to worry about all that BS.

          Btw, I would love to hear from someone (who knows what they're talking about) to clear this up for me. Dealing with potential GPL contamination is a nightmare.

          • miki123211 1 hour ago
            Kokoro only uses Espeak for text-to-phoneme (AKA G2P) conversion.

            If you could find another compatible converter, you could probably replace eSpeak with it. The data could be a bit OOD, so you may need to fiddle with it, but it should work.

            Because the GPL is outdated and doesn't really consider modern gen AI, what you could also do is to generate a bunch of text-to-phoneme pairs with Espeak and train your own transformer on them,. This would free you from the GPL license completely, and the task is easy enough that even a very small model should be able to do it.

    • amrrs 7 hours ago
      Thanks for sharing your repo..looks super cool.. I'm planning to try out. Is it based on mlx or just hf transformers?
      • armcat 6 hours ago
        Thank you, just transformers.
  • Imustaskforhelp 4 hours ago
    Perhaps I have been not talking to voice models that much or the chatgpt voice always felt weird and off because I was thinking it goes to a cloud server and everything but from Pocket TTS I discovered unmute.sh which is open source and I think is from the same company as Pocket TTS/can I think use Pocket TTS as well

    I saw some agentic models at 4B or similar which can punch above its weights or even some basic models. I can definitely see them in the context of home lab without costing too much money.

    I think atleast unmute.sh is similar/competed with chatgpt's voice model. It's crazy how good and (effective) open source models are from top to bottom. There's basically just about anything for almost everyone.

    I feel like the only true moat might exist in coding models. Some are pretty good but its the only industry where people might pay 10x-20x more for the best (minimax/z.ai subscription fees vs claude code)

    It will be interesting to see if we will see another deepseek moment in AI which might beat claude sonnet or similar. I think Deepseek has deepseek 4 so it will be interesting to see how/if it can beat sonnet

    (Sorry for going offtopic)

  • mgaudet 5 hours ago
    Eep.

    So, on my M1 mac, did `uvx pocket-tts serve`. Plugged in

    > It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way—in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only

    (Beginning of Tale of Two Cities)

    but the problem is Javert skips over parts of sentences! Eg, it starts:

    > "It was the best of times, it was the worst of times, it was the age of wisdom, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the spring of hope, it was the winter of despair, we had everything before us, ..."

    Notice how it skips over "it was the age of foolishness,", "it was the winter of despair,"

    Which... Doesn't exactly inspire faith in a TTS system.

    (Marius seems better; posted https://github.com/kyutai-labs/pocket-tts/issues/38)

    • small_scombrus 2 hours ago
      Using your first text block 'Eponine' skips "we had nothing before us" and doesn't speak the final "that some of its noisiest"

      I wonder what's going wrong in there

    • sbarre 3 hours ago
      Yeah Javert mangled up those sentences for me as well, it skipped whole parts and then also moved words around

      - "its noisiest superlative insisted on its being received"

      Win10 RTX 5070 Ti

  • dust42 6 hours ago
    Good quality but unfortunately it is single language English only.
    • phoronixrly 6 hours ago
      I echo this. For a TTS system to be in any way useful outside the tiny population of the world that speaks exclusively English, it must be multilingual and dynamically switch between languages pretty much per word.

      Cool tech demo though!

      • numpad0 6 minutes ago
        > it must be multilingual and dynamically switch between languages pretty much per word

        Not abundantly obviously a satire and so interjecting: humans, including professional "simultaneous" interpreters, can't do this. This is not how languages work.

      • bingaweek 3 hours ago
        This is a great illustration that nothing you ever do will be good enough without people whining.
      • kamranjon 6 hours ago
        That's a pretty crazy requirement for something to be "useful" especially something that runs so efficiently on cpu. Many content creators from non-english speaking countries can benefit from this type of release by translating transcripts of their content to english and then running it through a model like this to dub their videos in a language that can reach many more people.
        • ethin 4 hours ago
          Uh, no? This is not at all an absurd requirement? Screen readers literally do this all the time, with voices that are the classic way of making a speech synthesizer, no AI required. ESpeak is an example, or MS OneCore. The NVDA screen reader has an option for automatic language switching as does pretty much every other modern screen reader in existence. And absolutely none of these use AI models to do that switching, either.
          • kube-system 1 hour ago
            They didn’t say it was a crazy requirement. They said it was crazy to consider it useless without meeting that requirement.
            • ethin 36 minutes ago
              That doesn't really change what I said though. It isn't crazy to call it useless without some form of ALS either. Given that old school synthesis has been able to do it for like 20 years or so.
        • phoronixrly 5 hours ago
          You mean youtubers? And have to (manually) synchronise the text to their video, and especially when youtube apparently offers voice-voice translation out of the box to my and many others' annoyance?
      • Levitz 5 hours ago
        But it wouldn't be for those who "speak exclusively English", rather, for those who speak English. Not only that but it's also common to have system language set to English, even if one's language is different.

        There's about 1.5B English speakers in the planet.

        • phoronixrly 5 hours ago
          Let's indeed limit the use case to the system language, let's say of a mobile phone.

          You pull up a map and start navigation. All the street names are in the local language, and no, transliterating the local names to the English alphabet does not make them understandable when spoken by TTS. And not to mention localised foreign names which then are completely mangled by transliterating them to English.

          You pull up a browser, open up an news article in your local language to read during your commute. You now have to reach for a translation model first before passing the data to the English-only TTS software.

          You're driving, one of your friends Signals you. Your phone UI is in English, you get a notification (interrupting your Spotify) saying 'Signal message', followed by 5 minutes of gibberish.

          But let's say you have a TTS model that supports your local language natively. Well due to the fact that '1.5B English speakers' apparently exist in the planet, many texts in other languages include English or Latin names and words. Now you have the opposite issue -- your TTS software needs to switch to English to pronounce these correctly...

          And mind you, these are just very simple use cases for TTS. If you delve into use cases for people with limited sight that experience the entire Internet, and all mobile and desktop applications (often having poor localisation) via TTS you see how mono-lingual TTS is mostly useless and would be switched for a robotic old-school TTS in a flash...

          > only that but it's also common to have system language set to English

          Ask a German whether their system language is English. Ask a French person. I can go on.

      • echelon 5 hours ago
        English has more users than all but a few products.
      • knowitnone3 4 hours ago
        I'm Martian so everything you create better support my language on day 1
  • aidenn0 1 hour ago
    I'm sure I'm being stupid, but every voice except "alba" I recognize from Les Miserables; is there a character I'm forgetting?
  • OfflineSergio 2 hours ago
    This is amazing. The audio feels very natural and it's fairly good at handling complext text to speech tasks. I've been working on WithAudio (https://with.audio). Currently it only uses Kokoros. I need to test this a bit more but I might actually add it to the app. It's too good to be ignored.
  • syntaxing 6 hours ago
    Is there something similar for STT? I’m using whisper distill models and they work ok. Sometimes it gets what I say completely wrong.
  • tschellenbach 6 hours ago
    It's cool how lightweight it is. Recently added support to Vision Agents for Pocket. https://github.com/GetStream/Vision-Agents/tree/main/plugins...
  • GaggiX 7 hours ago
    I love that everyone is making their own TTS model as they are not as expensive as many other models to train. Also there are plenty of different architecture.

    Another recent example: https://github.com/supertone-inc/supertonic

  • indigodaddy 4 hours ago
    Perfect timing that is exactly what I am looking for for a fun little thing I'm working on. The voices sound good!
  • _ache_ 2 hours ago
    It's very impressive! I'm mean, it's better than other <200M TTS models I encounter.

    In English, it's perfect and it's so funny in others languages. It sounds exactly like someone who actually doesn't speak the language, but got it anyway.

    I don't know why Fantine is just better than the others in others languages. Javer seems to be the worst.

    Try Jean in Spanish « ¡Es lo suficientemente pequeño como para caber en tu bolsillo! » sound a lot like they don't understand the language.

    Or Azelma in French « C'est suffisament petit pour tenir dans ta poche. » is very good.I mean half of the words are from a Québécois accent, half French one but hey, it's correct French.

    Però non capisce l'italiano.

  • grahamrr 2 hours ago
    voices sound great! i see sample rate can be adjusted, is there any way to adjust the actual speed of the voice?
  • oybng 6 hours ago
    >If you want access to the model with voice cloning, go to https://huggingface.co/kyutai/pocket-tts and accept the terms, then make sure you're logged in locally with `uvx hf auth login` lol
  • snvzz 7 hours ago
    Relative to AmigaOS translator.device + narrator.device, this sure seems bloated.