Wiki / WhisperDesk

WhisperDesk Wiki

v1.9.1AdministratorsDevelopers

Deployment, configuration, data, security and troubleshooting for IT admins — plus build, architecture, release and extension guidance for developers. End-user help is in the User & Admin Guide (PDF).

Administrators

App tour

What users see, so you know what you're supporting. All screens use demo data. The layout may differ slightly from the latest version; the User & Admin Guide covers every window, including the 1.5 forensics view.

Main window after transcribing a meeting with five speakers
Files: queue audio/video, pick model and outputs, review speakers.
Live tab with audio input selection
Live: mic, Voicemeeter or PC loopback with live speaker tags.
Library tab with folders and search
Library: folders, tags, full-text search.
Save to library review window
Review before saving: title, folder, tags, speaker names.
Voice library window
Voice library: voiceprints stay on the PC (biometric data, see Privacy).
Settings window
Settings: see the settings reference.
Add-ons window with the OBS caption add-on selected
Add-ons: OBS captions, live text file, webhook (see Network).
PDF transcript export
PDF export: speaker summary, timestamps, colour-coded speakers.

System requirements

ComponentMinimumRecommended
WindowsWindows 10 64-bit, version 1809+Windows 11 64-bit
Processor4-core x64 with AVX28+ cores
Memory8 GB16–32 GB
GraphicsAny (CPU mode)Dedicated Vulkan GPU with 6–8 GB+ VRAM (AMD, NVIDIA or Intel), not shared with games or other GPU-heavy work
NPU (optional, 1.7+)None neededIntel NPU (Core Ultra / Copilot+ PC) with a current NPU driver; used automatically, see NPU transcription
Disk1 GB + models (75 MB – 3.1 GB each)SSD with 10 GB free
FFmpegRequired to read audio/video — winget install Gyan.FFmpeg

The app is self-contained (.NET 8 is bundled) — no runtime needs to be installed. Keep GPU drivers current for the Vulkan backend.

Sizing tip: Whisper and the speaker models compete for GPU time and VRAM. Sharing a GPU with a game, renderer or encoder slows transcription and costs the other app performance. For live or heavy use, run WhisperDesk on a dedicated machine or a second GPU (e.g. a streaming PC), and set GPU device index in Settings on multi-GPU systems.

Silent deployment

The MSI is per-machine (requires administrator rights), installs to C:\Program Files\DarkCipher Systems\WhisperDesk (since 1.4.2; earlier versions used C:\Program Files\WhisperDesk and are moved automatically on upgrade) and adds Start-menu shortcuts. It works with Intune, ConfigMgr, PDQ, GPO software installation or any tool that runs msiexec.

# Basic silent install
msiexec /i WhisperDesk-1.9.1-x64.msi /qn

# Custom folder, install FFmpeg via winget, skip Ollama
msiexec /i WhisperDesk-1.9.1-x64.msi /qn INSTALLFOLDER="D:\Apps\WhisperDesk" INSTALLFFMPEG=1 INSTALLOLLAMA=0

# Pre-set default library and models folders
msiexec /i WhisperDesk-1.9.1-x64.msi /qn LIBRARYPATH="D:\Recordings" MODELSPATH="D:\Models"

# Verbose log for troubleshooting a deployment
msiexec /i WhisperDesk-1.9.1-x64.msi /qn /l*v "%TEMP%\WhisperDesk-install.log"

# Uninstall — keeps all user data
msiexec /x WhisperDesk-1.9.1-x64.msi /qn

# Uninstall and remove settings and models for the user running it
msiexec /x WhisperDesk-1.9.1-x64.msi /qn REMOVE_SETTINGS=1 REMOVE_MODELS=1

Upgrades

  • A newer MSI upgrades in place (same UpgradeCode); settings, models, voices and the library are kept.
  • From 1.5.x, deploy 1.9.1 (or 1.7.1 or later), not 1.7.0. 1.7.0's upgrade could skip WhisperDesk's own onnxruntime.dll, and the app then closed at start. 1.7.1 always replaces its own files and also repairs a machine already on 1.7.0.
  • An older MSI is blocked from downgrading.
  • Re-running the same version offers Repair or Remove.

