Comment by wongarsu
3 hours ago
Pianos have keys. And some telegraphs were outfitted with piano-like keyboards with one key per letter. Wikipedia has some pictures in the printing telegraph article [1]. So there is arguably a clear lineage from pianos to the modern computer keyboard.
Pianos however don't really have a concept of advancing the line or sending a recorded message.
player pianos existed with the concept of advancing are recorded messages. I forgot about them until you metioned them. The music box goes way back