Sonic Error Scratch Link

p[n] = p[n-1] + 1 (normal) e[n] = p[n-1] - k (jump back k samples)