Save some CPU time by only checking every 4th sample, since this is a
GUI only function