Documentation
README
Audio Control
Quick Start
Control the device's speaker and microphone hardware directly. Use this for volume adjustments, test tones, and raw audio recording. This is LOW-LEVEL hardware control only.
Workflow
- Determine the user's audio hardware need:
- Volume adjustment -> use
POST /audio/volume - Check current volume -> use
GET /audio/volume - Diagnostics / test -> use
POST /audio/play-tone - Raw recording -> use
POST /audio/record
- Volume adjustment -> use
- Optionally check device availability first:
GET /audio - Execute the appropriate API call
- Confirm the action to the user
Examples
Input: "Louder please" / "Turn it up"
Output: Check current volume with GET /audio/volume, then increase by ~15 with POST /audio/volume. Confirm: "Volume set to 85%."
This is the opening of the README. Read the full README on GitHub.