Spectroscopy of particle couplings with gravitational waves