# Audio To Wav

> Converts audio files 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 batch-export lossless WAV source assets.

- **Type:** Skill
- **Install:** `agentstack add skill-godot-fun-godot-framework-audio-to-wav`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [godot-fun](https://agentstack.voostack.com/s/godot-fun)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [godot-fun](https://github.com/godot-fun)
- **Source:** https://github.com/godot-fun/godot-framework/tree/main/.cursor/skills/audio-to-wav

## Install

```sh
agentstack add skill-godot-fun-godot-framework-audio-to-wav
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Audio to WAV

Convert supported audio formats to **PCM WAV** via FFmpeg. **Defaults preserve source quality** — no resampling, 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](../../rules/skill-dependency-manager.md) — run scripts as documented, install missing tools into `.dependency/`.

## Quick Start

Convert a file or folder, output to `wav/`:

```bash
.dependency/python/python .cursor/skills/audio-to-wav/scripts/convert.py path/to/audio_or_folder
```

Example: `audio/sfx/tank/tank_move.flac` → `audio/sfx/tank/wav/tank_move.wav` (same rate/depth)

Batch with subfolders:

```bash
.dependency/python/python .cursor/skills/audio-to-wav/scripts/convert.py Audio/SFX -r
```

## Format Defaults

| Setting | Default | Notes |
|---------|---------|-------|
| Sample rate | Preserve source | No resampling unless `-s` or `--standardize` |
| Bit depth | Match source | Probed per file; lossy → 32-bit float PCM |
| Channels | Preserve source | Use `--mono` or `--stereo` to force |
| Existing PCM WAV | Stream copy | Bit-perfect when no overrides |

## Common Flags

`-r` · `-o` / `--output-dir` · `-s` / `--sample-rate` · `-b` / `--bit-depth` · `--standardize` · `--mono` · `--stereo` · `--dry-run` · `--overwrite`

Downconvert for project batch preset (48 kHz / 16-bit):

```bash
.dependency/python/python .cursor/skills/audio-to-wav/scripts/convert.py Audio/SFX -r --standardize
```

Force specific output:

```bash
.dependency/python/python .cursor/skills/audio-to-wav/scripts/convert.py Audio/BGM -s 48000 -b 16 --dry-run
```

**Never overwrite source files.** The script writes only to `wav/` (or `-o`). Supported inputs: `.mp3`, `.ogg`, `.flac`, `.aac`, `.m4a`, `.wma`, `.wav`.

## Agent Notes

1. Use the bundled script, not hand-written `ffmpeg -i …` commands.
2. **Do not downsample or reduce bit depth** unless the user explicitly asks — omit `-s`, `-b`, and `--standardize`.
3. **Already PCM WAV?** Stream-copied by default (no generation loss).
4. Missing Python/FFmpeg → populate `.dependency/` per skill-dependency-manager, retry same command.
5. **Do not copy, move, or replace the source with converted output** — tell the user where `wav/` files are; they swap assets manually when ready.
6. Need **48 kHz / 16-bit project batch** → pass `--standardize`.
7. FFmpeg codec and probing details: [reference.md](reference.md)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [godot-fun](https://github.com/godot-fun)
- **Source:** [godot-fun/godot-framework](https://github.com/godot-fun/godot-framework)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-godot-fun-godot-framework-audio-to-wav
- Seller: https://agentstack.voostack.com/s/godot-fun
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
