1000 is the number of samples that will be held in the ring buffer. It is hardcoded right now. We could make it configurable fairly easily but for now I just wanted the quick solution.