/a><a name="onBeat(Function,Number,uint)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">onBeat</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function onBeat(Callback:Function, Threshold:Number = 0.12, SampleWindow:uint = 5):void</code><p></p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0">