Démo Principale
CDN v3.0.0

Ajoutez ces deux balises à votre page — avant </body> ou dans <head> :

Moteur 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>
Effets Sonores — Préréglages Intégrés

10 préréglages audio instantanés. Cliquez sur une carte pour écouter. Une ligne de code = un effet sonore.

💥
Laser
Pew pew! Classic beam
playPreset('laser')
🪙
Pièce
Collect that gold!
playPreset('coin')
🏃
Saut
Bouncy platformer hop
playPreset('jump')
💣
Explosion
Big boom noise burst
playPreset('explosion')
Power-Up
Level up rising sweep
playPreset('powerup')
💢
Impact
Enemy damage impact
playPreset('hit')
💬
Bip
Menu cursor / UI click
playPreset('blip')
🔊
Basse
Deep triangle thump
playPreset('bass')
🔫
Tirer
Rapid fire zap shot
playPreset('shoot')
💚
1-UP
Extra life fanfare
playPreset('1up')
Combos — Enchaîner Plusieurs 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');
Propulsé par 8Binami