We're proud to announce that ChiptuneSynth, the synthesis engine at the heart of 8Bit Forge, is now available as a standalone open source library.
What is ChiptuneSynth?
ChiptuneSynth is a browser-based 8-bit synthesizer built on the Web Audio API. It provides 8 independent tracks, 5 waveforms, ADSR envelopes, LFOs, filters, and more — all with zero dependencies.
Getting Started
npm install @8bitforge/chiptune-synth import ChiptuneSynth from '@8bitforge/chiptune-synth';
const synth = new ChiptuneSynth();
synth.noteOn(0, 'C4'); // Play C4 on track 0
synth.noteOff(0); // Release Key Features
- 8 independent tracks with individual mixer settings
- 5 waveforms: Square (with PWM), Triangle, Sawtooth, Sine, Noise
- ADSR envelope per track
- Unison voices (1-16) with detune and stereo spread
- 3 LFOs for vibrato, filter modulation, and tremolo
- Filter with lowpass, highpass, and bandpass modes
- Built-in FFT analyser for visualizations
- Master limiter to prevent clipping
Why Open Source?
We believe that core audio tools should be accessible to everyone. By open-sourcing ChiptuneSynth, we hope to enable more developers to integrate authentic chiptune sound into their projects — whether it's games, music apps, or creative experiments.
The library is available on GitHub and npm. Contributions are welcome.
— The 8Binami Team