Skip to content

TTSNative 2.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 03:52
· 90 commits to main since this release
2e45ac0

TTSNative 2.2.0 brings sound effects: place them in any document yourself, or let the reader suggest a few where the text describes a sound. It adds six background music tracks, gives the six curated books an immersive reading experience with their own voices, sound effects and music, and fits the player better on tablets and phones. It also makes the Voice Studio's checks of your recordings more accurate and brings security updates throughout the app.

New

  • An Immersive reading experience for the six curated books: the characters' voices, the book's sound effects placed in the Sounds panel, and the recommended music track chosen for this device. Sound effects and music still stay off until you turn them on in the player.
  • Six more background music tracks: three piano pieces (a Chopin nocturne and two Beethoven sonata movements) and three nature recordings (gentle ocean waves, rain in a forest and a small stream), each running about five to eight minutes before it repeats.
  • Select text in a document and choose Sound effect to place a sound at those sentences.
  • A Sounds tab in the reader can suggest a few sound effects for the chapter you are viewing where the text describes a sound, such as a creaking door or distant thunder; you hear each one, then accept, dismiss or swap it.
  • You can add any sound from a bundled library at the sentence being read, choose when it plays and how loud, turn it off or remove it, and your arrangement stays with the document.
  • Sound effects play beside the narration with their own volume and an intensity setting, and are off at the start of every narration until you turn them on.
  • You can delete everything TTSNative keeps for you from Settings → About → Delete my data… in the Windows app. It asks you to confirm, then closes and removes your library, voices, recordings, settings and logs.

Improved

  • The reading experience no longer says sound effects arrive with a later version: it says how many it placed, and the Sounds panel marks them "From the reading experience". Adjust one and it becomes yours; remove one and it stays gone until you choose the experience again.
  • Background music uses the same small amount of memory however long a track is, and passes from one part of a track to the next without a click, also on phones.
  • The Voice Studio's Import a voice and Create voice buttons sit side by side instead of stacked.
  • In a curated book's reading experience, the recommended background music track is named the way the player names it, and its Use this track button makes it this device's choice in the player at the recommended level. Music still stays off until you turn it on there.
  • Eight sound effects whose synthesis is not convincing yet (the dog, owl, wolf, horse, birdsong, crowd, breaking glass and clashing swords) are marked Experimental in the library: they are never suggested automatically and a reading experience leaves them out, but you can still add one by hand.
  • Sound effects never play louder than the narration: by default they sit well under it, and at the loudest settings an effect only reaches the narration's own level.
  • Each voice card now shows a one-line credit naming the model behind the voice, its licence and that the voice is synthetic, with a Credits link to the full wording, given once at the end of the Voices page.

Fixed

  • Copy diagnostics no longer does nothing on a phone: when the browser can't copy, the details appear so you can select and copy them yourself.
  • The reading experience no longer says that background music recommendations arrive with a later version: they are here.
  • In the Voice Studio, a reading recorded far too quietly is now called too quiet, instead of being reported as having no speech at all.
  • In a noisy room, the Voice Studio no longer says a take was cut off mid-word when the reading ended normally.
  • The Windows installer checks that the drive has room for the new version before it touches anything, and says so plainly when it doesn't; an update that can't go ahead for lack of space reopens the version you have.
  • When no update has been published yet, the app says so instead of blaming your internet connection.
  • The uninstaller's question about deleting your data now names everything it would remove: the data folder, the remembered window position and the entry the installer keeps for its folder.
  • Background music no longer clicks each time a track starts over in the Windows app, Chrome and Edge: newer versions of their audio decoder dropped a fraction of a millisecond from the start of each track.
  • In windows between 768 and 1023 pixels wide, such as a tablet or a narrow window beside the sidebar, the player bar no longer pushes its voice, speed and export buttons past the edge: it uses the two-row layout there, with the audio mixer beside the play button.
  • On phones the position slider is no longer squeezed between the buttons. It gets a line of its own, and on touch screens every slider responds to a 44-pixel-tall area, not just the thin track.
  • Removing a voice from a blend no longer moves the other voices' choices, or your keyboard focus, onto the wrong row.
  • In the library, drop documents on a folder's name to move them there; the whole row still lights up while you drag.
  • On very narrow phone screens, the Voices page no longer scrolls sideways.
  • A voice that can't be used yet is no longer greyed out, which made its card hard to read; it has a dashed outline and still says its engine isn't installed.
  • On a Windows PC with few other programs installed, such as a new one, installing voice cloning no longer stops with "The voice engine reported an error".

Security & reliability

  • Security updates for libraries in the optional voice-cloning engine, among them a critical fix for decoding compressed downloads.
  • If you installed voice cloning, the app offers a quick update to it.
  • Updated libraries throughout the app, including the speech engine's runtime and the Windows app's shell.
  • A security update for one of the local server's libraries.
  • A paired phone or tablet can no longer remove a saved cast; like other deletions, that is done on the computer, and the phone says so.
  • A phone or tablet may ask for voice previews and alternative takes of a sentence in moderation; after a burst it is asked to wait a few minutes, and told why.
  • Settings and the guides now say plainly that on macOS and Linux the Audiobookshelf key is kept in a file only your user account can read, not encrypted as it is on Windows.

