[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79BTTV0TZRVRP82NEG29EZ3":3,"skill-same:01M79BTTV0TZRVRP82NEG29EZ3":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M79BTTV0TZRVRP82NEG29EZ3","web-audio-api-synthesis",null,"Design and implement low-latency browser audio synthesis, sound effects, audio node graphs, convolver reverbs, and custom AudioWorklet processors using the W3C Web Audio API. Trigger when building interactive web synthesizers, in-browser audio editors, sound engines for games, or real-time audio visualization.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FArt\u002FAudio_Engineering_and_Sound_Design\u002Fweb-audio-api-synthesis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: web-audio-api-synthesis\nmetadata:\n  category: Audio Engineering and Digital Signal Processing\ndescription: Design and implement low-latency browser audio synthesis, sound effects, audio node graphs, convolver reverbs, and custom AudioWorklet processors using the W3C Web Audio API. Trigger when building interactive web synthesizers, in-browser audio editors, sound engines for games, or real-time audio visualization.\ncompatibility: W3C Web Audio API Recommendation, Modern Browsers (Chrome, Firefox, Safari)\n---\n\n# Web Audio API Synthesis Skill Guide\n\nThis skill governs standard practices for building high-fidelity audio synthesis, modular audio node graphs, and real-time AudioWorklet processors in web applications.\n\n---\n\n## 1. Audio Node Graph Architecture\n\nThe Web Audio API connects modular `AudioNode` instances into a directed graph routing into `AudioDestinationNode` (speakers).\n\n```text\n[ OscillatorNode (VCO) ] -----> [ BiquadFilterNode (VCF) ] -----> [ GainNode (VCA) ]\n                                          ^                                |\n                                          |                                v\n[ AudioBufferSourceNode (Noise) ] ---------+                     [ DynamicsCompressorNode ]\n                                                                           |\n                                                                           v\n                                                            [ AudioDestinationNode ] (Speakers)\n```\n\n---\n\n## 2. Production Code Standards\n\n### A. Subtractive Polyphonic Synthesizer Voice (TypeScript)\n\n```typescript\nexport class SynthVoice {\n  private ctx: AudioContext;\n  private osc: OscillatorNode;\n  private filter: BiquadFilterNode;\n  private ampGain: GainNode;\n\n  constructor(ctx: AudioContext) {\n    this.ctx = ctx;\n\n    \u002F\u002F 1. Voltage Controlled Oscillator (VCO)\n    this.osc = this.ctx.createOscillator();\n    this.osc.type = \"sawtooth\";\n\n    \u002F\u002F 2. Voltage Controlled Filter (VCF)\n    this.filter = this.ctx.createBiquadFilter();\n    this.filter.type = \"lowpass\";\n    this.filter.frequency.value = 800; \u002F\u002F Cutoff\n    this.filter.Q.value = 6;           \u002F\u002F Resonance\n\n    \u002F\u002F 3. Voltage Controlled Amplifier (VCA)\n    this.ampGain = this.ctx.createGain();\n    this.ampGain.gain.setValueAtTime(0.0001, this.ctx.currentTime);\n\n    \u002F\u002F 4. Connect Audio Graph\n    this.osc.connect(this.filter);\n    this.filter.connect(this.ampGain);\n  }\n\n  public connect(destination: AudioNode): void {\n    this.ampGain.connect(destination);\n  }\n\n  public triggerAttack(frequency: number, velocity: number = 0.8): void {\n    const now = this.ctx.currentTime;\n    this.osc.frequency.setValueAtTime(frequency, now);\n\n    \u002F\u002F ADSR Envelope (Attack & Decay)\n    this.ampGain.gain.cancelScheduledValues(now);\n    this.ampGain.gain.setValueAtTime(0.0001, now);\n    this.ampGain.gain.exponentialRampToValueAtTime(velocity, now + 0.02); \u002F\u002F 20ms Attack\n    this.ampGain.gain.exponentialRampToValueAtTime(velocity * 0.7, now + 0.15); \u002F\u002F 130ms Decay\n\n    \u002F\u002F Filter Envelope Sweep\n    this.filter.frequency.cancelScheduledValues(now);\n    this.filter.frequency.setValueAtTime(300, now);\n    this.filter.frequency.exponentialRampToValueAtTime(3500, now + 0.05);\n    this.filter.frequency.exponentialRampToValueAtTime(800, now + 0.3);\n\n    this.osc.start(now);\n  }\n\n  public triggerRelease(): void {\n    const now = this.ctx.currentTime;\n    \u002F\u002F Release Stage\n    this.ampGain.gain.cancelScheduledValues(now);\n    this.ampGain.gain.setValueAtTime(this.ampGain.gain.value, now);\n    this.ampGain.gain.exponentialRampToValueAtTime(0.0001, now + 0.3); \u002F\u002F 300ms Release\n\n    this.osc.stop(now + 0.35);\n  }\n}\n```\n\n### B. Custom DSP AudioWorklet Processor (`bitcrusher-processor.js`)\n\n```javascript\nclass BitcrusherProcessor extends AudioWorkletProcessor {\n  static get parameterDescriptors() {\n    return [\n      { name: \"bitDepth\", defaultValue: 8, minValue: 1, maxValue: 16 },\n      { name: \"reduction\", defaultValue: 4, minValue: 1, maxValue: 32 },\n    ];\n  }\n\n  constructor() {\n    super();\n    this.phase = 0;\n    this.lastSample = 0;\n  }\n\n  process(inputs, outputs, parameters) {\n    const input = inputs[0];\n    const output = outputs[0];\n\n    if (!input || !input[0]) return true;\n\n    const bitDepth = parameters.bitDepth[0];\n    const reduction = parameters.reduction[0];\n    const step = Math.pow(0.5, bitDepth);\n\n    for (let channel = 0; channel \u003C input.length; ++channel) {\n      const inputChannel = input[channel];\n      const outputChannel = output[channel];\n\n      for (let i = 0; i \u003C inputChannel.length; ++i) {\n        this.phase += 1;\n        if (this.phase >= reduction) {\n          this.phase = 0;\n          \u002F\u002F Quantize amplitude to bit depth\n          this.lastSample = step * Math.floor(inputChannel[i] \u002F step + 0.5);\n        }\n        outputChannel[i] = this.lastSample;\n      }\n    }\n    return true;\n  }\n}\n\nregisterProcessor(\"bitcrusher-processor\", BitcrusherProcessor);\n```\n\n---\n\n## 3. Best Practices & User Interaction\n\n1. **User Gesture Requirement:** Modern browsers block `AudioContext` from starting until a user gesture (click\u002Fkeydown). Always resume suspended context on initial interaction:\n   ```typescript\n   if (audioCtx.state === \"suspended\") {\n     await audioCtx.resume();\n   }\n   ```\n2. **Exponential Ramps:** Always use `exponentialRampToValueAtTime` for frequency and gain to match human logarithmic perception, avoiding zero as a target (`0.0001` minimum).\n","# Web Audio API Synthesis Skill Guide\n\nThis skill governs standard practices for building high-fidelity audio synthesis, modular audio node graphs, and real-time AudioWorklet processors in web applications.\n\n---\n\n## 1. Audio Node Graph Architecture\n\nThe Web Audio API connects modular `AudioNode` instances into a directed graph routing into `AudioDestinationNode` (speakers).\n\n```text\n[ OscillatorNode (VCO) ] -----> [ BiquadFilterNode (VCF) ] -----> [ GainNode (VCA) ]\n                                          ^                                |\n                                          |                                v\n[ AudioBufferSourceNode (Noise) ] ---------+                     [ DynamicsCompressorNode ]\n                                                                           |\n                                                                           v\n                                                            [ AudioDestinationNode ] (Speakers)\n```\n\n---\n\n## 2. Production Code Standards\n\n### A. Subtractive Polyphonic Synthesizer Voice (TypeScript)\n\n```typescript\nexport class SynthVoice {\n  private ctx: AudioContext;\n  private osc: OscillatorNode;\n  private filter: BiquadFilterNode;\n  private ampGain: GainNode;\n\n  constructor(ctx: AudioContext) {\n    this.ctx = ctx;\n\n    \u002F\u002F 1. Voltage Controlled Oscillator (VCO)\n    this.osc = this.ctx.createOscillator();\n    this.osc.type = \"sawtooth\";\n\n    \u002F\u002F 2. Voltage Controlled Filter (VCF)\n    this.filter = this.ctx.createBiquadFilter();\n    this.filter.type = \"lowpass\";\n    this.filter.frequency.value = 800; \u002F\u002F Cutoff\n    this.filter.Q.value = 6;           \u002F\u002F Resonance\n\n    \u002F\u002F 3. Voltage Controlled Amplifier (VCA)\n    this.ampGain = this.ctx.createGain();\n    this.ampGain.gain.setValueAtTime(0.0001, this.ctx.currentTime);\n\n    \u002F\u002F 4. Connect Audio Graph\n    this.osc.connect(this.filter);\n    this.filter.connect(this.ampGain);\n  }\n\n  public connect(destination: AudioNode): void {\n    this.ampGain.connect(destination);\n  }\n\n  public triggerAttack(frequency: number, velocity: number = 0.8): void {\n    const now = this.ctx.currentTime;\n    this.osc.frequency.setValueAtTime(frequency, now);\n\n    \u002F\u002F ADSR Envelope (Attack & Decay)\n    this.ampGain.gain.cancelScheduledValues(now);\n    this.ampGain.gain.setValueAtTime(0.0001, now);\n    this.ampGain.gain.exponentialRampToValueAtTime(velocity, now + 0.02); \u002F\u002F 20ms Attack\n    this.ampGain.gain.exponentialRampToValueAtTime(velocity * 0.7, now + 0.15); \u002F\u002F 130ms Decay\n\n    \u002F\u002F Filter Envelope Sweep\n    this.filter.frequency.cancelScheduledValues(now);\n    this.filter.frequency.setValueAtTime(300, now);\n    this.filter.frequency.exponentialRampToValueAtTime(3500, now + 0.05);\n    this.filter.frequency.exponentialRampToValueAtTime(800, now + 0.3);\n\n    this.osc.start(now);\n  }\n\n  public triggerRelease(): void {\n    const now = this.ctx.currentTime;\n    \u002F\u002F Release Stage\n    this.ampGain.gain.cancelScheduledValues(now);\n    this.ampGain.gain.setValueAtTime(this.ampGain.gain.value, now);\n    this.ampGain.gain.exponentialRampToValueAtTime(0.0001, now + 0.3); \u002F\u002F 300ms Release\n\n    this.osc.stop(now + 0.35);\n  }\n}\n```\n\n### B. Custom DSP AudioWorklet Processor (`bitcrusher-processor.js`)\n\n```javascript\nclass BitcrusherProcessor extends AudioWorkletProcessor {\n  static get parameterDescriptors() {\n    return [\n      { name: \"bitDepth\", defaultValue: 8, minValue: 1, maxValue: 16 },\n      { name: \"reduction\", defaultValue: 4, minValue: 1, maxValue: 32 },\n    ];\n  }\n\n  constructor() {\n    super();\n    this.phase = 0;\n    this.lastSample = 0;\n  }\n\n  process(inputs, outputs, parameters) {\n    const input = inputs[0];\n    const output = outputs[0];\n\n    if (!input || !input[0]) return true;\n\n    const bitDepth = parameters.bitDepth[0];\n    const reduction = parameters.reduction[0];\n    const step = Math.pow(0.5, bitDepth);\n\n    for (let channel = 0; channel \u003C input.length; ++channel) {\n      const inputChannel = input[channel];\n      const outputChannel = output[channel];\n\n      for (let i = 0; i \u003C inputChannel.length; ++i) {\n        this.phase += 1;\n        if (this.phase >= reduction) {\n          this.phase = 0;\n          \u002F\u002F Quantize amplitude to bit depth\n          this.lastSample = step * Math.floor(inputChannel[i] \u002F step + 0.5);\n        }\n        outputChannel[i] = this.lastSample;\n      }\n    }\n    return true;\n  }\n}\n\nregisterProcessor(\"bitcrusher-processor\", BitcrusherProcessor);\n```\n\n---\n\n## 3. Best Practices & User Interaction\n\n1. **User Gesture Requirement:** Modern browsers block `AudioContext` from starting until a user gesture (click\u002Fkeydown). Always resume suspended context on initial interaction:\n   ```typescript\n   if (audioCtx.state === \"suspended\") {\n     await audioCtx.resume();\n   }\n   ```\n2. **Exponential Ramps:** Always use `exponentialRampToValueAtTime` for frequency and gain to match human logarithmic perception, avoiding zero as a target (`0.0001` minimum).\n",{"name":5,"metadata":24,"description":7,"compatibility":26},{"category":25},"Audio Engineering and Digital Signal Processing","W3C Web Audio API Recommendation, Modern Browsers (Chrome, Firefox, Safari)","main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Art\u002FAudio_Engineering_and_Sound_Design\u002Fweb-audio-api-synthesis",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill web-audio-api-synthesis",{"tool":43,"command":44},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill web-audio-api-synthesis",{"tool":46,"command":47},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill web-audio-api-synthesis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FArt\u002FAudio_Engineering_and_Sound_Design\u002Fweb-audio-api-synthesis\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]