Skip to main content

m4a2wav

A tiny CLI that converts .m4a audio files to .wav (PCM) via ffmpeg.

The decode itself is lossless: PCM output at the source's native sample rate and channel layout. The original AAC compression in the .m4a cannot be undone — this just ensures the .m4a → .wav step adds no further quality loss.

Install

pip install m4a2wav

Requires ffmpeg on PATH.

  • macOS: brew install ffmpeg
  • Debian/Ubuntu: sudo apt install ffmpeg
  • Windows: winget install ffmpeg or choco install ffmpeg

Usage

m4a2wav file1.m4a [file2.m4a ...]   # convert specific files
m4a2wav -all                         # convert every .m4a in the current folder

Files whose target .wav already exists are skipped, so re-runs are idempotent.

Notes

  • Output is 16-bit signed little-endian PCM (pcm_s16le). For 24- or 32-bit PCM, edit the -c:a flag in cli.py.
  • No resampling or channel downmixing is performed.
  • Source files are never modified or deleted.

License

MIT.

Metadata

Release files for m4a2wav 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m4a2wav 0.1.1
File Size Uploaded Provenance Actions
m4a2wav-0.1.1.tar.gz 4.2 kB Without provenance Details for m4a2wav-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for m4a2wav 0.1.1
File Interpreter ABI Platform Actions
m4a2wav-0.1.1-py3-none-any.whl Python 3 none any Details for m4a2wav-0.1.1-py3-none-any.whl

Total release size: 8.9 kB

Release files / m4a2wav-0.1.1.tar.gz

Download URL m4a2wav-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f307ea455cd5659486bf88220606161cbf67f5d214221bf1502457d77348d171
BLAKE2b-256 checksum
How to use checksums
91e7e9e58c41d29bedaa0c8e4457f3b6abba26a3cb7190fd7970b725ee4ca174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / m4a2wav-0.1.1-py3-none-any.whl

Download URL m4a2wav-0.1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7397685a5c419d721adccccea9b216603f10b91a6a8bd1c96ede2aa28b9d34bd
BLAKE2b-256 checksum
How to use checksums
9ddf1ac7aea29df5e794a593a5a604a3c079087d332ebc8c3a456a706e36e344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for m4a2wav 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page