Wizard Toolbox Tool map Feedback
BETAStill being built. Things may break. Tell us

SFX Generator

Press a button for a new sound of that kind, shape it with the sliders, then download it as a WAV.

Wave

Envelope
Pitch
Vibrato and jump
Square width and repeat
Phaser
Filters
Gain and drive

Sample rate

Bits

Making a sound

Set the Volume at the top first; it starts at half, and nothing else on the page changes how loud a sound plays. Then press one of the buttons below it: Coin, Laser, Explosion, Power-up, Hit, Jump or Blip. Each press makes a new random sound of that kind and plays it. Random throws every slider anywhere, and Mutate nudges the current sound a little, for a variation. Keep pressing until one fits, then tune it with the sliders; the sound plays again each time you let go of one. Press Play or Space to hear it again.

What the sliders do

The envelope is how loud the sound is over time: attack fades it in, sustain holds it, punch adds a kick at the start of the hold, and decay fades it out. Start pitch sets the note and slide bends it up or down; a lowest pitch above zero ends the sound when the slide falls that far. Vibrato wobbles the pitch, and jump leaps it up or down once, part way through, which is what makes a coin ding. Square width thins the square wave for a nasal sound. Repeat restarts the pitch over and over, the phaser adds a sweeping echo, and the low-pass and high-pass filters cut the highs or the lows. Saturation rounds off the peaks for a warmer, fuller sound, distortion clips them flat for a harsh, crunchy one, and gain makes the sound itself louder or quieter, up to full scale.

The WAV file

Download WAV saves the sound as a mono PCM .wav, peaking at half of full scale at 0 dB gain whatever the volume is set to, at 44.1 kHz and 16 bits unless you pick 22.05 kHz or 8 bits for a smaller, crunchier file. Every game engine reads it: Unity, Godot, GameMaker, Unreal, Scratch and pygame. To trim it, add an echo or make it louder, open it in the Audio Editor.

How it works

A square, sawtooth, sine or noise wave is made at 8 times the sample rate and averaged down, shaped by the envelope, run through the filters and the phaser, raised or lowered so every sound peaks at the same level, then saturated, clipped and set to its gain, and played through your browser's Web Audio. The recipes are the classic retro ones, so a Coin sounds like the coin from old games.

Questions

Can I use the sounds in my game?

Yes. The sounds are made on your device from the sliders you set, so they are yours to use in anything, paid or free, with no credit needed.

How do I keep a sound to edit later?

Press Copy link. The link carries every slider, so opening it brings the same sound back. The address bar keeps it too, so a bookmark works. Noise sounds come back a little different each time, since the noise is random.

Why does the same button make a different sound each time?

Each recipe picks its numbers at random inside a range that sounds like that kind of effect. Press it again for another take, or Mutate for a close variation.

Made in this page, on your device ยท nothing is sent anywhere