~/talk

Building a Low-Latency Voice Assistant leveraging Elixir and Membrane

Talkat RTC.ON 2024 · 2024-09-11..09-13· [elixir-and-erlang, ai-assisted-development]
links:none on file
slides:none on file

Built an Elixir media pipeline using Elixir and Membrane that ingests RTMP, runs VAD and a custom end‑of‑speech classifier (10 ms inference), streams LLM tokens to punctuation, and stitches incremental TTS chunks. Using open models—distill whisper for STT (~250 ms), yamama 3.17B with ~50 ms time‑to‑first‑token and 40 TPS, and Style 2 TTS (~500 ms to first audio)—latency drops from ~6–10 s to ~2–3 s; system works but end‑of‑speech accuracy (~60%) still causes interruptions.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55First iteration challenges
  3. 3:44Latency goals and issues
  4. 5:11Streaming LLM responses
  5. 6:37Introducing Membrane
  6. 7:43Silence detection approach
  7. 9:52Latency breakdown
  8. 10:35Open source models
  9. 11:41Optimizing LLM speed
  10. 12:23Text to speech improvements
  11. 13:27User experience focus
  12. 14:10End of speech detection
  13. 15:56Voice activity detection
  14. 17:18Live demo
  15. 19:52Project learnings
  16. 20:54Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.