This is called Sonification.
Have very old history, starting from listening to RF noise
produced by logical elements switching from 1->0 or 0->1.
I used this technique before when debugged software
for Atmel AVR. Put your PCB inside the AM antenna of the receiver and you can hear (and guess) what is happening inside.