Nanoliter compound-droplet generation with composition variation