Quick answer: To make sound effects for a game, list every action that needs a sound, then get each one by recording it (a phone in a quiet room works), synthesizing it (jsfxr for retro sounds) or starting from a free library. Trim each file so it starts on the hit, add 2–10 ms fades, normalize, and export WAV at 44.1 or 48 kHz. Make 4–8 takes of anything that repeats, and let your engine pick a random take with a small pitch and volume range.
Making sound effects for a game mostly comes down to a routine you can repeat. You list what you need, get a raw sound, clean it up, make a few variations, and set it up in your engine. This guide walks through each step using free tools, and a phone if that's all you have.
It's written for indie developers with no audio background, and it uses each engine's own node and setting names so you can follow along in your project.
Decide what sounds your game needs
Before you record or download anything, write a sound list. Play your game, or read your design doc, and note every action the player or the world performs. Each action that should be heard gets a row.
A small platformer might produce a list like this:
Footsteps (grass, stone)
Jump, land
Coin pickup
Enemy hit, enemy defeat
Player hurt
Door open
Menu move, menu select, menu back
Ambient wind
Background loop for the cave level
Next to each item, mark it as a one-shot or a loop. A one-shot plays once and ends: a jump, a punch, a button click. A loop plays until told to stop: wind, an engine hum, a machine in the background. A loop has to join end to start without a click, which is a different job from trimming a one-shot. Know which one you're making before you open the editor.
Flag the sounds that repeat. Footsteps, gunshots, sword hits, and UI clicks will play hundreds of times in a session. Those need variations (section 4), and they deserve more of your time than a boss roar that plays once.
Keep the first pass short. Twenty to thirty rows covers a prototype. Add more once the game is playable.
Three ways to get a sound
You have three realistic sources for game sound effects, and most projects end up using all three.
Source | Best for | Time per sound | Cost | Watch out for |
|---|---|---|---|---|
Record it | Signature sounds, foley, anything that should feel unique | 15–60 minutes | A phone or a cheap recorder | Room noise and reverb you can't remove later |
Synthesize it | Retro and arcade sounds, prototypes, game jams | A few minutes | Free | Everything sounds chiptune |
Start from a library | Covering a long sound list quickly | A few minutes | Free | Other games may use the same sound |
Record it
Recording your own foley sound effects gives you sounds nobody else has. Foley means performing sounds with ordinary objects.

Photo: Jakub Zerdzicki on Pexels
Start with these:
Footsteps: shoes on a cutting board, a tray of gravel, or a box of cornflakes for snow-like crunch.
Punch a thick towel or a bag of rice for body hits.
Kitchen knives, keys, or a pair of pans, scraped or tapped lightly, stand in for swords and metal.
A wardrobe door, a drawer, or a toolbox lid covers doors and chests.
A phone voice recorder is enough to start. A cheap handheld recorder is better: less processing, lower noise floor. Either way, the room matters more than the gear. Record somewhere quiet and soft, like a closet full of clothes or a bedroom with the door shut and a duvet over the desk. Kill the fans and the fridge. Hold the mic 10–20 cm from the source, and capture a few seconds of silence first so you know what your noise floor looks like.
Recording has downsides. It takes time, and raw files need cleanup. Room reverb and background noise are hard to remove afterward, so get the room right before you hit record. And you can't record explosions or large creatures at home at all.
Synthesize it
For retro and arcade styles, a synthesizer beats a microphone on speed. jsfxr is a free browser tool based on the original sfxr. Press buttons like Pickup/Coin, Laser/Shoot, Explosion, Jump, or Hit/Hurt and it generates a sound instantly. Tweak the sliders, then export a WAV.
It suits 8-bit and 16-bit styles, prototypes, and game jams. It doesn't work well for realistic sounds, because everything has that chiptune character. Plenty of games have used the same tool, so edit the parameters instead of accepting the first roll. The Mutate button is a quick way to get close siblings of a sound you like.
If you want something more realistic than sfxr but don't want to record it, the Sound Effect Generator makes a sound from a text description. Like any generator, treat the first result as raw material and plan to trim and adjust it.
Start from a free library sound
A library covers a long sound list fastest. You get recorded sounds in minutes and can still edit them to fit your game. Soundza has more than 20,000 sound effects and music loops, all free for commercial use with no attribution, so browse the free game sound effect packs and pull what fits. The Footsteps pack covers wood, stone, metal, grass, gravel and snow, and you can play through it here:
The Menu & UI Sounds for Games pack handles your interface.
Library sounds are public, so another developer may use the same coin pickup. For background sounds that rarely matters. For signature sounds, like your main character's attack or your logo sting, layer a library sound with something you've recorded or synthesized. Even a quiet cloth rustle or a small click under the library sound changes its character.
Check the license before you ship, whatever the source.
Edit it
Raw sounds, whether recorded, synthesized, or downloaded, almost always need a few minutes of editing. Audacity is free and does everything here. Reaper has a discounted license for small studios and individuals, and it's worth buying if you end up doing a lot of audio work. Your engine's import settings can handle some of the steps too.

