Inworld 发布开源语音隔离模型 Voice Isolator
Introducing Voice Isolator
Inworld 开源 Voice Isolator 模型,提供离线与实时双版本,在自有基准测试中表现领先。
Today we're releasing our first open-source model: Voice Isolator. It keeps the voice as it was recorded, with its timbre, breaths and level, and removes background chatter, music and transients. It works at 48 kHz and ships as two checkpoints: an offline model for the best quality on existing recordings, and a realtime model that streams with 20 ms of look-ahead for live applications.
01Purpose
Removing traffic, music or someone talking in the background is half the job. The other half is keeping the person you want to hear. Most denoisers treat a laugh, a breath or a sigh as noise and take it out. Voice Isolator is trained to keep them.
Listen to it on four noisy clips. Switch isolation off to hear what the microphone captured.
Before and after Voice IsolatorPress play, then switch isolation off and on.
Car
Vacuum cleaner
Blender
Rock music
In a live conversation, those sounds tell a voice agent a lot: a breath before someone speaks, a laugh in response, or an "hmm" while they think. Keeping them helps the agent decide when to respond. In a recorded interview or a voice sample, they keep the character of the original voice.
02Evals
We built VIBE (Voice Isolation Benchmark and Evals) to measure how well a model preserves the original voice while removing everything else. It is a multilingual, multi-condition set of real utterances, with and without added noise, and we use it to score open-source models against each other.
VIBE denoising resultsOpen-source denoisers at 48 kHz. Higher is better.
- Other open-source denoisers
Inworld Voice Isolator
0.768
Inworld Voice Isolator realtimeStreaming
0.718
ClearerVoice MossFormer2_SE_48K
0.695
resemble-enhance (denoise)
0.646
FastEnhancer-L 48kStreaming
0.589
DeepFilterNet3Streaming
0.510
Our models performed best among the open-source denoisers we were able to test.
VIBE is a private benchmark for now. If you'd like to submit a model, or help improve Voice Isolator or the benchmark itself, reach out and we'll be happy to collaborate.
03How to
Start with a recording you know well. Install the package, then run it on the file using the commands below. The weights download from Hugging Face on first use. The model runs on CUDA, Apple silicon and CPUs.
Install and run
pip install inworld-voice-isolation
# the voice goes to clean.wav, what was removed to clean_background.wav
voice-isolate noisy.wav clean.wav
# the realtime model, as a stream
voice-isolate noisy.wav clean.wav --mode streaming --lookahead 2Python, streaming
from inworld import voice_isolation
live = voice_isolation.VoiceIsolator("inworld/voice-isolator",
mode="streaming", lookahead_frames=2)
session = live.stream() # 48 kHz mono, in pieces of any size
for piece in microphone:
play(session.push(piece)) # the samples that are final
play(session.flush())To hear it for yourself, run the repository's interactive demo on your laptop. It has a tab for recorded files and another that sends microphone audio through the realtime model.
04Next
Voice Isolator currently only does denoising. We trained it this way on purpose, so that it introduces no bias into downstream training tasks or into realtime speech-to-text models, which can be sensitive to changes in the waveform.
But denoising alone won't fix a low-quality microphone or missing band detail. That is restoration. We're looking at it, and we may have something to share.
We'd like to hear how Voice Isolator works in your application. If you have an idea for making it better, or you found something that doesn't work well, create an issue or ask your agent to open a pull request, and we'll respond. Let's make it better together.
来源:Inworld 官方博客 · inworld.ai