Demo Principale
CDN v3.0.0

Aggiungi questi tag alla tua pagina โ€” prima di </body> o in <head> :

Motore Synth
<script src="https://cdn.chiptune-synth.8binami.com/3.0.0/chiptune-synth.min.js"></script>
Sound Font (170+ instruments)
<script src="https://cdn.chiptune-synth.8binami.com/3.0.0/chiptune-sound-font.min.js"></script>
Effetti Sonori di Gioco โ€” Preset Integrati

10 preset audio istantanei. Fai clic su qualsiasi scheda per ascoltare. Una riga di codice = un effetto sonoro.

💥
Laser
Pew pew! Classic beam
playPreset('laser')
🪙
Moneta
Collect that gold!
playPreset('coin')
🏃
Salto
Bouncy platformer hop
playPreset('jump')
💣
Esplosione
Big boom noise burst
playPreset('explosion')
Power-Up
Level up rising sweep
playPreset('powerup')
💢
Colpo
Enemy damage impact
playPreset('hit')
💬
Bip
Menu cursor / UI click
playPreset('blip')
🔊
Basso
Deep triangle thump
playPreset('bass')
🔫
Spara
Rapid fire zap shot
playPreset('shoot')
💚
1-UP
Extra life fanfare
playPreset('1up')
Combo โ€” Concatenare Piรน 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