Selected work
Real-Time AudioTypeScript · Twilio · Discord
PSTN → Discord Bridge
Phone calls, routed into a voice channel
A real-time bridge routing inbound phone calls into Discord voice channels, with live codec transcoding, a caller queue, and speech-to-text captions.
Role — Solo real-time audio engineer
- TypeScript
- Twilio Media Streams
- Discord.js
- Opus / G.711
- ElevenLabs
- Express
Inbound Twilio calls are bridged into Discord voice with audio transcoded live between G.711 µ-law at 8kHz and Opus at 48kHz — hand-written conversion and resampling. A FIFO queue tracks caller position with ElevenLabs hold announcements, and ElevenLabs Scribe provides live captions.
It runs on a hardened Linode box with DNS and TLS. (Its README understates it — code inspection confirms the audio bridge, queue, and captions are all fully implemented.)
What's notable
- Live G.711 µ-law 8kHz ↔ Opus 48kHz transcoding & resampling
- FIFO caller queue with ElevenLabs hold announcements
- Live speech-to-text captions via ElevenLabs Scribe
- Blind + warm call transfer; deployed with TLS