Local Edge Voice Pipeline
Edge AI & Pipelines
Wolvie
Proof-of-Concept Offline Voice Loop Exploring Local GGUF Quantization & WebRTC on 8GB Hardware
An exploratory proof-of-concept offline voice loop built as an architectural feasibility study on constrained 8GB consumer hardware. Orchestrates Silero Voice Activity Detection, faster-whisper INT8 speech recognition, llama.cpp quantized models, and Piper neural TTS over WebRTC, exploring local conversational latency boundaries without external cloud APIs.
Hardware-Verified Benchmarks
~530 ms
Round-Trip Latency
End-to-end speech-to-synthetic-audio loopback latency
5 ms
VAD Window
Silero v5 ONNX INT8 with 98.2% speech recall
180 ms
ASR Transcription
faster-whisper tiny.en INT8 (WER 4.1% on LibriSpeech)
220 ms
LLM Generation
llama.cpp 7B Q4_K_M running at 23 tok/s on CPU
95 ms
Neural TTS
Piper v1.2.0 rendering 22 kHz audio (MOS 4.2)
18 ms
WebRTC Overhead
Direct browser DataChannel Opus frame delivery
Technical Specification Sheet
ARCArchitectural Overview
Engineering Architecture
Wolvie is an exploratory prototype and architectural feasibility laboratory investigating whether a private, sub-second conversational voice assistant loop can run entirely offline on standard 8GB consumer hardware (Intel Core i5-8350U, no dedicated GPU). By orchestrating a tightly buffered micro-pipeline, incoming audio from WebRTC microphone capture (Opus 48 kHz mono) is evaluated by an INT8 Silero VAD segmenter, transcribed via faster-whisper INT8 in ~180ms, fed into a local quantized llama.cpp 7B Q4_K_M server running on CPU at ~23 tok/s (~220ms), and synthesized by Piper neural TTS in ~95ms. The project established empirical benchmarks for edge quantization viability and latency trade-offs on resource-constrained systems.
Key Technical Innovations:
- ›Sub-second ~530ms voice response loop without requiring discrete GPUs.
- ›Air-gapped operation guarantees no conversational data is sent to external servers.
- ›WebRTC streaming client allows responsive in-browser interaction on ordinary laptops.
VFDGround-Truth Verification
Empirical Test Record
Empirically profiled using millisecond hardware timestamps across 100+ audio interaction loops.
SRCSource & Artifacts
STGSub-Second Latency Waterfall
WebRTC getUserMedia capturing 48 kHz mono audio encoded in Opus at 32 kbps.
Silero v5 ONNX INT8 model segmenting speech at 5 ms window resolution.
faster-whisper tiny.en INT8 with beam_size=5 generating text transcriptions.
llama.cpp 7B Q4_K_M generating streaming completion tokens on raw CPU.
Piper v1.2.0 neural vocoder rendering high-fidelity 22 kHz speech frames.
WebRTC audio track streaming frames back into browser playback buffer.