AI can now produce most of a small game's audio: a menu theme, level loops, ambience, stingers, sound effects and voice lines. Generating the files is the quick part. The work that decides whether they ship is making loops hold up, checking that the license covers a game you sell, and mixing everything to one consistent level.
We make Oryn, an AI game maker that gives every new game its own soundtrack, so weigh that. We didn't run hands-on listening tests for this guide, so nothing below ranks tools by how they sound. Vendor facts come from each company's own pricing pages, terms and docs as they read on November 3, 2026.
What a game's audio is made of
A song generator gives you one kind of file. A game needs several, and they behave differently at runtime. The lengths below are our rule of thumb for a small game, and no standard sets them.
| Asset | Job | Typical length | Must it loop? | Good source |
|---|---|---|---|---|
| Menu theme | Sets the tone before play | 1–2 min | Yes | Music generator |
| Level loop | Sits under play for a long time | 1.5–3 min | Yes, and without fatigue | Music generator, instrumental |
| Combat or tension cue | Raises intensity | 1–2 min | Yes | Music generator, ideally the same key as the level loop |
| Stinger | Marks a win, death or discovery | 1–5 s | No | Music generator, jingle mode where offered |
| Ambience | Makes a place feel inhabited | 30–60 s | Yes | Sound effect generator or a free library |
| UI sounds | Confirms a click or a menu move | Under 0.5 s | No | Free library first |
| Sound effects | Jumps, hits, pickups, footsteps | Under 2 s | No | Free library, then a generator |
| Voice | Barks, narration, dialogue | Varies | No | Text-to-speech |
Start the list from your game design document and count the cues before you open a tool, because many plans meter downloads or minutes. If you're writing or arranging music yourself, how to make game music covers that route. For files you don't generate, royalty-free game music and the game assets guide go through the libraries.
UI sounds and common effects are where generation pays off least. Kenney and other libraries already have them under licenses that suit commercial games, and they arrive trimmed. Our guide to AI sound effects generators covers what's worth generating.
Why seamless loops are hard for song models
A loop has to end exactly where it starts, in tempo, in key and with no leftover sound. Song-oriented models are built for the opposite shape.
Suno's own v5 model page sets itself against tools that make short instrumental loops and says it creates complete songs. Mubert explains the same split from the other side: in its integration guide, track mode gives you an intro, a middle and an ending, and because endings don't loop, a separate loop mode exists for anything that repeats.
Even when a tool generates material that could repeat, you still get an ordinary audio file. Stability AI's explainer on game soundtracks (September 16, 2026) says generated cues carry no loop-point metadata, so developers set the points in an audio editor or middleware. It also says the music ships as static files in the build, with nothing generating on the player's device.
Four things usually break a generated loop:
- An intro and an outro. The first bars are sparse and the last bars wind down, so the energy jumps at the seam.
- Reverb tails. The last chord rings past the cut, then stops dead when the file restarts.
- Wandering structure. A chorus arrives at 1:20 and never returns, so the track sounds like it restarts a song.
- Vocals. Most games don't want a sung line repeating every two minutes. Ask for instrumental output. ElevenLabs lists "vocals or just instrumental" as an option, and Google's Lyria docs do it through the prompt.
How to cut a loop from a generated track
This works with any generator and a free editor such as Audacity.
Generate with the structure in the prompt
Name the genre, instruments, tempo and key, and ask for a steady arrangement, instrumental, with no intro, no ending and no big changes. "90 BPM, D minor, soft strings and marimba, steady groove, no vocals, no intro, no ending" gives you more usable middle than "calm adventure music." Generate several takes if your plan allows it.
Find a musical section with even energy
Listen for the longest stretch where the instruments stay the same. Ignore the first and last 20 seconds of the file.
Work out the length from the tempo
Each bar in 4/4 lasts 240 ÷ BPM seconds. At 120 BPM a 16-bar loop is 32 seconds, which at 44,100 Hz is exactly 1,411,200 samples. Cut on a bar line at both ends, and check by ear, since a generated track may not hold an exact tempo.
Deal with the tail
Copy the sound that rings past the end point and mix it over the start of the loop. A very short crossfade (5 to 30 milliseconds, our starting point) removes clicks. If the seam is still audible, try a different pair of bar lines before adding a longer fade.
Export a lossless master, then convert
Save a WAV master and export Ogg Vorbis from it. Avoid looping from MP3 where you can. MP3 encoders add delay and padding around the audio, and a decoder needs metadata to trim it, or you hear a gap at the joint.
Test it for ten minutes in the game
A seam you can't hear in headphones may show on phone speakers, and a melody that's pleasant at two minutes can grate by ten. Play on the devices you ship to, and leave it running while you do something else.
ElevenLabs also lets you regenerate one section of a track while keeping the rest, and Suno's plans include stem separation. Those features can rescue a good take with one bad bar. For ambience, ElevenLabs' sound effects tool has a looping option, with up to 30 seconds per generation.
Adaptive music basics
Adaptive music changes with what's happening in the game. Two techniques cover most of it, and many games combine them:
- Vertical layering stacks parallel stems and fades them in and out. Add drums and brass as danger rises. The IRPR glossary has a short definition.
- Horizontal re-sequencing changes which section plays next, for example by moving from explore to combat on the next bar.
Dead Space is the documented example of the first kind. Its score was written as four layered stereo streams, mixed in real time by how much fear the game was emitting.
Godot does both without middleware. AudioStreamSynchronized plays up to 32 sub-streams in sync, so you can fade layers by changing each one's volume. AudioStreamInteractive holds a set of clips and a transition table, with switches that can wait for the next beat, the next bar or the end of the clip, plus crossfades and optional filler clips. Godot 4.7's import page still describes the BPM, beat count and bar fields as planned for future use, so test bar-synced transitions before you build a system on them.
Generated audio makes this harder in one specific way. Stability's explainer says independently prompted stems won't reliably share a key, because its models have no key conditioning and output varies unless you fix a seed. It suggests generating one bed and deriving the layers from it. That advice applies to any tool: separate the stems of one good take, or use a tool's multi-track mode (Stable Audio's pricing page lists "multi-track generations"), before you try to prompt matching parts one at a time.
If you only have one track, there's still a cheap version of adaptive music. Low-pass the track while the player is in a menu, drop its volume in safe rooms, and cut it to silence before a boss. On Godot's default web audio mode, see the caveat in the next section.
Formats and loudness for games
Godot's audio import docs (version 4.7) give a clear default: WAV for short, repetitive sound effects and Ogg Vorbis for music, speech and long effects.
| Format | Size | CPU to play | Looping in Godot | Use it for |
|---|---|---|---|---|
| WAV | Largest | Lowest, hundreds of voices are fine | Loop mode, Loop Begin and Loop End in samples; forward, ping-pong or backward | Short effects, UI |
| Ogg Vorbis | Much smaller | Higher | Loop toggle plus Loop Offset in seconds; forward only | Music, ambience, speech |
| MP3 | Larger than Ogg at similar quality | Less than Ogg | Same as Ogg | Several long sounds at once on phones or the web |
To set a loop in Godot, select the file in the FileSystem dock, open the Import tab, turn on Loop, and click Reimport. Loop Offset sets where playback returns to, so an intro can play once and the rest repeats. That helps with generated tracks whose ending you trimmed but whose opening is worth keeping. Note that the finished signal doesn't fire for looping audio on AudioStreamPlayer.
For web builds, Godot's web export docs say the default Sample playback mode doesn't support AudioEffects, so a low-pass or reverb on a bus won't be heard. Stream mode supports them at the cost of more latency. Our guide to the Godot web export covers the rest of that trade-off.
How loud should game audio be?
No loudness target binds an indie developer on every platform. The published reference points are old but usable:
- Sony's Audio Standards Working Group recommended an average of -23 LUFS for PS3 and -18 LUFS for PS Vita, ±2 LU, in 2012. Those were recommendations, with no plan to enforce them on third-party developers.
- An ITU report from 2018 gives the typical level of game software as -24 ±2 LKFS on consoles and -18 ±2 LKFS on portable devices.
Our default from those numbers: aim for about -18 LUFS across a play session on phones and the web, and about -23 LUFS for a living-room game. Measure a recording of real play, because individual files don't tell you the mix. You can read a file's integrated loudness with ffmpeg:
ffmpeg -i level-loop.ogg -af ebur128 -f null -
Music generators finish tracks to sound good alone, so a level loop may sit far too hot next to your effects. Route music, effects, UI and voice to separate buses, give players a slider for each, and set the music low enough that footsteps and warning sounds stay clear.
Licensing AI music for a commercial game
Terms decide more than quality does, because some popular plans don't cover a game you sell. This is what each vendor's page said on November 3, 2026. It's a reading of public terms and isn't legal advice.
| Tool | Game use | Who holds rights | The catch for games |
|---|---|---|---|
| Stable Audio | Named as allowed, free plan included | Ownership not addressed on that page | Indemnity needs an Enterprise agreement |
| ElevenLabs Music | Indie games on self-serve plans; studio games need Enterprise Music | You keep rights as between you and ElevenLabs | Revenue ceiling; free plan has no downloads |
| Suno | Not named; general commercial rights on Pro and Premier | Suno assigns its rights on paid plans | Only downloaded files; 20 or 60 downloads a month; no warranty that copyright exists |
| AIVA | Pro for full monetization | You on Pro; AIVA on Free and Standard | Standard's limited license names only YouTube, Twitch, TikTok and Instagram |
| Soundraw | Video games listed on all plans | A license to tracks you download | Enterprise plan for 10 or more employees |
| Beatoven | Named as allowed with a paid download | Beatoven owns the track; you hold a perpetual license | No reselling, registering or streaming distribution |
| Mubert | "Apps, games & services" on Business only | Not stated on the pricing page | $199 a month, or $149.29 billed yearly |
| Udio | Not usable | Not checked, because of the catch | Audio, video and stem downloads are disabled |
| ACE-Step 1.5 | Commercial use stated on the model card | MIT-licensed model you run locally | You supply the hardware and setup |
The ElevenLabs definition is worth reading closely. An indie game has earned under $500,000 since first commercial release, from a developer whose games earned under $1,000,000 in its last financial year. If your game crosses the line, you get 60 days to move to a plan that covers studio games, and after that you must stop using the music in new copies.
The best AI music generator for games post compares prices, limits and stems for the same tools.
Copyright in generated music
A license from a vendor and copyright in the track are separate questions. The US Copyright Office's January 2025 report concluded that prompts alone don't give enough control to make you the author of the output, while human material that stays perceptible and creative selection or arrangement can be protected. Suno's terms make the same point from their side: they make no promise that copyright vests in output.
In practice, a competitor might be able to reuse your purely generated track, and you may have little to enforce. If that matters, arrange the music yourself from generated parts, add a line you played, and keep your project files as a record. For a large release, ask a lawyer in your market.
Steam and itch.io disclosure
Steam's Content Survey asks you to describe AI use in your game. Valve rewrote the form in January 2026: its focus is AI that makes content players consume, and it names artwork, sound, narrative and localization, while efficiency gains from AI tools aren't the target. A generated soundtrack is pre-generated content, reviewed the way any other content is, and you promise it doesn't infringe. If your game generates audio while running, Valve also wants to know what guardrails you've put on it.
On itch.io, asset creators must disclose generative AI use, a rule from November 2024. If you publish a game there, answer the AI question on your page's edit form truthfully. Our itch.io guide has more on the store's asset rules.
Keep a text file with each cue's tool, plan, date and prompt. You'll want it when you fill in these forms, and ElevenLabs says output keeps the rights of the plan in effect when it was created, so the plan on that date matters.
Which tool for which job
We picked these on terms and features, since we didn't compare audio quality.
Music, stems, effects · free plan
Stable Audio
- Full tracks up to 6 minutes
- Commercial license on every plan
- Open weights for Small and Medium
Music, effects, voice · from $6
ElevenLabs
- One credit pool for all three
- Regenerate one section of a track
- Revenue cap on game use
Composition · €33 for ownership
AIVA
- MIDI you can rearrange
- Copyright assigned on Pro
- Tracks up to 5:30
Songs with vocals · from $8
Suno
- Up to 8 minutes a generation
- Stem separation on paid plans
- Download caps
Loop mode · $199 for games
Mubert
- Has a mode built to repeat
- Jingles up to 40 seconds
- Games only on Business
Free · run it yourself
ACE-Step 1.5
- MIT license
- Under 4 GB of VRAM, per its card
- Short loops to 10-minute pieces
Moving off Suno because of its caps or its legal situation? Suno alternatives goes through the switch. For voice, ElevenLabs' pricing lists a commercial license from the $6 Starter plan. Clone a real person's voice only with their written consent.
How Oryn handles a game's audio
You don't pick a model or write a music prompt in Oryn. Every new game gets one generated soundtrack: the builder writes the prompt from the genre, mood, instruments and tempo in your approved design, asks for an instrumental, loopable track, and wires it in. The game's audio layer loops and crossfades it and keeps it playing through pause and restart. Effects come from the bundled library first (Kenney and other free sources), with generated effects for the rare sound it lacks. The first build takes about 30 minutes, and the free plan includes the soundtrack on your first game.
It has limits you should know about:
- It's one soundtrack per game. If you want a separate menu theme, boss cue and layered combat music, the tools above give you more control, and you can use your own uploads or swap files in the exported Godot project.
- We haven't published measurements of loop seams, so listen to the join in your own game.
- Some generated assets need a commercial-use check. Each game ships a CREDITS.md naming the engine and the asset sources. Read it before you sell, and replace the track if you need a firmer footing.
After export, the project is an ordinary Godot project, so everything in this guide about Import settings, buses and AudioStreamInteractive applies (export guide).
Frequently asked questions
Can AI make music for a video game?
Yes. As of November 2026, tools such as Stable Audio, ElevenLabs Music, AIVA and Suno all generate instrumental tracks you can use in a game on the right plan. You'll usually still have to cut the loop yourself and check the license.
Can I use AI-generated music in a commercial game?
On many plans, yes, but they differ. Stable Audio names video games as allowed on every plan including Free, ElevenLabs Music covers indie games under its revenue limits, AIVA needs Pro for full monetization, and Mubert needs Business. Suno's free plan and Udio don't work for this.
How do I make an AI music track loop seamlessly?
Ask for a steady instrumental with no intro or ending, pick an even section, cut on bar lines using the tempo, mix the reverb tail back over the start, and add a very short crossfade. Export to Ogg from a WAV master and test it in the game for several minutes.
What audio format should I use in Godot?
Godot's docs suggest WAV for short, repetitive sound effects and Ogg Vorbis for music, speech and long effects. MP3 can help on phones and the web when several long sounds play at once, since it needs less CPU than Ogg.
Do I have to disclose AI music on Steam?
Steam's Content Survey asks you to describe AI use, and it names sound among the content players consume. Generated music in your game falls into that, as pre-generated content. Tools that only speed up development aren't the focus of the section.
Do I own AI-generated game music?
It depends on the plan and the law. Suno assigns its rights on paid plans and AIVA assigns copyright on Pro, while Beatoven keeps ownership and gives you a license. Separately, the US Copyright Office says prompts alone don't make you the author, so copyright may not exist in purely generated output.