change AUDIO_RATE to 31250 Hz