Skip to content

A phone never loads the voice model or asks for the graphics card - #45

Merged
ashrawan merged 2 commits into
mainfrom
claude/project-thread-owg9y1
Nov 28, 2026
Merged

ashrawan merged 2 commits into
mainfrom
claude/project-thread-owg9y1

Conversation

@ashrawan

Copy link
Copy Markdown
Owner

What this changes

On a phone or a tablet (light() in site/voice.js: a narrow screen, or one worked by touch alone) the page no longer loads the voice model. A voiceover is said by the device's own voice, whichever voice the timeline names. The graphics card is never asked for there, the GPU voice is not offered, the voice dialog lists only "This device" with a line that says why, and a video exported on a phone has no voiceover.

Why

The page was reported crashing on a phone. The 92 MB voice model running in a worker, and the request for a high-performance graphics adapter at page start, are the heaviest things the page did there, and neither is needed: the device's own voice costs nothing. The crash itself was not reproduced here, so this removes the likeliest causes rather than a proven one.

Kind

  • New entry
  • Correction to an entry
  • New view
  • Image or icon
  • The page (site/)
  • Scripts, rules, tests or docs

Related issue, if any: none (asked for directly by the maintainer)

Sources

  • No dates or facts changed.

Screenshots

Nothing changes on a wide screen. On a phone the only visible change is the voice dialog, which lists one voice; no screenshot was taken.

Wide Phone
unchanged not taken

Local link to see it, such as /<owner>/<id> or #<entry-id>: /wiki/dinosaurs

Checklist

  • node scripts/build.mjs --check prints 0 errors
  • node --test passes
  • Every date I added or changed has a source listed on the entry
  • I did not change the id of an existing entry or view
  • Screenshots are included, or nothing on the page changes
  • If I changed the page, the browser console is clean at 1440 and 390 px
  • An AI assistant helped with this change, and I checked its facts against the sources (tick only if it applies)
  • I agree my contribution is licensed as described in LICENSE (MIT for code, CC BY-NC-SA 4.0 for content)

Checked with an emulated phone (390 px, touch): pressing play on a timeline with a voiceover asks for no model, where the wide page does. Not checked on a real phone.


Generated by Claude Code

On a phone or a tablet a voiceover is said by the device's own voice, the
GPU voice is not offered and the voice dialog lists only This device.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSgEmxT6hSLKhKZ1K1F
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ubiquitous-smakager-593fec ready!

Name Link
🔨 Latest commit 192e041
🔍 Latest deploy log https://app.netlify.com/projects/ubiquitous-smakager-593fec/deploys/6b0a880965298161d43df723
😎 Deploy Preview https://deploy-preview-45--ubiquitous-smakager-593fec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Resolves the conflict with the server voice, offline mode and the wiki MP3s.
On a phone or tablet (light(): isMobile() or touch only) Offline and the GPU
voice are never offered and the model is never fetched; the voice there is the
server's, the view's own MP3, else the device's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSfh5iiSDV6sNjkseQE
@ashrawan
ashrawan merged commit 5ca5723 into main Nov 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants