Tailoring single-photon and multiphoton probabilities of a single-photon on-demand source | Synapse