Check that every sound effect and music file in a game can be used and is credited correctly: match each audio file to an entry in CREDITS.md (by file, folder or name), find its license (CC0, CC BY, BY-SA, BY-NC, BY-ND, store licenses, own work), and flag files with no credit, unknown licenses, NonCommercial music in a game that's sold or has ads, NoDerivatives files that were trimmed or change...
Download skill (.zip) Files on GitHubAudio license audit
python3 scripts/license-audit.py . --only audio
python3 scripts/license-audit.py . --only audio --commercial --out docs/AUDIO-LICENSES.md
Use --commercial when the game is sold, has ads, tips required for download, or paid extras.
Fixing what it finds
| Finding | Fix |
|---|---|
| no credit entry | find where it came from and add a line to CREDITS.md; if unknown, replace it |
| no license named | write the exact license (“CC BY 4.0”), not “free” |
| NonCommercial in a sold game | replace with CC0 or CC BY, or buy a license |
| NoDerivatives but edited | use the original file unchanged, or replace it |
| BY without author or link | add “by Name” and the source link |
| ripped from a game or video | replace it: game and film audio is almost never free to use |
| no credits screen | add one (game-over-screen or a credits menu) listing the BY credits |
A CREDITS.md line looks like: - jump.ogg: "Jump 3" by Ann (https://...), CC BY 4.0. A folder line covers everything in it:
- assets/sfx/ui/: made by me.
Finding new audio: bash-game-audio-credits. Images, fonts, models and code: game-asset-license-audit (same script).
This is a check, not legal advice.
Pitfalls
“Royalty-free” read as “free”, YouTube audio libraries’ rules not kept, credits only on the store page and not in the game, and NC music in a game with ads.