What problem does it solve?
C++ audio node engine for react-native-audio-api. Covers the AudioNode class hierarchy, the processNode() audio-thread contract (no allocs, no locks, no blocking I/O), AudioParam a-rate/k-rate processing, cross-thread communication patterns (CrossThreadEventScheduler, IAudioEventHandlerRegistry), and a step-by-step checklist for implementing a new node end-to-end. Use this skill when implementing a new Web Audio API node, modifying audio graph traversal or processing logic, or debugging audio rendering artifacts. Trigger phrases: "add a new node", "implement AudioNode", "processNode", "audio thread", "AudioParam automation".
Core Features & Use Cases
- AudioNode hierarchy guidance including GainNode, OscillatorNode, and more, with a reference implementation pattern.
- Detailed processNode lifecycle on the audio thread with preallocation and thread-safety rules.
- Cross-thread communication patterns (CrossThreadEventScheduler, IAudioEventHandlerRegistry) and event firing to JS.
Quick Start
Instantiate a new AudioNode subclass following the GainNode reference pattern to implement a new Web Audio API node.