From 5c314306a5cd86ace18a77a91e4f505af0b19521 Mon Sep 17 00:00:00 2001 From: Mehboob Khan Date: Thu, 13 Aug 2026 14:28:07 +0500 Subject: [PATCH] Lower threat-demo voiceover volume for a softer feel --- src/demo/threats/ThreatDemo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/threats/ThreatDemo.tsx b/src/demo/threats/ThreatDemo.tsx index 04d29e4..75c1433 100644 --- a/src/demo/threats/ThreatDemo.tsx +++ b/src/demo/threats/ThreatDemo.tsx @@ -382,7 +382,7 @@ export function ThreatCinematic({ scenario, autoPlay = false, chrome = true, bar const speakNow = () => { synth.cancel() const u = new SpeechSynthesisUtterance(cue.text) - u.lang = 'en-GB'; u.rate = 0.82; u.pitch = 0.84 + u.lang = 'en-GB'; u.rate = 0.82; u.pitch = 0.84; u.volume = 0.75 // Muting or pausing calls synth.cancel(), which fires a benign // "canceled"/"interrupted" error event on the utterance — swallow it. u.onerror = () => {}