By examining a person’s brain activity, artificial intelligence (AI) can produce a song that matches the genre, rhythm, mood and instrumentation…