About

I’m Rocky Shi, a software engineer in the San Francisco Bay Area. For more than ten years I have built real-time audio systems: speech enhancement, spatial audio, and audio sync across devices. The part I enjoyed most was writing an inference engine that runs speech models on users’ own devices, where the job is to make a model meet a hard deadline on ordinary hardware.

Lately I have been taking that work to large language models, where the deadline is the first token instead of the next audio frame and the hardware is a rack of GPUs instead of a laptop.

This blog covers both sides: real-time audio and speech AI, and AI infrastructure such as LLM serving and GPU performance. Posts are built on measurements I can reproduce, showing where the time actually goes, how each number was taken, and what changed after a fix. When a measurement turns up a bug in an open-source project, I report it upstream and link the issue or pull request.

What I’ve built

  • Spatial audio for video meetings. Technical lead. Each speaker’s voice is rendered from their position on screen and the listener’s head pose through HRTF filtering, with transitions that stay click-free during fast head movement. Shipped in a widely used video-conferencing desktop app, and patented.
  • Multi-device audio sync for hybrid rooms. Aligns microphones on several devices in one room to sub-frame accuracy using NTP clocks, without decoding or re-encoding the streams. Released to customers in 2025; two patent applications published.
  • An on-device inference engine. A C++ engine inside a commercial audio SDK that runs speech enhancement, noise suppression and lip-sync models in real time on users’ own machines.
  • A handheld acoustic camera. Real-time beamforming and acoustic imaging for arrays of up to 128 microphones at 96 kHz, at more than 60 frames per second on an NVIDIA Jetson Nano with NEON and CUDA. The code became the basis of CRYSOUND’s CRY2600 acoustic imagers, which are used to find gas leaks and electrical faults in industrial plants.

Research

Sole-author work on how real-world audio codecs change what speech-AI security systems see:

  • Same Bits, Different Verdict: The Decoder in Speech Deepfake Detection. Preprint, 2026; under review at IEEE Signal Processing Letters. doi:10.6084/m9.figshare.34018134
  • Clean Accuracy Does Not Guarantee Provenance Robustness: A Prospective Codec-Stress Evaluation of Audio Attribution. arXiv, 2026. doi:10.48550/arXiv.2609.07981

Patents

  • Spatial audio system for videoconferencing. US 12,726,373 B1, issued 2026.
  • Acoustic echo cancellation for multi-microphone conference systems. US 2026/0246660 A1, 2026.
  • Maintaining audio quality during periods of missing data for multi-microphone systems. US 2026/0246895 A1, 2026.
  • Device and method for enhancing target voice. CN 107221336 B, granted 2020.
  • Multi-directional independent recording and voice interaction device. CN 207352968 U (utility model), 2018.

Contact

Email hi@rockyshi.dev, or find me on GitHub and LinkedIn.

0%