Though maybe instead of keying of an HDD LED, it should sit on the IDE/SCSI bus and generate sounds based on the actual access commands. That shouldn't be impossible, since the main market would be in retro-computing, and there are already devices that emulate those disks. Instead of figuring out what block to return, it would instead figure out of how long of a seek would have been needed and play the right sound.
If someone produces something that can simulate the sound of a 20MB Miniscribe drive, I'd buy it in a heartbeat:
- change INT 13h (the disk access routines in the BIOS) handler address
- write a handler that clicks the speaker or draws something to video memory without modifying any input registers
- pass the input over to the original handler which will complete the disk operation
- return or remove the return address of the inserted snippet from the stack and let the original handler do an IRET
The end result is e.g. an ASCII smiley face blinking in one of the corners of the screen in text mode or a similar style of crackling/screetching from the PC speaker.
Here is a full-featured example: https://github.com/MobyGamer/softhddi