Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Rebuilding my local voice assistant pipeline (https://blog.platypush.tech)

105 points by todsacerdoti about 12 hours ago | 16 comments | View on ycombinator

mmmooo about 8 hours ago |

older amazon echo dots and shows really make great hardware for this, combined with homeassistant, and can be had for very little cost. e.g. shameless plug: https://github.com/ygelfand/echolocal

mewse-hn about 8 hours ago |

Interesting write up, I've been vibe coding an android voice assistant using a similar pipeline without a wakeword - VAD > ASR > LLM > TTS

I've found parakeet to be much, much better than whisper and I made a 4 bit quant of parakeet 110M for my crappier android test devices, it would probably fit a raspberry pi:

https://huggingface.co/mewse/parakeet-tdt_ctc-110m-onnx-int4

bill10 about 3 hours ago |

I am using the old whisper.cpp to turn voice into text, and Kokoro to read text out. Works pretty well for me, but Kokoro still sounds AI and whisper is not that accurate. Will try Parakeet and Silero

fragilerock about 10 hours ago |

Interesting read! I have my own local voice assistant and I implemented exactly the same question mark trick just the other day.

The overall pipeline is quite similar to my previous setup, but I found the STT -> LLM -> TTS pipeline just infuriatingly slow. TTS and STT with whisper/piper worked fine and reasonably fast for me locally, but the real bottleneck was always the fact that they're not running concurrently with the LLM call. I ended up forking an open source openai realtime API ESP32 plugin and patching it to my liking. It's a bit more expensive in terms of API cost but I only use it sparingly and it's so much nicer to use now.

bityard about 8 hours ago |

Is this complimentary to, or an alternative to Home Assistant?

dofm about 8 hours ago |

Just what I want to read — favourited to come back to!

stavros about 11 hours ago |

This is really useful, thanks! The other day I bought a small screen and didn't know what to do with it so I made an assistant that talks to my bot:

https://m.youtube.com/shorts/3FseVyAG5uM

I used microwakeword too, and training my own wakeword was pretty simple (basically just recording a few tens of samples). Highly recommended.

I also wanted to be able to issue some voice commands for lights and other things in my home with low latency, so I added a short-circuit plugin that runs right after recognition. If the recognized command matches one of the regexes, it's immediately executed, which has a latency of under a second. Otherwise, it gets sent to my assistant, which usually will tweak the regex (or add a new one) to improve the whole system as it fails.

yuvicodesk17 44 minutes ago |

[flagged]

meatbal_mike about 10 hours ago |

[flagged]

cgg7709 about 10 hours ago |

[flagged]

allentown521 about 5 hours ago |

[flagged]