Your AI game plays fine and makes no sound at all? That's how most first builds turn out. The AI wrote the code, and it had no audio files to give you, so every coin and crash goes by in silence.
Press a button below and you get a new sound in under a second. Keep pressing until one fits your game. Nudge the sliders, then save it as a WAV or copy it as a few lines of JavaScript. The sound is made in your browser and nothing gets uploaded.
1Pick a sound
Press the same button again for a new take on it.
Your browser didn't play the sound. Press Play to try again.
The WAV didn't save. Try again, or copy the code instead.
Your browser blocked the clipboard. Select the code below and copy it by hand.
2Tweak it
CC0
Every sound you make here is CC0. That puts it in the public domain, so you can put it in any game, including one you sell. You don't need to credit us. The code from Copy as code is CC0 as well.
Step 4 of the flight tutorial, Add sound, has a prompt that wires sound into a three.js game. It also fixes the most common problem, a game that stays silent on a phone. Paste your copied code into the chat and ask the AI to play it when the player flies through a ring.
No game yet? Grab a free starter kit. Each one runs the moment you open it.
Made a game with AI? Submit it and players can find it here. Listing is free.
Submit your game
Yes. Every sound is CC0, which puts it in the public domain. You can sell a game that uses it, and you never need to credit us.
Download WAV saves a 16-bit mono WAV at 44.1 kHz. Every browser and game engine plays it. A half-second sound comes to about 44 KB.
Press Copy as code and paste the function into your game. Call it where the event happens, for example when the player picks up a coin. Browsers only start audio after the first tap or key press, so start the sound from one. With a WAV file, new Audio("coin.wav").play() works in any canvas game, and three.js has its own AudioLoader.
new Audio("coin.wav").play()
AudioLoader
No. Open the page and press a button. The sounds are made in your browser, and we never see them.
Sign in to rate
Rate this game