The Apple IIe (at least some models of it) had a 1/8" mini-plug in the back for plugging in sound either from a mic or a walkman or whatever. I don't remember if it was for line-level or powered input.
Anyway, you could sample it at some data address. Something funny kinda like the way you'd PEEK at a memory address to make the speaker tick.
-Rob