What is a contrivance for preserving a record of music, by recording the action of the keys of a musical instrument when played upon called?

melodiograph — A contrivance for preserving a record of music, by recording the action of the keys of a musical instrument when played upon. (Webster's 1913.)

Sources