Smart Audio Sensors in the Internet of Things Edge for Anomaly Detection