Re: @ 1980s_coder
"...even a book on ZX81 programming that mentions playing music on a nearby AM radio..."
This was commercialized. There was at least one commercial game (Alien Defense?, likely several others...) for the TRS-80 Z80 based Model 1, 3, 4 line that included an entertaining musical melody that was radiated and the player was instructed to use an AM radio to listen to it. Back in the very early 1980s I was doing exactly that.
A fully commercialized game.