specs-audio

Configure AudioComponent playback modes and microphone input profiles on Specs.

16|2|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/lens-studio-devs/ls-extensions --skill specs-audio-lens-studio-devs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: specs-audio
Source: https://github.com/lens-studio-devs/ls-extensions/tree/main/plugins/ls-clad/skills/specs-audio
Command: npx skills add https://github.com/lens-studio-devs/ls-extensions --skill specs-audio-lens-studio-devs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Specs applies audio behaviors that differ from standard Lens Studio, such as forcing Mix to Snap and defaulting playbackMode to LowPower, which can cause unexpected latency or power drain if developers are unaware of them. ## Core Features & Use Cases - Playback Mode Guidance: Explains when to use Audio.PlaybackMode.LowPower versus LowLatency and how to set it from script in an OnStartEvent handler. - Mic Input Profiles: Documents the Analysis and Voice microphone profiles, their filters (Echo Cancellation, Bystander Speech Rejection), and which features trigger them. - Use Case: When building a Lens with button-press sound effects, use this Skill to correctly set playbackMode to LowLatency so SFX play without perceptible delay. ## Quick Start Ask how to configure audio playback latency or microphone input behavior for a Specs Lens in your TypeScript project.

Frequently Asked Questions about specs-audio

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

FAQPage Schema
How do I set AudioComponent playbackMode on Specs?

Set playbackMode from script inside an OnStartEvent handler, not onAwake, since there is no Inspector field for it. Use Audio.PlaybackMode.LowPower for ambient audio and LowLatency for button SFX or user-input feedback.

What is the difference between LowPower and LowLatency playback modes?

LowPower reduces device power use but adds tens of milliseconds of latency, suiting ambient or background audio. LowLatency minimizes delay at higher power cost, making it right for immediate feedback tied to user input.

Does Mix to Snap work on Specs devices?

Mix to Snap is always on in Specs regardless of the Inspector value, and the flag is ignored on-device. Audio from AudioComponent is always routed into Snap recordings.

When does the Voice microphone profile activate on Specs?

The Voice profile activates when the project uses LensStudio:AsrModule, applying Echo Cancellation plus Bystander Speech Rejection. If both Microphone Audio and AsrModule are present, Voice takes precedence over the Analysis profile.

Why is my button sound effect delayed on Specs?

Specs defaults every AudioComponent to LowPower playback mode, which introduces latency. Set playbackMode to Audio.PlaybackMode.LowLatency in an OnStartEvent handler to minimize the delay for user-input sounds.