Instructions to use alkove-ai/alkove-timbre-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Alkove
How to use alkove-ai/alkove-timbre-1 with Alkove:
# pip install alkove import alkove models = alkove.Models.load(["timbre"])
- Notebooks
- Google Colab
- Kaggle
alkove-timbre-1
It learns the user's voice while they talk, tells Focus whose voice to keep, and checks whose phrase reaches the agent. A print is 192 numbers, no audio.
| 2.07 % | 0.97 MB | 2,325 | 5.9 ms |
|---|---|---|---|
| equal error rate, a 12 s print against 1.5 s of voice, in 11 languages | of weights, mostly 4-bit | speakers never heard in training | per 1.5 s of voice, natively on a phone |
Common Voice test sets (CC0), and for German, Dutch, Polish and Swedish the Common Voice 17 speakers Timbre never learnt. Open models run the same way on the first 7 languages. Every table is below.
Size against quality, open models. Equal error rate, a print against 1.5 s of voice, Common Voice in 7 languages. Better is higher, smaller is further left; sizes to scale, w2v-BERT 2.0 past the break.
Voiceprints from 16 kHz speech. Timbre turns a window of speech into a unit vector of 192 values: compare two of them by their dot product to tell whether they are the same voice, or give one to alkove-focus-1 to keep that person's voice. It answers "is this my user?" on the device, tells which of the voices an app knows is speaking, and finds where its user's voice is in a stream.
Part of Alkove, an on-device voice SDK: isolation, wake word, voiceprint, voice activity, end of turn and pronunciation, all in the browser or on the phone, nothing sent to a server. It replaces alkove-timbre-1-preview from Alkove 0.5; prints made by the preview do not compare with this version's and must be learned again.
Files
| File | |
|---|---|
alkove-timbre-1.alk |
the model, 4-bit and int8 weights, for the Alkove engine, 0.97 MB |
alkove-timbre-1.json |
manifest: sha256, sizes, inputs and outputs |
size-quality.png |
the chart above |
LICENSE |
Apache-2.0 |
NOTICE |
copyright |
Inputs and outputs
| Name | Type | |
|---|---|---|
audio (in) |
float32 [1, samples] |
16 kHz mono, -1 to 1, one window of 1,400 to 32,000 samples (88 ms to 2 s); 1.5 s (24,000 samples) advised |
embedding (out) |
float32 [1, 192] |
unit norm: the print for Focus |
id (out) |
float32 [1, 192] |
unit norm: compare two voices by the dot product |
In this version embedding and id are the same vector. To enroll someone, average the id of several windows of their voice and normalize the result again.
// alkove-engine = { git = "https://github.com/alkove-ai/alkove" }
use std::sync::Arc;
use alkove_engine::{Model, Session};
let timbre = Arc::new(Model::load(&std::fs::read("alkove-timbre-1.alk")?)?);
let mut s = Session::new(timbre)?;
s.set_len(window.len())?; // 1,400 to 32,000 samples
s.input_mut("audio").unwrap()[..window.len()].copy_from_slice(&window);
s.run();
let id = s.output("id").unwrap();
Runs on the Alkove engine (Rust, Apache-2.0), natively or in WebAssembly, on one thread; the Alkove SDK runs it for you in the browser, the alkove Python package natively, the Android SDK, the Swift package and React Native on the phone. There it learns the user's print while they talk, checks each phrase or wake word against it, and its verify() and identify() set thresholds by how much voice the print and the window hold. The .alk format is documented.
Architecture
An ECAPA-TDNN style network of 1.47 M parameters, trained without pretrained weights.
- 80 log-mel bands every 10 ms (25 ms windows), computed inside the model
- a 1D convolution (kernel 5) to 256 channels
- three SE-Res2 blocks (Res2 scale 4, kernel 3, dilations 2, 3 and 4) with squeeze-excitation
- the three blocks' outputs concatenated, a 1x1 convolution to 512, averaged over 40 ms, then to 256
- attentive statistics pooling with global context, a linear layer to 192 values, normalized
Weights in 4-bit, the first convolution in int8.
Performance
| Size | 0.97 MB |
| CPU, native, 1 thread, Galaxy Z Fold8 (Android 17) | 5.9 ms per 1.5 s window |
| CPU, native, 1 thread, Apple M1 Max (macOS) | 7.8 ms per 1.5 s window |
Beside Focus, the SDK reads one 1.5 s window every 0.5 s while a print is in use, and none on a silent microphone.
Benchmarks
Every number below is measured by me.
Common Voice, 11 languages
Equal error rate (same voice or not, lower is better) on the Common Voice test sets (CC0) of French, English, Spanish, Italian, Portuguese, Catalan and Romanian, and for German, Dutch, Polish and Swedish the Common Voice 17 test and dev speakers Timbre never learnt: 2,325 speakers never heard in training, up to 4 clips each (9,241 clips). For reference, the previous version and the open 3D-Speaker CAM++ (speech_campplus_sv_zh_en_16k-common_advanced, Apache-2.0, 28 MB) on the same trials.
| EER | alkove-timbre-1 id (0.97 MB) |
alkove-timbre-1-preview id (0.74 MB) |
CAM++ (28 MB) |
|---|---|---|---|
| A print of about 12 s (3 clips) against a 1.5 s window | 2.07 % | 2.70 % | 1.54 % |
| The same, impostors only with a close pitch (ยฑ2 semitones) | 2.71 % | 3.65 % | 2.01 % |
| Clip against clip, whole clips (about 4 s) | 2.80 % | 3.61 % | 2.16 % |
| Clip against clip, 3 s | 3.13 % | 4.13 % | 2.57 % |
| Clip against clip, 1.5 s | 4.39 % | 6.50 % | 4.37 % |
Mean of the 11 languages. Print against a 1.5 s window, per language: French 2.50 %, English 1.96, Spanish 1.82, Italian 1.77, Portuguese 3.03, Catalan 2.25, Romanian 2.50 (30 speakers only), German 0.31, Dutch 1.25, Polish 2.24, Swedish 3.12 (56 speakers). These rows ran Timbre 1's network in float on whole clips; the published file, its 4-bit rounding, takes windows of up to 2 s.
Open models, 7 languages
The same trials on the first 7 languages, a print of about 12 s (3 clips) against a 1.5 s window, each open model run the same way, on its own features, in float. Mean of the 7 languages.
| Model | Size | License | EER |
|---|---|---|---|
alkove-timbre-1 id |
0.97 MB | Apache-2.0 | 2.26 % |
| ECAPA 512 (WeSpeaker) | 25 MB | open weights (WeSpeaker) | 5.52 % |
| CAM++ (3D-Speaker) | 28 MB | Apache-2.0 | 1.72 % |
| ReDimNet2-B6 | 51 MB | MIT | 1.67 % |
| w2v-BERT 2.0 SV | 2.5 GB | public weights, no license stated | 1.31 % |
Windows from noisy scenes
Harder, and closer to a live call: windows taken from scenes with noise, music or another voice (1,389 of 1.5 s, 1,353 of 1 s), the user holding the window against the user silent, on the raw microphone and after alkove-focus-1 through the SDK (with the user's print and sample, or nothing given). After Focus is the path the SDK takes when it checks whose phrase it is. The published file on the engine.
EER of id |
raw mic | after Focus, print given | after Focus, nothing given |
|---|---|---|---|
| 1.5 s windows | 13.3 % | 18.8 % | 18.4 % |
| 1 s windows | 14.4 % | 21.3 % | 21.0 % |
Focus removes most of what is not the user, so only 60 to 100 windows per column are left without the user: these figures move by several points. Speech from Common Voice French dev (CC0), Multilingual LibriSpeech French dev (CC BY 4.0) and LibriTTS-R dev-clean (CC BY 4.0). Noise and music from MUSAN (CC BY 4.0), the DNS Challenge (CC BY 4.0) and RIRS_NOISES (Apache-2.0).
Intended use
Giving alkove-focus-1 the print of the person to keep; answering "is this my user?" on the device, for example to let only the owner's voice wake or interrupt an assistant, or to keep another voice's phrases from reaching an agent; telling which of the voices known to the app is speaking, and when. The print can be learned while the user talks, without an enrolment screen.
Out of scope:
- authentication or access control: at about 2 % equal error rate it is a convenience filter, not a security check;
- forensic speaker comparison;
- comparing voices across very short windows (under 1 s).
Limitations
- 16 kHz only; short windows (under 1 s) are less reliable.
- Less sure of a voice on Focus's output than on the raw microphone (table above).
- Prints are tied to this version: a print from alkove-timbre-1-preview means nothing to it.
License
Copyright 2026 Eddy Bordi, under the Apache License 2.0, for the weights and this card.
- Downloads last month
- 3,528
Space using alkove-ai/alkove-timbre-1 1
Collection including alkove-ai/alkove-timbre-1
Evaluation results
- EER, print of about 12 s against a 1.5 s window (%) on Common Voice test sets, 11 languages, 2,325 speakersself-reported2.070
- EER, clip against clip, whole clips (%) on Common Voice test sets, 11 languages, 2,325 speakersself-reported2.800
- EER, print of about 12 s against a 1.5 s window (%) on Common Voice test sets, 7 languages, open models run the same wayself-reported2.260
