I have internal halyards and they bang when at anchor. i only hear them when I am trying to sleep. jody
Tighten them / Tension them so they don't hang loose and bang about.
A simple bungee cord to the shrouds on external halyards does the same thing, except in high wind they whistle, but then so is everything else.