Basics · 1-to-1 Voiceprint Verification & Threshold Lab

1-to-1 Speaker Verifier — Same Voice or Impostor?

Pick any two clips, drop local audio files, or record two short microphone snippets. WeSpeaker ResNet34-LM encodes each clip into a unit 256-d voiceprint in ~192 ms; slide the verification threshold live to see how decision boundaries trade off false accepts vs false rejects.

1. Choose, upload, or record Clip A & Clip B

Clip A (Reference Voice)

Loading clip…

Clip B (Probe Voice)

Loading clip…

2. Verification Verdict & 256-d Barcode Diff

Awaiting live verification…

cos –

Run verification above to compare Clip A and Clip B in 256-d voiceprint space.

Top agreeing and opposing dimensions between Clip A and Clip B
Role Dim # Clip A value Clip B value Product a[i]·b[i]
Verify a pair to inspect top contributing embedding dimensions.

3. Exact Implementation Code

Show the code · worker.js — ensureLoaded() (WeSpeaker 6.69 MB q8 WASM loader)
Show the code · worker.js — embed() (80-bin fbank + ResNet34-LM + L2 norm)
Show the code · wespeaker-core.mjs — decideVerification()