HardSID 4U (USB SID-chip box, 2008) · Works · Source available

Worked out the USB protocol of a discontinued HardSID 4U SID-chip box and made it playable from a DAW, with Claude

View JSON
HardSID 4U (USB SID-chip box, 2008): A Windows-only SID chip box, now playable from macOS and Linux.
Image: GitHub (pjthulin/hardsid4u)

Who did what

2 of 11 commits credit an AI: 2 Claude Opus 4.8. They were made on 2 separate days between 4 Sept 2026 and 5 Sept 2026.

Counted from the public git history on 16 Nov 2026. How

What was done

Claude analysed the vendor driver and USB captures to document the protocol of a 2008 USB box holding real C64 sound chips, now played from macOS and Linux.

Per Thulin owns a HardSID 4U, a 2008 USB box that holds up to four real Commodore 64 SID sound chips. It shipped with a Windows-only driver and no published protocol. Thulin had Claude reverse engineer the protocol, and the repo now plays the chips from macOS and Linux, including as a MIDI instrument. The README gives no date.

Thulin supplied the device, the vendor files and USB captures. By Thulin's account Claude did the binary analysis, formed and discarded hypotheses, wrote the probe scripts, and wrote the library and docs, running experiments against Thulin's own hardware. The AI commit census counts 2 of 11 commits with AI credit (Claude Opus 4.8), on 4 and 5 September 2026. Static analysis of the packed driver got the wire format right but the state machine wrong several times. What broke the deadlock was capturing the real driver on the wire. One finding is that 0xFFFF, long treated as padding, is an escape prefix that can stall the device. The author records each wrong theory in the docs.

The result is a Python library over libusb that plays a note on a power-cycled device, plus a MIDI instrument that opens a virtual CoreMIDI destination for a DAW such as Ableton or Cubase. A note-on is one bulk write at 0.8 ms median. It was endurance tested for six hours across two chips.

You need a HardSID 4U with real SID chips fitted, and macOS or Linux. Run uv run --with libusb1 src/hardsid4u/hs4u.py --chip 0 --hz 440 to play a note, or uv sync --extra midi and then uv run hardsid4u-midi for the instrument.

Sources:

  • https://github.com/pjthulin/hardsid4u

Questions about HardSID 4U (USB SID-chip box, 2008)

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 15 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week