klangaudio-knowhow

Document the Klang audio subsystem's architecture, modules, and data flow.

3|1|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/PeekAndPoke/klang --skill klangaudio-knowhow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: klangaudio-knowhow
Source: https://github.com/PeekAndPoke/klang/tree/main/.claude/skills/klangaudio-knowhow
Command: npx skills add https://github.com/PeekAndPoke/klang --skill klangaudio-knowhow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive knowledge about the Klang audio subsystem, enabling developers to understand its architecture, modules, and operational details for efficient development and debugging.

Core Features & Use Cases

  • Module Overview: Understand the purpose and structure of the audio_bridge, audio_be, audio_fe, and audio_jsworklet modules.
  • Documentation Navigation: Quickly find relevant documentation for specific audio tasks like data modeling, synthesis, effects, or sample management.
  • Testing Guidance: Learn how to execute tests for different audio modules.
  • Use Case: A developer needs to implement a new audio effect in Klang. They can use this Skill to quickly locate the relevant documentation (audio/ref/effects-mixing.md) and understand the DSP backend (audio_be) structure.

Quick Start

Load context for working on the Klang audio subsystem, starting with the dispatcher overview document.

Frequently Asked Questions about klangaudio-knowhow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does real-time audio DSP work in a Kotlin multiplatform subsystem?

The Klang audio subsystem handles real-time DSP by separating the audio backend, frontend, and Web Audio worklet modules. This structure manages data contracts, voice synthesis, effects, and sample processing across multiple platforms.

How do I implement a new audio effect in a Kotlin DSP engine?

You implement an audio effect by navigating to the effects-mixing documentation and examining the DSP backend module. This provides the architectural context needed to route audio data through the real-time processing pipeline.

What is needed to manage audio samples in a real-time multiplatform DSP engine?

Audio sample management in a DSP engine relies on the frontend module to handle data contracts and sample routing. This ensures the backend receives the correct audio data for real-time voice synthesis and mixing.

How do I test audio modules in a Kotlin multiplatform DSP subsystem?

You test audio modules by following the testing guidance provided for the audio bridge, backend, and frontend components. This ensures the real-time DSP engine maintains correct data flow and voice synthesis behavior.

Does the Klang audio subsystem support Web Audio worklets for live coding?

Yes, the subsystem includes an audio worklet module that provides entry points for Web Audio integration. This allows developers to use the real-time DSP engine for live coding and browser-based audio synthesis.

Why does my real-time audio synthesis cut out during playback in a DSP subsystem?

Synthesis cutouts typically occur when the audio bridge fails to maintain real-time data flow between the frontend and DSP backend. Checking the data contracts and module overviews helps diagnose voice synthesis and mixing interruptions.