I found an interesting book about generative music: ” A Systematic Introduction To Making Generative Music With Modular Synths”.
It is an e-book that can be downloaded for $24.50 here:
https://www.dev.rofilm-media.net/node/331
There is even a volume 2:
https://www.dev.rofilm-media.net/node/467