orklev2-portaudio
CommunityUnderstand Orkid PortAudio backend
Software Engineering#singularity#callback#orkid#portaudio#audio-backend#device-selection#int16-to-float
Authortweakoz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides focused documentation and actionable answers for developers working with Orkid's PortAudio audio backend so they can understand callback threading, data format conversions, device selection, and how the Singularity synth is driven without scanning the entire codebase.
Core Features & Use Cases
- PortAudio callback model: Describes the single-callback flow where PortAudio invokes the audio thread callback, how input is converted from int16 to float, how the Singularity synth is called to compute output, and how buffers are interleaved for output.
- Device selection and resolution: Explains enumerating PortAudio devices, resolving 4-character base36 short IDs to device names, matching channel counts, and opening/starting streams with overrides.
- Platform and performance notes: Documents sample formats (int16 input, float output), typical frames-per-buffer differences between macOS and Linux, and CPU load tracking via the PortAudio API. Use cases include diagnosing callback latency or artifacts, verifying device mapping by short ID, and understanding how audio data flows into and out of the Singularity synth for cross-platform playback.
Quick Start
Explain how Orkid's PortAudio backend converts int16 input to float output, selects devices by short ID, and how the Singularity synth is invoked on the PortAudio callback thread.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: orklev2-portaudio Download link: https://github.com/tweakoz/orkid/archive/main.zip#orklev2-portaudio Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.