Urgent.News

What's breaking now, across thousands of outlets.

Tech

Local speech recognition: 167 MiB of downloads and the engineering trade-offs

Loop's speech recognition runs on the computer hosting its backend. The implementation does not call a cloud speech API. Voice is optional: it requires installed resources and an explicit action to start listening. The cost: about 167.3 MiB of ASR/VAD model downloads, or 189.3 MiB expanded , plus a platform engine and temporary installation space. Recognition and synthesis run on the host. This…

Local speech recognition in Loop requires about 167.3 MiB of ASR/VAD model downloads, or 189.3 MiB when expanded, plus a platform engine and temporary installation space. This implementation does not rely on cloud speech APIs; voice input and calls submit differently as the transcript goes to the configured Agent, and a phone sends audio to the Loop host. The article explains the boundary, resource pipeline, and engineering trade-offs behind local voice input.

The decision to use local inference instead of cloud-based options involves trade-offs. Local ASR avoids sending raw audio to a cloud service for text generation, reducing network usage and provider billing. However, transcripts still cross the boundary and may be sent to a cloud-hosted coding model for processing. The resource pipeline requires separate components such as VAD, ASR, TTS, and a platform engine, each with their own disk space and code costs.

The resources needed for local voice integration are downloaded, verified, and activated after the user requests installation. Installation involves more than just model files; it includes VAD, ASR, TTS, and a platform engine, with each component requiring its own versioning, verification, and repair processes. Resource management follows six constraints: explicit installation, versioning, verification, repairability, removal, and six constraints that manage these resources.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

# Windows Found My Bug Before I Did. I Just Had to Read the Error Message.

Sometimes, the hardest part of debugging isn't finding the bug. It's actually paying attention to what the error message is telling you.

  • Java's substring method includes starting index but excludes ending index
  • Off-by-one error caused '=' to be included in extracted value
  • Windows error message pinpointed the substring indexing issue

Responsible Design Patterns for Gambling-Related Calculator Tools

Developers build calculators for all kinds of regulated or risky domains: loans, crypto, insurance, betting. The code is usually the easy part.

  • Clearly state calculator's purpose and what it's not for
  • Prioritize showing required turnover and expected cost upfront
  • Make time visible by converting requirements into number of bets

More from Thursday 5 November →