When it comes to music, composition has always vexed computers. Sure, they can string a few notes or lyrics together, but creating motifs—repeated musical patterns that create form and meaning—is a real challenge. After seven years, Dr. Paul Bodily has come up with a solution.