Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

fix(audio): start the focus music oscillator sources

Rudy Celekli7c0e8cef99c8
diff --git a/specialized/specialized-focus-music-architect.md b/specialized/specialized-focus-music-architect.md
index d6aa0efd..3722c2ae 100644
--- a/specialized/specialized-focus-music-architect.md
+++ b/specialized/specialized-focus-music-architect.md
@@ -120,9 +120,12 @@ const panRight = audioCtx.createStereoPanner();
oscRight.frequency.value = 210.0;
panRight.pan.value = 1.0;
-// Connect & Start
+// Invoke from a user gesture (e.g. a Play button); resume the context if it
+// is suspended by the browser's autoplay policy. Connections alone are silent.
oscLeft.connect(panLeft).connect(audioCtx.destination);
oscRight.connect(panRight).connect(audioCtx.destination);
+oscLeft.start();
+oscRight.start();
```
---