Demo Principale
CDN v3.0.0

Aggiungi questi tag alla tua pagina โ€” prima di </body> o in <head> :

Motore 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>
Melodie e Sequenze

Composizioni musicali complete usando tutte le 4 tracce. Lead, basso, batteria e FX che lavorano insieme.

Forma d'Onda
Pronto
Avventura a Piattaforme
Lead (square) + Basso (triangle) + Hi-hat (noise) · 140 BPM
3 tracce
Grotte di Cristallo
Arpeggiated sawtooth + deep bass + filter sweep · 120 BPM
filtro + unisono
Battaglia con il Boss
Aggressive square lead + driving bass + drum pattern · 160 BPM
4 tracce
Campo Stellare (Pad Unisonoo)
8-voice unison pad + vibrato + filter LFO · Ambient
LFO + unisono
Come Funziona
const synth = new ChiptuneSynth();
await synth.init();

const BPM = 140, beat = 60 / BPM;
const n = ChiptuneSynth.noteToFrequency;

// Schedule notes with setTimeout
function play(note, oct, track, time, dur) {
    setTimeout(() => {
        synth.playNote(n(note, oct), track, dur);
    }, time * 1000);
}

// Lead melody on track 0 (square)
play('E', 5, 0, 0,        beat * 0.4);
play('E', 5, 0, beat*0.5, beat * 0.4);
play('G', 5, 0, beat*1.5, beat);

// Bass on track 1 (triangle)
play('C', 3, 1, 0, beat * 0.8);

// Hi-hat on track 2 (noise)
for (let i = 0; i < 8; i++)
    play('A', 5, 2, i * beat/2, 0.05);
Powered by 8Binami