Musical Rat Organ

There was a famous psychologist who did experiments with rats and mazes. He started building a machine that had several swords swooping down. He practiced and practiced until he could precisely touch between the swords as they came down. Then he added the rats and he trained them by tickling them to sing in time to the swords. He was talking about a student of his that helped him in the beginning and I realised it was me.