Noise in 340...help

As suggested, listen to the engine to id the location of the knock, that may give you an idea where it is coming from. Then use a solid rod or mechanics stethoscope around the engine to listen to the knock.

Does the knock go away while increasing RPM or does it get louder?