Update mic.py

Did not reset the frames list after the threshold is detected