Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
In general, you tap off a sample of the signal. Then you rectify it (try a half wave op amp rectifier circuit.) Then you go through an circuit to produce an average so that short sounds do not trigger it. This can be a series R and shunt C or it can be an op amp integrator with a resistor across the capacitor. Then you go to a comparator with a threshold that can be set (trip amplitude).