EditorNodesPricingBlog

VoxLock: Open Source Voice Isolation for Film Dialogue

November 30, 2026
VoxLock: Open Source Voice Isolation for Film Dialogue

Arbaz Siddiqui, VoxLock (Apache 2.0)

Share this post:

VoxLock: Open Source Voice Isolation for Film Dialogue

Released on October 11, 2026 under the Apache 2.0 license, VoxLock (arbazsiddiqui/voxlock) keeps one speaker's voice and removes the other voices in the room. On 265 real recordings from the Krisp Voice Isolation Benchmark, it cuts the word error rate of a speech recognizer from 23.21% on raw audio to 4.95%, ahead of every paid isolator in the author's table. You can test VoxLock free in the embedded browser demo below with zero login, and your audio never leaves your browser.

Studio availability. Try the public Hugging Face demo below; VoxLock is not part of a paid AI FILMS Studio plan (use MiniMax Voice Clone in the voice workspace for example instead).

Try VoxLock Live

Press Upload audio and choose a dialogue clip of up to 15 seconds, or press Record to use your microphone. Leave Mix in a second talker on to hear how VoxLock removes a LibriSpeech voice mixed in at 6 dB or 12 dB below you, or at the same level. Then press Play and flip the VoxLock on switch to compare.

The demo runs the fp16 ONNX model with ONNX Runtime Web (WebAssembly) inside the page. It needs no GPU and no WebGPU. In our test at 888 px wide, a 12.2 second clip finished in 7.5 seconds on 4 CPU threads in the tab.

VoxLock off and on, on a held out recording with a second voice in the room. Demo by Arbaz Siddiqui (Apache 2.0).

Why Voice Isolation Matters on Set

Location dialogue often carries a second voice, such as a crew member calling a mark, a background extra, or a radio. A noise suppressor removes hum and wind, but it treats a second voice as speech and keeps it. A target speaker extractor learns one voice and drops all the others.

VoxLock was built for voice agents and phone calls, so it works on one input and picks out the main speaker by itself. That design also fits post production. You give it the production track, and it returns the lead actor without a separate voice enrollment step.

Architecture and Technical Design

VoxLock is a 27 million parameter causal band split RNN (BSRNN) target speaker extractor. It has 24 ms of algorithmic latency, plus the length of each audio chunk.

VoxLock browser demo after processing a 12 second clip with a second talker mixed in

Browser demo result by Arbaz Siddiqui (Apache 2.0)

The model takes its voice sample of the main speaker from the first 15 seconds of the audio. You can also pass a sample of 3 seconds or more to choose the speaker yourself.

An ECAPA speaker embedding from WeSpeaker describes that voice. The band split RNN splits the audio into frequency bands and extracts the speech that matches that voice, chunk by chunk.

The author fine tuned VoxLock from the open REAL-TSE challenge baseline in four stages on a single NVIDIA L4 GPU.

Stage Steps Data
Simulated calls 4,000 LibriSpeech speakers with background talkers in simulated rooms
Real crosstalk 4,000 AMI headset recordings from 40 meetings
Long calls (30 s) 800 Speakers who talk throughout
Rooms and distances 400 Near and far microphones, dry and reverberant background voices, room noise

Benchmark Results

Model Access Word error rate Background words leaked per minute
VoxLock Open 4.95% 0.11
Krisp VI 2.5 Default Paid 5.30% 1.52
Sanas Voice Isolation SE 1.0 Paid 9.38% 13.76
REAL-TSE causal (starting point) Open 9.81% 13.73
DeepFilterNet3 Open 13.30% 22.77
No processing 23.21% 66.48

These are the author's numbers on 265 real recordings from the Krisp benchmark, transcribed with Parakeet TDT 0.6B v2. On real AMI meetings that were held out of training, VoxLock scores 10.12% word error rate against 33.03% for raw audio.

Hardware, VRAM, and License Matrix

Runtime Precision Download Speed or load License
Browser (ONNX Runtime Web) fp16 47 MB 12.2 s clip in 7.5 s on 4 threads (our test) Apache 2.0
CPU, Python package (default) int8 74 MB 77% of one Xeon core at 40 ms chunks Apache 2.0
CPU, full quality fp32 94 MB 165% of one core at 20 ms chunks Apache 2.0
NVIDIA L4 GPU (CUDA) fp32 104 MB PyTorch 40x faster than real time on whole files Apache 2.0

The int8 model keeps 99.8% of the fp32 accuracy. The fp16 model matches fp32 to over 70 dB, which is why the browser demo uses it.

Parameter Reference

Parameter Default Options Filmmaker notes
precision int8 int8, int8-full, fp16, fp32 Use fp32 for final dialogue stems
sample First 15 s of the file Any clip of 3 s or more Pass a clean line from the same actor
threads 1 Any CPU thread count More threads for batch jobs
Input format Any sample rate Mono or stereo Processed at 16 kHz mono
Streaming chunk 40 ms 20 ms and up Smaller chunks cost more CPU

Local Python and CLI Setup

Install the package and process a production track from the terminal. The model downloads on first use.

pip install voxlock
voxlock scene12_take3.wav -o scene12_take3_isolated.wav --precision fp32

Pass a clean sample of the lead actor when two people speak at the same level:

import soundfile as sf
import voxlock

vl = voxlock.VoxLock(precision="fp32")
track = voxlock.load_audio("scene12_take3.wav")      # 16 kHz mono float32
actor = voxlock.load_audio("lead_actor_clean.wav")   # 3 s or more of one voice
isolated = vl.isolate(track, sample=actor)
sf.write("scene12_take3_isolated.wav", isolated, 16000)

For a full research setup, clone the repository and run the PyTorch model:

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

Filmmaker Production Playbook

Export each actor's dialogue track as a separate WAV from your editor, then run VoxLock with a clean three second sample of that actor. Keep the raw track on a muted lane under the isolated one, so you can blend back room tone where the cut sounds dry.

Use VoxLock before transcription. A cleaner dialogue track gives subtitling models such as Phonon-2 and Rumble-2-Flash fewer errors, and it gives lip sync and dubbing tools a cleaner voice reference. For general noise and reverb rather than a second voice, compare Inworld Voice Isolator and Quail Voice Focus.

When you need a replacement line after cleanup, record a clean sample and use the voice tools in the AI FILMS Studio voice workspace, or browse the open source models hub.

Known Limitations and FAQ

Does VoxLock remove music and sound effects? It is trained to keep one voice and remove other voices and room noise. Music and effects were not part of its training, so use a stem separation tool for score and effects.

What if two actors overlap in the same line? VoxLock keeps only the speaker that matches its voice sample. Run it once per actor with that actor's sample to get two separate stems.

Can I use it in a paid film? Yes. The model and code are under the Apache 2.0 license. The training data credits LibriSpeech and the AMI Meeting Corpus.

Why does the microphone not work in the embed? Some browsers block microphone access inside an embedded frame. Use Upload audio instead, or open the Space in its own tab from the Sources list.

Related Reading