How about changing your attitude. Instead of getting irritated, Let it pass. Ignore.
Many times, the more we dwell on something we don't like, the more pissed off we will be.
Modify your reaction. Cocks crowing can be music to your ears.