Generating Sounds with AI Review Web Audio API code for sound synthesis best practices. How It Works 1. Read the specified files (or prompt user for files/pattern) 2. Check against all rules below 3. Output findings in format Rule Categories | Priority | Category | Prefix | |----------|----------|--------| | 1 | Context Management | | | 2 | Decay & Envelope | | | 3 | Sound Design | | | 4 | Parameters | | Rules Context Management Rules Reuse a single AudioContext instance; do not create new ones per sound. Fail: Pass: Check and resume suspended AudioContext before playing. Fail: Pass: Disconne…