메인 데모
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>
악기 쇼케이스

신디사이저 엔진을 실제 악기로 변환하는 12가지 악기 프리셋. 하나를 클릭한 다음 아래 키보드를 연주하세요(또는 MIDI 컨트롤러 사용). 각 프리셋은 파형, 엔벨로프, 필터, 유니즌, 비브라토를 구성합니다.

파형
Piano
옥타브 4
키를 클릭하거나 PC 키보드(Q-M)를 사용하세요
음악 데모 — 맥락에서 각 악기 듣기
실내악 앙상블
Violin melody + Cello harmony + Piano chords · Canon style
재즈 콤보
Organ chords + Synth 베이스 walk + Brass stabs · Swing feel
Synthwave Drive
Synth Lead + Synth Pad + Synth 베이스 + Drums · 128 BPM
World Fusion
Marimba + Flute + Harmonica + Guitar · Pentatonic
프로그래밍 방식으로 악기 불러오기
const synth = new ChiptuneSynth();
await synth.init();

// Load instruments onto tracks
synth.loadInstrument('violin', 0);   // Track 0 = Violin
synth.loadInstrument('piano', 1);    // Track 1 = Piano

// Play a chord
synth.playNoteByName('A', 4, 0, 2);  // Violin A4
synth.playNoteByName('C', 4, 1, 2);  // Piano C4
synth.playNoteByName('E', 4, 1, 2);  // Piano E4

// List all instruments
console.log(ChiptuneSynth.getInstrumentNames());
// ['piano','violin','cello','flute','organ','brass',
//  'harmonica','synthLead','synthPad','synthBass','marimba','electricGuitar']

// Enable MIDI controller
const devices = await synth.enableMIDI({ track: 0 });
console.log('MIDI devices:', devices);
제공: 8Binami