verbatim
Total, reversible transcription for the terminal. verbatim encode turns a video or an audio recording into one text file with everything on a single timeline: the words and when each one is said, who speaks, pauses, breaths and hesitations, the pitch, level and pace of every word, the melody of the speech, the emotion of each utterance, laughs, coughs and music. verbatim decode takes that file alone and speaks it again, with whatever you changed in the text. The file is text from the first line to the last: no audio is kept in it and no voice. The voices live apart, in a collection on your Mac: the ones you clone from a recording, the ones you describe in words, and four built-in ones. verbatim say speaks any text in one of them, and verbatim alone opens a full-screen interface with every command as a form. It runs on a Mac with Apple silicon, entirely on that Mac, and it is built and measured for Brazilian Portuguese and English.
Install
With Homebrew, on a Mac with Apple silicon and macOS 14 or later:
brew tap leonardoaguiar/verbatim https://leonardoaguiar.com/apps/verbatim/tap.git
brew install leonardoaguiar/verbatim/verbatim
verbatim models pull
Homebrew installs ffmpeg and uv along with it. Nothing is compiled on your Mac:
- The first run of each version builds the environment verbatim runs in: the libraries it needs, downloaded ready-made and checked against the SHA-256 of each one, in
~/.local/share/verbatim(about 1.6 GB). It takes a minute or two, once. verbatim models pulldownloads the models into the Hugging Face cache,~/.cache/huggingface/hub: about 9 GB for everythingencodeanddecodeuse.verbatim models pull --language en(orpt-BR) leaves out the alignment model of the other language, andverbatim models pull evaladds the 2.5 GB recogniser that onlyverbatim evaluses.verbatim doctorchecks that the Mac, ffmpeg, the libraries and the models are all in place.
verbatim update brings new versions. To remove everything: verbatim env remove (the environment), brew uninstall verbatim, and delete ~/.cache/verbatim, the voices in ~/.local/share/verbatim/voices and the models in ~/.cache/huggingface/hub.
Quick start
verbatim encode interview.mp4 writes interview.verbatim
verbatim status interview.verbatim what is inside, what was edited
open -e interview.verbatim change a word, a pause, a pitch
verbatim diff interview.verbatim what you changed
verbatim decode interview.verbatim -o new.mp3 speech again, in a built-in voice
verbatim voice record me records your voice from the microphone
verbatim decode interview.verbatim --voice me -o new.mp3
verbatim say "Any text you write." --voice me -o me.mp3
verbatim decode interview.verbatim --mux interview.mp4 -o new.mp4
verbatim eval interview.mp4 how close the way back gets
encode reads anything ffmpeg can open, and a recording alone is short for it: verbatim interview.mp4 encodes, verbatim interview.verbatim shows the status. A one minute dialogue takes about 50 seconds to encode on an M5 with 16 GB, and one to two minutes to decode with built-in voices, or two to three with cloned ones, because every utterance is spoken again.
Option of encode | What it does |
|---|---|
-o FILE | Where to write (default: the media name with .verbatim) |
--language pt-BR, en, auto | The language (default: detected) |
--speakers N | How many people speak, when you know |
--voices [FILE] | Also keeps the voice of each speaker, in a .voice file beside the output (or in FILE) |
--fresh | Ignore the work kept from earlier runs on this recording |
The interface
verbatim opens the interface
verbatim ui interview.verbatim opens it on a file
verbatim with nothing after it, in a terminal, opens a full-screen interface, made to be used from the keyboard alone. Every command is there as a task, grouped by what you want to do: Transcribe, Speak, The file, Voices, Measure and This Mac. Up and down choose a task in the list on the left, and Enter goes into it. A task is a form, one line per field:
- Up and down go through the fields, and down from the last field reaches Run. The field you are on is lit, with a bar beside it, and the line under the form says what it does. Run says
enterbeside it when it is the one lit. - Enter runs the form from any field. When something is still missing, it says what and goes to that field.
- Left and right change a choice, and a letter jumps to the next value that starts with it. Space switches an on and off field.
- The command line is shown as you fill the form, so what the interface runs is what you would type. The less used options are under More options.
- The output appears under the form as it runs, with the step it is on and the time it has taken: errors in red, warnings in yellow, what went well in green. When it ends, the buttons for what usually comes next (open the audio, show it in Finder, go on to the next task) take the keys.
- Files: type a path (Tab takes the suggested completion), drop a file on the terminal, or use Browse, which lists only the kinds of file the field takes. The file you chose in one task is already there in the next.
- Speakers, utterances and voices are lists read from your file and your collection: a decode has one voice menu per speaker.
- Tasks that only read (Look inside, See the edits, The collection, Models) run by themselves when the file is chosen. The ones that change a file or remove a voice ask first.
- The line at the bottom always shows the keys that work where you are.
To clone your own voice, open Record your voice: it records you from the microphone. Clone from a file is for a recording you already have (an audio or video file, or a .voice file) and asks for that file.
Record your voice is conducted on a page of its own: the language comes first (the texts are in it), then the name, and Start recording. From then on, each text is on screen to rehearse aloud; space records it, and space again, or a moment of silence, ends the reading, while a meter shows your level. s skips a step (it is asked again at the end), r reads again what came out short, and Esc stops the session without keeping anything. Cloning a voice well, below, says what it asks for and why.
| Key | What it does |
|---|---|
↑ ↓ | Choose a task; in a form, go through the fields to Run |
Enter | Opens a task; in a form, runs it from any field |
← → | Change a choice |
Space | Switches an on and off field; in Record your voice, records and ends a reading |
Ctrl+R | Runs the task |
Ctrl+S | Stops what is running |
/ or Ctrl+P | Searches every task and every option |
Esc | Goes back to the list of tasks, or out of a window |
Esc Esc Esc or Ctrl+Q | Quits (it asks first when something is running) |
F1 | Shows the keys |
The interface runs the same commands described below, one at a time, and writes nothing to the clipboard. When the output is not a terminal (a pipe, a script), verbatim alone prints the help.
The file
A .verbatim file is text, in UTF-8, and nothing else: no audio and no encoded block. A minute of speech is about 50 kB. It has these sections:
[file]: the source (name, SHA-256, duration, sample rate, channels), the language, the loudness and the version that wrote it.[speakers]: one line per speaker, with the median pitch, the pitch range, the speech rate, the level and the id of that voice in a voice file of the recording.[score]: the readable layer, one line per utterance.[words]: the measured layer, one row per word, pause and event.[pitch]: the melody of the speech, reading by reading.[room]: the noise of the room.[origin]: the score and the rows asencodewrote them.[models]: which models wrote the file, each pinned to its revision, with its license.
The score
u0003 | 00:10.55 | S2 | neutral 1.0 | I *never* said (0.41) she took the money. (laugh 0.80)
e0001 | 00:31.20 | BED | music | (music 12.50)
Each line has an id, the start on the clock, the speaker, the emotion with its confidence, and the text. What can appear in the text:
| Written | Means |
|---|---|
(0.41) | A pause of 0.41 seconds |
(breath 0.30), (laugh 0.80), (cough), (sigh), (cry), (noise) | A non-verbal event and how long it lasts |
uh..., é... | A hesitation, written as it sounds |
*word* | Emphasis: higher and louder than the speaker's usual |
!!word!!, °word° | Louder, softer |
↑word, ↓word | A jump up or down in pitch from the word before |
>some words<, <some words> | Faster, slower than the speaker's usual |
{word} | The recogniser was not sure of this word |
[word] | Said while someone else was speaking |
Lines that start with e are track lines: music (BED) and ambient sounds (AMB) with their start and duration. They are marked, not separated from the speech. The emotion is one of angry, disgusted, fearful, happy, neutral, other, sad, surprised or unknown.
The rows
u0003 S2
# start dur token f0 in mid out dB ph/s conf
10.550 0.063 I - - - -8.6 15.9 .99
10.613 0.310 never +3.1 +4.2 +1.0 +3.4 9.7 .88
10.923 0.410 (pause) - - - - - -
For each word: when it starts and how long it lasts (seconds), the pitch at its start, middle and end (semitones from the speaker's median), its level (dB from the speaker's level), its pace (phones per second) and how sure the alignment is. The start of a unit is the start of the utterance plus the durations before it, so changing a duration moves what follows inside the utterance.
Pitch, room and origin
[pitch]
00:10.50 - - - - 187 189 190 192 191 - - - 201 203
[pitch] has 100 readings per second, in Hz, where somebody speaks. Each row starts at a time and covers half a second; - is a reading with no voice. It is the melody decode gives back to each word.
[room] is the level of the room when nobody speaks and its colour in 48 bands, in dB. decode fills the silences with it.
[origin] is a copy of the score and the rows as encode wrote them, every line starting with > . It is what diff compares with and what revert goes back to, so it is not for editing: it carries its own SHA-256, and a file whose [origin] was changed is refused with the line number. A replace across the whole file reaches it too; make your edits in [score] and [words].
Files written by verbatim 0.1 had the recording and the voices inside, in base64. They are still read, without the audio, and verbatim fmt writes them again as text.
Voices
No voice is kept in a .verbatim file. A decode speaks with the voices you give it, and verbatim voice manages the collection kept on your Mac, in ~/.local/share/verbatim/voices:
verbatim voice the collection and the built-in voices
verbatim voice clone ana interview.mp4 --speaker S2 keeps a voice from a recording
verbatim voice record me records you from the microphone and keeps your voice
verbatim voice record me --only sad reads one part of a voice again (the parts are below)
verbatim voice design narrator "an old man with a rough, slow voice"
verbatim voice check ana measures how close a voice is to its recording
verbatim voice remove narrator
- Cloned:
voice clone NAME RECORDINGtakes the clearest stretches of a person speaking (about 30 seconds in all), with a few of their breaths and laughs. When more than one person speaks it keeps the one with the most clear speech, or the one--speakernames. A recording of yourself is enough to keep your own voice. - Designed:
voice design NAME "WORDS"asks the synthesis for a voice that fits a description.--seed Ngives another voice for the same words, and--language pt-BRmakes it a Portuguese one. - Built in:
deep,plain,warmandbright, two lower and two higher voices. They are designed voices made on your Mac the first time a decode needs them, and kept in the cache. - The voices of a recording:
verbatim encode --voiceswritesinterview.voicebesideinterview.verbatim, with the voice of everyone in it.verbatim voice clone NAME interview.voice --speaker S1puts one of them in the collection.
verbatim status FILE.voice shows what a voice file holds. A voice file is a few seconds of a person speaking: it is the one thing here that can speak as them.
Cloning a voice well
verbatim voice record me from the microphone, conducted by verbatim
verbatim voice clone me my-voice.m4a from a recording you already have
- Recording it here:
voice record NAMEturns the microphone on and conducts the whole recording, about 11 minutes of it, 17 with the rehearsals. In a terminal it first asks which language you will read in, and every text comes in it. It listens to the room in silence, then tests the level of your voice with one sentence and says so if you are too far, too loud or in a noisy room. Then it asks for short readings, one at a time, each there for something a decoded file asks of the voice. Four are in your everyday voice (a plain one, questions, a list with its pauses, a slow and calm one): together they have the sounds of the language, and the 30 seconds the timbre comes from are taken from them. Then three readings for each emotion a file can name (happy, sad, angry, afraid, surprised and disgusted) and three whispered, each with a line that says how to read it: they give the voice a reference of its own for each (below). Last come five sounds, one at a time: a breath, a laugh, a sigh, a cough and a sob, so that the ones in a decoded file are yours. Every text is shown before it is recorded: rehearse it aloud once or twice, then press Enter (space in the interface), and only then does the microphone open.sand Enter skips a step, a sob you cannot make for instance: it is asked again at the end. A meter shows the level of your voice while you read. A reading ends by itself when you stop speaking, or with Enter, and one that came out clipped, too quiet or cut short is asked again. Once the voice is made, it says what came out short (a reading it understood little of, an emotion with less than 20 seconds of clear speech, a sound it did not hear, a step that was skipped) and offers to read only that again. At the end it shows the voice: the seconds of reference and the check of the everyday voice and of each emotion, the sounds kept, how many of the words you read it understood and your median pitch. - Some parts only:
--only sad(or several, with commas:everyday,happy,sad,angry,fearful,surprised,disgusted,whisper,sounds) reads those parts again and leaves the rest of the voice as it is. It is how a part that came out short is done again later, and how a voice recorded with an earlier version gets the emotions it does not have. A new voice needseverydayamong them.--seconds Nsets the longest one reading may take (30 by default). The texts come in the language you choose when it asks, or in the one--languagenames (in a pipe or a script, in the language of your Mac). The first time, macOS asks whether the terminal may use the microphone. The recording itself is not kept: only the voice is. - A reference for each emotion: a voice recorded here keeps, beside the 30 seconds of its everyday voice, about 30 seconds of the person in each emotion a file can name (happy, sad, angry, afraid, surprised and disgusted) and 30 seconds of them whispering.
say --emotion sadspeaks any text from the sad one, anddecodespeaks an utterance from the reference of its emotion when the emotion can be trusted: always when you wrote it yourself (sad,happyor any other emotion with no number after it), and for every emotion but happy also when the encode read it. A line the file measured as whispered (half or more of its words with no pitch at all) is spoken from the whispered reference: of 287 plain readings by 18 people none came near that (the most was a third), and 59 of 60 whispered ones by three people passed it. Measured through the decode on four studio voices, 91 utterances that really are plain, happy or sad, each voice with 30 seconds of reference per emotion taken from other sentences (how much each utterance sounds like the same one in the recording): 0.41 with the everyday reference for everything, 0.48 with the reference of what each utterance really is, which is what an emotion written by hand gives, and 0.45 following the sad labels of the file alone, where the sad lines went from 0.31 to 0.44. The other emotions were measured on eight acted voices with 15 seconds of reference each, a sentence they never said against their real speech of that kind, from the everyday reference and from the reference of the emotion: happy 0.49 and 0.65, sad 0.45 and 0.56, angry 0.37 and 0.59, afraid 0.35 and 0.56, surprised 0.41 and 0.58, disgusted 0.41 and 0.61; whispered, on three other voices, 0.24 and 0.42. A wrong label costs about as much: a plain sentence from the afraid, surprised or disgusted reference came out 0.49 to 0.50 like the person, against 0.74 from the everyday one. So a label is followed only where the classifier is nearly always right and rarely calls plain speech that: of 1570 real recordings, it called none of 433 plain ones afraid, 2 disgusted, 7 surprised and 10 angry, and 31 sad. The happy labels are not followed by themselves: the classifier called a fifth of the plain readings happy (half of the plain utterances in one set), and a plain line spoken from the happy reference lands further from the person (0.49 to 0.41), so following them gained nothing over all (0.41). The decode says how many lines the file read as happy and spoke in the everyday voice; taking the number out of a line (happy 0.93becomeshappy) has it spoken from the reference. Each emotion is checked like the voice, against its own readings, and reads lower than the everyday voice does: four studio voices with 30 seconds of the person happy and sad checked 0.47 to 0.63 happy and 0.49 to 0.81 sad, and three whispering checked 0.48 to 0.53. From 0.45 an emotion is as close as emotions clone; under that,voice record NAME --onlywith its name reads it again. - What to record: about a minute of the person speaking alone, in a quiet room, close to the microphone, at their normal pace. Any recording app will do, and any file ffmpeg can open. Music, noise or other people behind the voice end up in the clone.
- How much is used: the clearest 30 seconds. More than that does not clone closer; less clones further away, measurably (the table below).
- The check:
voice cloneandvoice recordend by making the new voice say a sentence that is not in the recording, twice plainly and twice following on from the first clip of the recording (the synthesis is given that clip and its words, and goes on speaking), and measure how much the closer take sounds like the recording. 1.00 is the recording itself; the same person speaking again scores about 0.83. From 0.80 it is a close voice, from 0.70 a recognisable one; below that, a longer or cleaner recording may clone closer. Some voices clone closer following on, and the check keeps that with the voice:saythen speaks one take of each kind and keeps the closer. Four studio voices of actors, cloned from clean recordings, came out between 0.59 and 0.78 with plain takes and between 0.79 and 0.84 following on; against the real speech of each actor,saycame 0.03 closer in short sentences and 0.06 closer in long ones (from 0.67 to 0.73). Of the 20 voices measured below, 3 follow on and the other 17 are spoken as before. The number is kept with the voice andverbatim voiceshows it;verbatim voice check NAMEmeasures it again (worth doing once for a voice cloned with an earlier version), and--no-checkskips it. - What is wrong with a recording:
voice cloneandvoice recordsay so when the recording is clipped, when the voice is too quiet, when there is noise behind it, or when they find less than 20 seconds of clear speech. - What noise costs: measured on ten of the test voices below, with the noise of a fan added to the same recordings. With the room 30 dB under the voice, the clone scores 0.76 where the clean recording gives 0.79; at 20 dB, 0.70; at 10 dB, 0.61. Removing the noise from the recording before cloning did not bring the voice back (0.75, 0.70 and 0.61), so verbatim does not do it: it warns when the room is less than 25 dB under the voice, and in stronger words under 15 dB. A quieter room is what clones closer.
- The language of the recording is detected;
--language pt-BRorensays it.
How close a clone gets was measured on 20 public voices, ten in Brazilian Portuguese and ten in English, each cloned from one recording and then made to say sentences the person said in other recordings, compared with those (voice similarity, where 1.00 is the same recording and the person's own speech scores 0.87):
| Voice similarity | |
|---|---|
| The person's own speech, another recording | 0.87 |
| The recording the voice was cloned from, in stretches as short as the sentences | 0.80 |
| Cloned from one stretch of about 10 seconds | 0.74 |
| Cloned from 20 seconds | 0.76 |
| Cloned from 30 seconds | 0.78 |
Cloned from 30 seconds, the closer of two takes (what say does) | 0.79 |
The second line is the one to read the clone against. The sentences are about five seconds long, and five seconds of a real voice do not score 0.87 either: the recording each voice was cloned from, cut into stretches of that length, scores 0.80 against the person's other recordings, and the clone scores 0.79. In 6 of the 20 voices the clone scored the same as its recording or higher, and in none was it more than 0.05 under it. A clone is as close to a person as the recording it came from, and no closer: by voice it went from 0.66 to 0.87, half of the voices at 0.80 or above, and the one at 0.66 came from the shortest recording, 24 seconds, which scored 0.68 itself. More than 30 seconds of reference gave nothing (on eight of the voices, 0.77 with 45 seconds as with 30), and a longer reference makes every take slower: about twice the time from 20 to 30 seconds. Twenty voices are still a small sample, and a number like this depends on the recording: the check tells you about yours.
Against other cloning models
The same 20 voices, the same sentences and the same instrument, with other open models that clone a voice from a recording on a Mac, each given the reference verbatim made, as much of it as the model takes, and one take:
| Voice similarity | Words wrong | |
|---|---|---|
| verbatim, one take | 0.78 | 5.3% |
verbatim, the closer of two takes (what say does) | 0.79 | 4.3% |
| Qwen3-TTS 1.7B, 30 seconds of reference and its text | 0.76 | 12.4% |
| Qwen3-TTS 1.7B, one stretch of reference and its text | 0.74 | 7.3% |
| OmniVoice, 10 seconds of reference (what it takes) | 0.74 | 12.2% |
| Chatterbox Multilingual | 0.73 | 5.8% |
| Fish Audio S2 Pro, one stretch of reference and its text | 0.70 | 5.8% |
| Higgs Audio v2, one stretch of reference and its text | 0.69 | 21.8% |
Words wrong is what a speech recogniser did not find of the sentence asked for. The voice comes from VoxCPM2; what verbatim adds is which 30 seconds become the reference, the takes it compares with the voice print, and the check. Higgs Audio v2 does not list Portuguese among its languages, and it shows: on the ten English voices alone it scored 0.73 with 2.6% of the words wrong, where verbatim scored 0.78 with 2.6%. Zonos2 was tried too and did not fit in the 16 GB of the Mac the measurements ran on. Neither a larger copy of VoxCPM2 (on eight of the voices, 0.76 where the one verbatim uses gave 0.77) nor choosing between takes of two different models did better than a second take of the same one. Cloning services that run on someone else's computers were not measured: verbatim sends no voice anywhere.
Saying a text
verbatim say "Any text you write." --voice me -o me.mp3
verbatim say --file script.txt --voice narrator -o script.m4a
say speaks any text in a voice: one of your collection, a built-in one (deep, plain, warm, bright) or a .voice file. The text is cut into stretches at its punctuation; each stretch is spoken more than once, and the take that sounds most like the voice stays, among the ones that said every word. For a voice the check found to clone closer that way, one of the takes follows on from the first clip of its recording. The stretches are joined with the pauses the punctuation asks for: a short one after a comma, a longer one after a full stop, the longest between paragraphs.
Before a text is spoken, what is not a word is written out the way it is said, in Brazilian Portuguese or in English: numbers, money (R$ 35,50, $35.50), dates and times (25/11/2026, 14h30, 2:30 p.m.), phone numbers (digit by digit), ordinals, units (3 kg, 12.5%), abbreviations (Dr., Av., St., etc.), e-mail and web addresses, and a sentence written in capitals, which is read as a sentence and not letter by letter. The synthesis stumbles on exactly those: on 24 test sentences full of them, said in two cloned voices, the words a speech recogniser did not find went from 17% to 6%. decode gives the synthesis the same reading of each utterance; the words in the file stay as they were written.
| Option | What it does |
|---|---|
--voice NAME | The voice: a name of the collection, a built-in voice or a .voice file (default: plain) |
--file FILE | Says a text file instead of the text on the command line |
-o FILE | Where to write: wav, flac, m4a, mp3 or opus, by the extension (default: say.wav) |
--language pt-BR, en, auto | The language of the text (default: by its words) |
--emotion happy, sad, angry, fearful, surprised, disgusted, whisper | Speaks from the reference the voice has of that emotion, or whispered: a voice recorded with voice record has them |
--style "calm and slow" | How to say it, in a few words. It also moves the voice a little away from the person |
--candidates N | How many takes of each stretch to choose from (default 2) |
--seed N | The seed of the synthesis: the same seed gives the same takes |
At the end say tells how long the audio is and, with a cloned voice, how much it sounds like the voice. A stretch that may be missing a word is listed, to be listened to. The file carries the same synthetic comment as a decode.
Editing
Edit the score, the rows, or both. The rule that settles a disagreement between the two layers:
- Words and pauses: the score line wins when you changed it; otherwise the rows.
- Numbers: the rows win.
- Marks: adding or removing a mark in the score moves the numbers of that word (for example,
*word*raises its pitch and level), unless you also edited its row.
What you can do:
- Change, add or remove words in a score line.
- Change a pause,
(0.41)to(1.20), or the duration of a word in its row. - Change the pitch or the level of a word in its row, or with a mark.
- Delete a line of the score: the utterance is gone.
- Add a line, with a new id, a time and a speaker:
u0042 | 01:02.00 | S1 | neutral | And then we left. - Give a line to another speaker: it is spoken in that speaker's voice.
| Command | What it does |
|---|---|
verbatim status FILE | What the file holds and how many edits it has |
verbatim diff FILE | The edits against the original, utterance by utterance (--exit-code: exit 1 when there are edits) |
verbatim fmt FILE | Writes the file again in the canonical layout, with the marks that follow from the numbers (--check only tells) |
verbatim revert FILE [ids] | Takes those utterances, or everything, back to the original |
verbatim freeze FILE | Makes the edited file the new original: what you edited is spoken once and measured, and gets the numbers of that take (--voice as in decode, -o writes to another file) |
Decoding
verbatim decode FILE [-o out.mp3] [--voice VOICE] [--from measured|score] [--mux VIDEO] [--ripple] [--only ids]
The output can be wav, flac, m4a, mp3 or opus, by the extension. A decode is a synthesis: every utterance is spoken again, in the voice of its speaker.
--voice says which voice, and may be repeated:
| Written | Means |
|---|---|
--voice ana | Everyone speaks with the voice ana of the collection |
--voice S1=ana --voice S2=warm | A voice for each speaker: one of the collection, or a built-in one |
--voice interview.voice | Each speaker gets their own voice from the voice file of the recording |
| nothing | Each speaker gets the built-in voice nearest to their pitch |
--from says how much of the file the speech follows:
- measured (the default): each take is pulled to the timing, the pitch and the level the file has for every word, and to the melody in
[pitch]. - score: only the score line. The words, the pauses and the marks are followed, and the timing and melody are the synthesis's own.
| Option | What it does |
|---|---|
--mux VIDEO | Puts the audio over the picture of that video (writes an mp4) |
--ripple | When an utterance gets longer or shorter than it was, moves what comes after it. Without it, every utterance starts where the file says |
--only u0003,u0007 | Decodes only those utterances |
--seed N | The seed of the synthesis: the same seed gives the same take |
--candidates N | How many takes an utterance may get (default 2). Another take is made when the first one aligned poorly or, with a cloned voice, when its voice came out further from the voice than the speaker's other utterances. Among the takes that said the words, the one that sounds most like the voice stays |
After the audio, decode says which voice each speaker got and lists what it could not do as asked: a word that could not take the duration without breaking (the limits are 0.45 to 2.5 times), a take that aligned poorly and deserves a listen, a breath or a laugh the voice has no sample of.
What comes back, and what does not
- Never the recording. The file has no audio, so what comes back is always speech made again from the text and the numbers.
- With a voice cloned from the same recording, it is close to the person:
verbatim evalsays how close. - With a built-in or designed voice, the words, the timing, the melody and the level are the ones in the file, and the voice is another.
- Music and noise are marked on the timeline and do not come back. The background of a decode is the noise of the room.
- Overlapped speech is marked, not pulled apart, and a word on the border between two speakers may be given to the wrong one.
- Non-verbal events: a cough or a clear laugh is found; a quiet laugh or a breath can be missed or get the wrong label. A breath, a laugh, a sigh, a cough or a sob comes back only when the voice has one:
voice recordasks for each, and a voice cloned from a recording has the ones the recording had. - Emotion is one label per utterance, from a classifier. It is written in the file and is not given to the synthesis as an instruction: measured on 74 utterances of four voices, telling the synthesis the emotion left the voice further from the person (0.52 against 0.57) and the emotion was heard no more often. What brings the emotion back is what the file measured of each word (time, pitch and level) and, with a voice recorded by
voice record, the reference the voice has of that emotion: used for every emotion but happy, for the happy lines whose emotion you wrote yourself, and for the lines the file measured as whispered (Cloning a voice well, above). - Languages: Brazilian Portuguese and English.
Measuring: eval
verbatim eval recording.mp4
verbatim eval --suite folder/
eval encodes the recording, decodes it at each level with the voices cloned from that same recording, and compares the result with the original. --builtin decodes with the built-in voices instead. It needs the judge model: verbatim models pull eval.
| Metric | What it compares |
|---|---|
| Words lost | Word error rate of a second recogniser on the reconstruction, in points over its error on the original. It reads each one whole and utterance by utterance, and the reading with fewer words wrong counts |
| Voice similarity | Cosine between the voice prints of each speaker, original and reconstruction |
| Word boundary error | Where each word starts and ends, after aligning the reconstruction again |
| Word duration agreement | Correlation of the word durations |
| Pitch contour agreement | Correlation of the pitch, reading by reading, inside the words |
| Pitch error per word | Median pitch of each word, in semitones |
| Level error per word | Level of each word, in dB |
| Pauses kept | Whether the pauses are where they were |
The first column of the report is the floor: the original measured against itself, which is the limit of the instrument. No level is asked to do better than that. Every run goes into a history (~/.cache/verbatim/eval/history.jsonl) and the report shows the change from the run before on the same recording with the same kind of voice; --baseline ID compares with another run, --gate exits 1 when a metric got worse than allowed, --levels measured chooses the levels and --json prints the numbers.
Measured on three test recordings (two of one English voice, 4 and 24 seconds, and a 66 second dialogue of two voices in Brazilian Portuguese), averaged:
| measured, cloned voices | measured, built-in voices | score, cloned voices | |
|---|---|---|---|
| Words lost (points) | -0.7 | -0.2 | -0.6 |
| Voice similarity | 0.79 | 0.10 | 0.78 |
| Word boundary error | 10 ms | 13 ms | - |
| Boundaries within 50 ms | 96% | 96% | - |
| Pitch contour agreement | 0.97 | 0.94 | 0.54 |
| Pitch error per word | 0.25 st | 0.36 st | 2.00 st |
| Level error per word | 0.43 dB | 0.91 dB | 1.69 dB |
A voice similarity of 1.00 is the recording itself. With voices cloned from the recording it went from 0.74 to 0.87, by recording; a built-in voice is another voice, and the number says so, while the timing and the melody stay close. Words lost below zero means the second recogniser read the reconstruction a little better than the original. The score level is a synthesis from the text line alone, so its timing is not compared. Three recordings are a small sample: measure your own with verbatim eval.
Exporting
verbatim export FILE --to srt|vtt|textgrid|rttm|json|txt [-o out]
| Format | What you get |
|---|---|
srt, vtt | Subtitles, cut at the pauses; WebVTT carries the speaker of each cue |
textgrid | A Praat TextGrid with a words tier and an utterances tier per speaker |
rttm | Who speaks when, for diarization tools |
json | Everything in the two readable layers, as JSON |
txt | The plain transcript, one line per utterance with its speaker |
Models
verbatim models lists them, with what each is for, its size, its license and whether it is on this Mac. verbatim models verify checks the files against the pinned revisions.
| Group | Model | Used for | Size |
|---|---|---|---|
| core | Whisper large-v3-turbo (MLX) | The words and punctuation | 1.6 GB |
| core | wav2vec2 XLSR-53 Portuguese | Word alignment, Portuguese | 1.3 GB |
| core | wav2vec2 base 960h | Word alignment, English | 0.4 GB |
| core | Nemotron 3 Diarization | Who speaks when, with overlap | 0.1 GB |
| core | ECAPA (SpeechBrain, MLX) | The voice print kept with a cloned voice | 0.04 GB |
| core | AST AudioSet | Laughs, coughs, music, noise | 0.3 GB |
| decode | VoxCPM2 | Speaking in a reference voice, and designing one | 3.2 GB |
| emotion | emotion2vec+ large | The emotion of each utterance | 1.9 GB |
| eval | Parakeet TDT 0.6b v3 | The second recogniser of eval | 2.5 GB |
Each model is downloaded from its publisher on Hugging Face and keeps its own license; verbatim models shows it. Pitch comes from SwiftF0 checked against Praat, and duration and pitch changes are made with Praat's PSOLA.
Privacy and responsible use
Everything runs on your Mac. The only commands that use the network are verbatim models pull, which downloads the models, verbatim update, which asks Homebrew for a newer version, and the first run of a version, which downloads its libraries. Every other command switches the model libraries to offline mode and refuses any connection that does not stay on the Mac, before anything else loads. There is no account and no telemetry.
A .verbatim file is a transcript: it has no audio and cannot speak as anyone. A .voice file, and each voice in the collection, holds a few seconds of a person speaking, which is what is needed to speak in that voice. voice record uses the microphone only while it records, and deletes the recording once the voice is kept. Clone the voices you have the right to use, and keep those files as you would keep the recordings. Every file decode and say write carries the comment synthetic: generated by verbatim in its metadata. The license of the synthesis model forbids using it for impersonation, fraud or disinformation.
Where things are kept
| Path | What |
|---|---|
~/.local/share/verbatim | The environment of the installed version (VERBATIM_HOME changes it; verbatim env shows it, verbatim env remove deletes it) |
~/.local/share/verbatim/voices | The collection of voices, one .voice file each (VERBATIM_VOICES changes it) |
~/.cache/verbatim | The work of earlier runs, by recording, the built-in voices and the history of eval (VERBATIM_CACHE changes it; safe to delete) |
~/.cache/huggingface/hub | The models |
Updates
verbatim update brings new versions: it runs brew upgrade, builds the environment of the new version, removes the old one and checks the models, so the next command starts at once. brew upgrade alone also works, and the first run after it builds the environment. verbatim never checks for updates by itself.
Help and bug reports
Problems and ideas: the support address at the end of the verbatim page. Include verbatim --version, the output of verbatim doctor and, when a command failed, the same command again with -v.