Skip to content
Back to skills

Capture Listening

ASecurity

"Guides SpeechRecognition microphone and streaming capture

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
content-marketingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill capture-listening --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Capture Listening?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Capture Listening
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-capture-listening/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-capture-listening)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: capture-listening
description: "Guides SpeechRecognition microphone and streaming capture
  workflows with Microphone, record, listen, background callbacks, calibration,
  device listing, thresholds, and output capture."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Capture and Listening

Use this sub-skill when the task is to obtain audio from a microphone or other live `AudioSource` before transcription: choosing devices, calibrating ambient noise, using `Recognizer.record`, `Recognizer.listen`, `listen(stream=True)`, or `listen_in_background`, handling thresholds, and saving captured audio for later use.

## Route here for

- Listing microphones and selecting `Microphone(device_index=...)`.
- Building interactive microphone capture flows with `timeout`, `phrase_time_limit`, calibration, and optional WAV output.
- Distinguishing fixed-duration capture with `record` from speech-boundary capture with `listen`.
- Streaming chunk capture with `listen(stream=True)`.
- Background capture callbacks, worker queues, and safe stopper patterns.
- Diagnosing PyAudio, default-device, threshold, blocking, ALSA/JACK, and callback-thread issues.

## Route elsewhere

- Audio file formats, `AudioData` conversion methods, splitting, FLAC/WAV/AIFF details, and file-input workflows: use the sibling `audio-data` sub-skill.
- Recognition engines, language options, remote-service setup, network/model errors, and transcription output: use the sibling `recognition-engines` sub-skill.
- Installing PyAudio/PortAudio extras, the `sprc` console script, model downloads, and cross-cutting package setup: use the root skill or sibling `cli-model-setup` sub-skill.

## Read next

- Read [references/workflows.md](references/workflows.md) for verified API facts, capture recipes, threshold tuning, streaming/background patterns, and safe output capture.
- Read [references/troubleshooting.md](references/troubleshooting.md) when microphone capture fails, hangs, triggers on noise, misses speech, or has background-thread issues.
- Use [scripts/microphone_capture_template.py](scripts/microphone_capture_template.py) as a safe interactive template. It supports `--help` without PyAudio, `--list-devices`, capture time limits, and optional WAV output without recognition-engine calls.

## Operating reminders

- Always open `Microphone` or another `AudioSource` with a `with` block before calling `record`, `listen`, or `adjust_for_ambient_noise`; `listen_in_background` opens the source internally.
- Calibrate with `adjust_for_ambient_noise` during silence before a first `listen` when ambient noise is unknown.
- Keep capture separate from transcription. Capture returns `AudioData`; pass it to an engine only after selecting the correct recognition sub-skill.
- Treat microphone examples as hardware-only native candidates; do not execute them automatically in headless verification.

Files in this skill

  • SKILL.md2.9 KB
  • references/troubleshooting.md8.5 KB
  • references/workflows.md8.8 KB
  • scripts/microphone_capture_template.py10.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…