NES Sound Explained: The 2A03, DPCM and Triangle Bass

The NES sound chip is a 2A03 with five channels, and seeing why the triangle carries bass and DPCM steals CPU cycles explains the whole soundtrack.
The NES builds every note of its music from five channels on a single chip, and the channel that usually carries the bass is the one that cannot change volume. That constraint is not a limitation someone failed to design around; it is the reason the scores sound the way they do. Once you see how the Ricoh 2A03 divides its work, the bright square leads, the steady low end and the occasional grainy drum hit stop sounding like style choices and start looking like engineering. This is a look at the chip, the triangle bass and the sampled DPCM channel, with the mechanism behind each.
One die holding a CPU and an APU
The chip at the center of a North American NES is the Ricoh 2A03. It is a 6502-derived CPU core with the audio processing unit built onto the same piece of silicon, so the processor that runs the game and the circuitry that makes the noise share a clock and a set of registers. Machines sold in PAL regions use the 2A07, which is the same design with different clock dividers. The NTSC part runs at about 1.789 MHz and the PAL part at about 1.662 MHz, and because every note frequency is a division of that clock, the same soundtrack plays slightly slower and a little lower on a PAL console. That pitch difference is a direct consequence of the divider, not a mastering decision.
The five channels and their jobs
Two pulse channels, one triangle, one noise channel and one DPCM channel make up the set. Each has a personality, and composers wrote around those personalities rather than fighting them. The table is the map I use when I am listening for a specific line in a mix.
| Channel | Output | Typical use | Defining quirk |
|---|---|---|---|
| Pulse one and two | Square wave, selectable duty cycle | Lead melody and harmony | Volume envelope and pitch sweep |
| Triangle | Stepped triangle wave | Bass line | No volume control at all |
| Noise | Pseudorandom shift register | Hi-hats, snare, explosions | Two modes, one metallic |
| DPCM | Delta-encoded samples | Drums, short speech | Steals CPU cycles via DMA |
The two pulse channels are the workhorses. Each can pick a duty cycle of 12.5, 25, 50 or 75 percent, which changes the harmonic content and therefore the tone, and each has a sweep unit that can bend pitch up or down on its own. Super Mario Bros. from 1985 leans on a pulse lead over a walking bass, and Mega Man 2 from 1988 shows what two pulse lines plus a triangle foundation can do. The noise channel runs a linear feedback shift register to produce a pseudorandom bit stream, with a short mode that sounds thin and hissy and a long mode that rings almost metallic, which is why it covers everything from a hi-hat to an explosion.
Why the triangle carries the bass
The triangle channel has no volume envelope and no volume register. Its output is either on at a fixed level or silent, and the waveform is a quantized, stepped triangle with far fewer harmonics than a square wave. Two things follow from that. First, a bass note holds perfectly steady while the pulse leads swell and decay around it, so the low end reads as a stable floor rather than a note that pumps. Second, the softer harmonic content sits under the brighter squares without turning the mix muddy. The triangle timer also runs at half the rate of the pulse timers for the same period value, putting it an octave lower, which is exactly where you want a bass line.
DPCM and the price of a sampled drum
DPCM stands for delta pulse code modulation, and it is the one channel that plays back a recorded waveform instead of synthesizing one. Each sample is reduced to a single bit: up a step or down a step. A small counter is stepped up or down by that bit and its value is sent to a simple DAC, so the original sound is reconstructed as a staircase that chases the waveform. The bytes are pulled from ROM by a DMA unit at one of sixteen selectable rates, and that DMA is the interesting part, because it borrows cycles from the CPU while a sample is playing.
How emulators rebuild it, and a listening check
Reproducing this hardware means more than playing back a recording. The emulator has to clock the frame counter, apply the length counters and envelopes, handle the sweep units, run the noise shift register and schedule the DPCM DMA against the CPU, all at the right relative rates. Get the DPCM timing wrong and drums pop or vanish; get the frame counter wrong and envelopes decay at the wrong speed. Many cores offer a low-pass filter option, and the reason it exists is physical: the RF modulator, the composite video path and the small television speaker all rolled off the harshest highs, so raw APU output can sound brighter and buzzier than any console ever did through a real set.
- Solo the triangle channel and confirm a steady bass that does not fade between notes.
- Listen for the noise channel hi-hat staying crisp without a metallic ring unless the long mode is intended.
- Play a DPCM-heavy section and check that drum hits do not click or drop out.
- Compare an NTSC and a PAL version of the same track to hear the small pitch drop.
- Toggle any low-pass filter on and off to hear how much top end the real hardware lost.
Load a legal personal backup of a late-1980s title, put on headphones, and flip that filter while a busy track is running. On my setup the triangle bass only became obvious once I turned the filter off and the pulse leads stopped smearing into it, which is a small reminder that how we hear these chips today is partly a decision made by the output chain rather than by the composer alone.
Related reading
If you want to keep digging into this corner of the library, these two posts on Roms Get go a little further:
