Install
openclaw skills install iyeque-audio-processingAudio ingestion, analysis, transformation, and generation (Transcribe, TTS, VAD, Features).
openclaw skills install iyeque-audio-processingA comprehensive toolset for audio manipulation and analysis with security validations.
Perform audio operations like transcription, text-to-speech, and feature extraction.
action (string, required): One of transcribe, tts, extract_features, vad_segments, transform.file_path (string, optional): Path to input audio file.text (string, optional): Text for TTS (max 10,000 chars).output_path (string, optional): Path for output file (default: auto-generated).model (string, optional): Whisper model size (tiny, base, small, medium, large). Default: base.ops (string, optional): JSON string of operations for transform action.Usage:
# Transcribe audio file
uv run --with "openai-whisper" --with "pydub" --with "numpy" skills/audio-processing/tool.py transcribe --file_path input.wav
# Transcribe with specific model
uv run --with "openai-whisper" skills/audio-processing/tool.py transcribe --file_path input.wav --model small
# Text-to-speech
uv run --with "gTTS" skills/audio-processing/tool.py tts --text "Hello world" --output_path hello.mp3
# Extract audio features
uv run --with "librosa" --with "numpy" --with "soundfile" skills/audio-processing/tool.py extract_features --file_path input.wav
# Voice activity detection (find speech segments)
uv run --with "pydub" skills/audio-processing/tool.py vad_segments --file_path input.wav
# Transform audio (trim, resample, normalize)
uv run --with "pydub" skills/audio-processing/tool.py transform --file_path input.wav --ops '[{"op": "trim", "start": 10, "end": 30}, {"op": "normalize"}]'
Convert speech to text using OpenAI Whisper.
{ "text": "...", "segments": [...] }Generate speech from text using Google TTS.
{ "file_path": "output.mp3", "status": "created" }Extract audio features for analysis.
Detect speech segments using silence detection.
{ "segments": [{ "start": 0.5, "end": 3.2 }, ...] }Apply transformations to audio files.
{ "file_path": "output.wav" }