Repository navigation
Conversation
Add a project setting that silences the recording in the preview and the export while voiceovers, music and click sounds keep playing. The Audio pane owns the toggle, its Reset clears it, and setEditorSettings reads and writes it. Closes getopenscreen#1104
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Summary
Adds a project setting that mutes the recording's own audio, the scope agreed in #1104: the preview goes silent, the export follows, and added voiceover and music tracks keep playing. It lives in the Audio pane as a toggle, and Reset audio clears it. It is saved in the project, and
setEditorSettingsreads and writes it.A muted export keeps a silent AAC stream instead of dropping the audio stream, which is what the compositor already does for a recording with no sound. Click sounds are not muted, since they are not the recording's audio.
Related issue
Fixes #1104
Type of change
Release impact
Desktop impact
Screenshots / video
A new "Mute recording audio" row in the Audio pane.
Testing
Windows 11, real
electron . exportof a synthetic 4 s project whose recording carries a 440 Hz tone, measured with ffmpegbandpass+volumedetect:Computer-use in the dev build: the toggle turns on and the saved project reads
recordingAudioMuted: true; Reset audio turns it off and the saved project readsfalse.Also run:
npx tsc --noEmit,npx tsc -p tsconfig.test.json --noEmit,npm run i18n:check, Biome on the changed files, andnpm run test. In that full run the only failures are 4 tests in.github/scripts/stable-release-notes.test.mjs, a file this PR does not touch. It ran on Node 25 with--no-experimental-webstorage, not the pinned Node 22.Not covered:
open_input: -2, its addon is older than this tree), so the preview path rests on the unit tests for the audio routing.ExportDialog.params.test.tsx.Summary by CodeRabbit