Skip to content
Oto
Esc
↑↓navigate↵open⌘Jpreview
On this page

How It Works

Inside Oto's audio signal chain, macOS Core Audio HAL loopback driver, realtime threading model, and privacy guarantees.

Oto is built like an audio plug-in, not an Electron wrapper. The entire signal path, engine, menu-bar UI, and updater are written in Rust with a strict boundary between realtime audio callbacks and everything else.

The signal chain

Every audio frame flows through a single deterministic 48 kHz pipeline inside oto-dsp:

Physical mic ─► resample to 48 kHz ─► 80 Hz high-pass ─► denoise ─► Voice Enhancer ─► −1 dBFS limiter ─► Oto Microphone
  1. Input capture & resampling — non-finite samples are zeroed at entry; inputs at non-48 kHz rates are resampled cleanly. Stereo inputs are averaged to mono; interfaces with more than two channels take channel 1.
  2. 80 Hz high-pass filter — removes sub-bass rumble, desk bumps, and HVAC vibration before the neural network sees the signal.
  3. Neural denoiser — runs Oto-1 Clean, Oto-1 Isolate, or Oto-1 Lite at the chosen strength.
  4. Voice Enhancer (optional) — presence-gated EQ, auto-gain, and compression running inside the same hop with 0 ms extra latency.
  5. −1 dBFS limiter — prevents clipping even when you speak loudly or laugh close to the mic.

When no app is recording from Oto Microphone, Oto stops the chain completely and releases the physical microphone—keeping idle CPU at 0%.

Realtime threading

Audio callbacks have hard millisecond deadlines: a single heap allocation or mutex wait can cause an audible click or dropout.

  • Inline pure-Rust inference. All four Oto-1 models (Oto-1 Clean, Oto-1 Isolate, Oto-1 Lite Clean, Oto-1 Lite Isolate) run directly inside the realtime audio callback with zero heap allocations after stream start (enforced by automated no_alloc tests in oto-dsp and oto-engine)—no worker thread hop and no extra buffering reserve.
  • Control & UI threads communicate over lock-free channels and latest-wins level meters (Live<f32>), never blocking the audio path.

Virtual microphone on macOS

macOS only permits virtual input devices through a Core Audio AudioServerPlugIn installed in /Library/Audio/Plug-Ins/HAL.

Oto’s C HAL plug-in (driver/macos) contains zero DSP—only a tiny, time-tagged ring buffer shared between two endpoints on one clock:

  • Oto Microphone (visible) — the input device you pick in Zoom, Meet, Discord, OBS, or System Settings.
  • Oto Sink (hidden) — an internal playback endpoint that Oto writes cleaned audio into.

Because the physical microphone and the virtual device run on separate hardware clocks, oto-engine tracks buffer fill level and corrects clock drift continuously with an adaptive rubato resampler. When Oto isn’t running or no app is listening, time-tagged slots guarantee Oto Microphone outputs pure silence—never stale audio.

When Oto switches the system default input itself, it saves your previous default device on disk. On a clean quit it restores that device immediately; if Oto crashes and leaves Oto Microphone selected (and silent), it restores your prior microphone the next time the engine starts (if that device is still connected). Selecting Oto Microphone manually in macOS System Settings → Sound does not create a restore target, and you can always switch back to your physical microphone there anytime.

Privacy & security

  • 100% local audio. Your voice never leaves your machine.
  • No accounts, no telemetry. The only network requests Oto makes are optional update checks and signed release downloads from GitHub Releases.
  • Signed, verified updates. Update payloads are verified against pinned offline Ed25519 keys (oto-sign), unpacked through a bounded extractor, and swapped atomically with renamex_np.
  • Open source end to end. Both the Rust codebase and Oto-1’s model weights are dual-licensed under MIT or Apache-2.0.

What’s next: Linux PipeWire

oto-engine isolates OS audio backends behind a Platform trait. The upcoming Linux backend uses PipeWire natively in-process—creating a virtual Audio/Source (“Oto Microphone”) paired with a passive capture stream pinned to your physical mic so it needs no root permissions, no setcap, and no config edits.