Detection rule

For Intune/ConfigMgr, detect by MSI product (UpgradeCode {3fc82978-8263-42a1-9d62-8b858d3c0a9b}), or by registry: HKLM\Software\darkcipher0x\WhisperDesk → InstallDir, combined with the file version of WhisperDesk.exe.

Installer properties

PropertyMeaning
INSTALLFOLDERInstall directory. Default C:\Program Files\DarkCipher Systems\WhisperDesk (1.4.2+).
INSTALLFFMPEG=1Install FFmpeg (Gyan.FFmpeg) with winget if it isn't found. Off unless ticked or set (1.7+; earlier versions ticked it by default).
INSTALLOLLAMA=1Install Ollama with winget for local AI summaries. Off by default.
FFMPEGPATHFull path to an existing ffmpeg.exe.
LIBRARYPATH / MODELSPATHDefault library and models folders. Users can still change them in Settings.
REMOVE_LIBRARY / REMOVE_VOICES / REMOVE_SETTINGS / REMOVE_MODELSOn uninstall, also delete that data (=1) for the user running the uninstall. Only recording folders are removed from the library.
Note: winget-based installs (FFmpeg, Ollama) need internet access and winget available in the installing context. In locked-down environments, deploy FFmpeg separately and pass FFMPEGPATH.

Portable edition

Unzip WhisperDesk-1.9.1-x64-portable.zip anywhere and run WhisperDesk.exe. Keep all files together — the runtimes folder holds the GPU engine. No install, no admin rights. User data still goes to %LOCALAPPDATA%\WhisperDesk.

FFmpeg, models & Ollama

FFmpeg

Used to read audio/video and to burn subtitles. WhisperDesk uses the path in File → Settings → Tools & storage, then trusted locations (next to WhisperDesk.exe, the installer's FFMPEGPATH, winget's install), and only then PATH, skipping Temp and Downloads folders (1.7+). FFmpeg is not bundled.

Whisper & speaker models

On first use WhisperDesk downloads the selected Whisper model (Large-v3 Turbo ≈ 1.6 GB) and the speaker models (≈ 32 MB) into the models folder. Since 1.7, downloads ask first by default (Ask / Allow / Never). Every model is pinned to a fixed revision and checked against its SHA-256 before use, and files downloaded by older versions are verified once. For offline machines, pre-stage the models folder (copy it from a machine that has downloaded them) and point MODELSPATH at it.

Ollama (optional)

Local AI summaries and consolidated reports use an Ollama server — default http://localhost:11434. If you point it at another host, transcripts are sent there; every summary records where it was processed.

File locations

PathContents
%LOCALAPPDATA%\WhisperDesk\settings.jsonAll settings
%LOCALAPPDATA%\WhisperDesk\modelsWhisper models; speakers\ holds speaker/VAD models
%LOCALAPPDATA%\WhisperDesk\voices.jsonVoice library (names, sex, voiceprints)
%LOCALAPPDATA%\WhisperDesk\addonsAdd-ons, one folder each with its DLL and addon.json; data\ holds add-on files
%LOCALAPPDATA%\WhisperDesk\vault.jsonEncryption header, only when encryption is on (1.7+): salts, iteration counts and wrapped keys. It's safe to disclose but required to open the library, so back it up with the library and keep the recovery key separately.
%LOCALAPPDATA%\WhisperDesk\workDecrypted working copies (playback, shares, opened sessions, subtitle burning, restores), EFS-encrypted where available and wiped on lock, exit and start (1.7+)
%LOCALAPPDATA%\WhisperDesk\liveTemporary live recordings until saved or discarded
%LOCALAPPDATA%\WhisperDesk\LibraryRecordings library (configurable; never synced). Before 1.5.2 the default was Documents\WhisperDesk Library, which Windows often places inside OneDrive; existing libraries stay where they are, and the app warns and offers a safe move if the library is in a cloud-synced folder. Each recording's folder can hold a forensics-log.jsonl audit chain (1.5+)
HKLM\Software\darkcipher0x\WhisperDeskInstallDir (MSI installs)

Help → Privacy & security inside the app shows the actual resolved paths for the current user.

Settings reference

