October 11, 2026 · VoxLock · Voice isolation · Voice agents · Speech enhancement · ONNX

VoxLock: the best performing voice isolator

Paper · Code · Model

VoxLock keeps the caller’s voice and removes the other voices in the room before speech-to-text hears them. It is made for voice agents: one input, the call audio, and it picks out the caller by itself.

The same 6.5 seconds of a held-out call, with VoxLock off and then on.

It has the lowest word error rate on the Krisp Voice Isolation Benchmark of every model tested, paid or open: 4.95%, with 0.11 background words leaked per minute. Below, it runs in your browser.

Demo#

The recordings are processed ahead of time with the published model. Your own recording runs through the same model in this tab with onnxruntime-web, a 47 MB download the first time.

Results#

265 real recordings from the Krisp Voice Isolation Benchmark: office, call center and phone calls with a second voice or noise in the room. Transcribed with Parakeet TDT 0.6B v2 and scored with the benchmark’s published method.

Word error rate and leaked background words for every model on the Krisp Voice Isolation Benchmark

Model Access Word error rate % Caller words missed % Background words leaked / min
VoxLock open 4.95 4.22 0.11
Krisp VI 2.5 Default paid 5.30 4.21 1.52
Krisp VI 2.5 Balanced paid 5.32 4.06 2.02
Krisp VI 2.5 HD paid 5.79 4.37 2.74
Krisp VI 2.5 Lite paid 6.21 4.26 4.52
ai-coustics Voice Focus 2.2 L paid 6.84 6.03 0.66
ai-coustics Voice Focus 2.2 S paid 6.91 6.01 1.00
Sanas Voice Isolation SE 1.0 paid 9.38 4.90 13.76
REAL-TSE causal (VoxLock’s starting checkpoint) open 9.81 5.84 13.73
Hush open 12.09 6.27 19.58
DeepFilterNet3 open 13.30 6.46 22.77
TIGER open 14.72 3.96 37.24
No processing 23.21 4.28 66.48
SAM-Audio small (Meta) open 33.77 27.98 21.15
ElevenLabs Voice Isolator** paid 43.79** 4.06** 144.6**
  • Word error rate: errors in the caller’s transcript after isolation.
  • Caller words missed: caller words deleted or replaced.
  • Background words leaked: words transcribed while only the background was talking, per minute of that audio.

** ElevenLabs Voice Isolator, run on the 7 of these recordings with the most background speech, not all 265. On the same 7, no processing scores 45.82% and 154.3 leaked words per minute, and VoxLock 2.98% and 0.0.

On 134 windows of real AMI meetings that are not in the training data, with the headset wearer as the caller:

Model Access Word error rate % Caller words missed % Background words leaked / min
VoxLock open 10.12 6.77 2.12
ai-coustics Voice Focus 2.2 S paid 11.85 8.67 1.06
ai-coustics Voice Focus 2.2 L paid 12.13 8.88 1.72
Sanas Voice Isolation SE 1.0 paid 13.30 9.09 5.30
TIGER open 22.84 9.74 36.85
DeepFilterNet3 open 26.78 13.10 38.84
Hush open 33.00 11.89 68.93
No processing 33.03 8.05 78.34

Per-file results, intervals and the harness are in the repository.

How it works#

VoxLock is a causal band-split RNN target-speaker extractor, 27M parameters, fine-tuned from the REAL-TSE challenge baseline. It takes the loudest 3 seconds in the first 15 seconds of the call as the caller’s voice sample. The sample becomes frame-level speaker features that each frequency band attends to, and the network predicts a mask over the call’s spectrogram that keeps the matching voice. The paper on arXiv has the full method and results.

It streams with 24 ms of algorithmic latency, plus the chunk. With the default 8-bit model on one CPU thread of a Google Cloud Intel Xeon, a live call takes 77% of a core with 40 ms chunks and 61% with 80 ms chunks, so one vCPU runs one call. On an NVIDIA L4 GPU, a whole recording runs 40 times faster than real time.

Performance#

One live call through VoxLock.stream with the default int8 model on one CPU thread: onnxruntime 1.31.1 on a Google Cloud g2-standard-8 (Intel Xeon @ 2.20 GHz), 60 seconds of AMI meeting audio.

Chunk CPU per call Real-time factor
20 ms 110% of a core 1.10
40 ms 77% of a core 0.77
80 ms 61% of a core 0.61

Below 1 keeps up with the call. 20 ms chunks keep up on two threads (0.86). The model has 27M parameters and 24 ms of algorithmic latency, plus the chunk. On the same machine’s NVIDIA L4 GPU (fp32, CUDA), a whole recording runs 40 times faster than real time.

Precisions#

The ONNX model comes in four precisions, all in the Hugging Face repository. Choose with VoxLock(precision=...), voxlock --precision ... or VoxLockFilter(precision=...).

