After Thomas Edison’s invention of the phonograph in 1877, music boxes eventually became obsolete due to competition with recorded music.