Demo Principal
CDN v3.0.0

Añade estas dos etiquetas a tu página — antes de </body> o en <head> :

Motor 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>
Efectos de Sonido — Preajustes Integrados

10 preajustes de audio instantáneos. Haz clic en cualquier tarjeta para escuchar. Una línea de código = un efecto de sonido.

💥
Láser
Pew pew! Classic beam
playPreset('laser')
🪙
Moneda
Collect that gold!
playPreset('coin')
🏃
Salto
Bouncy platformer hop
playPreset('jump')
💣
Explosión
Big boom noise burst
playPreset('explosion')
Power-Up
Level up rising sweep
playPreset('powerup')
💢
Impacto
Enemy damage impact
playPreset('hit')
💬
Pitido
Menu cursor / UI click
playPreset('blip')
🔊
Bajo
Deep triangle thump
playPreset('bass')
🔫
Disparar
Rapid fire zap shot
playPreset('shoot')
💚
1-UP
Extra life fanfare
playPreset('1up')
Combos — Encadenar Múltiples 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');
Desarrollado con 8Binami