better beat detection