Audio To Wav
Converts a single audio file to WAV (PCM) using FFmpeg while preserving source quality. Use when the user wants to convert audio to WAV, transcode MP3/OGG/FLAC/AAC to WAV without downgrading sample rate or bit depth, or export a lossless WAV source asset.
Get the complete skill folder, including its scripts and reference files.
When to use this skill
Use Audio To Wav when an AI agent needs a reusable SKILL.md workflow for this job: Converts a single audio file to WAV (PCM) using FFmpeg while preserving source quality. Use when the user wants to convert audio to WAV, transcode MP3/OGG/FLAC/AAC to WAV without downgrading sample rate or bit depth, or export a lossless WAV source asset.
When not to use it
Skip Audio To Wav when the task is outside the coding category, or when a more specific skill in this directory already covers the same workflow with clearer triggers.
How to install
Where will you use it?
mkdir -p ~/.claude/skills/audio-to-wav # Save SKILL.md to ~/.claude/skills/audio-to-wav/SKILL.md
- Claude Code personal install: place the skill and its bundled files at ~/.claude/skills/audio-to-wav/SKILL.md. For a shared project, commit the folder at .claude/skills/audio-to-wav/ instead.
- Current Claude Code detects SKILL.md changes in watched directories during the session. If you just created a top-level skills directory, run /reload-skills. Check that the skill is listed before testing its trigger.
- For Claude chat or Cowork in the Desktop app, manage uploaded skills in Customize > Skills; copying files into a local Claude Code folder is not a Desktop install. Other agents may use different install locations.
Full install guide for Claude, Cursor, and Codex →
Try a starter prompt
After installing the skill, paste this starter prompt into your agent to verify it triggers on a small task.
Use the Audio To Wav skill for this task: Use Audio To Wav when this documented workflow matches the task. Confirm any required inputs or files before making changes.
What supports this recommendation?
70/100 provisional content score. This measures documentation, practical detail and source signals. It is not a measured task success rate or a security certification.
- Documentation
- 77/100
- Practical detail
- 68/100
- Source evidence
- 61/100
- Source signals
- 70/100
Model compatibility evidence
- claudeuntested
No model-specific signal or recorded compatibility test was found.
- chatgptuntested
No model-specific signal or recorded compatibility test was found.
- geminiuntested
No model-specific signal or recorded compatibility test was found.
- copilotuntested
No model-specific signal or recorded compatibility test was found.
- llamauntested
No model-specific signal or recorded compatibility test was found.
- perplexityuntested
No model-specific signal or recorded compatibility test was found.
- mistraluntested
No model-specific signal or recorded compatibility test was found.
- grokuntested
No model-specific signal or recorded compatibility test was found.
Inferred compatibility is based on content signals. Check the app, its available tools and setup requirements before running a skill.
What this skill does
# Audio to WAV
Convert a supported audio file to **PCM WAV** via FFmpeg. **Defaults preserve source quality** — sample rate is always kept, bit depth matched from the source (32-bit float for lossy inputs), channels preserved.
## Rules
When this skill applies, read and follow [skill-dependency-manager](../skill-dependency-manager.md) — run scripts as documented, install missing tools into `.dependency/`.
## Quick Start
Default output: `<audio-dir>/audio-to-wav/<basename>.wav`
```bash .dependency/python/python .ai/audio-to-wav/convert.py --audio path/to/audio.flac ```
Example: `audio/sfx/tank/tank_move.flac` → `audio/sfx/tank/audio-to-wav/tank_move.wav` (same rate/depth)
## Format Defaults
| Setting | Default | Notes | |---------|---------|-------| | Sample rate | Preserve source | Always kept; no resampling | | Bit depth | Match source | Probed per file; lossy → 32-bit float PCM | | Channels | Preserve source | Always kept from source audio | | Existing PCM WAV | Stream copy | Bit-perfect when no overrides |
## Common Flags
`--audio` · `-o` / `--output` · `-b` / `--bit-depth`
Force 16-bit PCM:
```bash .dependency/python/python .ai/audio-to-wav/convert.py --audio path/to/audio.mp3 -b 16 ```
Custom output path:
```bash .dependency/python/python .ai/audio-to-wav/convert.py --audio path/to/audio.flac --output path/to/out.wav ```
**Never overwrite source files.** The script writes only under `audio-to-wav/` (or `--output`). Input must be a single audio file (`--audio`), not a directory. Supported inputs: `.mp3`, `.ogg`, `.flac`, `.aac`, `.m4a`, `.wma`, `.wav`.
## Agent Notes
1. Use the bundled script, not hand-written `ffmpeg -i …` commands. 2. **Sample rate is always preserved** — use the `audio-sample-rate-standardize` skill if resampling is needed. 3. **Do not reduce bit depth** unless the user explicitly asks — omit `-b`. 4. **Already PCM WAV?** Stream-copied by default (no generation loss). 5. Missing Python/FFmpeg → populate `.dependency/` per skill-dependency-manager, retry same command. 6. **Do not copy, move, or replace the source with converted output** — tell the user where output files are; they swap assets manually when ready. 7. FFmpeg codec and probing details: [reference.md](reference.md)
## Tests
From repo root:
```bash .dependency/python/python .ai/audio-to-wav/test_convert.py ```
Manual CLI examples: [cli/audio-to-wav.md](../../../cli/audio-to-wav.md)
Intended uses
- Use Audio To Wav when this documented workflow matches the task.
Implementation notes
- Review the source instructions and adapt inputs before running the workflow.
Try it, then tell us how it went
A copied prompt does not tell us whether the task worked. Report your result after checking the output. We collect your tool and outcome, never your files or prompt.