Présentation des instruments

12 préréglages d'instruments qui transforment le moteur de synthétiseur en véritables instruments. Cliquez sur l'un d'entre eux, puis jouez sur le clavier ci-dessous (ou utilisez votre contrôleur MIDI). Chaque préréglage configure la forme d'onde, l'enveloppe, le filtre, l'unisson et le vibrato.

Forme d'onde
Piano
Octave 4
Cliquez sur les touches ou utilisez le clavier de votre PC (Q-M)
Démonstrations musicales — Écoutez chaque instrument dans son contexte
Ensemble de chambre
Mélodie au violon + harmonie au violoncelle + accords au piano · Style canon
Combo de jazz
Accords d'orgue + ligne de basse synthétique + accents de cuivres · Ambiance swing
Synthwave Drive
Mélodie de synthé + pad de synthé + basse synthé + batterie · 128 BPM
Fusion mondiale
Marimba + Flûte + Harmonica + Guitare · Pentatonique
Charger les instruments par programmation
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);
Propulsé par 8Binami