What problem does it solve?
Provides a clear, developer-focused reference for Orkid's ALSA audio backend on Linux so engineers can understand, debug, and document how audio is produced and delivered to the system device.
Core Features & Use Cases
- Dual-thread architecture: Explains the separate synth thread and ALSA writer thread and how they coordinate via producer/consumer multi-buffer queues.
- Buffer and PCM details: Documents buffer pool sizing, interleaved int16 output, frame counts, channel configuration, sample rate, and XRUN handling strategies.
- Practical uses: Use this reference to reproduce audio glitches, tune latency and buffer settings, integrate Singularity synth behavior, or map code locations for maintenance and enhancements.
Quick Start
Ask the orklev2-alsa skill to explain how the ALSA thread and synth thread coordinate buffer pools, PCM configuration, and XRUN handling for Orkid's 48000 Hz stereo output.