Cleaned code by removing commented-out lines.
Keep 2 predetection buffers for 1 second of audio instead of 1.