On the design of an energy-harvesting noise-sensing WSN mote