Skip to content

BlackRoad-Agents/voice-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

voice engine

Part of BlackRoad OS — Sovereign Computing for Everyone

BlackRoad OS BlackRoad Agents License

voice engine is part of the BlackRoad OS ecosystem — a sovereign, distributed operating system built on edge computing, local AI, and mesh networking by BlackRoad OS, Inc.

About BlackRoad OS

BlackRoad OS is a sovereign computing platform that runs AI locally on your own hardware. No cloud dependencies. No API keys. No surveillance. Built by BlackRoad OS, Inc., a Delaware C-Corp founded in 2025.

Key Features

  • Local AI — Run LLMs on Raspberry Pi, Hailo-8, and commodity hardware
  • Mesh Networking — WireGuard VPN, NATS pub/sub, peer-to-peer communication
  • Edge Computing — 52 TOPS of AI acceleration across a Pi fleet
  • Self-Hosted Everything — Git, DNS, storage, CI/CD, chat — all sovereign
  • Zero Cloud Dependencies — Your data stays on your hardware

The BlackRoad Ecosystem

Organization Focus
BlackRoad OS Core platform and applications
BlackRoad OS, Inc. Corporate and enterprise
BlackRoad AI Artificial intelligence and ML
BlackRoad Hardware Edge hardware and IoT
BlackRoad Security Cybersecurity and auditing
BlackRoad Quantum Quantum computing research
BlackRoad Agents Autonomous AI agents
BlackRoad Network Mesh and distributed networking
BlackRoad Education Learning and tutoring platforms
BlackRoad Labs Research and experiments
BlackRoad Cloud Self-hosted cloud infrastructure
BlackRoad Forge Developer tools and utilities

Links


Voice I/O for BlackRoad agents. Whisper speech-to-text + Piper text-to-speech with a conversation loop.

Usage

from voice import VoiceEngine

engine = VoiceEngine()

# Record and transcribe
text = engine.listen(duration=5)
print(text)

# Text to speech
engine.speak("Hello from BlackRoad")

# Voice conversation loop (listen → agent → speak)
engine.converse(agent_id="road")

CLI

python voice.py listen [seconds]        # Record + transcribe
python voice.py speak "Hello world"     # TTS + play
python voice.py converse [agent_id]     # Voice conversation loop

Backends

STT (Speech-to-Text):

  1. Whisper via Ollama (fleet inference)
  2. Local whisper CLI fallback

TTS (Text-to-Speech):

  1. Piper TTS (fast, offline, high quality)
  2. espeak fallback (Linux)
  3. macOS say fallback

Recording:

  1. sox (cross-platform)
  2. arecord (Linux/ALSA)

Environment

OLLAMA_URL=http://192.168.4.96:11434
WHISPER_MODEL=whisper
CHAT_MODEL=qwen2.5:1.5b
PIPER_BIN=piper
PIPER_MODEL=en_US-lessac-medium.onnx
RECORD_SECONDS=5

Part of BlackRoad-Agents

Remember the Road. Pave Tomorrow.

BlackRoad OS, Inc. — Incorporated 2025.

About

voice engine — Part of the BlackRoad OS ecosystem. Sovereign computing, edge AI, mesh networking. blackroad.io

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages