How arsonic-dev/voxera works
Voxera is a browser-based, full-duplex speech translation and debate interpreter. A participant joins a room, streams microphone audio, and receives live source captions, translated text, and synthesized audio; local playback can stop immediately on barge-in, while the server reports the heard boundary. Retractions and emotion/heat metadata are part of the conversation flow. The graph includes the documented provider integrations and mock modes; their detailed wiring is not fully shown in the sampled source, so those optional links cite the README.
Main entry points: App.tsx Room interface · pipeline.ts Participant pipeline · index.ts HTTP and WebSocket · translate.ts Translation and metadata
Components 15
Browser conversation
- Room interface
web/src/App.tsx - Mic capture
web/src/audio/recorder.ts - Audio player
web/src/audio/player.ts - Barge-in detector
web/src/audio/bargeIn.ts - Conversation gallery
web/src/Gallery.tsx
Conversation server
- Message protocol
shared/protocol.ts - HTTP and WebSocket
server/src/index.ts - Room sessions
server/src/rooms.ts - Participant pipeline
server/src/pipeline.ts
Speech services
- Speech recognition
server/src/stt.ts - Translation and metadata
server/src/translate.ts - Speech synthesis
server/src/tts.ts
External providers
- Deepgram / ElevenLabs
- Anthropic / OpenRouter
Other components
- Participants
Connections 21
- Participants → Room interface: uses
README.md - Room interface → Mic capture: starts capture
web/src/App.tsx - Mic capture → Room interface: streams PCM
web/src/audio/recorder.ts - Room interface → HTTP and WebSocket: sends WebSocket audio
web/src/App.tsx - HTTP and WebSocket → Room sessions: joins participants
server/src/index.ts - HTTP and WebSocket → Participant pipeline: routes audio
server/src/index.ts - Participant pipeline → Room sessions: sends room messages
server/src/pipeline.ts - Participant pipeline → Speech recognition: recognizes speech
server/src/pipeline.ts - Participant pipeline → Translation and metadata: translates segments
server/src/pipeline.ts - Participant pipeline → Speech synthesis: synthesizes audio
server/src/pipeline.ts - Speech recognition → Participant pipeline: emits transcripts
server/src/pipeline.ts - Translation and metadata → Participant pipeline: streams translation
server/src/pipeline.ts - Speech synthesis → Participant pipeline: streams audio
server/src/pipeline.ts - HTTP and WebSocket → Message protocol: handles messages
server/src/index.ts - Room interface → Audio player: queues playback
web/src/App.tsx - Room interface → Barge-in detector: monitors microphone
web/src/App.tsx - Barge-in detector → Audio player: cuts playback
web/src/audio/bargeIn.ts - Audio player → Room interface: reports playback
web/src/App.tsx - Room interface → Conversation gallery: renders gallery
web/src/App.tsx - Participants → Deepgram / ElevenLabs: speech services
README.md - Translation and metadata → Anthropic / OpenRouter: calls translation API
README.md