메인 데모
CDN v3.0.0

페이지에 이 두 태그를 추가하세요 — </body> 또는 <head> :

신스 엔진
<script src="https://cdn.chiptune-synth.8binami.com/3.0.0/chiptune-synth.min.js"></script>
사운드 폰트 (170+ instruments)
<script src="https://cdn.chiptune-synth.8binami.com/3.0.0/chiptune-sound-font.min.js"></script>
게임 음향 효과 — 내장 프리셋

10가지 즉각적인 게임 오디오 프리셋. 카드를 클릭하여 들어보세요. 코드 한 줄 = 음향 효과 하나.

💥
레이저
Pew pew! Classic beam
playPreset('laser')
🪙
코인
Collect that gold!
playPreset('coin')
🏃
점프
Bouncy platformer hop
playPreset('jump')
💣
폭발
Big boom noise burst
playPreset('explosion')
Power-Up
Level up rising sweep
playPreset('powerup')
💢
히트
Enemy damage impact
playPreset('hit')
💬
블립
Menu cursor / UI click
playPreset('blip')
🔊
베이스
Deep triangle thump
playPreset('bass')
🔫
발사
Rapid fire zap shot
playPreset('shoot')
💚
1-UP
Extra life fanfare
playPreset('1up')
콤보 — 여러 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');
제공: 8Binami