// patch adc => Gain g => OnePole p => blackhole; // square the input adc => g; // multiply 3 => g.op; // set pole position .99 => p.pole; // loop on while( true ) { if( p.last() > 0.25 ) { <<< "BANG!!!", now >>>; 80::ms => now; } 20::ms => now; }