Some hints to make electronic music sound less synthetic: "The KTH rule system models performance principles used by musicians when performing a musical score".
Overview:
http://www.speech.kth.se/prod/publications/files/1330.pdf
a pd abstraction for "real-time control of expressivity":
http://www.speech.kth.se/prod/publications/files/1344.pdf