Inworld Voice Isolator v1 Realtime Core ML
A compiled Core ML conversion of Inworld Voice Isolator v1 for live audio on Apple Silicon.
| Model detail | Value |
|---|---|
| Parameters | 58,178,056 |
| Precision | Selected Float16 linear layers, 10-bit keys and 12-bit values |
| Model payload | 139.92 MB |
| Audio | 48 kHz mono |
| Format | Compiled Core ML stages with Metal scan support |
The realtime bundle uses eight-frame predictions. With the suggested cadence, the first PCM block takes 4,384 samples and later blocks take 3,840 samples. Model look-ahead can be 0, 20, or 40 ms. It defaults to 20 ms.
Files
| File | Size or type | Contents |
|---|---|---|
stage_*.mlmodelc |
106.31 MB | 8 compiled Core ML stages |
scan_coefficients.bin |
0.84 MB | Float32 Mamba scan coefficients |
decoder.bin |
32.77 MB | Weights for the Metal band decoder |
speech-swift-inworld.patch |
0.21 MB | Swift runtime and tests |
manifest.json, config.json, validation.json |
Metadata | Bundle format, provenance, and checks |
LICENSE, NOTICE, SHA256SUMS |
Release metadata | Upstream attribution and file digests |
Performance and waveform checks
| Test on the Apple M5 Pro | Timing | Additional result |
|---|---|---|
| 99 s paced replay | 485.5 ms warm p99 | 57 late full pushes after the first |
| 66 s paced replay, user-initiated worker | 108.7 ms warm p99 | 45 late full pushes after the first |
Paced latency measures the interval from scheduled buffer arrival until the Swift call returns. The workstation was active during these runs. Desktop load can produce deadline misses. The waveform checks passed, and the prepared and fixed chunking paths produced identical samples for the clean and noisy clips in the six-language FLEURS check. The largest upstream golden error was 6.73e-05 against a tolerance of 1e-4. Validation results
Download
hf download aufklarer/Inworld-Voice-Isolator-v1-Realtime-CoreML --local-dir InworldVoiceIsolator-Realtime-Fast-CoreML
The same download is available from Python.
from huggingface_hub import snapshot_download
bundle = snapshot_download("aufklarer/Inworld-Voice-Isolator-v1-Realtime-CoreML", local_dir="InworldVoiceIsolator-Realtime-Fast-CoreML")
Build the Swift runtime
Use a speech-swift revision with Inworld support. This bundle also includes a source patch against public revision 8effd8f8cbcb6aa1b9355cc6120c2290f05eafd7.
git clone https://github.com/soniqo/speech-swift.git
cd speech-swift
git switch --detach 8effd8f8cbcb6aa1b9355cc6120c2290f05eafd7
git apply ../InworldVoiceIsolator-Realtime-Fast-CoreML/speech-swift-inworld.patch
make build
Import SpeechEnhancement in your Swift target. Collect PCM from your capture source using preferredPushSamples and serialize calls to one session.
import Foundation
import SpeechEnhancement
let stream = try InworldVoiceIsolatorStream(
modelDirectory: URL(fileURLWithPath: "../InworldVoiceIsolator-Realtime-Fast-CoreML")
)
try stream.prepare()
var pending: [Float] = []
for chunk in pcmChunks {
pending.append(contentsOf: chunk)
while pending.count >= stream.preferredPushSamples {
let count = stream.preferredPushSamples
consume(try stream.push(Array(pending.prefix(count))))
pending.removeFirst(count)
}
}
consume(try stream.push(pending))
consume(try stream.flush())
Here pcmChunks supplies mono Float32 samples at 48 kHz and consume handles the output.
Source and links
Inworld trained and released the checkpoints under Apache 2.0. The bundle includes the upstream license, notices, and checkpoint SHA-256. Source weights · Upstream model card
- Downloads last month
- -
Model tree for aufklarer/Inworld-Voice-Isolator-v1-Realtime-CoreML
Base model
inworld/voice-isolator