Precision Quality Files Download Word error rate % Background words leaked / min CPU per call, 20 ms chunks
int8 (default) 99.8% enroll.onnx, chunk_int8.onnx 74 MB 5.11 0.12 110%
int8-full 99.1% enroll.onnx, chunk_int8_full.onnx 71 MB 5.85 0.04 110%
fp16 100%* enroll_fp16.onnx, chunk_fp16.onnx 47 MB 4.95* 0.11* 163%
fp32 100% enroll.onnx, chunk.onnx 94 MB 4.95 0.11 165%

Quality: the share of fp32’s correctly transcribed words each precision keeps, on the 265 Krisp recordings. CPU per call: one live call on one thread of the Xeon in Performance.

* fp16 matches fp32 to over 70 dB, so it carries the fp32 scores. The browser demo uses it.

Training#

Four stages on a single NVIDIA L4, 9,200 steps in total:

  1. Simulated calls: LibriSpeech callers mixed with one or two background talkers in simulated rooms, a quarter of them telephone band, with the voice sample cut from the mix.
  2. Real crosstalk: AMI headset recordings from 40 meetings, where the other people in the room bleed into the wearer’s microphone.
  3. Long calls: 30-second clips where the caller talks throughout.
  4. Rooms and distances: callers close to or far from the microphone, background voices dry or in the room, and real room noise.

Use it#

For voice agents: a Pipecat audio filter, a LiveKit Agents plugin, and sherpa-onnx in C++. For files and your own streaming loop, read on.

pip install voxlock
voxlock call.wav -o caller.wav

Any sample rate, mono or stereo. The 74 MB model downloads on first use, or ahead of time with voxlock download.

import voxlock

vl = voxlock.VoxLock()                     # precision="fp32" for the benchmarked model
call = voxlock.load_audio("call.wav")      # 16 kHz mono float32
caller = vl.isolate(call)                  # same length as the input

isolate takes the caller’s voice sample from the first 15 seconds of the call. Pass sample= (3 seconds or more) to choose it yourself.

Streaming#

Push the call in as it arrives, as 16 kHz float32 chunks of any size. Each push returns the isolated audio that is ready, about 24 ms behind the input.

vl = voxlock.VoxLock(threads=1)
stream = vl.live()                         # finds the caller by itself
for chunk in call_audio:                   # e.g. 40 ms = 640 samples
    send(stream.push(chunk))
send(stream.flush())                       # at the end of the call

live() passes audio through until it has heard 3 seconds of the caller, then isolates. On the 265 Krisp recordings it scores 5.15% word error rate (4.95% on whole files).

If you already have a sample, from earlier in the call or from a previous call, isolation starts with the first chunk:

stream = vl.stream(sample)                 # about 3 s of the caller, 16 kHz mono

On one CPU thread it keeps up with chunks of 40 ms or more (see Performance).

Pipecat#

pip install "voxlock[pipecat]"
from pipecat.transports.base_transport import TransportParams
from voxlock.pipecat import VoxLockFilter

params = TransportParams(audio_in_enabled=True, audio_in_filter=VoxLockFilter())

Passes audio through until it has heard 3 seconds of the caller, then isolates (voice_sample= isolates from the start). Any transport rate, Twilio’s 8 kHz included. One thread, 61% of a CPU core, 184 ms delay at 16 kHz; chunk_ms=40 gives 104 ms for 77%. Example: examples/pipecat_bot.py. Tested with Pipecat 1.15.0.

LiveKit#

pip install "voxlock[livekit]"            # or: pip install livekit-plugins-voxlock
from livekit.agents import room_io
from voxlock.livekit import VoxLockFilter   # or: from livekit.plugins import voxlock; voxlock.VoxLockFilter()

await session.start(
    agent,
    room=ctx.room,
    room_options=room_io.RoomOptions(
        audio_input=room_io.AudioInputOptions(sample_rate=16000, noise_cancellation=VoxLockFilter()),
    ),
)

One filter per session. Passes audio through until it has heard 3 seconds of the caller, then isolates (voice_sample= isolates from the start). One thread, about 68% of a CPU core, 124 ms delay at 16 kHz. Call preload() in your prewarm function; download-files fetches the model. Example: examples/livekit_agent.py. Tested with livekit-agents 1.8.10.

sherpa-onnx#

Built into sherpa-onnx’s speech denoisers from 2.0.1, in C++. Models from this release, then:

sherpa-onnx-offline-denoiser \
  --speech-denoiser-voxlock-enroll-model=voxlock_enroll.onnx \
  --speech-denoiser-voxlock-chunk-model=voxlock_chunk_int8.onnx \
  --input-wav=call.wav --output-wav=caller.wav

sherpa-onnx-online-denoiser streams with the same models; --speech-denoiser-voxlock-voice-sample=caller.wav sets the voice sample.

PyTorch#

git clone https://github.com/arbazsiddiqui/voxlock && cd voxlock
pip install -r requirements.txt
huggingface-cli download arbazsiddiqui/voxlock model.safetensors config.yaml --local-dir ckpt
python isolate.py --ckpt ckpt --in call.wav --out caller.wav