Leroy Anderson (1908-1975) was a composer of pops orchestral music, mainly composing short, happy pieces.
In 1950, Leroy wrote a piece called “The Typewriter”, which featured a solo on a mechanical typewriter. The Typewriter received its first performance when Leroy Anderson conducted the one minute and forty-five second song for a Decca Records recording session in 1953. Shortly after, a full band arrangement was published by Fred Werle.
Below is a 2008 performance of that piece by the Strauss Festival Orchestra, featuring percussionist Martin Breinschmid on the typewriter:
The 1963 film “Who’s Minding the Store?” features Jerry Lewis pantomiming playing the typewriter part in mid-air: