orklev2-pipewire

Answer questions about Orkid's PipeWire backend integration for Linux audio development.

35|16|Updated Feb 10, 2013
One-click install
npx skills add https://github.com/tweakoz/orkid --skill orklev2-pipewire
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orklev2-pipewire
Source: https://github.com/tweakoz/orkid/tree/main/.claude/skills/orklev2-pipewire
Command: npx skills add https://github.com/tweakoz/orkid --skill orklev2-pipewire

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Answer questions about Orkid's PipeWire backend integration.

Core Features & Use Cases

  • Provides a reference for Orkid lev2 PipeWire backend components, including the AudioDevicePipeWire, Singularity integration, and the necessary configuration flags.
  • Lists key files and the expected data flow for the PipeWire processing model, enabling developers to diagnose issues and plan enhancements.
  • Use Case: A developer asks how PipeWire drives the Singularity synth and what the main callbacks do during audio processing.

Quick Start

Ask this skill to summarize how the PipeWire backend integrates with Orkid's Singularity synth.

Frequently Asked Questions about orklev2-pipewire

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

FAQPage Schema
How does the PipeWire backend drive the Singularity synth on Linux?

PipeWire backend integration uses pw_stream callbacks to process audio buffers for the Singularity synth. The AudioDevicePipeWire component manages this data flow, handling buffer processing and stream lifecycle within the ork.lev2 architecture.

What are pw_stream callbacks responsible for in Linux audio backend processing?

pw_stream callbacks handle real-time audio buffer processing and stream events in the PipeWire backend. They manage the SPA buffer data flow, allowing the Singularity synth to render audio while enabling engineers to track CPU load and diagnose performance issues.

How do I track CPU load when using PipeWire for audio development?

CPU load tracking in the PipeWire backend involves monitoring buffer processing metrics within the stream callbacks. Engineers can observe these metrics in the ork.lev2 implementation files to reason about audio performance and identify bottlenecks during synth playback.

Which files do I need to inspect to debug the Orkid PipeWire backend?

To debug the Orkid PipeWire backend, inspect audiodevice.h, audiodevice_pipewire.h, audiodevice_pipewire.cpp, and config.h under ork.lev2. These files define the AudioDevicePipeWire component, stream callbacks, and configuration flags required for integration.

Does the PipeWire audio backend require specific configuration flags to integrate with Orkid?

Yes, integrating the PipeWire backend requires specific configuration flags defined in the ork.lev2 config.h file. These flags enable the AudioDevicePipeWire component and ensure the Singularity synth correctly interfaces with the Linux audio processing model.

What is the role of SPA buffer processing in the PipeWire audio backend?

SPA buffer processing handles the raw audio data frames within the PipeWire backend's stream callbacks. It defines how buffers are negotiated and passed between the PipeWire server and the Singularity synth, ensuring low-latency audio delivery on Linux.