Photo: Layla Yehia on Pexels
The routine is the same for most sounds:
Trim the silence at the start. If there are 80 ms of nothing before a punch lands, the player feels lag between the action and the sound. Cut so the transient, the initial hit, starts right at the beginning of the file. Trim the tail once the sound has decayed to silence.
A fade of 2–10 ms at the start and end prevents clicks caused by the waveform starting or stopping mid-cycle. Skip long fades on hits, or you'll soften the attack.
Normalize each file's peak to a consistent level, such as -1 dBFS, so you aren't fighting wildly different volumes when you mix. Normalizing sets the peak, not the perceived loudness, so you'll still balance by ear later.
Convert positional sounds to mono. Engines pan and attenuate 3D sounds themselves. A stereo file on a 3D source positions less clearly, and it doubles the memory. Keep stereo for music and wide ambiences.
Export as WAV at 44.1 kHz or 48 kHz, and pick one rate for the whole project. 16-bit is fine for the files you ship. Keep 24-bit masters if you plan to process them more.
For loops, cut at a zero-crossing near each end or crossfade the end into the start. Then play it on repeat and listen for the seam. Use headphones, since seams hide on laptop speakers.
In the engine, import settings do more of the work. In Godot, the Import dock for a WAV has Edit > Trim, Edit > Normalize and Edit > Loop Mode options. In Unity's AudioClip import settings, short effects usually work well with Load Type: Decompressed On Load, while large music files are better streamed. Tick Force To Mono in the clip's import settings for positional sounds.
Make variations so repeated sounds don't sound robotic
Play the same footstep sample ten times in a row and you'll hear the repeat. Here's a single footstep on gravel to have in your ear:
Real footsteps never repeat exactly. The contact area, the speed, the surface, and the way the shoe scuffs all shift a little each time. A single sample has an identical waveform and identical texture on every playback, so it reads as a machine. Punches, sword hits, and UI clicks do the same thing.

Photo: Patrick on Pexels
The common fix is pitch randomization: shift each playback by a few percent. It helps, but not enough alone. Pitch shifting changes the tone while the texture, the grit of the gravel or the specific scuff, stays exactly the same. Listeners still pick up the pattern, especially in quiet scenes. Treat pitch randomization as a second layer on top of real variation.
Real variation means several different takes of a sound. You have two practical routes:
Record several takes. Do the foley action five to eight times, keep the best, and trim each one the same way. You get the most natural results, at the cost of time.
The Sound Variation Generator takes one short sound, up to 10 seconds, and returns 4, 6, or 8 new takes, aligned to the original and matched in loudness, as numbered WAV files. A slider from 1 (subtle) to 10 (bold) controls how different the takes are. It needs a free account. Use lower settings for footsteps, where takes should be close siblings, and higher settings for impacts, where more difference reads as natural.