Stored per user in settings.json; edited in File → Settings (Ctrl+,).

SettingDefaultEffect
Brand accent colour36D2CBAccent for buttons and highlights
CPU threads0 (auto)Threads used by Whisper on the CPU
GPU device index0Which Vulkan GPU to use when several are installed
Flash attentionOffExperimental speed-up on some GPUs
Don't use previous text as contextOffPrevents rare repetition loops
Vocabulary hint(empty)Names and terms Whisper should spell correctly
Separation sensitivity0.5Auto speaker count: lower = more speakers
Voice library match0.5Similarity needed to name a known voice
Min speech / silence0.3 / 0.5 sShortest speech turn / pause that splits turns
Suggest male below / female above158 / 168 HzPitch thresholds for the sex suggestion
Pause that ends a line (live)600 msSilence needed before a live line is finished
Longest line (live)15 sForces a break during long monologues
Same-person threshold (live)0.45Similarity needed to count as someone already heard
FFmpeg locationautoCustom ffmpeg.exe path
Library location%LOCALAPPDATA%\WhisperDesk\LibraryWhere recordings are stored (1.5.2+; avoid OneDrive, Dropbox, Google Drive or iCloud folders, which upload recordings)

Network & firewall

WhisperDesk never phones home, and since 1.7 nothing connects at start-up. There are no automatic update or model checks. Every outbound request goes through one gate that checks policy, attributes it to a feature and logs the time, feature, host and bytes, but never the URL query or body. Users see this log, with per-feature switches, in Settings → Security & privacy → Network activity. Outbound traffic happens only for features a user triggers:

