Now when I were a lad...

There was a number of mainframes with a speaker lead tied to one of the higher address bus wires. You could hear when your program got stuck in an endless loop by the random noise changing to a steady tone.

Peter Langston's first music program, MUTRAN, actually worked by carefully timed loops that would get picked up by an AM radio next to the computer.