This reminds me that I once had a computer magazine from the 80s that came with a green vinyl record "single" that had a game on it for a popular computer, perhaps the Commodore 64. It was useless to me as I had a Z80 machine, but a curiosity.
Pete Shelley's album XL-1 had a bonus track with a ZX-Spectrum program with some visualizations to look at while you listen to the album
It's on youtube, very cool for 1983
As far as I remember it should be the other way around: Sinclair had analog audio input/output so one could hook up a turntable instead of the tape. Commodore 64, on the other hand, had a proprietary tape recorder called Datasette so there was no way to hook up a turntable to it. Of course, one could always just copy the signal from a vinyl record to a casette tape and then play it back to the computer.