SID: The Sound of the C64
Three voices, endless personality
The SID 6581/8580 chip gave the Commodore 64 synthesizer-class sound, inspiring composers and hardware hackers alike.
The Sound Interface Device (SID) was designed by Bob Yannes to put synthesizer-grade audio in a home computer. With three independent voices, multiple waveforms, filters, and envelope control, it made the Commodore 64 a music powerhouse.
Fast facts
- Versions: 6581 (original, warmer filter) and 8580 (revised, cleaner filter, lower noise).
- Voices: three oscillators supporting triangle, sawtooth, pulse, and noise waveforms.
- Filters: state-variable resonant filter with four modes — low-pass, band-pass, high-pass, notch — selectable independently or in combination.
- Modulation: ring modulation and oscillator sync for complex timbres.
Programming the SID
- Registers:
$D400–$D418control frequency, pulse width, envelopes, and filter routing.$D419–$D41Care read-only — POTX/POTY (paddles), OSC3 (voice 3 oscillator output), and ENV3 (voice 3 envelope), often used for randomness or modulation. - Envelopes: ADSR parameters define how sounds evolve; many composers used fast attacks and carefully timed releases.
- Effects: vibrato and arpeggios simulated chords by rapidly cycling notes; sample playback used clever volume register abuse — the 6581 has a large DC offset that means the volume register is audible directly, so toggling its low 4 bits at sample rate produces 4-bit PCM. The 8580 fixed this DC offset, so the same trick sounds far quieter on a C64C.
SID Frequency Tables
Each voice has a 24-bit phase accumulator advanced by the 16-bit frequency register once per Φ2 cycle, so the register value for a wanted pitch is:
FREQ = round(Hz × 16777216 / clock)
The clock is the CPU clock, which differs by region — which is why the same register value plays about 3.8% sharp on an NTSC machine.
PAL C64 (985,248 Hz clock)
| Note | Hz | SID Value | Note | Hz | SID Value |
|---|---|---|---|---|---|
| C3 | 130.81 | $08B4 | C4 | 261.63 | $1167 |
| C#3 | 138.59 | $0938 | C#4 | 277.18 | $1270 |
| D3 | 146.83 | $09C4 | D4 | 293.66 | $1389 |
| D#3 | 155.56 | $0A59 | D#4 | 311.13 | $14B2 |
| E3 | 164.81 | $0AF7 | E4 | 329.63 | $15ED |
| F3 | 174.61 | $0B9D | F4 | 349.23 | $173B |
| F#3 | 185.00 | $0C4E | F#4 | 369.99 | $189C |
| G3 | 196.00 | $0D0A | G4 | 392.00 | $1A13 |
| G#3 | 207.65 | $0DD0 | G#4 | 415.30 | $1BA0 |
| A3 | 220.00 | $0EA2 | A4 | 440.00 | $1D45 |
| A#3 | 233.08 | $0F81 | A#4 | 466.16 | $1F02 |
| B3 | 246.94 | $106D | B4 | 493.88 | $20DA |
| C5 | 523.25 | $22CE |
NTSC C64 (1,022,727 Hz clock)
| Note | Hz | SID Value | Note | Hz | SID Value |
|---|---|---|---|---|---|
| C3 | 130.81 | $0862 | C4 | 261.63 | $10C4 |
| C#3 | 138.59 | $08E2 | C#4 | 277.18 | $11C3 |
| D3 | 146.83 | $0969 | D4 | 293.66 | $12D1 |
| D#3 | 155.56 | $09F8 | D#4 | 311.13 | $13F0 |
| E3 | 164.81 | $0A90 | E4 | 329.63 | $151F |
| F3 | 174.61 | $0B30 | F4 | 349.23 | $1661 |
| F#3 | 185.00 | $0BDB | F#4 | 369.99 | $17B6 |
| G3 | 196.00 | $0C8F | G4 | 392.00 | $191E |
| G#3 | 207.65 | $0D4E | G#4 | 415.30 | $1A9D |
| A3 | 220.00 | $0E19 | A4 | 440.00 | $1C32 |
| A#3 | 233.08 | $0EF0 | A#4 | 466.16 | $1DDF |
| B3 | 246.94 | $0FD3 | B4 | 493.88 | $1FA6 |
| C5 | 523.25 | $2188 |
Converting between the tables: a higher clock needs a lower register value for the same pitch, so NTSC = PAL × 985248 / 1022727 ≈ 0.9634. Going the other way, PAL = NTSC × 1.0380. Check any conversion against A4, which is $1D45 on PAL and $1C32 on NTSC.
Cultural impact
SID tunes influenced electronic music, chipmusic, and modern synth design. The chip inspired hardware clones (FPGASID, SwinSID) and dedicated instruments like Elektron’s SidStation.