界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

audio-data

audio-data

【数据与研究】Use SpeechRecognition 3.17.0 file audio loading and AudioData conversion/splitting without microphones or transcription services.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: audio-data description: "Use SpeechRecognition 3.17.0 file audio loading and AudioData conversion/splitting without microphones or transcription services." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

audio-data

Use this sub-skill for local file-based audio ingestion and speech_recognition.AudioData manipulation in SpeechRecognition 3.17.0.

Read these bundled references before acting:

  • API reference for AudioFile, AudioData.from_file, segmenting, splitting, byte formats, conversion rules, and FLAC converter behavior.
  • Workflows for copy-pasteable local-file conversion, chunking, and in-memory loading patterns.
  • Troubleshooting for unsupported WAV/AIFF/FLAC files, converter failures, 24-bit/sample-width edge cases, split validation errors, and librosa/numpy SetupError handling.

Bundled helper scripts:

  • scripts/audio_convert.py: convert a local input audio file into RAW/WAV/AIFF/FLAC outputs, optionally segmenting and splitting first.
  • scripts/audio_smoke.py: generate tiny synthetic WAV data and verify AudioData, AudioData.from_file, AudioFile, conversions, and split() without source-repo fixtures.

Route away from this sub-skill when the task is not local audio-data handling:

  • Any recognize_* transcription/API/model call belongs to the recognition-engines sub-skill.
  • Microphone capture, ambient-noise calibration, listen(), and background listening belong to capture-listening.
  • sprc CLI usage, model downloads, and model cache/setup issues belong to cli-model-setup.
我的收藏