added play/pause based on ADC readings