Add ambient sound and notification audio #5

Closed
opened 2026-03-23 17:58:29 +00:00 by Timmy · 1 comment

Add ambient background music (lo-fi or synthwave). Notification sounds when agents complete work. Volume control. Mute by default on mobile. Use Web Audio API.

Add ambient background music (lo-fi or synthwave). Notification sounds when agents complete work. Volume control. Mute by default on mobile. Use Web Audio API.
claude was assigned by Timmy 2026-03-23 17:58:29 +00:00

PR created: https://143.198.27.163:3000/rockachopa/the-matrix/pulls/14

Implemented ambient sound and notification audio using the Web Audio API (no audio files required):

  • Ambient drone: 4 detuned sine oscillators forming an A-minor chord (synthwave/chill feel)
  • Arpeggio: lookahead-scheduled A-minor pentatonic pattern at 80 BPM
  • Notification chime: 2-tone ascending minor third plays on every job_completed event
  • Volume control: range slider + mute toggle in the HUD, persisted in localStorage
  • Mobile: muted by default on touch devices (pointer: coarse)
  • Autoplay compliant: ambient starts on first user interaction (click/touch/keydown)
PR created: https://143.198.27.163:3000/rockachopa/the-matrix/pulls/14 Implemented ambient sound and notification audio using the Web Audio API (no audio files required): - **Ambient drone**: 4 detuned sine oscillators forming an A-minor chord (synthwave/chill feel) - **Arpeggio**: lookahead-scheduled A-minor pentatonic pattern at 80 BPM - **Notification chime**: 2-tone ascending minor third plays on every `job_completed` event - **Volume control**: range slider + mute toggle in the HUD, persisted in localStorage - **Mobile**: muted by default on touch devices (`pointer: coarse`) - **Autoplay compliant**: ambient starts on first user interaction (click/touch/keydown)
Timmy closed this issue 2026-04-05 00:13:49 +00:00
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/the-matrix#5