WORKBENCH DOCUMENTATION & TECHNICAL REFERENCE MANUAL

Commodore 64 SID Chiptune Synthesizer & Music Lab Visualizer (MOS 6581 / 8580)

Zero-dependency 3-voice Web Audio API Commodore 64 synthesizer modeling both the MOS 6581 (12V NMOS) and MOS 8580 (9V HMOS-II) Sound Interface Devices. Features Triangle ($10), Sawtooth ($20), variable 1%–99% Pulse Width ($40) with PWM LFO, and 23-bit LFSR 8-bit Noise ($80), per-voice/global ADSR envelopes, a resonant LP/BP/HP multimode filter, a 50Hz PAL / 60Hz NTSC fast arpeggiator, a 16-step sequencer, playable QWERTY/piano keys, URL-hash patch sharing, and real-time Music Lab oscilloscope & 64-bar FFT spectrum visualization.

STEP 1 Identify Board & Revision

Open the Machine Hub to confirm your ASSY/PCB revision, IC socket map, and PSU specs.

STEP 2 Check Pinouts & Cables

Verify chip rails in the IC Pinout Analyzer and port wiring in Connector Reference.

STEP 3 Scope Signals & Media

Follow Diagnostic Flowcharts & Scope Traces or inspect disks/ROMs in the D64 Wasm Lab.

STEP 4 Calculate, Recap & Rescue

Size parts with Bench Calculators, order recap BOMs, or use the Rehoming & Donation Portal.

MODULE 08 3-Voice WebAudio · 1%–99% PWM · Multimode Filter · 50Hz/60Hz Arp Interactive Flowchart

Commodore 64 SID Chiptune Synthesizer & Music Lab Visualizer (MOS 6581 / 8580)

Zero-dependency 3-voice Web Audio API Commodore 64 synthesizer modeling both the MOS 6581 (12V NMOS) and MOS 8580 (9V HMOS-II) Sound Interface Devices. Features Triangle ($10), Sawtooth ($20), variable 1%–99% Pulse Width ($40) with PWM LFO, and 23-bit LFSR 8-bit Noise ($80), per-voice/global ADSR envelopes, a resonant LP/BP/HP multimode filter, a 50Hz PAL / 60Hz NTSC fast arpeggiator, a 16-step sequencer, playable QWERTY/piano keys, URL-hash patch sharing, and real-time Music Lab oscilloscope & 64-bar FFT spectrum visualization.

INTERACTIVE UI PREVIEW — MOS 6581 / 8580 3-VOICE SID SYNTH & MUSIC LAB FFT VISUALIZER WEB AUDIO API · $D400–$D418
VOICE 1: PULSE (42% PWM) + 50Hz PAL ARP (0-4-7) · PIN 27 OUT FILTER: 6581 LOW-PASS (2150 Hz · Q=6) + MUSIC LAB FFT SPECTRUM
3-VOICE SID REGISTER & PATCH SUMMARY
Waveforms:TRI ($10) · SAW ($20) · PUL ($40) · NOI ($80)
Filter & ADSR:LP/BP/HP Biquad + 4-Bit ADSR ($D405/$D406)
Code Export:Live STA $D400 6502 ASM & POKE 54272
Interactive Preview: Launch the Commodore 64 SID Synth & Music Lab Visualizer to play 8 built-in chiptune presets, tweak 1%–99% Pulse Width, run 50Hz/60Hz arpeggios, and share custom patches via URL.
Printable Diagnostic Flowchart & Voltage CheckpointsFormat this step-by-step fault isolation tree into a high-contrast bench reference sheet.

