Journal · Engineering note

How Cortex detects a turn

Deciding when a caller has finished speaking, with an energy detector and a noise-aware choice between two engines.

Kind
Engineering note
Author
MosaicLabs
Published
Not yet

Draft. This is an outline, not the finished post, and it is not in the production build.

Outline.

  • The problem: a voice agent has to know when the caller is done, quickly, on phone-line audio.
  • The usual stack, and what it loads for every call.
  • What Cortex does instead: a pure-Go energy detector by default; smoothing of signal-to-noise; a switch between two end-of-turn engines depending on noise; an adaptive noise floor; filtering of “uh-huh”.
  • What we found on real phone audio that changed the default.
  • What is not here yet: a memory comparison. We will publish one when both pipelines are measured the same way.