Building Todoist's Ramble #2: Capturing Audio in Real-Time
doist.dev·1d·
Discuss: Hacker News
📄Static Blogging
Preview
Report Post

While building Ramble , we needed real-time audio capture to stream microphone input to our backend for processing. The initial implementation used a Web Audio API feature called ScriptProcessorNode, which made this straightforward: create an inline callback, process audio samples, send them over WebSocket. No extra files, no complex setup. But there was a catch. The API was deprecated, and browsers could drop support at any time. Rather than wait for Ramble to break unexpectedl…

Similar Posts

Loading similar posts...