memoryCHIPTUNE

BitSynth

Authentic 8-bit chiptune synthesis. NES APU emulation with square, triangle, noise, and DPCM channels.

Key Features

memory

4 NES APU Channels

Authentic emulation of the NES Ricoh 2A03: two pulse waves, triangle, noise, and DPCM.

waves

PolyBLEP Bandlimited Waves

Anti-aliased square and triangle waves — no aliasing artifacts even at low sample rates.

grain

15-bit LFSR Noise

Linear-feedback shift register noise generator matching the original NES noise channel.

tune

Bit-crush (4-16 bit)

Adjustable bit-depth reduction for extra lo-fi character, from pristine 16-bit down to crunchy 4-bit.

settings

Full Envelope Control

Attack, decay, sustain, release per channel with duty cycle modulation on pulse waves.

Quick Start

// Play a chiptune arpeggio
var engine = GetComponent<BitSynthEngine>();
engine.SetChannelWaveform(0, Waveform.Pulse25);
engine.NoteOn(0, 60, 0.8f);
engine.NoteOn(0, 64, 0.8f);
engine.NoteOn(0, 67, 0.8f);

Why BitSynth?

Get authentic NES-era sound without sample files. Every waveform is generated procedurally with PolyBLEP anti-aliasing — crisp at any sample rate, with adjustable bit-crush for extra retro character.

Technical Details

Architecture & Performance
  • PolyBLEP bandlimited oscillators eliminate aliasing artifacts
  • 15-bit LFSR noise generator matching NES hardware behaviour
  • Bit-crush stage adjustable from 4 to 16 bits
  • Independent envelope generators per channel
  • Shares Core lock-free command queue for sample-accurate scheduling