Live data from Hacker News

Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

ariya.io

41–50 of 107 posts

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#41
post #40

Who is going to hack together a mac widget that allows us to select text anywhere, press a shortcut key and finally get a non robotic voice outputted in a reasonable amount of time? I am aware of the Option + Esc shortcut on osx for the onboard TTS but wow is it hard to listen to in 2026.

Have you tried /usr/bin/say ? Might already have something sufficient for you - there’s quite a few voices there.

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#42
post #40

Who is going to hack together a mac widget that allows us to select text anywhere, press a shortcut key and finally get a non robotic voice outputted in a reasonable amount of time? I am aware of the Option + Esc shortcut on osx for the onboard TTS but wow is it hard to listen to in 2026.

In System Settings, if you go to Accessibility and click "Read & Speak" in the "Vision" section, you can select a different voice using the "System voice" section. Click the "(i)" to preview your various options and even download more. Some, like "Allison (Enhanced)," sound leagues better than the default voice.

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#43

I have used Kokoro fairly extensively for an accessibility product. I have loved working with it (especially because I don't have an NVidia GPU like many TTS of similar quality require). I particularly appreciate the fact that it lets you manually add IPA pronunciation guides. There have been some cases where an important word is a homograph and Kokoro assumed the wrong pronunciation. The place where it falls a littl…

Great technique, thanks for sharing

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#44

I have used Kokoro fairly extensively for an accessibility product. I have loved working with it (especially because I don't have an NVidia GPU like many TTS of similar quality require). I particularly appreciate the fact that it lets you manually add IPA pronunciation guides. There have been some cases where an important word is a homograph and Kokoro assumed the wrong pronunciation. The place where it falls a littl…

Same trick with many others. I say "Knight" to Wispr or Google and see "night". I say "Knight to f3", and just backspace out "to f3".

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#47
Another endorsement - I used Kokoro pretty extensively with an app I was developing over the last year and it's been excellent, both on- and off- GPU. Even with Elevenlabs (long time subscriber) the comparative quality of Kokoro keeps up really well until you get to their larger models with their professional voices.

I do wish there were better support for SSML, as well as deeper documentation of how to influence inflection in-line, but the default does well with standard emphasis (e.g. putting asterisks around text elements). Both asks are getting outside the zone of reasonable asks for this sort of distribution, though, and I remain incredibly grateful for the quality of what hexgrad and nazdridoy have put out in the world.

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#48
post #40

Who is going to hack together a mac widget that allows us to select text anywhere, press a shortcut key and finally get a non robotic voice outputted in a reasonable amount of time? I am aware of the Option + Esc shortcut on osx for the onboard TTS but wow is it hard to listen to in 2026.

In System Settings, if you go to Accessibility and click "Read & Speak" in the "Vision" section, you can select a different voice using the "System voice" section. Click the "(i)" to preview your various options and even download more. Some, like "Allison (Enhanced)," sound leagues better than the default voice.

Great point! these are better than Samantha and they're free. But still, if I could wait a few seconds to get a much richer TTS experience I'd pay for that.

Re: Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

#50

Super cool!! I've been using my own solution since January. I'm on Linux, and can't use Aqua, Whipsrflow etc... So i made my own. Recently cleaned it up and made it install friendly. If anyone is interested, you can check it out here: https://github.com/Hugo0/voiceio It's self-improving over time, runs on your local machine, and is generally decent software. 60% of my interaction with my PC nowadays is pure voice inp…

This is text to speech, yours is speech to text. (But also thanks, your STT looks interesting)
Post reply on HN