Sounds like it is probably a Schmitt trigger in that little tin box.
http://hyperphysics.phy-astr.gsu.edu/hbase/Electronic/schmitt.html
If you are into 70's rock you have probably heard them in action on guitar effects pedals.