DestinationWhen
huggingface.co, github.comDownloading a model the user selects (asks first by default), including NPU (ONNX) models on PCs with an Intel NPU
Ollama server (default localhost:11434)AI summaries / consolidated reports, if enabled. A server on another computer must be explicitly allowed, and plain http:// to internet addresses is refused.
Webhook URLOnly if the Webhook add-on is enabled and configured (https:// required for internet addresses)
Hosts an add-on listsOnly for third-party add-ons the user granted the network capability
Windows Share sheetWhen the user presses Share
winget sourcesMSI only, when INSTALLFFMPEG/INSTALLOLLAMA is set

Inbound: the optional caption server add-on listens on localhost:7890 only (off by default). Since 1.7 it refuses requests from other websites (no CORS) and non-local host names (DNS rebinding). No inbound firewall rule is needed or created.

Privacy & compliance

  • Local by design. Audio, transcripts, voiceprints, summaries and settings stay on the PC. No account, cloud service, telemetry, analytics or crash reporting.
  • Voiceprints are biometric data (e.g. GDPR Article 9, Illinois BIPA). Obtain consent, retain only what you need, and delete with Tools → Voice library → Forget. Voiceprints are never included in shared files or reports.
  • Recording consent law varies (one-party vs all-party). Make sure users tell people when they record.
  • Cloud-synced folders: if the library is inside OneDrive, Dropbox, Google Drive or iCloud, that service uploads it. WhisperDesk warns about this; relocate or exclude the library where recordings must remain local.
  • At rest: files are protected by the Windows account ACLs, and since 1.7 by optional built-in encryption (see Encryption, lock & 2FA). Still use BitLocker: deleting plaintext during conversion is best-effort on SSDs. Use password-protected backups for off-device copies.
  • Integrity: text edits are audited (who, when, why, before/after); reports and analysis exports carry SHA-256 fingerprints with a manifest.sha256.txt; backups are verified on restore.
  • Add-ons: since 1.7, third-party add-ons run in a separate process inside a Windows AppContainer sandbox with a job object. By default they get no file, library, settings or network access, can't start child processes and are capped at 2 GB of memory. Each capability in addon.json must be approved by the user, and approval is tied to the DLL's SHA-256. Secret options go to Windows Credential Manager. Built-in add-ons run in-process but declare capabilities the same way. To stop users adding their own, control %LOCALAPPDATA%\WhisperDesk\addons with App Control/AppLocker.
  • Logs are redacted (profile and library paths, recording names, URL queries and token-like strings are masked) and deleted after 14 days. Copied text is kept out of clipboard history and cloud clipboard.
Forensics disclaimer: voice and audio analysis results are investigative indicators, not proof of identity or authenticity. For legal use, have an accredited forensic examiner review the original recordings.

Encryption, lock & 2FA New in 1.7

Optional and off by default. Users turn it on in Settings → Security & privacy → Turn on encryption. The algorithms are from Windows CNG via .NET, with no custom cryptography:

  • AES-256-GCM for files;
  • PBKDF2-HMAC-SHA256 (600,000 iterations) for the passphrase;
  • HKDF-SHA256 for key derivation.
PartDetails
What's encryptedEvery library file, including:
  • media, transcripts and their text/SRT copies, edit history and previous versions;
  • summaries, forensic logs, titles and folder names (stored under random IDs);
  • the voice library, live recordings while recording, and crash-recovery files;
  • sensitive settings and add-on secrets.
Not encryptedModels (public), add-on binaries, settings needed before unlock (theme, library location, hardware), redacted error logs, and anything the user exports or shares (Files-tab outputs, Save as, shares, backups without a password).
KeysOne random data key, wrapped by key slots in vault.json: the passphrase, a one-time recovery key (shown once and confirmed at set-up), and optionally Windows Hello. There's no vendor, email or cloud recovery: without the passphrase or recovery key the data is gone.
ConversionExisting libraries are converted in place: each file is encrypted, checked by decrypting it, and only then is the plaintext deleted. Interrupted conversions resume. Turning encryption off reverses it the same way.
LockThe app locks:
  • at start;
  • after inactivity (default 10 min);
  • when Windows locks or sleeps;
  • optionally on minimise;
  • with Ctrl+L.
Locking hides every window, zeroes the keys, wipes the work folder and clears text WhisperDesk copied. A running live recording keeps its key until it stops.
Brute forceAfter 5 wrong attempts, delays double from 30 s up to 15 min, and persist across restarts. Passphrases need at least 12 characters by default.
2FA (TOTP)Any authenticator app, set up with a QR code. It protects the lock screen, not the encryption itself (the app says so). Removing it by editing vault.json is detected at the next unlock.
Windows HelloEither instead of the passphrase, or in addition to it. In addition, it's bound into the key through the TPM, so a copied vault can't be opened on another PC.
For admins: there's no central key escrow. If you need recoverability, have users store the recovery key in your password manager or escrow process at set-up. Keep BitLocker on: it covers SSD remnants and the parts that aren't encrypted. WhisperDesk doesn't protect against malware running as the user while the app is unlocked.

NPU transcription New in 1.7

On PCs with an Intel NPU (Core Ultra, for example Copilot+ PCs), Whisper runs on the NPU automatically through OpenVINO, for the Base, Small and Large-v3 Turbo models. The main window and Settings → Transcription have a Hardware box (Auto / NPU / GPU (Vulkan) / CPU only). Auto picks the NPU, then the GPU, then the CPU.

  • Detection: WhisperDesk first asks Windows whether an NPU is present, so PCs without one don't load the NPU runtime (1.7.1). It then runs a tiny test calculation in the background, so a present-but-broken driver isn't used. Settings shows the result.
  • Models: the NPU (ONNX) version of a model downloads from Hugging Face the first time it's needed. It's pinned and SHA-256 checked, and nothing extra ships in the installer. The first compile for the NPU is cached and rebuilt by itself after a driver or runtime update. Backups leave the compiled model out.
  • Voiceprints also use the NPU, but only after a start-up check shows they match the CPU's results, so existing voice libraries keep matching. You can force CPU only in Settings → Speakers → Voiceprint hardware. Diarization and voice detection stay on the CPU.
  • No silent fallback: if the NPU was wanted but not used, the engine badge shows · npu failed or · npu not used, and the status bar, Settings and About explain why. A job that hits an NPU problem continues on whisper.cpp from where it stopped.
  • The NPU is part of the PC: audio is never sent anywhere to be transcribed.

Forensics view & audit trail New in 1.5

Open a recording in the player and switch ☰ Transcript / ∿ Forensics, or in the Library right-click → ∿ Forensics….

PartWhat it does
DisplayTime ruler with markers, speaker timeline, waveform, spectrogram (0–4 or 0–8 kHz, 60–100 dB range) with pitch track, loudness curve and an overview of the whole file. Wheel zooms, Shift+wheel pans, drag selects, click jumps; hover shows exact time and frequency.
▶ SelectionPlays the selection, optionally looped.
MeasureLevel, peak, clipping, pitch, jitter, shimmer, HNR, formants and spectral centroid for the selection.
Who is speaking?Compares the selection's voice with every speaker in the recording and the voice library, using each voice's own consistency as the baseline.
Add note…Time-stamped observation, shown on the ruler and in the report.
Integrity checkWhole-file checks (metadata, clipping, digital silence, background steps, mains hum / ENF); findings appear as orange markers.
Export report…Evidence item details and hashes, audit-trail verification, an image of the current view, findings and the full audit log as PDF, HTML, Word, text or JSON, plus a .sha256.txt fingerprint.

Tamper-evident audit log

Every action (opened, measured, identified, note, integrity check, export) is appended to forensics-log.jsonl in the recording's library folder. Each entry records the Windows user, time, computer name, the media file's SHA-256 and the hash of the previous entry, so the entries form a chain. Verify chain recomputes it and reports any entry that was edited, deleted or reordered.

  • Back up or archive the log together with the original media; the chain proves the log is intact, and the SHA-256 ties it to that exact file.
  • The log is plain JSON Lines, readable by any tool. Don't edit it by hand: any change breaks verification (by design).
  • Work on a copy of the evidence where possible, and keep the original read-only.

Backup & migration

  • File → Backup… writes one file containing the library, voice library, settings and add-ons (models optional).
  • With a password it's a .wdbackup encrypted with AES-256-GCM (key from PBKDF2-SHA256, 600,000 iterations); without, a plain .zip.
  • File → Restore from backup… merges recordings (existing ones skipped unless overwrite is ticked), merges voices and verifies every file against its SHA-256.
  • A forgotten backup password cannot be recovered.
  • Since 1.7, restored settings keep this PC's add-on approvals and security choices, so a backup can't re-enable add-ons or point summaries at a remote server. Add-on DLLs restored from a backup stay disabled until approved. Library moves and backups skip directory junctions.

To move a user to a new PC: back up, copy the file across, install WhisperDesk, then restore. Leave models out of the backup to keep it small — they download again.

Identifiers

These never change between versions — safe to use in detection rules, policies and scripts.

ItemValue
Product / ManufacturerWhisperDesk / darkcipher0x
MSI UpgradeCode3fc82978-8263-42a1-9d62-8b858d3c0a9b
AppUserModelIDdarkcipher0x.WhisperDesk
Assembly GUIDd06d3e32-6317-4cc3-a20f-2645b1c78f11
Install registry keyHKLM\Software\darkcipher0x\WhisperDesk (InstallDir)

Code signing & Smart App Control

Current releases are not code-signed. On managed fleets:

  • Smart App Control is disabled automatically on enterprise-managed devices, so it won't block deployment there.
  • If you use App Control for Business (WDAC) or AppLocker, allow WhisperDesk by file hash or path (%ProgramFiles%\DarkCipher Systems\WhisperDesk\* (1.4.2+; %ProgramFiles%\WhisperDesk\* for older installs)) — publisher rules aren't possible without a signature. Hash rules must be refreshed for each release.
  • Verify downloads against the SHA-256 on the download page, or build from source and sign with your organisation's certificate.

Consumer guidance for Smart App Control is on the downloads page.

Troubleshooting

ProblemSolution
"FFmpeg was not found"winget install Gyan.FFmpeg, or set the path in Settings → Tools & storage
1.7.0 closes immediately after upgrading from 1.5.xInstall 1.9.1 (or 1.7.1 or later) over it. 1.7.0's upgrade could leave out onnxruntime.dll; 1.7.1 and later replace it.
Status bar says speaker recognition / voice detection is unavailableWhisperDesk's own onnxruntime.dll is missing. Run Repair from the MSI (or re-extract the portable zip). The app still transcribes in the meantime.
Engine badge says cpu (no Vulkan GPU)Update the graphics driver; check Hardware is set to Auto or GPU; check GPU device index on multi-GPU systems
Engine badge says · npu failed / · npu not usedThe status bar and Settings → Transcription say why. Update the Intel NPU driver; the first run compiles the model (a few minutes, once). Work continues on GPU/CPU meanwhile.
Locked out (forgotten passphrase)Use the recovery key on the lock screen; it sets a new passphrase. Without it the encrypted data can't be recovered.
"Model downloads are turned off"Settings → Security & privacy → Network: set model downloads to Ask or Allow, or import the model file
Add-on asks for approval again after an updateExpected: approval is tied to the DLL's SHA-256
Slow transcriptionUse Large-v3 Turbo or a smaller model; confirm GPU is selected; close other GPU-heavy apps
Wrong language or odd wordsSet Language explicitly; add names/terms to the Vocabulary hint
Same sentence repeatedTick "Don't use previous text as context"
Two people merged into one speakerSet the exact speaker count, or lower Separation sensitivity (e.g. 0.4)
One person split into severalRaise Separation sensitivity (e.g. 0.6); reassign lines to merge
Live: nothing appearsCheck the level meter moves; choose the right input; for Voicemeeter enable the B-bus
Live: lines cut mid-sentenceRaise "Pause that ends a line" (e.g. 900 ms)
OBS overlay is blankEnable the caption add-on; check URL and port; start a live session
Install fails silentlyRe-run with /l*v log.txt and check for blocked winget calls or policy restrictions
Blocked by Smart App Control / WDACSee Code signing & Smart App Control

Developers

Dev environment

ToolWhyInstall
.NET 8 SDKBuilds the WPF appwinget install Microsoft.DotNet.SDK.8
WiX Toolset 5 (dotnet tool)Builds the MSIRestored automatically by build.ps1 via dotnet tool restore
FFmpegRuntime dependency for testingwinget install Gyan.FFmpeg
Python 3 + reportlabOptional — regenerates the PDF guidepip install reportlab
Visual Studio 2022 / Rider / VS CodeOptional IDE—

Get the code from the Source Code page. The add-on contract lives in a sibling project, WhisperDesk.Addons, so keep both folders side by side.

Building

# Debug build and run
cd WhisperDesk
dotnet build
dotnet run

# Full release: MSI + portable zip + guide PDF into .\dist
.\build.ps1

build.ps1 runs dotnet publish -c Release (self-contained, win-x64) into publish\, builds Installer\WhisperDesk.wxs with WiX and the UI extension, zips the publish folder as the portable edition and copies the guide PDF. Release builds contain no debug symbols or local paths (see Release process).

HelperPurpose
tools\make-logo.ps1Regenerates Assets\app.ico, logo.png, logo-tile.png
docs\make_guide.pyRegenerates the User & Admin Guide PDF
..\WhisperDesk.AddonsAdd-on SDK contract (copied to sdk\ for developers)

Project layout

PathWhat's there
App.xaml, MainWindow.*App entry point and the main window, split into partials (.Feed, .Formats, .Schedule)
*Window.xamlDialogs: Settings, Add-ons, Library, Player, Summary, Voice library, Voice analysis, Bulk report…
Services\Engine and domain logic — transcription, live sessions, speakers, library, exports, backup
Services\Addons\AddonManager, the built-in add-ons in BuiltIn\, and the AppContainer host in Sandbox\
Services\Security\Vault (encryption, lock, TOTP, Windows Hello), NetworkGate, app lock, secret store
Themes\Control templates and the darkcipher0x dark/light palettes
Installer\WiX source (WhisperDesk.wxs) and licence RTF
sdk\Add-on SDK: contract DLL, XML docs, README, SampleWordExport
docs\Guide generator, screenshots and SECURITY-ARCHITECTURE.md (threat model, design and limits)
..\WhisperDesk.TestsSecurity test project (file-format tampering, RFC 6238 vectors, vault, network policy, captions server, log redaction, AppContainer escape probe)
Assets\Icons and logos

Architecture

ServiceResponsibility
TranscriptionEngineWraps Whisper.net (whisper.cpp) with CPU and Vulkan runtimes
ModelManagerModel catalogue, downloads and integrity
AudioDecoder, WavFileFFmpeg-based decoding to 16 kHz mono PCM
LiveAudioSource, LiveSessionWASAPI capture (mic / loopback / Voicemeeter) via NAudio, line segmentation, live speaker tagging
SpeakerAnalyzer, SpeakerModels, SpeakerReanalysissherpa-onnx segmentation + embeddings, clustering, sex suggestion
VoiceLibraryNamed voiceprints and matching
RecordingLibraryFolders, tags, metadata, full-text search
TranscriptWriter, DocumentExporter, SubtitleBurnerTXT/SRT/VTT/JSON, Word/PDF (PDFsharp/MigraDoc), burned-in subtitles
CallSummary, AiReport, BulkReport, ReportDocumentOffline summaries, optional Ollama reports, multi-recording reports
VoiceForensicsPitch/formant/jitter/shimmer profiles, voice comparison, audio integrity checks
SessionPackage, WindowsShare.wdsession packages, self-contained HTML player, Share sheet
BackupZip / AES-256-GCM .wdbackup archives with SHA-256 verification
AppSettings, ThemeManager, PrivacyInfo, InstallerIntegrationSettings persistence, theming, privacy statement, MSI property handoff

Add-on events are dispatched by AddonManager on a background queue, one at a time and in order; exceptions in add-ons are caught and logged.

Dependencies

PackageVersionLicence
Whisper.net + Runtime + Runtime.Vulkan1.9.1MIT
org.k2fsa.sherpa.onnx1.13.8Apache 2.0
NAudio.Wasapi2.2.1MIT
PDFsharp-MigraDoc-WPF6.2.4MIT
Microsoft.Web.WebView21.0.2903.40BSD-style (Microsoft)
Microsoft.ML.OnnxRuntime1.28.0MIT
Intel.ML.OnnxRuntime.EP.OpenVINO (NPU)1.8.0Apache 2.0
QRCoder (2FA set-up QR code)1.6.0MIT
System.Security.Cryptography.Pkcs (pinned)8.0.2MIT
WiX Toolset5.x (build only)MS-RL

Models: OpenAI Whisper (MIT), pyannote segmentation and WeSpeaker embeddings via sherpa-onnx, Silero VAD (MIT). FFmpeg and Ollama are separate, optional programs and are not redistributed.

Release process

  1. Bump <Version> in WhisperDesk.csproj, the one place the version is set (1.6+). The title bar, About, reports, the installer, the build script and the guide all take it from there, and newer MSIs upgrade older installs.
  2. Update the "What's new" section in docs\make_guide.py and regenerate the PDF.
  3. Run .\build.ps1 → dist\WhisperDesk-<ver>-x64.msi, portable zip, guide and SHA256SUMS.txt. Since 1.7 it restores from packages.lock.json, fails on high/critical NuGet advisories, runs the security tests, and signs when WD_SIGN_THUMBPRINT is set.
  4. Test an upgrade over the previous version and confirm settings, voices and library survive.
  5. Privacy check (see below), then publish the artefacts with their SHA-256 hashes.

Privacy rules for every release (1.5.1+)

  • Release builds set DebugType=none, DebugSymbols=false, Deterministic and a PathMap in both WhisperDesk.csproj and WhisperDesk.Addons.csproj, so no .pdb files or build-machine folder paths end up in the exe, DLLs or MSI. Don't remove these.
  • Screenshots and samples use demo data only: scripted test recordings, neutral speaker names, generic paths (%USERPROFILE%\Documents\…). Never a real recording, a real name, an email address or a personal folder.
  • Look at every new or changed screenshot before it goes into the guide. Text scans can't read pixels.
  • Search the built files (including inside the MSI and zip) for user names, user-profile folder paths, email addresses and .pdb before publishing.
Never change the MSI UpgradeCode, AppUserModelID or assembly GUID — upgrades, taskbar pinning and notifications depend on them.

Add-on SDK

Add-ons are .NET 8 class libraries implementing IWhisperDeskAddon from WhisperDesk.Addons.dll. Full walkthrough, downloads and examples are on the Add-ons page.

public interface IWhisperDeskAddon
{
    string Id { get; }            // unique, stable, e.g. "yourname.word-export"
    string Name { get; }
    string Description { get; }
    string Author { get; }
    IReadOnlyList<AddonOption> Options { get; }
    void Start(IAddonHost host);  // subscribe to host events
    void Stop();                  // unsubscribe and release resources
}

public sealed record AddonOption(string Key, string Label, string DefaultValue, string Help = "")
{
    public bool IsSecret { get; init; }   // SDK 1.1: kept in Windows Credential Manager, shown masked
}

// SDK 1.1: cast the host to see what the user approved
public interface IAddonHostPermissions
{
    IReadOnlyList<string> Capabilities { get; }
    string? ApprovedFolder { get; }       // the one folder granted by "files"
}

Manifest, capabilities & sandbox SDK 1.1 · WhisperDesk 1.7

Ship an addon.json next to your DLL, in its own folder under %LOCALAPPDATA%\WhisperDesk\addons\. It's read without loading your code and shown to the user, who approves each capability (or fewer):

CapabilityWhat the add-on gets
transcript.liveLineAdded, SessionStarted, SessionStopped
library.readTranscriptSaved and LineEdited
networkInternet and local-network access (hosts listed in networkHosts)
filesWrite access to one folder the user picks
credentialsIts own IsSecret options
backgroundStarts automatically with WhisperDesk

Third-party add-ons run in WhisperDesk.exe --addon-host inside a Windows AppContainer with a job object:

  • no file, library, settings or network access unless granted;
  • no child processes;
  • a 2 GB memory cap.

Events and options travel over a pipe as JSON, and only for granted capabilities. Approval is bound to the DLL's SHA-256, so users approve each update again. Older add-ons without a manifest still work, but get live lines only, with no network or file access.

IAddonHost memberDescription
AppVersion, DataFolderHost version; a private folder for the add-on's files
GetOption(key), Log(message)Read a user setting; write to the Add-ons window log
LineAddedTranscriptLineEvent: SessionId, IsLive, Timestamp, Start, End, Text, Speaker, Sex, Language, IsEdited, OriginalText
SessionStarted / SessionStoppedSessionEvent: SessionId, IsLive, Source, Timestamp
TranscriptSavedTranscriptSavedEvent: SessionId, Title, Source, Folder, PlainText, Lines
LineEditedLineEditedEvent: SessionId, LineStart, Speaker, OldText, NewText, Reason, User, At

Reference the contract with Private=false so it isn't copied to your output, and don't ship WhisperDesk.Addons.dll with your add-on.

Caption server API

Provided by the built-in Live captions for OBS & browsers add-on. Listens on http://localhost:7890 (configurable), localhost only.

EndpointDescription
GET /Index with previews, copyable URLs and options
GET /overlayTransparent caption page. Params: theme (terminal, chat), lines, size, speaker, color, bg, font, align
GET /eventstext/event-stream. Events: line (JSON TranscriptLineEvent), session
GET /api/linesJSON array of the current live session's lines
// Follow the live transcript from any web page or Node script
const es = new EventSource("http://localhost:7890/events");
es.addEventListener("line", e => {
  const line = JSON.parse(e.data);
  console.log(`${line.Speaker ?? "?"}: ${line.Text}`);
});

Webhook payloads

The built-in Webhook add-on sends an HTTP POST with a JSON body to the configured URL (10-second timeout; failures are written to the add-on log).

{
  "type": "line",            // "line" | "saved" | "started" | "stopped"
  "app":  "WhisperDesk",
  "data": {                  // TranscriptLineEvent, TranscriptSavedEvent or SessionEvent
    "sessionId": "…",
    "isLive": true,
    "start": "00:01:12.4000000",
    "end":   "00:01:15.9000000",
    "text": "Welcome back to the stream",
    "speaker": "Alex",
    "sex": "Male",
    "language": "en"
  }
}

Contributing

  • WhisperDesk is MIT-licensed — fork it, change it, ship it; keep the copyright and licence notice.
  • Match the existing style: small focused services, XML doc comments on public members, no telemetry, nothing leaves the PC by default.
  • Bug reports and patches: the bug report form; feature and add-on ideas: Feature Requests; or the Discord.