Game Sound Effects — Built-in Presets

10 instant game audio presets. Click any card to hear. One line of code = one sound effect.

💥
Laser
Pew pew! Classic beam
playPreset('laser')
🪙
Coin
Collect that gold!
playPreset('coin')
🏃
Jump
Bouncy platformer hop
playPreset('jump')
💣
Explosion
Big boom noise burst
playPreset('explosion')
Power-Up
Level up rising sweep
playPreset('powerup')
💢
Hit
Enemy damage impact
playPreset('hit')
💬
Blip
Menu cursor / UI click
playPreset('blip')
🔊
Bass
Deep triangle thump
playPreset('bass')
🔫
Shoot
Rapid fire zap shot
playPreset('shoot')
💚
1-UP
Extra life fanfare
playPreset('1up')
Combos — Chain Multiple SFX
// Coin rush — rapid fire coins
for (let i = 0; i < 5; i++)
    setTimeout(() => synth.playPreset('coin'), i * 120);

// Battle: shoot → hit → explosion
synth.playPreset('shoot');
setTimeout(() => synth.playPreset('hit'), 200);
setTimeout(() => synth.playPreset('explosion'), 450);
Quick API
const synth = new ChiptuneSynth();
await synth.init();

// Play any built-in preset
synth.playPreset('laser');
synth.playPreset('coin');
synth.playPreset('explosion');

// Get all preset names
const names = ChiptuneSynth.getPresetNames();
// ['laser','coin','jump','explosion','powerup','hit','blip','bass','shoot','1up']

// Load preset params without playing
synth.loadPreset('powerup');
Powered by 8Binami