Performance improvement for windows
Changed sample rate for Raspberry Pi to 2.56M