Warning: This Christmas Carol May Haunt Your Dreams
Move over Mariah Carey. There's a new holiday star in town.
Source: University of Toronto
Behold, a new Christmas carol for the 2016 holiday season! Have a listen:
Perhaps the flat delivery, the Christmas word salad and the elementary melody tipped you off to the computer-generated nature of this performance.
It's from a team at the University of Toronto Computer Science Department, which has been teaching a computer to write sing-along music. Dubbed "neural karaoke," this artificial intelligence system has been fed more than 100 hours of music to learn how to create simple melodies. It was also trained to recognize images and compose related lyrics.
Using an algorithm, the AI finds patterns in the data and essentially "learns" music — including beats and chords. It learned the correlation between lyrics and music notes from around 50 hours of pop songs, says Hang Chu, one of the researchers.
To inspire the computer's composition of the Christmas carol, Chu fed it one of the photos that popped up when he searched Google for "Christmas" — it's a decorated Christmas tree surrounded by wrapped presents.
"The algorithm recognizes the objects in this photo and then [composes] lyrics based on its understanding of the photo," Chu tells NPR's Morning Edition.