By examining a person's brain activity, artificial intelligence can produce a song that matches the genre, rhythm, mood and instrumentation of music that the individual recently heard.
The scientists used brain scans that had previously been collected via a technique called functional magnetic resonance imaging , which tracks the flow of oxygen-rich blood to the brain to see which regions are most active. The scans were collected from five participants as they listened to 15-second music clips spanning a range of genres, including blues, classical, country, disco, hip-hop, jazz and pop.
MusicLM used the information to generate musical clips that can be listened to online and fairly accurately resembled the original song snippets — although the AI captured some features of the original tunes much better than others.