This is my Polyphonic Keyboard Scanner design, which I built and wrote up circa 1977.
I uploaded it to supplement my comments in this discussion: Solutions for a very high number of inputs
It's also a good snapshot of what 7400-serial TTL hardware design was like in 1977, with no word processors, no schematic editors, and good old DIP packages suitable for wire-wrap.
Enjoy!