Core Capabilities & Coverage

  • 3 Independent SID Voices ($D400–$D414) with Triangle, Sawtooth, variable 1%–99% Pulse Width ($000–$FFF) + PWM LFO sweep, and pitched 23-bit LFSR 8-Bit Noise.
  • Authentic 4-Bit ADSR Envelope Generators (2ms–8s Attack, 6ms–24s Decay/Release, 0%–100% Sustain) with per-voice or globally linked controls and a live SVG curve preview.
  • Switchable MOS 6581 (12V VDD, 470pF caps, warm nonlinear drive) and MOS 8580 (9V VDD, 22nF caps, crisp high-Q) Multimode State-Variable Filter (Low-Pass, Band-Pass, High-Pass) with individual Voice 1–3 routing toggles.
  • Classic 50Hz PAL / 60Hz NTSC Fast-Arpeggio Engine, 16-Step C64 Tracker Pattern Sequencer, 8 one-click chiptune presets, 2-octave playable QWERTY/touch piano, URL-hash patch sharing (#preset=... / #patch=...), and live $D400–$D418 6502 Assembly / BASIC V2 code export.

Step-by-Step Workbench Workflow

  1. 1
    Selecting Waveforms & Adjusting Pulse Width (1% to 99%)

    For each of the 3 SID voices (Voice 1 $D400–$D406, Voice 2 $D407–$D40D, Voice 3 $D40E–$D414), click TRI ($10), SAW ($20), PUL ($40), or NOI ($80). When Pulse is active, drag the Pulse Width / Duty Cycle slider between 1% (thin nasal reed) and 50% (hollow square) up to 99%, and increase PWM LFO Sweep Depth for lush Rob Hubbard / Martin Galway modulation.

  2. 2
    Shaping Sound with ADSR Envelopes & the 6581/8580 Multimode Filter

    Adjust the 4-bit Attack, Decay, Sustain, and Release sliders on each voice (or check "Link ADSR Globally Across Voices 1–3"). Toggle Voice 1, 2, or 3 into the $D417 Multimode Filter, combine Low-Pass ($10), Band-Pass ($20), and High-Pass ($40) modes, and sweep the 11-bit Cutoff Frequency (30 Hz–12 kHz) and 4-bit Resonance (Q). Switch between MOS 6581 and MOS 8580 to compare 12V vs. 9V filter character.

  3. 3
    Using the 50Hz/60Hz Arpeggiator, 16-Step Sequencer & QWERTY Keyboard Shortcuts

    Pick an Arpeggio Chord Table (Major 0-4-7, Minor 0-3-7, Sus4 0-5-7, Octave 0-12-24, Dom7, or Custom CSV semitones) and set the raster tick rate to 50 Hz PAL (20ms) or 60 Hz NTSC (16.7ms). Click Play Pattern on the 16-Step Sequencer to loop a chiptune riff, or play live using the on-screen 2-octave piano and your computer's QWERTY keys (Z–M for lower octave, Q–I for upper octave).

  4. 4
    Saving/Sharing Custom Patches, Playing .SID Files & Editing PSID/RSID Headers

    Click any of the 8 built-in synth presets or click "Share Patch URL" to encode your complete synth state into a bookmarkable #patch=... link. To play existing C64 .SID files, open the companion .SID File Player & Header Editor (/bench-tools/sid-player) to drop PSID/RSID files, solo/mute individual voices, override $D415–$D418 filters live, edit Title/Author/Released/Clock headers, and download patched .SID or 16-bit .WAV files.

Workbench Pro-Tip

To recreate classic C64 lead sounds on a single voice while keeping Voices 2 and 3 free for bass and percussion, set Voice 1 to Pulse (38% duty cycle) + 30% PWM LFO, enable the 50Hz PAL Major or Minor Arpeggiator, and route Voice 1 + Voice 2 through the Low-Pass filter while leaving Voice 3 (Triangle sub-bass) unfiltered!

Critical Voltage & Hardware Trap

MOS 6581 (+12V VDD, 470pF) vs. MOS 8580 (+9V VDD, 22nF) Hardware Swap Warning: Never plug a 9V MOS 8580 / 6582 SID directly into an unmodified 12V longboard C64 (ASSY 250407/250425) or SX-64 socket—the +12V rail on Pin 28 will overheat and destroy the 8580 analog output stage! Always check C1/C2 filter capacitor values (Pins 1–4) when servicing SID sockets.

Complete Smiggy Bench Tools & 37 Machine Hubs Quick-Reference Index

Every interactive utility, diagnostic reference, computer hub, and console hub documented in this manual — click any entry to launch it directly.

22 Interactive Browser Bench Tools (/bench-tools/*)

Multi-System Retro Emulator 100% client-side WebAssembly retro emulator hub for Commodore 64, Commodore 128, ZX Spectrum 48K/128K, and Amstrad CPC 464/664/6128/Plus with automatic file extension detection, Joystick Port Swap, Warp Mode, Drive A/B .DSK slots, CTM644/GT65 monitor toggle, Locomotive BASIC quick-boot macros, IndexedDB save states, and our AI-Assisted C64 Disassembly & Modernization guide. Open /bench-tools/retro-emulator → Signal & Trace Visualizer Interactive virtual oscilloscope and 8-channel logic analyzer comparing expected healthy waveforms against common hardware faults across C64, Amiga, Z80, TTL/CMOS, and RF/IR remotes with live ΔV/ΔT/f cursors. Open /bench-tools/signal-visualizer → Retro File Utilities (Wasm) Rust/WebAssembly-powered Commodore 1541 .D64 BAM and directory parser with .PRG extraction, a 6502/6510 disassembler with automatic IC pinout cross-linking, and a .BIN/.ROM patcher with CRC32 verification. Open /bench-tools/retro-file-utilities → Retro Graphics Viewer Bidirectional 8-bit graphics workbench: decode C64 Koala (.KOA), Art Studio (.ART), ZX Spectrum (.SCR) & Font ROMs to PNG, or convert modern PNG/JPG images into native .KOA, .ART, and .SCR binaries with Floyd-Steinberg dithering. Open /bench-tools/retro-graphics-viewer → Sprite & Tile Converter Interactive 24×21 C64 sprite (monochrome and multicolor 2-bit bitpairs) and 8×8 character tile editor with system palettes (C64, ZX Spectrum, BBC Micro, NES) and real-time 6502 .byte, Z80 defb, BASIC DATA, and C uint8_t code generators. Open /bench-tools/sprite-tile-converter → Visual Memory Mapper Interactive 64KB ($0000–$FFFF) visual memory mapper across C64, VIC-20, ZX Spectrum 48K/128K, BBC Micro, and Atari 800/XL with real-time ROM/RAM banking toggles, 16-bit Low/High byte address decoding, hardware register tables, and a visual Video RAM matrix calculator. Open /bench-tools/memory-mapper → BASIC-to-ASM & .PRG Transform legacy Commodore BASIC V2, Sinclair BASIC, and Locomotive/BBC BASIC into line-stripped label code, commented 6502/6510 or Z80 assembly templates, hardware POKE/PEEK opcode breakdowns, and downloadable tokenized .PRG binaries. Open /bench-tools/basic-to-assembly → Opcode & Cycle Counter Searchable instruction set reference, visual status flag matrix, and raster-timing cycle calculator for MOS 6502/6510 (including undocumented opcodes), Zilog Z80, and Motorola 68000 with branch and page-crossing penalty analysis. Open /bench-tools/opcode-lookup → 6502/Z80 Assembler Split-screen in-browser MOS 6502/6510 and Zilog Z80 cross-assembler and two-way disassembler with live syntax highlighting, synchronized hex/ASCII dump, symbol table inspector, and one-click .PRG / .TAP binary export. Open /bench-tools/retro-assembler → SID Chiptune Synth 3-voice Web Audio MOS 6581 & 8580 SID chiptune synthesizer with variable 1%–99% pulse width, ADSR envelopes, LP/BP/HP resonant filter, 50Hz/60Hz arpeggiator, 16-step sequencer, 8 C64 presets, live $D400–$D418 6502/BASIC export, and Music Lab FFT/scope visualizer. Open /bench-tools/sid-synth → .SID Player & Editor Drag-and-drop Commodore 64 .SID chiptune player, PSID/RSID binary header editor & patcher, 3-voice Mute/Solo mixer with live note/PWM decode, $D400–$D418 register & filter override, and 16-bit WAV exporter. Open /bench-tools/sid-player → Resistor & Capacitor Calculator Colour-band decoder for 4- and 5-band resistors with live tolerance range, plus SMD resistor and capacitor marking decoders. Open /bench-tools/resistor-capacitor-calculator → RF & Wireless Reference Filterable cards covering sub-GHz, ISM, Wi-Fi, Bluetooth, infrared, NFC/RFID and mesh standards, each with a full protocol deep dive. Open /bench-tools/rf-wireless-reference → IR vs. RF Remote ID A short decision tree that identifies a remote from non-invasive checks, then hands you the bench tests that confirm the verdict. Open /bench-tools/ir-vs-rf-remote-id → Circuit Block Visualizer Interactive schematic & drag-and-drop sandbox with a dual-trace oscilloscope (ΔV/ΔT/f cursors), DMM/Logic Probe overlay, unpowered Ω-to-GND tester, multi-fault cascading failure simulator, live ESR/thermal/cold-solder sliders, IC pinout/flowchart links, and PDF/Markdown worksheet export. Open /bench-tools/circuit-block-visualizer → 555 Timer & LED Calc 555 astable calculator with a real-time waveform preview, alongside an LED resistor calculator that gives the nearest E24 value and wattage. Open /bench-tools/555-timer-led-calculator → Pinout Reference Interactive SVG diagrams and 59 dedicated port pages covering retro video/SCART, power supplies, joysticks, cassette/audio, floppy/disk buses, expansion slots, Centronics printer, RS-232, MIDI, USB-C, RJ45 and HDMI. Open /bench-tools/connector-pinout-reference → IC Pinout Quick-Finder Searchable pinout library for 85 retro CPUs, custom video/sound chips, DRAM/SRAM/ROM and 74/4000-series logic ICs, filterable by Machine Hub with colour-coded DIP/PLCC diagrams. Open /bench-tools/ic-pinout-finder → Ohm's Law Wheel Solve for voltage, current, resistance or power from any two known values, with the formula used shown for each result. Open /bench-tools/ohms-law-calculator → Hardware Diagnostics Choose a machine and a symptom, then follow a measurement-driven flowchart to the components most likely at fault. Open /bench-tools/hardware-diagnostics → Recap & Repair Reference Cross-checked capacitor lists by machine and board revision, filterable by family, each opening into a full recap guide. Open /bench-tools/recap-repair-reference → Substitution Guide Look up safe chip substitutions for retro DRAM, CPUs and 74-series logic, with red-flagged dangerous swaps and a logic family compatibility matrix. Open /bench-tools/substitution-guide →

37 Retro Computer & Video Game Console Machine Hubs (/hubs & /consoles)

Frequently Asked Questions — Bench Tools & Machine Hubs

Do the .D64 Visualizer, 6502 Disassembler, Retro Graphics Converter, and ROM Patcher upload my files to a server?

No. Every utility in Retro File Utilities and the Retro Graphics Viewer & Converter runs 100% client-side in your browser using WebAssembly and HTML5 Canvas ArrayBuffer views. Your .D64 disk images, .KOA/.ART/.SCR screens, .PRG binaries, and .BIN/.ROM dumps never leave your machine.

How do I switch between Dark, Amber Terminal, Matrix CRT, and Workbench Light themes?

Use the theme toggle button in the top navigation bar or open the System Customization Panel in the footer. All bench tools, SVG pinouts, and UI previews inherit dynamic CSS custom properties so diagrams remain high-contrast in every palette.

How do I cross-reference a dead IC on a motherboard with a safe modern replacement?

First identify your board revision in its Machine Hub, click the suspect chip to inspect its IC Pinout and scope waveforms, and then check the Retro Logic & RAM Substitution Guide for drop-in equivalents and adapter pinouts (such as 4116→4164 or 2364→27C64).

Where can I find documentation on rare controllers (like the SV-129 foot pedal or Voice Master) or donate hardware?

Rare controllers and bench hardware are showcased across Repair & Bench Notes and the Rehoming Bench. To donate faulty or spare retro kit (with free UK shipping covered and a strict never-resold promise), visit Retro Donations.

How do I use the Commodore 64 SID Synthesizer & Music Lab Visualizer and share custom patches?

Open the C64 SID Synth & Music Lab Visualizer, select waveforms (Triangle, Sawtooth, 1%–99% Pulse Width, or 8-bit LFSR Noise) across Voices 1–3, shape the 4-bit ADSR envelopes and 6581/8580 LP/BP/HP filter, enable the 50Hz/60Hz arpeggiator or 16-step sequencer, and click Share Patch URL to generate a bookmarkable #patch=... link or export $D400–$D418 6502 Assembly / BASIC code.

Theme Palette

Default Dark
High-contrast dark
Amber Terminal
Monochrome amber
Matrix CRT
Phosphor green
Workbench Light
Clean light mode

Audio & Display

Relay Click Sounds Web Audio API — soft mechanical clicks
CRT Scanline & Flicker Pure CSS overlay effect

System Info

Customization Panel Theme preference, audio FX, and CRT overlay settings are saved to your browser's localStorage and persist between visits. No cookies or server-side storage is used.
Keyboard Shortcuts Press Esc to close this panel. Use the header moon/sun icon to cycle themes.