Describe the sound as a physical event: source object, action, material, environment and duration, then name a reference genre. Generate several takes, pick the cleanest, and check the tool’s terms before shipping – some SFX licences explicitly forbid using the audio to train AI models.
At a glance
| Fact | Value | Source |
|---|---|---|
| Prompt structure that works for SFX | source + action + material + space | |
| Sonniss GDC bundle bans AI training use | no AI training clause | sonniss.com |
| Web format for browser games | compressed, short, looped clips | docs.unity3d.com |
Write the prompt as a physical event, not a mood word. State the source (metal door, dragon, laser rifle), the action (slams shut, roars, charges up), the material and space (hollow wood, small stone room, outdoor reverb) and a rough duration. “Impact” gets you a generic thud; a heavy oak door slamming shut in a stone corridor with a short tail and punchy low end gets you something usable. Generate several variations of the same prompt and keep the cleanest one – AI audio tools are inconsistent take to take, so treat the first result as a draft, not the final asset.
If you build with an AI agent, Playgama MCP lets it publish a sandbox from your editor.
What breaks audio in a browser game?
- Keep clips short and compressed – long uncompressed WAVs blow up load time on portals served through an iframe.
- Mobile browsers often block audio until a user gesture; trigger your first sound on a click or tap, not on load.
- Test the exported file through Unity’s audio system or your engine’s Web Audio path before calling it final – some AI exports carry odd sample rates or embedded silence.
Check the licence before you ship
Commercial SFX libraries and AI tools differ on what you’re allowed to do. Sonniss states plainly that “if you use licensed sound effects in a game, a film, a trailer or anything else, that work is yours,” but its GDC bundle licence also states that “no version of this Agreement has ever granted a right to use the sound effects for training artificial intelligence technologies” – read the current terms page, not an old download, since versions change.
Sources
- The License – #GameAudioGDC Bundle Version 2.0
- Previous Versions – #GameAudioGDC Bundle License – SONNISS
- Terms of Service – SONNISS
- Unity – Manual: Audio
- Playgama MCP
Related questions
Can I use AI-generated sound effects commercially in a browser game?
Depends entirely on the tool’s terms. Check the current licence page for the specific tool you used – rights and restrictions on AI training and commercial use vary and change over time.
Why does my AI-generated sound effect not play on mobile browsers?
Mobile browsers commonly block audio playback until a user gesture like a tap or click. Trigger the first sound from that interaction, not automatically on page load.
Last updated: 30 September 2026