lower the task-completion chime volume to a quarter

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 02:48:01 +00:00
co-authored by Claude Opus 4.8
parent 06bd8a5821
commit 921413ca4d
@@ -22,8 +22,8 @@ const playDing = () => {
const gain = ctx.createGain();
osc.type = 'sine';
osc.frequency.setValueAtTime(freq, t + start);
gain.gain.setValueAtTime(0.8, t + start);
gain.gain.setValueAtTime(0.8, t + start + dur * 0.6);
gain.gain.setValueAtTime(0.2, t + start);
gain.gain.setValueAtTime(0.2, t + start + dur * 0.6);
gain.gain.exponentialRampToValueAtTime(0.001, t + start + dur);
osc.connect(gain).connect(ctx.destination);
osc.start(t + start);