How complicated is WolframTones inside?
The core is simple, but there’s a lot of sophistication in the details. There are many complex search criteria used in finding appropriate rules. Then there are style-dependent topological algorithms that pick out features of Rules to optimize roles of different Instruments, and create rhythms and harmonic progressions. The methods we’re using are (so far as we know) essentially all new; most were invented as part of the project by Peter Overmann, who has a long history in computer music composition (and happens to be a senior executive at Wolfram Research).