Rebuilt 340 knocking sound

Longshot here, but I have seen once when the harmonic balancer separated and was hitting the timing cover.