Download

Windows 11 (64-bit): TTSNative-Setup-2.2.0.exe, or always the newest from ttsnative.com/download. TTSNative already installed from the website offers this update itself. The installer includes open-source components under their own licences (listed in its THIRD-PARTY-NOTICES.txt); the source of its GPL and LGPL parts is attached as ttsnative-2.2.0-third-party-sources.tar.gz.

Changes for developers

Added

  • Immersive reading experience for the six curated books: the characters' voices, the book's sound effects placed in the Sounds panel, and the recommended music track chosen for this device. Sound effects and music still stay off until you turn them on in the player.
  • Six more background music tracks: three piano pieces (a Chopin nocturne and two Beethoven sonata movements) and three nature recordings (gentle ocean waves, rain in a forest and a small stream), each running about five to eight minutes before it repeats.
  • Select text in a document and choose Sound effect to place a sound at those sentences.
  • A Sounds tab in the reader can suggest a few sound effects for the chapter you are viewing where the text describes a sound, such as a creaking door or distant thunder; you hear each one, then accept, dismiss or swap it.
  • You can add any sound from a bundled library at the sentence being read, choose when it plays and how loud, turn it off or remove it, and your arrangement stays with the document.
  • Sound effects play beside the narration with their own volume and an intensity setting, and are off at the start of every narration until you turn them on.
  • You can delete everything TTSNative keeps for you from Settings → About → Delete my data… in the Windows app. It asks you to confirm, then closes and removes your library, voices, recordings, settings and logs.

Changed

  • The reading experience no longer says sound effects arrive with a later version: it says how many it placed, and the Sounds panel marks them "From the reading experience". Adjust one and it becomes yours; remove one and it stays gone until you choose the experience again.
  • Background music uses the same small amount of memory however long a track is, and passes from one part of a track to the next without a click, also on phones.
  • The Voice Studio's Import a voice and Create voice buttons sit side by side instead of stacked.
  • In a curated book's reading experience, the recommended background music track is named the way the player names it, and Use this track makes it this device's choice in the player at the recommended level. Music still stays off until you turn it on there.
  • Eight sound effects whose synthesis is not convincing yet (the dog, owl, wolf, horse, birdsong, crowd, breaking glass and clashing swords) are marked Experimental in the library: they are never suggested automatically and a reading experience leaves them out, but you can still add one by hand.
  • Sound effects never play louder than the narration: by default they sit well under it, and at the loudest settings an effect only reaches the narration's own level.
  • Each voice card now shows a one-line credit naming the model behind the voice, its licence and that the voice is synthetic, with a Credits link to the full wording, given once at the end of the Voices page.

Fixed

  • Copy diagnostics no longer does nothing on a phone: when the browser can't copy, the details appear so you can select and copy them yourself.
  • The reading experience no longer says that background music recommendations arrive with a later version: they are here.
  • In the Voice Studio, a reading recorded far too quietly is now called too quiet, instead of being reported as having no speech at all.
  • In a noisy room, the Voice Studio no longer says a take was cut off mid-word when the reading ended normally.
  • The Windows installer checks that the drive has room for the new version before it touches anything, and says so plainly when it doesn't; an update that can't go ahead for lack of space reopens the version you have.
  • When no update has been published yet, the app says so instead of blaming your internet connection.
  • The uninstaller's question about deleting your data now names everything it would remove: the data folder, the remembered window position and the entry the installer keeps for its folder.
  • Background music no longer clicks each time a track starts over in the Windows app, Chrome and Edge: newer versions of their audio decoder dropped a fraction of a millisecond from the start of each track.
  • In windows between 768 and 1023 pixels wide, such as a tablet or a narrow window beside the sidebar, the player bar no longer pushes its voice, speed and export buttons past the edge: it uses the two-row layout there, with the audio mixer beside the play button.
  • On phones the position slider is no longer squeezed between the buttons. It gets a line of its own, and on touch screens every slider responds to a 44-pixel-tall area, not just the thin track.
  • Removing a voice from a blend no longer moves the other voices' choices, or your keyboard focus, onto the wrong row.
  • In the library, drop documents on a folder's name to move them there; the whole row still lights up while you drag.
  • On very narrow phone screens, the Voices page no longer scrolls sideways.
  • A voice that can't be used yet is no longer greyed out, which made its card hard to read; it has a dashed outline and still says its engine isn't installed.
  • On a Windows PC with few other programs installed, such as a new one, installing voice cloning no longer stops with "The voice engine reported an error".

