Retro Sound Effects Generator
Generate 8-bit style sound effects instantly, with a new random variation on every press. 100% in your browser.
Each random variation slightly changes the sound within the same style, like an sfxr-style generator.
Built by
Miguel Ángel Colorado Marin (MACM)
Built by
Miguel Ángel Colorado Marin (MACM)
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
The retro sound effects generator creates 8-bit style sounds through synthesis, with no recording or sound bank involved, in the line of classic generators such as sfxr. Choose one of 8 sound types (coin, jump, laser, explosion, hit, power-up, select and game over), listen to it instantly and press "random variation" as many times as you like to find a different version within the same style. Once you like the result, download it as a WAV file for your game, animation or project. All the sound is calculated in JavaScript directly in your browser.
Features
- ✓8 sound types: coin, jump, laser, explosion and more
- ✓Random variations per type
- ✓Instant playback
- ✓Export to WAV (44.1 kHz, 16-bit, mono)
- ✓100% in browser, no uploads or external assets
How to generate a sound effect?
- 1
Choose a sound type
Coin, jump, laser, explosion, hit, power-up, select or game over.
- 2
Listen to it
It plays automatically when selected, or press "Play" to repeat it.
- 3
Try variations
Press "Random variation" to generate slightly different versions of the same style.
- 4
Download as WAV
Once you find the perfect sound, download it ready to use.
The eight sounds and their parameters
Each sound is a generator written in JavaScript. It uses no audio files: the code calculates, sample by sample, a square, sine or white-noise wave, and changes its frequency and volume over its duration. The values in this list are the base values, before any variation is applied. In a game, play it at the moment of the event (a jump, a coin, a hit) and pick the type that fits the action.
Coin (0.25 s): square wave that jumps from 1,400 Hz to 2,100 Hz after the first 15% of the sound. Jump (0.3 s): sine wave whose frequency rises from 300 Hz to about 800 Hz. Laser (0.35 s): square wave that falls exponentially from 1,800 Hz to about 270 Hz. Explosion (0.7 s): white noise whose volume fades gradually.
Hit (0.15 s): white noise that dies away in a fraction of a second. Power-up (0.6 s): square wave with rising frequency from 220 Hz, peaking in volume halfway through. Select (0.1 s): 1,200 Hz sine that fades in about 50 ms. Game over (1.2 s): square wave with four descending notes at 440, 392, 349 and 294 Hz, each lasting a quarter of the sound.
Variations, volume and the WAV file
Each press of "Random variation" picks a new seed. From it three factors are calculated: pitch (from 0.85 to 1.15), frequency sweep (from 0.8 to 1.2) and duration (from 0.85 to 1.15). Pitch only affects tonal sounds, not noise-based ones such as explosion or hit. The same type and seed always produce exactly the same sound, and the file name (sfx_type_seed.wav) records both.
The WAV is mono, 16-bit PCM at 44,100 Hz and uncompressed, so each second takes about 88 kB. Samples are clamped to the range -1 to 1 and scaled to 60% of the maximum amplitude. The first and last 64 values fade in and out to avoid a click at the start and end.
Everything is calculated in your browser and nothing is sent to a server. Synthesis runs in JavaScript; the Web Audio API is only used to play the result through your speakers. Once the page has loaded, generating and downloading a sound needs no connection.
Frequently asked questions
Are the sounds real recordings?
No. Each sound is calculated sample by sample with square, sine or white-noise waves in your browser. There are no recordings or sound banks involved.
Can I use these sounds in my game or project?
Yes, you can download the WAV and use it in your project. The tool includes no recordings or third-party sounds: the file is generated by your browser through synthesis.
What does "random variation" mean?
Each sound type has base values. Each variation picks a new seed that changes the pitch (±15%, on tonal sounds), the frequency sweep (±20%) and the duration (±15%). This gives you a different but recognizable version of the same style.
What format does it download in?
Uncompressed WAV, 44,100 Hz, 16-bit, mono.
Related tools
Embed Retro SFX Generator on your site
Add Retro SFX Generator to any web page with a simple iframe. Free, with attribution to miguelacm.es.
<iframe
src="https://miguelacm.es/embed/sfx-generator?locale=en"
width="100%"
height="700"
frameborder="0"
allow="clipboard-write"
title="Retro SFX Generator — miguelacm.es"
></iframe>View embed in new tab →