Photon antibunching and bunching in a ring-resonator waveguide quantum electrodynamics system | Synapse