H/W checking with search back done. Need to output filtered beat sample and fix the shift in peak detection