Claude Game Studio

Sound effect generator

This sound effect generator synthesizes six retro game presets and saves your edited sound as a WAV file, without an account.

9,702 samples · 44,100 Hz · mono · 16-bit WAV

Choose a preset, then press Play.

Give each game action its own sound

Jump and coin. Jump rises from 180 to 650 Hz over 0.22 seconds. Coin starts at 880 Hz and ends an octave higher in 0.16 seconds. The first follows a takeoff; the second is a short pickup signal. Lower Volume if repeated pickups crowd out the rest of the game.

Hit and explosion. Both start with filtered noise. Hit ends after 0.14 seconds; Explosion has a longer 0.8-second tail. Start pitch controls the noise filter's brightness too. Use the waveform to see how the attack and fading tail change when you adjust duration.

Laser and power-up. Laser sweeps downward from 1,500 to 80 Hz, while Power-up climbs from 220 to 1,400 Hz. Switch a square wave to sine to soften the tone. The settings update the waveform immediately; press Play sound to hear the current version.

Use the WAV in a browser game

Export coin.wav, put it alongside your game files and load it before play. Call the playback function when the player collects a coin. Start audio from the player's click or tap so the browser can allow it. For rapid overlapping effects, decode the file once into a Web Audio buffer and create a new source for each event.

const coin = new Audio("./coin.wav"); coin.preload = "auto"; function onCoinCollected() { coin.currentTime = 0; coin.play().catch(() => console.log("Tap to enable sound")); }

Playback and export share one sample array. A 0.22-second Jump contains 9,702 samples; its WAV holds a 44-byte header plus two bytes per sample. Lowering the volume changes the samples saved to disk too. Stop ends the active preview, and a new Play replaces it so edits are easy to compare.

The sfxr family

DrPetter created sfxr for a 48-hour game jam workflow: generate a short effect, adjust it and export a WAV. jsfxr brings that family of synthesis controls to the browser, including envelope, vibrato, arpeggiation and filters. It also provides a JavaScript library.

Bfxr is another sfxr-based sound-design tool and exports WAV. This page's synthesizer was written separately: four wave shapes, a swept pitch and a short attack/fade envelope. Choose it for a small set of game events you can edit and save here. No jsfxr, Bfxr or sfxr implementation code is included.

Questions

How do I generate a sound effect?

Choose Jump, Coin, Hit, Laser, Explosion or Power-up, then press Play sound. Change the start pitch, end pitch, duration, volume or wave shape. Export WAV saves exactly those generated samples.

What is an SFX generator?

An SFX generator synthesizes short sound effects from wave shapes, pitch changes and a volume envelope. This one uses square, sine, sawtooth or noise waves rather than searching an audio library or generating speech.

Is this jsfxr, bfxr or sfxr?

No. This is a separate small synthesizer written for Claude Game Studio. jsfxr, Bfxr and the original sfxr are related tools with their own controls and file formats. This generator exports standard 44,100 Hz mono 16-bit PCM WAV files.

Do I need an account to export WAV?

No account is needed. Synthesis, playback and WAV export happen in this browser. Audio starts only when you press Play sound; the page does not play automatically.

Put your assets into a playable game. Try the ten game templates or get the kit.