I am trying to make a device that will send out a high pitched audio blast (similiar to an anti-barking device for dogs) to attempt the rooster next door from crowing in the early hours of the morning. Our bedroom window faces the coop and is about 15 meters away. It's driving us nuts. Anyway, I've purchased a couple of Kemo animal repellant devices and would like to connect these to an audio switch that would activate the repellant devices for a certain amount of time. Does anyone have an idea of how to apply some knowledge of circuitry and parts so that when the rooster crows, the module activates an "on" switch for a certain length of time, but cuts off the audio sensor (otherwise it would be in a continuos loop)?