docs
Referencia: config.json, línea de comandos, archivos y puertos
Todo lo que el programa lee y escribe, para cuando la ventana de ajustes no basta: las claves de config.json, las opciones de línea de comandos, los archivos de la carpeta y los puertos en los que escuchan los motores.
Actualizado
config.json
Texto plano en la carpeta del programa. Edítalo a mano y pulsa Releer en la sección System, o deja que la ventana lo escriba.
dictation
hotkeyThe combination that starts a dictation.
"ctrl+win"
hotkey_modehold or toggle.
"hold"
languageThe language you speak. Decides which model is used.
"auto"
lang_modelsWhich model serves which language, as a map.
{}
min_record_msShorter presses are ignored as accidental.
300
max_record_secondsA hard stop, so a stuck key cannot record forever.
120
silence_stopIn toggle mode, end the recording by itself after a pause.
false
silence_stop_msThat pause, in milliseconds, from 1000 to 10000.
2000
lang_hotkeysA shortcut of its own for each language, as a map.
{}
whisper_promptThe dictionary hint given to Whisper models.
a starter set
insertion
paste_modeclipboard, or type for character by character.
"clipboard"
restore_clipboardPut the clipboard back after pasting.
true
auto_enterPress Enter after inserting.
false
paste_delay_msExtra wait before the paste, for slow windows.
0
replacementsThe list of what to fix after recognition.
[]
commandsVoice commands and what each does.
[]
engines
stt_sourcelocal, or remote to send audio to server_url.
"local"
server_urlThe address of a recognition server on another machine.
""
server_exePath to whisper-server.
"whisper-server.exe"
server_portLoopback port for the main whisper-server.
8910
server_autostartStart it yourself, or let the program do it.
true
sherpa_portLoopback port for the main sherpa-server.
8912
stream_portLoopback port for the main streaming server.
8913
llm_portLoopback port for llama-server.
8911
threadsCPU threads given to the recogniser.
4
engine_idle_minutesUnload a second recognition engine after this many idle minutes.
10
models_idle_minutesUnload every model after this many minutes without dictation or subtitles: 0 (never), 5, 10, 30 or 60.
0
post-processing
post_enabledRun prompts after recognition.
false
post_sourcelocal or api.
"local"
post_api_urlYour endpoint, when the source is api.
""
post_api_keyStored encrypted with Windows DPAPI, never in the log.
""
profilesThe prompts themselves, in order.
two presets
active_profilesWhich of them run.
[]
llm_modelPath to the GGUF editor model.
""
subtitles
subtitles_languageThe language of what the computer plays, or auto.
"auto"
subtitles_hotkeyThe shortcut that starts and stops subtitles.
""
subtitles_sourceWhat subtitles listen to: all for all of the computer's sound, or apps for the programs in subtitles_apps alone. Any other value is read as all. Where Windows cannot give out the sound of a single program, subtitles listen to all of it.
"all"
subtitles_appsThe chosen programs, as file names such as chrome.exe, at most 64; a name repeated in other letter case is dropped. Each program is heard whole, with all its processes.
[]
subtitles_micHear my microphone too: add the microphone chosen for dictation to what subtitles hear, with either source.
false
subtitles_app_pathsWhere each chosen program was last seen, as a map from its file name to the full path, so that a program that is not running still shows its name and icon. Kept by the program for the chosen programs only.
{}
subtitles_saveWrite a transcript into the transcripts folder.
true
subtitles_linesRows of text in the subtitles window, 2 to 8, for each part when translation is on.
3
subtitles_sizeText size in that window: s, m or l.
"m"
subtitles_customThe window's own place for each screen resolution.
{}
subtitles_positionWhere the window stands: one of the nine places, or custom.
"bottom"
subtitles_monitorWhich monitor: empty for the one with the cursor, or a monitor number.
""
subtitles_boxThe window size set by the mouse and the place of its borders, for each screen resolution.
{}
subtitles_layoutThe first two layout cards, with translation: rows (heard above, translation below) or columns (side by side).
"rows"
subtitles_translate_onTranslate the subtitles.
false
subtitles_translateThe translation language, one of the eight interface languages.
set on first start
subtitles_translatorWho translates: quality, fast or server.
set on first start
subtitles_modelThe model of the Quality translator: gemma-4-e4b, gemma-3-4b, translategemma-4b, eurollm-9b, or own:<file>.gguf for a file of your own in the models folder. Empty takes the recommended one when it is downloaded, otherwise the first downloaded one.
""
subtitles_topicLet the Quality translator work out the topic of the conversation from what has been said. TranslateGemma 4B never does.
true
subtitles_sentencesTranslate whole sentences: speech is cut for translation where the Horizon Punctuation Small model finds the end of a sentence, not at pauses. Needs that model in models\punct\horizon.
false
subtitles_sentence_draftWith whole sentences, show a draft translation of a sentence still going after eight seconds; the Quality translator and the external server only.
true
subtitles_translation_onlyThe third layout card, translation only: the translation alone, without what is heard. It keeps subtitles_layout as it was.
false
subtitles_pairsThe language pairs added for the Fast translator.
[]
translate_portPort of the translation model on the graphics card.
8914
history, statistics, interface, updates
historyKeep a history of dictations at all.
false
history_keep_minHow long an entry lives, in minutes.
10080
history_maxHow many entries at most.
200
history_skipPrograms never recorded from.
""
stats_typing_wpmYour typing speed for the time saved on Statistics and on Status, 10 to 150 words a minute, rounded to a step of 5.
40
stats_periodThe period on Statistics and on the statistics card on Status, one choice for both: w, m, q, h or y for the last 7, 30, 90, 180 or 365 days up to today, all for all time, or custom for the range in stats_from and stats_to. Custom without both dates is read as m.
"m"
stats_fromThe first day of the custom range, YYYY-MM-DD.
""
stats_toThe last day of the custom range, YYYY-MM-DD. A start after the end is swapped with it.
""
ui_languageInterface language, or auto.
"auto"
skineditor, fluent, studio, soft, paper, neon, terminal.
"editor"
themeColour inside the terminal design.
"green"
overlayShow the plate while recording.
true
overlay_positionbottom, caret, or a saved place.
"bottom"
check_updatesAsk GitHub for a newer version at start.
false
config_versionWritten by the program. Used for migrations.
6
Línea de comandos
Todas las opciones van a holdtotype.exe salvo que se diga lo contrario. Una segunda copia iniciada con una opción habla con la que está en marcha y termina.
A diario
-settings [tab[:place]]Open the settings window, optionally on a tab: state, system, library, mic, history, dictation, models, text, post, subs, stats, help, about, contacts. After a colon comes a place on that tab, which is brought up and highlighted for a couple of seconds: the id of an element, as in subs:subs_main, or lang=<code> for that language's row on models, as in models:lang=de (rec:lang=de does the same).
-quitStop the running copy, engines included.
-wizardRun the first-run wizard again.
-subtitles start|stop|toggleStart, stop or toggle subtitles in the running copy.
-uninstallRemove an installed copy. Add -silent for no questions.
Comprobaciones
-listmicsPrint every capture device with its index.
-miclevelPrint the input level, to see whether the microphone is heard at all.
-modelcheckVerify every downloaded model against its reference hash.
-routecheckPrint which model would serve which language, and whether it can translate.
-replcheck "phrase"Run the replacement rules over a phrase and show the result.
-transcribe file.wavRecognise a file with the current settings and print the text.
-postcheck "text"Send a sample through the prompt chain.
-subcheck seconds [lang]Run subtitles on their own for that many seconds, without the tray, and write a summary to the log.
-listencheckWrite to the log whether this Windows can give out the sound of a single program, the subtitles settings of config.json, the list of programs with sound and the chosen ones with their state, level and icons, and the processes each program would be heard through.
-subwindow [seconds] [tr [only]]Show the subtitles window with sample text, without listening to anything; with tr it shows a translation too, with only the translation alone, laid out as config.json says.
-testpaste "text"Insert a string the way a dictation would, to test insertion alone.
-appnamecheck file.exe ...Write to the log the name Statistics gives each program: the description in the executable, otherwise its product name, otherwise the file name.
-statscheck period [from to]Write to the log, as JSON, a period counted from holdtotype-stats.json: w, m, q, h, y, all, or custom with two dates YYYY-MM-DD.
-dpiPrint how Windows is scaling each monitor.
El instalador, holdtotype-setup.exe
-silentInstall without a window.
-dir "path"Where to install.
-model nameDownload a model during the install: base, small, medium, turbo, gigaam, or none.
-lang xxInterface language of the installer itself.
-uninstallRemove, with -silent if wanted.
Archivos y carpetas
Todo vive en la carpeta del programa. La última columna dice qué hace una actualización con cada uno.
holdtotype.exeThe program. Sits in the tray, owns the shortcut.
replaced
whisper-server.exe, sherpa-server.exe, sherpa-online-server.exe, llama-server.exe, llama-server-gpu.exe, fast-translator.exe, punct-engine.exeThe engines: recognition, the editor model, the translation model on the graphics card, the light translation engine and the sentence end model.
replaced
onnxruntime.dllONNX Runtime, which punct-engine.exe runs the sentence end model with.
replaced
config.jsonEvery setting.
kept
config.json.vN.bakA copy made once before each migration.
kept
models\Everything downloaded, several gigabytes typically: recognition models, editor models and the subtitle translation models.
kept
models\fast\The language packs of the Fast translator, one folder per direction.
kept
models\punct\horizon\The sentence end model for Translate whole sentences, when downloaded.
kept
holdtotype.log, holdtotype.log.oldOne megabyte each, then it rolls over.
kept
holdtotype-history.jsonOnly if history is switched on. Text, never audio.
kept
holdtotype-stats.jsonStatistics: numbers per day, never text, kept whether history is on or off. Removed by the uninstaller only together with the settings and data.
kept
transcripts\Subtitle transcripts, one text file per run. Removed by the uninstaller only together with the settings and data.
kept
%TEMP%\holdtotype-webview-*Scratch for the settings window, removed on exit.
temporary
Puertos y motores
Los motores son servidores HTTP y websocket normales atados a 127.0.0.1. No se alcanzan desde la red, y el programa se niega a arrancar uno en un puerto que otro proceso ya ocupa. Los puertos de los ajustes son del motor principal: un segundo motor, para el modelo de otro idioma o para los subtítulos, toma un puerto libre que elige el sistema.
8910whisper-server
HTTP
a Whisper model serves the language
8911llama-server
HTTP, session key
post-processing is on
8912sherpa-server
HTTP
a sherpa model serves the language
8913sherpa-online-server
websocket
a streaming model is chosen
8914llama-server-gpu
HTTP
subtitles are translated by the Quality translator