Security

  • Security updates for libraries in the optional voice-cloning engine, among them a critical fix for decoding compressed downloads.
  • If you installed voice cloning, the app offers a quick update to it.
  • Updated libraries throughout the app, including the speech engine's runtime and the Windows app's shell.
  • A security update for one of the local server's libraries.
  • If you installed voice cloning, the app offers a quick update to it: its list of components now names the same library's fixed version, though that library was never installed.
  • A paired phone or tablet can no longer remove a saved cast; like other deletions, that is done on the computer, and the phone says so.
  • A phone or tablet may ask for voice previews and alternative takes of a sentence in moderation; after a burst it is asked to wait a few minutes, and told why.
  • Settings and the guides now say plainly that on macOS and Linux the Audiobookshelf key is kept in a file only your user account can read, not encrypted as it is on Windows.

Technical

  • Presets: NOT_YET and the 409 component_unavailable path are gone (every component is available); PresetService._apply_effects resolves anchors and places rows through SoundEffectStore.apply_preset (origin preset, status accepted, detector preset:<id>@<version>, volume round(gain × preset volume), until from the end anchor or duration_s / 4 sentences), records {placed, skipped} in components_json (skipped by reason: occupied, experimental, invalid, limit, unresolved), and remove_preset takes the rows out; the report gains effectsPlaced; PresetStores groups the service's stores. Store: Origin gains preset, PresetEffectIn, apply_preset, remove_preset; a PATCH makes a preset row manual. Web: Immersive offered, an effects line, "From the reading experience" in EffectRows, sound-effects queries invalidated on apply and remove. persistence-test.mjs applies the whole experience. No migration.
  • Music is chunked. npm run music:build cuts each prepared loop into chunks of about 20 s (public/music/<id>/01.webm, …) that each carry 960 frames (20 ms) of their neighbours, checks every chunk by decoding it with FFmpeg, and limits true peaks at four times the rate over the loop wrapped in its own end and start. library.json tracks list chunks (file, frames, bytes, SHA-256) and edgeFrames instead of one file and sha256.
  • MusicEngine plays a track as its chunks on one frame-exact timeline (a 48 kHz AudioContext where the browser allows it): the chunk playing and the next one per track, plus three recently used chunks decoded. It finds each chunk's music from the decoded length (Chromium 156 trims 24 frames from the start, Firefox 157 0–1) and crossfades every join, the loop point included, over 10 ms. This replaces the whole-buffer loop for music, and the 30 ms whole-track seam crossfade that first fixed Chromium 156's trim. dispose() also disconnects the master gain.
  • Measured in Chromium (the page's private memory, after a forced garbage collection): +24, +31 and +40 MB for 2, 10 and 20-minute tracks walked to the end, +55 MB during a crossfade between two 20-minute tracks; decoding the whole track at once, as before: +52, +243 and +493 MB.
  • tests/e2e/music.spec.ts (with music-probe.ts) measures every chunk join and loop point of all 17 tracks as the player schedules them, in Chromium 156 and Firefox 157: at most 0.92 against the limit of 1 (cut without the crossfade, up to 2.83), each next chunk on the exact frame, copies aligned. It fails with the crossfade or the trim correction removed. Measured, not listened to.
  • Six tracks added (the owner's approved selection; the library test caps the library at these 17): Musopen recordings on Wikimedia Commons (public domain or CC0, with the compositions in the public domain) and Freesound CC0 field recordings (their high-quality previews), licences checked on the live and archived pages on 2026-10-22 and credited in CREDITS.md. The bundled music grows from 13.3 MB in 11 files to 33.5 MB in 200 (the web build from about 16 MB to 36 MB).
  • Engine tests split into engine.test.ts (chunks and joins) and engine.lifecycle.test.ts, with test/musicEngine.ts; the shared loop helpers' tests moved to lib/audio/webAudio.test.ts.
  • SelectionStyler gains a "Sound effect" button that opens SoundLibraryDialog (now with an optional error) and posts a manual effect at the first selected sentence; a looping sound's untilSegment is the last selected sentence. PageHeader actions no longer shrink beside a long description.
  • Server: ltts.sfx (vocabulary, deterministic lexicon detector, validation gate with intensity limits, store, router) with sound_effects and sound_analyses tables (one migration at the end of the list) and the catalogue ltts/sfx/library.json; endpoints under /api/sound-effects/library and /api/documents/{id}/sound-effects (list, add, change, remove, review, analyse). ADR-22.
  • Web: features/sfx (Web Audio engine with a limiter, scheduler, session following the player, provider, Sounds panel, library and adjust dialogs), a data-effect marker on sentences, and 36 synthesised MP3 sounds under public/sfx/ (1.3 MB) built by scripts/media/sound-library.py.
  • Docs: docs/research/sound-effects.md, docs/research/sound-effects-research.md, wiki Sound-Effects.md.
  • Microsoft Store build (ADR-26): the desktop shell's store Cargo feature leaves out the updater plugin, answers update checks with store and reports updates: "store" in desktop_info, so About says the Microsoft Store keeps TTSNative up to date and hides the GitHub checks. npm run desktop:store builds the program with that feature and packs TTSNative-<version>.msix with scripts/desktop/msix.mjs: a full-trust Windows 11 package whose user folder is excluded from file-system virtualisation, logos made from the brand icon, identity from apps/desktop/store/identity.json (a test identity until Partner Center's is recorded). The Desktop workflow lints and tests the shell with the feature too, and a new "Microsoft Store package (MSIX)" job builds the package with the runner's Windows SDK and keeps it as an artifact for sideloading.
  • delete_user_data (erase.rs): refuses any folder not named after the app's identifier, stops the server, and a hidden cmd.exe removes %LOCALAPPDATA% and %APPDATA%\com.ttsnative.desktop with rmdir /s (links inside are removed, not followed) once the app has closed, retrying for 30 seconds; the folder paths reach it only through environment variables. ConfirmDialog takes confirmDisabled.
  • Re-applies Dependabot #71–#77 by hand, every release past the 14-day cool-down: Tauri 2.12.2, tauri-build 2.7.2, tauri-plugin-opener 2.7.1, tauri-plugin-single-instance 2.5.3, tauri-plugin-updater 2.13.3 (with minisign-verify 0.3.0); @tauri-apps/cli 2.12.2, @tauri-apps/api 2.12.3, @tanstack/react-query 5.104.2, lucide-react 1.55.0, radix-ui 1.8.0, vite 8.3.4, jscpd 5.4.1, knip 6.41.0, prettier 3.9.10; fastapi 0.143.3, pydantic 2.14.1, numpy 2.5.4, onnxruntime 1.31.0 and ruff 0.17.1 (cap now <0.18).
  • Security fixes for every open Dependabot alert: undici 8.12.2 (npm, web tests only; Dependabot's 8.12.3 is still inside the cool-down); filelock 4.2.1 in both Python locks, and setuptools 84.2.0, virtualenv 21.14.13 and brotli 1.2.1 in the worker, through exclude-newer-package security exceptions with removal dates (docs/security/supply-chain.md). The worker's expired omegaconf exception is gone. The worker lock's fingerprint changes, so existing voice-cloning installs are offered a one-time environment update.
  • AboutSection always attempts navigator.clipboard.writeText (a missing clipboard on plain HTTP now rejects instead of short-circuiting) and on failure shows the report in a read-only, select-on-focus textarea.
  • Presets: music leaves NOT_YET; the report's music (trackId, volume, note) replaces musicTrackId; applying music records the track and level in document_presets.components_json and writes nothing else (the track a device plays is the web app's own setting there); tests/test_library_presets.py keeps KNOWN_TRACKS equal to features/music/library.json; ReadingExperience names tracks from that library and chooses them through useMusic().
  • take_checks: when the fixed −45 dBFS speech threshold finds a take short or too quiet, the whole recording is measured against its own background (its quietest tenth of 30 ms frames). At least 3 s of voice 15 dB above that background, at under −40 dBFS, now gives too_quiet alone: previously no_speech or no_sound, or too_quiet plus pauses/incomplete that followed from it.
  • cut_off also needs the edge frames 6 dB above that background, so steady noise within 15 dB of the speech no longer reads as a word cut off.
  • A local benchmark of 540 clips edited from 48 studio takes: false warnings on complete clips fell from 27.9 % to 0 %, and incomplete-take detection is unchanged (65 %).
  • hooks.nsh: NSIS_HOOK_PREINSTALL compares ${DriveSpace} on the install drive with Tauri's ${ESTIMATEDSIZE} plus a 200 MB margin, aborts with error level 3 (a message box unless silent) and in /UPDATE mode relaunches the installed TTSNative.exe; scripts/desktop/space-test.mjs proves it on a 256 MB virtual disk (diskpart; administrator). updates.rs maps tauri_plugin_updater::Error::ReleaseNotFound to a new CheckResult::NoRelease (the web app's noRelease status, "No update has been published yet."), logged but not remembered as a check. update-test.mjs also signs B with a second throwaway key and proves that signature is refused. scripts/desktop/processes.mjs lists every process under the install or data folder (server, WebView2, uv, the Chatterbox worker python.exe); the persistence test requires none after a close or a crash. build.mjs takes the TTSNATIVE_TAURI_CONFIG overlay only for a test build (TTSNATIVE_TEST_HOOKS=1) and only for plugins.updater; a release build refuses it (build-config.mjs, with tests).
  • Chromium 156 decodes the bundled Opus/WebM tracks 24 samples short at the start (FFmpeg 9, Chrome 152 and Firefox 157 decode the full length), so the sample-exact whole-track loop jumped at its seam on 7 of the 11 tracks (seam ratio 1.05–3.85 against a limit of 1). The chunked player (see the long-tracks change) finds each chunk's music from its decoded length and crossfades every join and loop point over 10 ms; every join of all 17 tracks measures at most 0.92 in Chromium 156 and 0.91 in Firefox 157, and the e2e test fails when the crossfade or the trim correction is removed. Sound-effect loops (MP3) decode to full length in both browsers and are unchanged.
  • opentelemetry-api 1.45.0 → 1.45.1 (via fastapi) in apps/server/uv.lock for CVE-2026-114603; released 2026-10-06, so within the 14-day cool-down, no exception needed. Only that package changed in the lock.
  • The same bump in apps/chatterbox-worker/uv.lock (replacing Dependabot #66, whose lock was regenerated by another uv version). Not reachable there: gradio, fastapi and opentelemetry-api are sys_platform == 'never' in both exported extras, so nothing installs them; it keeps the lock free of the flagged version. The worker lock's fingerprint changes, so existing voice-cloning installs are offered a one-time environment update.
  • Player bar: the compact layout runs up to lg (1024 px) instead of md; from lg the title shrinks (max-w-64) instead of keeping a fixed width. The position row wraps, with the slider group at least basis-60. Slider is h-11 under pointer-coarse.
  • npm run perf:listening names the minutes its closing rate covers ("last N minutes"), so a short run no longer claims ten.
  • SonarQube review for 2.2.0: the server, web app, build scripts and website were brought back to no open findings (long functions split into named helpers, nested conditionals unpicked, repeated literals named once, statuses in <output>, sorts that feed generated files given an explicit code-unit comparator so their order can't move). Security hotspots were reviewed one by one, and each verdict is recorded in SonarQube with its reasoning.
  • The update test gives every throwaway signing key its own random password instead of a fixed one in the source.
  • A text selection longer than 1,000 characters is never searched for a word to fix, so the edge-trimming pattern only sees short strings.
  • lan/policy.py: DELETE /api/cast-presets/{id} joins _ON_THE_COMPUTER; voice previews and segment takes (_BRIEF) draw on a second per-device WorkBudget(BRIEF_PER_WINDOW) (LanService.previews, 60 per 10 minutes) and are refused with 429 lan_busy and a previews-specific message; WorkBudget takes a limit. The reader hides a saved cast's remove control on a phone and says where casts are removed. The Audiobookshelf Settings copy, the wiki and the threat model describe the key file on macOS and Linux. Security review for 2.2.0 in docs/security/review-2.2.0.md; threat-model rows for web-page import, Audiobookshelf upload and the bundled book catalog; supply-chain.md states the real Dependabot cool-downs; the licence inventory lists the bundled books and sound effects.
  • Store: adding or changing an effect refuses a looping sound with no end sentence (effect_span), so an ambience can never be left to loop until the narration pauses.
  • Catalogue: experimental and qualityNote per sound in ltts/sfx/library.json (the switch is EXPERIMENTAL in scripts/media/sfx_recipes.py, one line per sound; the generator writes both fields); catalogue.suggestable(event) and a default_sound that prefers a credible sound; analysis drops proposals for events without a credible sound. The listening page shows the flag and the note.
  • Engine: the per-effect gain cap (MAX_GAIN) is 1 instead of 1.5, so no effect plays above its mastered level, which is the narration's own.
  • Tests: tests/test_sound_mix.py measures every bundled sound (mastered at or below −19 dBFS loud, −4.5 dBFS peak) and asserts the default and worst-case margins against the measured Kokoro narration level (−20.5 dBFS), re-measured by an inference test; the web tests play music and effects together under the narration, check the default levels and that no gain is above 1, and that a pause stops both and leaving the page closes both contexts.
  • VoiceInfo.credit (one line for the card) beside VoiceInfo.attribution (the full wording), both from ltts.engines.credits (KOKORO, CHATTERBOX, CLONED, BLEND). The full Kokoro wording credits everything apps/desktop/licenses/kokoro/README.txt credits (StyleTTS 2 by yl4579, Koniwa by tnc under CC BY 3.0, SIWIS under CC BY 4.0, no affiliation), and a test keeps the two in step.
  • VoiceCredits shows each distinct attribution once with the voices it covers and where the licence texts are; a card's Credits link scrolls to it and moves focus there without changing the address.
  • The voice grid is grid-cols-1 below sm, so a Mandarin voice's truncated language line no longer widens the implicit column past a 320 px screen.
  • An unavailable voice card is border-dashed instead of opacity-70: the dimming took its avatar initials and badges to 3.1–4.3:1, which axe flagged as color-contrast on /voices in both themes (tests/e2e/states.spec.ts).
  • github/codeql-action pinned to v4.39.0 (6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee, released 2026-10-15) in .github/workflows/codeql.yml, replacing Dependabot's #51. GitHub Actions follow the 7-day cool-down in .github/dependabot.yml (the 14-day rule covers Python, npm and the Tauri crates), which this release passed on 2026-10-22; its release notes list no security fix.
  • The Windows runtime ships the Microsoft Visual C++ runtime (msvcp140.dll, msvcp140_1.dll, vcruntime140.dll, vcruntime140_1.dll; Microsoft-signed, 14.40 or later) next to python.exe, copied from Visual Studio's redistributable folder (or TTSNATIVE_VC_REDIST_DIR) and recorded with its SHA-256 in runtime-manifest.json. ONNX Runtime and espeak-ng need it and a clean Windows 11 PC doesn't have it, so the default voice failed to load there; GitHub's runners have it installed, so no automated check had noticed. 2.1.0 is released from the commit with this fix, so nothing changes for anyone who installed it.
  • npm run desktop:build fails if any program or library in the runtime loads a DLL that neither ships with it nor comes with Windows (scripts/desktop/cpp-runtime.mjs, import tables read by scripts/lib/pe-imports.mjs).
  • Change files declare each surface's impact (desktop, browser, phone, website, docs: changed, unchanged, limited: <why> or, for the website, pending-release). lib/changes.mjs rejects undeclared surfaces, app surfaces that diverge without a stated limitation, none changes that alter the app, user-facing bumps that reach no surface and undocumented New features; check-changes.mjs --base checks website/docs against the files the pull request changes. npm run change writes placeholders CI refuses. New AGENTS.md; CONTRIBUTING, the PR template and .changes/README.md describe the rule.
  • The Desktop workflow's smoke test proves the installed app serves the installer's own web build byte for byte (every file under apps/web/dist), opens every page in scripts/lib/app-routes.mjs and reports the build's version; app-routes.test.mjs keeps that list in step with the router.
  • Development wiki page: contributors add a change file (npm run change -- <bump>, with the five surface keys) instead of editing CHANGELOG.md; coverage gates are 100 % lines and branches for the web app and the server; the worker uses PyTorch 2.11; the version lives in 11 places; current code layout (apps/desktop, site/, .changes/, the server's library, sfx, lan, speech_api and pronunciation packages); links to the working rules and the release readiness gate.
  • Exporting Audio: exports carry the document's own title, album and track tags (and the M4B details), never a comment or tag naming the app; where the Windows app keeps exports; the Windows app ignores LTTS_FFMPEG.
  • Privacy and Security: the Windows app's data folder and bundled runtime, web page import and Audiobookshelf connections, the one remaining (ignored, unreachable) torch advisory in place of the fixed setuptools and reduced torch ones, and the unsigned installer.
  • FAQ: every connection to the internet and when it happens (setup, model and engine downloads, web page import, Audiobookshelf, the Windows app's update check and update download); platform claims limited to what CI tests; phones don't import voice recordings.
  • Local speech API guide: the Windows app's ports (8770 to 8789) and where to find the port in use.
  • Getting Started: five pages (Library, Voices, Voice Studio, Exports, Settings), the Explore tab, current formats and web page import, and the player's bookmark, sleep timer and mixer controls.
  • README: what the published 2.0.0 has against main, the installer not published yet (SmartScreen warning, update signature), platform testing as CI does it, the Windows app's size and data folder.
  • Windows App and Installation: requirements, what the installer bundles against optional downloads (voice cloning sizes, ffmpeg), where data lives, backing up and moving it, how updates are verified, and uninstalling with data kept unless deletion is confirmed twice (naming the data folder, the window position and the installer's registry entry).
  • Troubleshooting (wiki and guide): a Windows app section (log folder, SmartScreen, start-up failures, ports 8770 to 8789, the installer's free-space check, "No update is available right now", failed updates).
  • New wiki page What Works Where: features against the Windows app, the browser on the computer, phones on the home network and the website, with the reason for each limit (including the per-device allowances and saved casts staying on the computer), taken from lan/policy.py and the interface; linked from Home and the sidebar.
  • Settings and Models, Other Devices, configuration guide: the Windows app's update check, ports, LTTS_* handling and phone permissions; LTTS_EXTRA_ALLOWED_HOSTS and LTTS_FFMPEG listed.
  • Bug report form: where it happened, install type, app version (Settings → About) and logs location.
  • Architecture overview: the desktop shell, LAN mode, music and sound effects, the included books, exports and the speech API, with links to the ADRs.
  • npm run lint:repo now fails when a file brings in a language, runtime or package manager the project has no security tooling for (PHP, Ruby, Go, the JVM, .NET, a second JavaScript or Python package manager, a container image and others). Adding one needs an architecture decision and, in the same pull request, its Dependabot entry, an audit in npm run security and scanner coverage (CONTRIBUTING.md, "Adding a language or package manager"). TTSNative uses no PHP today; this keeps it that way until its tooling arrives with it.
  • npm run perf:listening (tests/perf/long-listening.mjs) measures a long listening session in Chromium: private memory per browser process every minute after a forced garbage collection, the JavaScript heap against the rest, and the page's DOM nodes and event listeners, then after a pause and under simulated memory pressure. It can run with background music, or play the same sentence audio on a bare page without the app.
  • docs/guides/performance.md documents narration memory in long sessions (issue #44): it grows in the browser's media handling outside JavaScript, the same way without the app, about 5 MB a minute for the first 600 sentences and about 0.5 MB a minute after that. The app's own share is about 15 MB an hour, with the JavaScript heap and the DOM flat.
  • The Desktop workflow builds the update test's versions A and B at the same time: one job makes the throwaway update key (update-test.mjs --make-key, passed to the builds as a one-day artifact of the run), two jobs build A and B in parallel (--build old|new), and the update test runs on their installers and signatures (--test). The key, its password, what the builds trust and what the test checks (wrong signature and broken download refused, verified update installed, document kept) are unchanged; npm run desktop:update-test with no arguments still does everything in one go.
  • The release-readiness gate separates the acceptance list into Before release (each tick needs a "verified:" note; a (required) check can't be waived), After publishing (listed, and refused if marked before the release exists) and Blockers (ticked with "verified:"). The next version's gate requires the previous gated version's after-publishing checks, so post-release smoke tests can't be skipped. This removes the circular requirement that the website and download be verified before the release that creates them.
  • The gate checks on GitHub that the previous release is published, not a draft, from a commit whose version files name it and that has no pending change file, so a tag on main by mistake is caught.
  • SonarQube evidence must meet the project's policy (100 % line and branch coverage, no duplication, no bug, vulnerability or code smell, no unreviewed hotspot) whatever the server's gate allows; npm run sonar:gate sets the server's gate to the same thresholds on new code and the whole project. The SonarQube API calls are shared in scripts/lib/sonar.mjs.
  • Release-readiness gate (npm run release:gate -- X.Y.Z, scripts/lib/gate.mjs): from 2.2.0 the Release workflow refuses a tag unless CI, Desktop, CodeQL and Inference & E2E passed on that exact commit, docs/readiness/X.Y.Z/quality.json records a passing SonarQube gate for it (or for a commit that differs only by that evidence), and docs/readiness/X.Y.Z/acceptance.md has every manual check done or waived with a reason and no open blocker. npm run sonar:evidence writes the SonarQube file from the server's API (token from SONAR_TOKEN only). Release builds download and verify the bundled Python and models afresh instead of restoring them from a cache.
  • Website: every claim and screenshot that only holds for 2.1.0 (chapter fixes, the included books and library organisation, study aids, export subtitles, Studio noise cleanup, the ONNX telemetry note, the Library, Included books and Voice Studio screenshots) now sits in an if:released-2.1.0 block, so the published site describes 2.0.0 until 2.1.0 is out; the download page carries noindex while no installer is published; the seven voice samples and both videos have accessible names, the French and Spanish quotes are language-tagged; the demo is described as 2½ minutes and the source install as the current development version. The download and release pages carry the same social metadata as the home page; the download page lists what the app needs (Windows 11 with WebView2, about 1.5 GB of disk, no graphics card); the Copy button keeps an accessible name through its states (demo.js); the sitemap lists /download/ only while an installer exists; build-site.mjs --expect-installer X.Y.Z fails a build that would not advertise that installer, and release.yml passes the released version to the Pages dispatch (pages.yml input expect_installer). The head every page shares (social image, theme colours, icons, stylesheets) lives once in site/partials/head.html; fillHead inserts it where a page says <!-- head:shared -->, with icon and stylesheet links relative to the page's folder, and the link check resolves relative links from that folder. The website spec takes the newest finished notes file as the latest version instead of a version written into the test, and its type-check reads the module it imports for that.
  • Server tests no longer time out waiting for a background job that is slow but still moving. The job manager counts every write to a job and wakes anyone waiting on it; the tests' wait_job sleeps on that signal instead of polling the API and fails only when a job stops changing for 10 seconds, with the job's state and every thread's stack. It removes the "job did not finish" failures of two export tests on a busy Windows runner, where each sentence's database commits waited for slow disk flushes.
  • The sound-detection speed check measures its thread's CPU time instead of the wall clock, so other test workers sharing the CPUs no longer count against its budget.
  • Vitest starts one worker per free CPU (at most one per core on big machines), sampled when it loads its configuration, so CPU-bound web tests keep their headroom on a busy machine; an idle CI runner keeps its usual count. The offline-server flow moves a fake clock past the retry backoff instead of waiting 3 s for it.
  • ttsnative.com's installation steps describe both warnings an unsigned installer meets: Edge's "isn't commonly downloaded" (… → Keep, then Keep anyway) and SmartScreen's "Windows protected your PC" (More info → Run anyway).
  • The download section leads with "Get TTSNative from the Microsoft Store" once listed is true in apps/desktop/store/identity.json, keeping the installer as the alternative (scripts/site/store.mjs, <!-- if:store --> / <!-- if:no-store -->, applied after the download section is decided).
  • The code signing policy says the direct download is unsigned: SignPath Foundation declined on 2026-10-24 pending wider adoption (ADR-26 updated); the Microsoft Store version is signed by Microsoft.
  • The Release workflow builds TTSNative-X.Y.Z.msix from the tag with the Partner Center identity and keeps it as the ttsnative-store-package artifact for 30 days; it publishes nothing. docs/guides/windows-distribution.md now walks through the Store submission: package, properties, listing text, screenshots, restricted-capability justifications and certification notes.
  • ADR-26 and docs/guides/windows-distribution.md: Windows ships through the Microsoft Store as the main channel (MSIX, re-signed by Microsoft, so no SmartScreen warning) with the direct download kept and signed for free by SignPath Foundation. The guide lists the owner's account steps, the design of both packages and what is still open.
  • ttsnative.com/code-signing/ is the code signing policy SignPath Foundation requires: what is signed and by whom, who approves a signature, what the app sends over the network and how to check a signature. It says plainly that 2.1.0 and earlier are unsigned. The home page footer and the download page link to it as "Code signing policy", and it is in the sitemap and the website's end-to-end tests (desktop and phone, axe).
  • The release-readiness gate reads a wrapped acceptance check whole: its indented lines belong to it, so a "verified:" note on a later line counts (scripts/lib/gate.mjs, tested). Before, only an item's first line was read, so the wrapped checks in docs/readiness/X.Y.Z/acceptance.md could never pass.
  • SonarQube findings in code merged since the 2.2.0 quality review, fixed without changing behaviour: scripts/desktop/cpp-runtime.mjs and scripts/lib/pe-imports.mjs use toSorted instead of sorting in place inside an expression; the Visual C++ runtime pattern in pe-imports.mjs reads \d\w* (the same names) so it can't backtrack; DeleteMyData names its caught error error_ like the rest of the web app.
  • The voice-cloning worker starts with the desktop runtime's folder first on PATH, so PyTorch finds the Microsoft Visual C++ runtime (msvcp140.dll) that the runtime ships next to python.exe. The worker runs on uv's own Python, which carries vcruntime140.dll but not msvcp140.dll, so on a PC without Microsoft's redistributable import torch failed with OSError: [WinError 126] loading c10.dll and the install's verification load reported OSError. Found on a clean Windows 11 VM while testing the 2.2.0 upgrade; the maintainer's PC and GitHub's runners have the redistributable, so nothing automated had noticed.
  • test_a_request_that_times_out_in_the_queue_leaves_no_work_behind restores the usual speech-API timeout before its last request: left at the 0.3 s it sets to force a timeout, that request failed with 504 on a slow Windows runner.
  • Re-applies Dependabot #83–#90 by hand, each proposed after the cool-downs in .github/dependabot.yml: Tauri 2.12.3, tauri-build 2.7.3 (which adds the static_vcruntime build dependency), tauri-plugin-opener 2.7.2, tauri-plugin-updater 2.14.0 and serde_json 1.0.154 in the Windows shell, with Cargo.lock combined from Dependabot's five locks (tauri-utils 2.10.2, tauri-codegen and tauri-macros 2.7.2); @tanstack/react-query 5.104.4, @tauri-apps/api 2.12.4, lucide-react 1.59.0, radix-ui 1.8.1, react and react-dom 19.3.1, and the development tools @axe-core/playwright 4.14.0, @playwright/test 1.64.1, @tauri-apps/cli 2.12.3, eslint 10.13.0, knip 6.42.0, typescript-eslint 8.71.2, @testing-library/user-event 14.6.8, vitest and @vitest/coverage-v8 5.0.5 and jsdom 30.1.3; fastapi 0.146.0, starlette 1.9.0, pydantic-settings 2.16.0 and httpx2 2.14.0, with the server's lower bounds raised to match; and github/codeql-action v4.39.1 (9b3254085494b55a0f7c4c2b3d2d52cc712ce370). The licence inventory is regenerated; no licence changes.
  • The release-readiness gate no longer requires a SonarQube result: the maintainer runs SonarQube when they choose. qualityVerdict is optional, so a missing, failed or out-of-date docs/readiness/X.Y.Z/quality.json is shown with ! and never fails npm run release:gate or the Release workflow; unmet() counts only the required verdicts. A recorded result is still judged against the project's policy. The release process guide and the wiki say so.
  • test_a_request_that_takes_too_long_answers_504 restores the usual speech-API timeout before its last request: left at the 0.3 s it sets to force a timeout, that request failed with 504 on a slow Windows runner (CI on main at 3d0aedc), as its sibling in test_speech_api_load.py did before.
  • The library rail test's recently added document is created on the day the test runs. Its fixture date of 19 October fell outside the 14 days that Recently added counts on 2 November, and the test has failed on every run since.

Verifying this release

Every file attached below is listed in SHA256SUMS.txt and has a signed build-provenance attestation
from this repository's release workflow. To check a download:

sha256sum --check --ignore-missing SHA256SUMS.txt
gh attestation verify <file> --repo carsonmcrae/ttsnative

The source archive and SBOMs (CycloneDX 1.5) cover the web app, the server, the optional Chatterbox
worker and the Windows app. To run from source, follow the Quick start.