Skip to content
Hardware

APU: The NES Audio Engine

Five channels of chiptune magic

The NES Audio Processing Unit delivered two pulse waves, a triangle, noise, and sample playback—creating the iconic sound of 8-bit Nintendo.

NES audioprocessorsricohnintendochiptune 1983–present

Overview

Built into the same chip as the CPU (2A03/2A07), the Audio Processing Unit gave the NES its distinctive sound. Two pulse waves handled melodies, a triangle wave provided bass, noise created percussion, and the delta modulation channel allowed rudimentary samples. Composers like Koji Kondo and Hip Tanaka turned these constraints into art.

Fast facts

  • Channels: 5 total (2 pulse, 1 triangle, 1 noise, 1 DMC).
  • Output: mono, mixed internally.
  • Sample rate: varies; DMC plays at 4.2-33.1 kHz depending on rate setting.
  • Integration: part of the 2A03 (NTSC) or 2A07 (PAL) CPU package.

Channel specifications

Pulse channels ($4000-$4007)

FeatureDetails
Duty cycles12.5%, 25%, 50%, 75%
Frequency54-28kHz range (11-bit period)
Envelopehardware decay or constant volume
Sweepautomatic pitch bend up/down
Length counterautomatic note cutoff

Triangle channel ($4008-$400B)

FeatureDetails
Waveform32-step triangle (no volume control)
Frequencysame range as pulse
Usagebass lines, soft leads
Quirkperiod 0 produces ultrasonic buzz

Noise channel ($400C-$400F)

FeatureDetails
Modeslong (32,767 steps) or short (93 steps) LFSR
Frequency16 fixed rates
Usagedrums, explosions, sound effects

DMC channel ($4010-$4013)

FeatureDetails
Format1-bit delta-encoded samples
Sample rates16 fixed rates (4.2-33.1 kHz)
Memorysamples must reside in $C000-$FFFF
Usagevoice, drums, complex sounds

Register summary

AddressChannelPurpose
$4000-$4003Pulse 1Duty, envelope, sweep, period, length
$4004-$4007Pulse 2Same as Pulse 1
$4008-$400BTriangleLinear counter, period, length
$400C-$400FNoiseEnvelope, mode, period, length
$4010-$4013DMCRate, sample address, length, output
$4015AllChannel enable/status
$4017FrameFrame counter mode

Programming techniques

  • Arpeggios: rapidly cycle through notes to simulate chords.
  • Duty cycling: switch pulse duty mid-note for timbre variation.
  • Volume envelopes: software-controlled volume for more expressive decay.
  • Echo: delay audio data in software for pseudo-reverb.
  • DMC percussion: use samples for punchy drums unavailable in synthesis.

Expansion audio

Some cartridges added extra sound channels:

MapperExtra channels
VRC62 pulse + 1 sawtooth
VRC76 FM synthesis channels
Sunsoft 5B3 PSG channels (AY-3-8910 compatible)
Namco 163up to 8 wavetable channels
FDS1 wavetable channel

See also