Repository navigation
docs Voices
Status: Implemented
Last Updated: 2026-11-13
Audience: Developers and coding agents
Last verified: 2026-11-13 against 5f40af2d9; current behavior only, not historical qualification results
Code: src/Martlet.Core/Speakers/, src/Martlet.Core/Settings/SpeechEngines.cs, src/Martlet.Desktop/Pages/Voice/, src/Martlet.Desktop/MainWindow.VoiceEngines.cs, src/Martlet.Desktop/MainWindow.Voices.cs, src/Martlet.Desktop/MainWindow.People.cs, src/Martlet.Desktop/LocalVoices.cs, src/Martlet.Desktop/VoiceRecognitionHosts.cs, src/Martlet.Desktop/VoiceClips.cs, src/Martlet.Sherpa/, src/Martlet.Gateway.Stt/, src/Martlet.Gateway.VoiceRecognition/, workers/voice-recognition/
Choose a speaking engine under Companion › Voice › Voice engine. Select this PC or a paired computer. The picker shows whether an engine is in use, ready, or needs setup. Check this PC or Check hosts refreshes host status; it does not speak a test reply. Select Set up and use or Use to choose the route. Under Voices, Play plays a saved recording on this PC; it does not test the speaking route. Use applies the saved voice.
Martlet can tell the people around its microphone apart, learn the names they go by from the conversation, and keep that list the same on every computer you own. It reuses AudioTranscriber's speaker recognition: sherpa-onnx with the pyannote segmentation 3.0 and WeSpeaker ResNet34-LM models. The same engine also runs Parakeet, AudioTranscriber's default speech-to-text, as a Listening choice on this PC.
Voice recognition is part of Martlet and on by default: the engine and its two voice models ship with Martlet, so there is nothing to download, and Martlet starts learning who is talking from your first conversation. Turn it off on People at any time (your saved voices are kept). Parakeet stays optional and is downloaded only when you ask. The local models do not send audio to an external provider. If recognition uses a paired host, the utterance is sent to that host in memory and is not kept there. The only audio this feature saves on disk is the clips of voices you have not named yet (see below). Voices are recognized and learned only from the microphone, never from what the PC plays.
A paired Martlet host can do the same work on its NVIDIA graphics card or its
processor with the voice-recognition host role
(Voice recognition host). It uses the same models
and the same steps, so its voiceprints match the ones made on this PC.
-
Recognize voices in conversations. On unless you turned it off
(
voice-recognition.txt, the same on all your computers). Martlet's Desktop folder includes sherpa-onnx 1.13.8 with ONNX Runtime 1.28.2 (from the official NuGet runtime package) and the two voice models (about 41 MB together, invoice-recognition\). The build downloads the models once and keeps each only if it matches its pinned SHA-256; packaging checks the shipped bytes again. If the files are missing (a damaged installation), People says so and asks you to reinstall Martlet. The line under it says where the last voice was recognized, and Check it now tries the list with a test tone. - Where it runs. The Voice recognition list: this PC's processor and your computers that run the Voice recognition role, in order, with this PC's processor as the fallback. See where voice recognition runs.
- Your computers. The list is always the same on all your computers, so Martlet learns everyone's voice everywhere. It doesn't depend on Keep Martlet the same on all my computers. See sharing.
-
Keep the last 20 clips of voices you haven't named. On unless you turn it
off (
voice-clips.txt). This choice is the same on all your computers (thevoice-clipsshared setting), and turning it off anywhere deletes every clip each computer kept; the clips stay on the computer that heard them. See clips. -
Voices Martlet knows. Every voice it has heard: yours first, then voices
linked to other people's accounts, then named ones, then the most recently
heard. A line under the heading counts how many voices are linked to
people's accounts and how many are yours. Each voice is one compact card:
- its names as chips, the one Martlet uses first (outlined). A voice goes by up to 40 names. Click a name to make it the one Martlet uses; a name marked ? was only heard in conversation, and clicking it confirms it. × removes a name. Type in the box and press Enter (or Add) to add one; on a voice you haven't named, what you type becomes the name Martlet uses (it always wins over learned names). Changes save at once and sync to your other computers;
- Hear them: the voice's last few clips, newest first, while you haven't named it. Play one to hear who it is;
- This voice is (This is me until this PC knows your account): links the voice to the account signed in here, so Martlet knows it's you talking. The list is one for the whole household, and each voice links to at most one person's account; a voice linked to someone else shows whose it is, and taking it asks first. A voice only tells Martlet who is talking: it never switches the account, unlocks settings or spends money. When someone else in the household speaks at your PC, your character answers, and what it remembers about them keeps their voice. A voice an older Martlet marked This is me links to the household owner's account;
- Same person as... then Merge (the names, voiceprints, counts and clips combine, and so do the facts Memory keeps for them; it can't be split again);
- Memories opens Memory showing that voice's facts (Whose memories);
- Forget (its voiceprint, names and clips are deleted; what Martlet remembers about them stays in Memory under Forgotten voices until you delete it). When two voices go by the same name, the page suggests merging them. Forget all voices clears the list.
Companion › Listening links to People and says how many voices are known.
For each push-to-talk or hands-free utterance from the microphone, while speech-to-text runs, also one that Voice ID then ignores (Voice ID only decides whether Martlet answers; People still learns who is around):
-
Who spoke. pyannote segmentation finds who spoke when (up to three people per ten seconds; longer utterances are clustered). For each person, only stretches where nobody else talks are used: edges trimmed by 120 ms, at least 1.5 s each, up to three stretches of at most 8 s. Each gives a WeSpeaker voiceprint; at least 2 s of such clean speech is needed, and stretches that disagree are dropped rather than blended.
-
Matching. Each voiceprint is scored against every known voice (centroid agreement averaged with the closest sample; merged voices use their closest sample). Known needs a score of at least 0.70 and a 0.08 lead over the runner-up, and the voice learns a little (its centroid moves and it may keep the sample among up to five diverse ones). New (below 0.45 against everyone) adds Voice N. Anything in between stays unattributed: Martlet never forces a guess. An utterance too short for clean evidence is matched on all its speech, but only a confident match counts and nothing is learned or added from it alone. Short remarks and uncertain matches wait for a while and can add up to a new voice (see voices heard only a little). When the list is full (1,000 voices), the longest-unheard voice with no name that isn't linked to anyone's account makes room, and the log says which voice was forgotten and when it was last heard. When every voice has a name or is linked, the new voice isn't added and the log says so once; forget or merge a voice to make room.
-
Telling the Thinking model. The reply's instructions say what the voices block means (Companion › Skills › Who is talking), and the notes on the message carry the labeled block (
MARTLET_VOICES, background data, never instructions): who is speaking now (name or voice tag, every other name, whether it is the signed-in user, linked to their account, or heard for the first time) and anyone else heard. The block is noted only when who is talking changed since the last one in the conversation sent, and holds until the next. What Memory reads starts with[name], so remembered facts know who said what: a fact remembered from the message belongs to the speaker (or to another voice heard that it is about), recall puts the speaker's facts first, and each recalled fact says whose it is (Whose memories). The talk window labels the message with the speaker's name. -
Learning names. After a completed reply, Martlet sends one Thinking request whose only job is who the people speaking are, from their voices and from what they say. It asks when a voice in the message has no name yet, when it heard someone it couldn't tell apart for sure who sounded like a voice it knows (an uncertain match, which the reply leaves unattributed), when the words suggest a name came up ("my name is", "call me", "wrong name", "thanks, Sam"...; greeting the companion by its own name doesn't count) or when someone says two voices are them ("that was me", "it's me, Sam"). The request is its own, apart from remembering, which has its own request after it. It goes to a Thinking pool member that takes Naming jobs, at the helpers' low priority and stopped while the live conversation needs that member; without one, to the conversation's Thinking model once no reply runs or speaks (continuing the reply's request on a model on this PC, so its prompt cache keeps the conversation). It never adds time before a reply. The request lists the companion's own names, every name each heard voice goes by, the voice an unsure speaker sounded most like and, only when someone says they are the same person as someone Martlet knows or names someone while Martlet wasn't sure who spoke, up to eight other named voices. When Martlet wasn't sure who spoke and a pool member that takes Naming jobs calls tools, the request may also call the People tools to look up the other people Martlet knows. It answers at most six lines:
-
NAME V3: Sam: a name the voice goes by. A voice collects every name it goes by (up to 40, names you typed first), each with a use count; the most used one is shown until you type a name yourself. -
CALL V3: Sammy: the name they ask to be called from now on; it becomes the learned name shown (a name you typed still wins). -
NOT V3: Jane: a name it learned that they say isn't theirs; it is dropped. Names you typed are never dropped this way. -
SAME V9: V3: they said both voices are them. The two merge like Merge on People (it can't be undone), into a voice linked to someone's account, else a named one, else the one heard most; at most one merge per exchange, at least one of the voices must be in the message, and never two voices you named differently. -
SPOKE V3: whose voice said a message Martlet couldn't attribute for sure, when the words and the voice it sounded most like agree, or the words make it plain ("it's Sam here"). It is only a label: the talk window notes Martlet wasn't sure whose voice that was; it thinks Sam (voice 3) said it. It never gives a name, never merges and never teaches the voice (its voiceprint, samples, heard count and last heard stay as they were): only a confident acoustic match teaches a voice. At most one per exchange, only when Martlet wasn't sure who spoke, and only for the voice it sounded most like, another voice listed or one the People tools showed, never a voice heard for sure in the message.
Names go only to listed voices heard in the message, and only real names (at most three words, not "Voice N" or a placeholder such as "no name yet", "unknown" or "anonymous"; one learned by mistake before this check is dropped like the companion's own names below). The companion's own names never become a voice's: "Martlet", every persona's name and each word of it ("Jane" and "Doe" for Jane Doe), a name a persona's text gives it ("You are Jane", "Your name is Jane") and a name Martlet's reply gives itself ("I'm Jane"). The people talking to it are almost never called that, so someone saying "Hey Jane" is talking to Martlet. A voice that learned one of these by mistake (before this check) drops it whenever Martlet reads its settings (when it starts and after you change a persona) and when the voice is heard; a name you typed yourself on People is kept. The talk window notes what was learned, dropped or merged, and the log says why lines were left out (never the names).
-
Recognition waits at most 3 seconds beyond speech-to-text; a slow or failed
recognition only means nobody is named for that message. The utterance's
samples are a private copy that is cleared when recognition ends; the only audio
kept is a voice's clips while you haven't named it (below). voices.json holds
voiceprints, names and voice-list metadata, not audio.
A new voice joins the list at once only when one utterance has at least 2 s of clean speech from it and it sounds like nobody Martlet knows (below 0.45). A guest who says only short things ("Hi!", "Yes, me too"), or who sounds a little like someone Martlet knows (between 0.45 and 0.70), would never be added from one utterance. So Martlet keeps the voiceprints of the voices it couldn't place for 30 minutes, and adds a voice when they add up:
- Martlet notes a voiceprint when a voice was an uncertain match, or when an utterance was too short to split and only one voice spoke in it (no overlap).
- When at least 3 of the voiceprints of the last 30 minutes agree with each other (at least 0.60 against their average) and have at least 3 s of speech together, Martlet checks their average against the list.
- The average becomes a new Voice N when it sounds like nobody known, or when the voiceprints agree with each other at least 0.20 more than the average agrees with the voice it sounds a little like. A known voice heard from far away usually stays that voice. When the average is a known voice, the voiceprints were that voice and are dropped.
- The desktop log says Voice recognition: added Voice N from 3 short or uncertain utterances of the last 30 minutes. The new voice gets the utterance's clip, as any new voice does.
Martlet keeps no audio for this: only voiceprints, in memory, on this PC. They
are never saved or synced, and go after 30 minutes, when you turn recognition
off or when you forget all voices. MCP's voices_noticing_check rehearses the
rules, and voices_status counts the voiceprints that wait (unplaced).
Martlet's Thinking model can look up the people in the voice list with two
tools, the People tool set (people, PeopleTools):
-
people_listlists the voices, most recently heard first (at most 20), or only those whose names contain a word or that have a tag (query: Sam or V3). For each voice it gives its tag, the name Martlet uses first, its other names (typed by you or learned in conversation, with how often a learned one was used), whether it is the signed-in user, linked to someone's Martlet account or the household owner, and how often and when it was last heard. -
people_latelylists who spoke lately: the voices heard in the lastminutes(1 to 10,080; 60 when not given), most recent first.
The tools only read the list. They never change it, and they never give voiceprints, clips or audio. Their first line holds counts only (People: 3 voice(s) saved, 3 listed.), because a check-in card shows it.
Any check-in can tick People under It may use these tools
(Check-in tool sets); a PC with a data
folder runs it, whether recognition is on or off. Talking to someone else and
Someone else is here tick it by default. The set is optional: a check-in gets
the tools only when a Thinking pool member that calls tools can take it, and it
runs without them otherwise. Learning names gets the same
tools when Martlet wasn't sure who spoke and a Thinking pool member that takes
Naming jobs calls tools; the conversation's own Thinking model never gets them
there. The live reply doesn't get them, so the start of every reply's request
stays the same. MCP's voices_people runs them on a data folder's saved list.
Processor or graphics card? Speaker recognition (pyannote segmentation and WeSpeaker voiceprints) runs with ONNX Runtime on a processor or on an NVIDIA graphics card. The runtime that ships in Martlet's Windows folder is processor-only, so on this PC it always uses the processor (about 40-50 ms for each second of speech on a modern desktop processor). A paired computer can run it on its NVIDIA graphics card with the Voice recognition host role. Voice ID (Companion › Listening, the GE2E filter that keeps only your voice) always stays on this PC.
Companion › People › Where it runs is the Voice recognition list, one of
the pools (area
voice-recognition, lane voice-recognition, host role
voice-recognition). It lives on People, beside Recognize voices in
conversations and the voices, because it is the same feature: one page turns
it on, says where it runs and shows whom it knows.
- Members. This PC (each companion PC's own processor) and your paired computers, or one of their cards, that run the Voice recognition role. A card is its computer: the computer picks the card. Each row says how it is doing: this PC's engine (ready and its speed, or stopped and when it tries again); for a computer, whether it runs the role, when it last answered and in how long, or why it is left out for now.
-
Order. A recognition tries the members that are on, in order. A
computer answers through its gateway (route
martlet.gateway.voice-recognition.v1, contractmartlet.voice-recognition-relay1.0). It gets the utterance as 16 kHz mono PCM16, analyzes it in memory with the same models and steps as this PC and keeps nothing. Its voiceprints match the shared voice list like this PC's. Every answer is checked (256 numbers of length 1 per voiceprint, times within the audio, sane counts); a bad answer counts as a failed computer. - This PC is always the fallback. An empty list, a list with nothing on, or a list whose computers all can't answer means this PC's processor recognizes. This PC turned off in the list is used only when no computer above it answers in time. With no list saved (until you change it), this PC's processor recognizes, as before. Nothing is saved for a new computer, so it never shares a list over another computer's choice.
- No added latency. Recognition runs beside speech-to-text, as before. A busy computer is passed over at once, and nobody waits for one. A computer gets a head start of about as long as this PC would take (from this PC's measured speed, 200 ms to 1.5 s). After it, this PC recognizes too and the first answer wins, so a slow computer never makes recognition much slower than this PC alone. A computer that failed, answered badly or was slower than this PC is left out for 30 seconds, then tried again. A computer is given up after 2.5 seconds.
-
Shared. The list is in
pools.json(thepoolsshared setting), the same on all your computers. This PC means each companion PC itself. - The Recommended setup sets it up. While People is on and a host answers, Home's Recommended setup installs the Voice recognition role on a host (its NVIDIA graphics card when one has room, else its processor) and puts that host first in the list. See People in the recommended setup.
- Check it now (under Recognize voices) recognizes three seconds of a test tone the way your voice goes, through the list, and says which place answered and how long it took. Nothing is learned or kept.
- The line under Recognize voices says where the last voice was recognized and
how long it took. The desktop log has one line for each recognition
(
Voice recognition: gpu-pc's Voice recognition role in 45 ms (3.2 s of speech).), with the places passed over and why. Devices › Sharing work shows the list once it is saved.
While Recognize voices in conversations is on, recognition never stops without saying so:
- This PC's engine loads on the first utterance, as before. When an analysis fails (a native failure, a model that can't load), Martlet closes the engine, loads a new one and tries once more at once.
- When that fails too, the engine rests. Utterances skip it, and the computers after This PC in the list (if any) recognize instead. Martlet loads the engine again in the background after 5 seconds, then after 30 seconds, 2 minutes and every 5 minutes, until it works.
- While it doesn't work, People's Now line and This PC's row say why and when Martlet tries again, Home's Needs attention shows Voice recognition stopped working on this PC with Try again now and Open People, and the desktop log has a line for each failure and for "works again".
- Turning recognition off stops the background tries; turning it on again tries at once. Free up this PC unloads the engine as before; it isn't a failure.
The desktop writes how recognition is doing to
voice-recognition-state.json in its data folder (this PC only, never shared;
no audio, voiceprints or names): this PC's engine, the last recognition and the
computers tried. MCP's voices_status reads it (recognitionWhere).
So you can tell who an unknown voice is, Martlet keeps what it said the last 20
times it was recognized (or added), each at most 30 seconds: the stretch where
that person spoke, or the whole utterance when it was too short to split. They
are 16 kHz mono WAV files in voice-clips\<voice ID>\ in Martlet's data
folder, on this PC only: never synced to your other computers or hosts, never
uploaded. The 21st clip replaces the oldest. A clip takes about 32 KB per
second, so one voice keeps at most about 19 MB. Copies are taken while
recognition runs and written in the background, so replies never wait for them.
A voice keeps clips until you say who it is: type a name for it (or confirm a learned one), link it to an account (This voice is ...), merge it into a voice you named, or forget it, and its clips are deleted. A name only learned in conversation keeps the clips, so you can check it. Merging moves the clips to the kept voice. Unticking Keep the last 20 clips deletes every clip and keeps no more.
The list is part of one Martlet on all your computers, through your paired Martlet hosts. People are always shared in the household (see ACCOUNTS), so it syncs even while Keep Martlet the same on all my computers is off:
- Each host keeps a copy in
voices.jsonbesidehost.json(0600, gateway service owner; not part of the approved configuration) and servesGET /martlet/v1/voices/linkedandPOST /martlet/v1/voices/linked(merge a copy in, return the merged result) to paired devices over the pinned, signed connection. Hosts never use the list.GETandPOST /martlet/v1/voicesserve Martlet older than account links: the same list without each voice's account link, which those versions can't read. A copy posted there merges in without removing any link. - While Martlet runs and this PC has paired hosts of your own, every 30 seconds and a few seconds after any change, the desktop reads each paired host's copy, merges it into its own and posts the merged list to every host whose copy differs. There is no switch for it: Keep Martlet the same on all my computers (Devices › Settings for all devices) does not change it. Hosts a friend shares with this PC are never used for it.
- Each voice is a last-writer-wins entry stamped with the same hybrid revision as the cluster plan; forgetting and merging leave tombstones so a voice does not come back from an older copy. Its account link is a register of its own with its own revision, so a copy without links never removes one. The merge is commutative, associative and idempotent. A new voice joins while the list has fewer than 1,000 voices (past that, the housekeeping above makes room); a merge of several computers' copies keeps every voice, even past 1,000. The newest 4,000 tombstones are kept (a tombstone is a few hundred bytes; dropping old ones could let a forgotten voice come back from an old copy). The list is read whole, so it keeps a size limit: about 37 MiB, room for 1,000 voices with all their names and samples. A list past it can't be saved, and Martlet says so.
- So when another computer becomes your companion PC, it already knows the same people and their names. Sync runs whichever role this PC has.
- Whether Martlet recognizes voices at all (
voice-recognition.txt) and Voice ID with the owner's voiceprint (voice-id.json) are shared settings: they are the same on every computer only while Keep Martlet the same on all my computers is on.
Hosts older than this version answer that they don't know the list; the
People page names them and suggests Update host. A host older than account
links still syncs the voices, without whose voice is whose; People names it and
suggests updating it. Copies already on your
hosts stay there until you forget the voices (which syncs tombstones) or remove
the host. Before people were always shared, turning the switch off stopped all
voice sync. Older Martlet versions had their own Sync across my computers
switch (voice-sharing.txt); it is no longer read.
Companion › Listening › This PC offers Parakeet in Martlet next to
whisper: NVIDIA Parakeet runs inside Martlet on the processor through the same
sherpa-onnx runtime that ships with Martlet, with no Docker and no host
service. It offers three models (ParakeetModels in Martlet.Sherpa); each
downloads once, on request, after one confirmation that names it and its size:
Model (route ModelId) |
What it is for | Download | Memory |
|---|---|---|---|
Parakeet TDT 110M (parakeet-tdt-110m-en, English) |
Fastest in English: about 0.1 s for a short turn, the default for an English Windows display language. Less accurate with noise or a distant microphone | 477 MB (fp32 ONNX) | about 0.6 GB |
Parakeet TDT 0.6B v2 (parakeet-tdt-0.6b-v2-int8, English) |
Most accurate in English (about 0.2 s slower): holds up best in noisy rooms and on distant microphones | 661 MB (int8 ONNX) | about 0.9 GB |
Parakeet TDT 0.6B v3 (parakeet-tdt-0.6b-v3-int8) |
25 languages: bg, cs, da, de, el, en, es, et, fi, fr, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, ru, sk, sl, sv, uk, detected by itself; the default when Windows' display language isn't English | 670 MB (int8 ONNX) | about 0.9 GB |
The card marks the recommended model (110M for English, v3 otherwise) and the
one in use. Martlet downloads from Hugging Face at a pinned revision into
speech\models\<model ID>\ in Martlet's data folder, checks each file's exact
size and SHA-256 (a file that doesn't match is deleted), writes the model's
NOTICE beside it (speech\models\Parakeet-TDT-110M-NOTICE.txt,
Parakeet-TDT-0.6B-v2-NOTICE.txt, Parakeet-NOTICE.txt for v3) and switches
Listening to the LocalParakeet route (local-parakeet) with that model.
Choosing a model that is already downloaded switches at once. One model is
loaded at a time; switching unloads the other. A Listening route saved before
these choices keeps v3: Martlet never changes a model you chose.
Why these three (measured with sherpa-onnx 1.13.8 on this PC's processor; see voice latency): 110M took 86-140 ms per short turn and brought a cascade into Gemma 4 E2B to its first audio in 734 ms against 931 ms with v3, but misheard 11% of the words on a desk microphone and 14% on AMI's headsets; v2 misheard 1.2% and 8.6% (20% on AMI's room microphone) in 208-420 ms; v3 took 234-454 ms with 10.7% on the desk microphone. Speed comes first for the default, so English starts with 110M.
The utterance is transcribed in memory on this PC with the same one-use audio
authorization as the other routes, bound to local://windows and the model;
nothing is sent anywhere and there is no charge. With Parakeet as Listening,
talking over Martlet is checked with the same model (see
Conversation). Keep Martlet the same on all my computers
shares the chosen model with your other computers; one that hasn't downloaded
it keeps listening as before and Settings for all devices says which model
to download in Companion › Listening (nothing downloads by itself), and a
model a newer Martlet added waits for the update.
When Listening uses a paired host (whisper or Parakeet on another computer) or
OpenAI, and that route fails for an utterance, Parakeet on this PC hears the
same utterance on the processor, so the turn goes on. Examples: the host is off
or asleep, its service is down, the OpenAI key was removed, or the route took
too long. The audio is still in memory. Nothing is sent anywhere and nothing
costs money. A route that answers is never held up: the stand-in runs only
after the route failed (LiveConversationController.TurnCapture.TranscribeAsync, with a
second, local-only permission from ConversationAuthorization.AuthorizeStandIn).
-
Which model (
LocalSpeechSetup.ListeningStandIn): a Parakeet model that is downloaded on this PC. The model already loaded comes first when it fits. For an English Windows display language the next is the fastest one downloaded (110M, then v2, then v3). For one of v3's 25 languages only v3 fits. For any other display language no Parakeet stands in, because none hears it. - Nothing downloads by itself. The Listening Now card says what stands in (If gpu-pc can't hear you, Parakeet TDT 110M (English) hears you on this PC's processor instead.). When nothing does, it offers Download Parakeet TDT 110M (477 MB) (v3 for other languages). That button downloads the model after one confirmation and does not change Listening. The model loads the first time the route fails, not before.
-
Speed. The first stand-in loads the model: about 1-2 s. After that, a
short turn takes about 50-100 ms. For 60 s after the route failed
(
StandInFor), the next turns go straight to Parakeet. They don't wait for the route to fail again, because a computer that is off takes up to 5 s to time out. After that the route is asked again. Once it answers, turns go back to it. Measured through MCP on this repository's development PC: the first turn's speech-to-text took 1,244 ms (the model loaded), the next turn's 53 ms, with first audio 517 ms after the end of speech. - What you see. Home keeps The last transcription failed until the route answers again, and it says that Parakeet heard you instead. While a Listening host doesn't answer, Home and Devices say that listening works in a reduced way (Parakeet hears you meanwhile), not that Martlet can't hear you. The desktop log says Transcription failed (outcome ...; Parakeet <model> on this PC heard it instead in N ms) when the route failed, and Listening: Parakeet <model> on this PC heard it instead in N ms, without asking Listening's own route ... while the route is skipped. The reply latency line names speech-to-text <model> on this PC, standing in for <route model>.
- Not covered. Discord voice and filling in a recording's words still use only Listening's own choice when it is a paired host.
Voice recognition is a convenience, not authentication: recordings, similar voices, colds, distance and a new microphone can fool it or split one person into two voices (merge them). Scores are cosine similarities, not calibrated probabilities, and the thresholds are AudioTranscriber's conservative defaults. Voice ID (Companion › Listening) is a separate, bundled filter that discards other voices before upload, so Martlet answers only you; People still recognizes and learns every voice the microphone hears.
The results below record earlier local checks. This audit did not repeat them. They are not current performance guarantees or hardware qualification.
Real native inference ran locally on Windows x64 with the pinned downloads:
two synthetic (Windows SAPI) speakers were added as two voices, a second
utterance matched its speaker at 0.93, a 13 s utterance with both speakers was
split and both were recognized, and Parakeet transcribed both speakers'
sentences. Through Martlet MCP on a disposable data directory (with that real
voice list), the People and Listening pages showed their status, a voice was
renamed and merged, and voices_status reported the changed counts. Unit tests
cover the voice list merge rules, naming and the gateway endpoint. Live
microphone conversations, real people, rooms, many speakers, the name-learning
request against a real Thinking model and multi-computer sync on real hosts are
NOT RUN (no audio capture or provider calls in agent verification, and no
second paired host here).
Since voice recognition became part of Martlet, MCP's voices_engine_check
loaded the runtime and models from the Desktop build's own folder (as the
desktop does) and, on three synthetic SAPI recordings, scored the same speaker
at 0.94 and the other speaker at 0.38-0.42. On a fresh disposable data
directory People showed recognition on with nothing to download, and turning
it off and on was reflected by voices_status.
Where it runs and keeping it running. VoiceRecognitionTests (Core) and
VoiceRecognitionPoolTests (Desktop) cover the list's order and fallback, the
shared list on two simulated computers, the router (a computer in time, busy,
slow, failed or answering badly; this PC failing with computers after it), the
keeper's reload, rest, backoff and recovery, the answer checks and the request.
MCP's voice_recognition_check passed all its steps with simulated computers
and, with this build's real engine, loaded it in 0.5-0.7 s and recognized 3 s
in 75-180 ms (about 42-56 ms for each second); the same 3 s through the router
with this PC alone took 115-215 ms, the same within run-to-run noise. Through
-Desktop on a disposable data directory: People showed Where it runs;
Check it now recognized the test tone on this PC's processor in 212 ms (1 s
with the first load); adding This PC saved the shared list. With the voice
model file hidden and the engine freed, Check it now reported the failure;
People's Now problem, This PC's row, Home's Voice recognition stopped
working on this PC and voices_status's desktop showed it with its retry
time, and the background try 5 s later failed again (next in 30 s). With the
file back, Home's Try again now brought it back and Check it now recognized
in 149 ms. A real NVIDIA graphics card, live microphone conversations and the
reply latency lines of a real conversation are NOT RUN (no graphics card
reaches containers on the validation PC, no audio capture in agent
verification). The desktop's client against a real voice-recognition role
(its Linux image on this PC's Docker, through a real gateway) is checked by
voice_recognition_engine_check; it gave the same answers as this
PC's engine.
voices_engine_check runs the bundled engine on any 16 kHz mono PCM16 WAV
files you give it. To run the native tests, point MARTLET_SPEECH_FIXTURES at
a folder with a1.wav, a2.wav (one speaker) and b1.wav (another, saying
"sister"), 16 kHz mono PCM16, and for Parakeet MARTLET_SPEECH_ROOT at a
speech folder with one or more Parakeet models downloaded, then run
LocalSpeechNativeTests: it transcribes b1.wav with each downloaded model in
turn through the desktop's listener, which unloads one before loading the
next. They use the runtime and models the build places beside the tests, skip
otherwise and never download. MCP's parakeet_check loads every downloaded
model through the production engine and transcribes Windows-voice phrases with
it, and voices_status lists the models, which are downloaded and which one
Listening uses.
When the three Parakeet models were added, the 110M and v2 models were
downloaded through Companion › Listening on a disposable data directory (MCP
clicked Download and use and confirmed; each file matched its pin), Listening
switched to each and back without another download, parakeet_check ran all
three on four phrases (no word errors from v2 and v3, one from 110M, which
wrote "to morrow"; 110M transcribed about 2.5 times faster), and
utterance_filter_check passed with each model as Listening's.
Martlet: download · repository · changelog · issues
These pages come from docs/wiki in the repository. To suggest a change, open an issue or a pull request there.
- Home
- Accounts and households
- Accounts and Household
- Android phones and tablets: what it takes, and the plan
- Martlet's API for other apps and scripts
- App Guides
- App Settings and Updates
- App guides: game and app knowledge from the web
- Architecture
- Bounded PCM playback
- Audio dependency inventory and notices
- Avatar guide: Live2D, VRM and speech animation
- V01a explicit microphone capture
- Chatterbox voice engines
- Cleaning up disk space
- One Martlet on all your computers
- Companion controls and behavior requirements
- Components, jobs and placement (design)
- Live conversation
- Creations
- Decision map: which file owns each decision
- Deep research: web search and long research jobs
- The desktop app: updates, notification area, exiting and appearance
- Linux and macOS desktop companion: research, decision and plan
- Developer Guide
- Dia voice engine
- Diagnostics
- Discord
- Architecture and provider contracts
- Discord
- Memory (P03a/P03b/P03c)
- Singing
- Desktop troubleshooting and local support
- Recognizing people by voice, and Parakeet
- Echo cancellation
- ElevenLabs voice: your cloned voice with tones
- F5 worker and reference-voice foundation
- FAQ
- First Steps
- Game state plan: implementation history
- Glossary: one name for each concept
- GPT-SoVITS voice
- Hosted Thinking: cloud models when Thinking can't run on this PC
- Installation and support
- Installing Martlet
- iOS and iPadOS: what it takes, and the plan
- Repository instructions for coding agents
- Repository knowledge base
- Knowledge base maintenance
- GitHub Wiki mirror
- Linux and Mac
- Listening and Voice ID
- Local model apps
- Lorebooks
- macOS: what it takes, and the plan
- Martlet MCP Server
- MCP in Martlet
- MCP: The app's window
- MCP: Apps, home and memory
- MCP: Characters
- MCP: Diagnostics and logs
- MCP: Computers, network and accounts
- MCP: Other
- MCP: Tool permissions
- MCP pages
- MCP: Server and protocol internals
- MCP: Settings
- MCP: Start here
- MCP: Thinking and models
- MCP: Voice and listening
- Memory
- Messaging apps
- Model catalog: sources, conflicts and design
- Motion host role
- Multiple Computers
- Your Martlet network
- OCR host role
- Share your language models: the OpenAI-compatible endpoint
- Packaging
- Perception worker contracts
- Personality and Characters
- Picture making
- Pictures and Creations
- Picture making host role
- Platforms: what each device can do
- Prerequisites: what Martlet bundles, installs for you, or needs from you
- Privacy and Safety
- Reading the text on your screen
- Wiki source
- Recommendation design: ask three questions, plan for three situations
- Recommended setups: one machine to unlimited budget
- Releasing
- Repository Layout
- Research and provenance ledger
- Resource footprints
- Roadmap
- Watch my screen: screen-aware commentary
- Search engine
- Image and audio models: who sees, who hears, who answers
- Setting Up a Host
- Setup, Windows credentials and local audio
- Sharing with Friends
- Singing
- Smart Home
- Smart home and cameras
- Source Projects
- Talking to Martlet
- Telegram and WhatsApp
- The Character
- Thinking
- Tools and MCP
- Troubleshooting
- Martlet desktop UI design
- User stories and target flows
- Voice activity detection
- Validating changes
- Validation and Testing
- Vision
- Voice latency: from you stopping talking to Martlet's voice
- Voice recognition host role
- Multi-engine voice setup and comparison
- Voices
- The welcome wizard
- XTTS-v2 voice engine