Teaching a machine to understand music is an incredibly difficult task, which uses all the mathematical power of digital signal processing. But teaching a machine to compose music is quite another matter, and the wonderful world of mathematical patterns proves to be a gold mine. Nick Collins talks to Plus about his artificial musician.