In-sensor low-complexity audio pattern recognition for pervasive networking