One footstep in, four takes out, on the Sound Variation Generator.
Past eight takes you gain very little, because players can't remember individual takes.
Put them in the engine with randomization
Once you have several files per sound, let the engine pick between them. Every engine has a built-in way to do it.
Engine | Where the takes go | Stop back-to-back repeats | Pitch and volume range |
|---|---|---|---|
Godot | AudioStreamRandomizer | Playback Mode: Random No Repeats | Random Pitch, Random Volume Offset dB |
Unity | An AudioClip array in a small script | Skip the last index (see below) |
|
Unreal | MetaSound Random Get, or Sound Cue Random node | Randomize Without Replacement (Sound Cue) | Modulator node or random MetaSound values |
FMOD Studio | Multi Instrument playlist | Shuffle playlist mode | Randomization on the instrument's pitch and volume |
Wwise | Random Container | Avoid repeating last n played | Randomizer on pitch and volume |
Godot: Use an AudioStreamRandomizer. Add your takes to its streams list, set a small Random Pitch and Random Volume Offset dB, and set Playback Mode to Random No Repeats so the same take doesn't play twice in a row. Assign it to an AudioStreamPlayer as you would any stream.
Unity: Write a short script with an array of clips and a small pitch and volume range. This one skips the previous clip:
using UnityEngine;
public class RandomSfx : MonoBehaviour
{
[SerializeField] AudioSource source;
[SerializeField] AudioClip[] clips;
[SerializeField] Vector2 pitchRange = new Vector2(0.95f, 1.05f);
[SerializeField] Vector2 volumeRange = new Vector2(0.9f, 1f);
int lastIndex = -1;
public void Play()
{
if (clips.Length == 0) return;
int index;
do { index = Random.Range(0, clips.Length); }
while (index == lastIndex && clips.Length > 1);
lastIndex = index;
source.pitch = Random.Range(pitchRange.x, pitchRange.y);
source.PlayOneShot(clips[index], Random.Range(volumeRange.x, volumeRange.y));
}
}
source.pitch applies to the whole AudioSource, so give each sound type its own source. See the Unity docs for AudioSource.PlayOneShot.
Unreal Engine: In a MetaSound, use the Random Get node on an array of Wave Assets to pick a wave, then add random pitch and volume values. In a Sound Cue, use the Random node, enable Randomize Without Replacement, and add a Modulator node, which has pitch and volume ranges.
FMOD Studio: Put a Multi Instrument on the event's track. Add your takes to its playlist, set the playlist to Shuffle, which plays every take once before repeating any, then add randomization to the instrument's pitch and volume.
Wwise: Drop your takes in a Random Container and set it to Standard mode. Set Avoid repeating last to a number smaller than your take count, and enable pitch and volume randomization in the container's properties.
All of these do the same job: choose a take, avoid a repeat, nudge pitch and volume. Keep the ranges small. A pitch shift of ±5% reads as natural variation. At ±30% it starts to sound like different objects.
Mix and test in the game
A sound that works in your audio editor can fail in the game, because now it competes with everything else playing. Mixing means checking each sound against everything else that plays with it.
Start with relative loudness. Pick a reference sound, usually dialogue or the most common effect, and balance everything else against it. Music generally sits underneath effects. Footsteps should be audible but low, because they play constantly. Pickups and UI sounds should be clear but not piercing.
Decide which sounds must cut through. Player damage, warnings, and anything that needs a reaction should be audible during the busiest moment of the game. If one isn't, don't just turn it up. Shorten its tail, or move its frequency range away from the music. A gentle EQ dip on the music bus around 2–4 kHz also leaves room for hits and alerts. Briefly ducking the music when an important sound plays works too.
Then play ten minutes of a real session, first on headphones, then on speakers. Listen for:
Sounds that become annoying through repetition, especially high-pitched ones
Takes that stand out as louder or sharper than their siblings
Loops where you can hear the seam
Moments where too many sounds trigger at once and pile into mush
Fix what bothers you and play again. Combat makes a good test case, because it fires rapid sounds that expose weak randomization and loudness problems fast. The Fight pack has punches, body falls and sword clashes to try it with:
FAQ
Can I use free sound effects in a commercial game?
It depends on the license, so check it for every source you use. Some free sounds restrict commercial use or require credit. Sounds released under CC0 can be used for anything, and Soundza's sounds are free for commercial use with no attribution required under the Soundza license.
What format should game sound effects be in?
WAV is the safest format for source files, at 44.1 kHz or 48 kHz. Your engine will compress them on build if you choose, so keep the originals uncompressed. Use one sample rate across the whole project.
How many footstep sound effects do I need?
Four to eight takes per surface is usually enough. At that number the player doesn't notice repeats, especially with a no-repeat rule and slight pitch randomization. Add left and right variants only if your animation makes a clear difference between feet.
Do I need expensive equipment to record foley sound effects?
No. A phone in a quiet, soft room will give you usable material. A cheap handheld recorder improves things, but your technique and room matter more than the gear.
Where can I find a free SFX pack for my game?
Soundza has a collection of free game sound effect packs covering footsteps, fights, UI, and more. Download what you need, trim and normalize it, and add variations for anything that plays often.


