The Commercial Port Law Article 29

While navigating within a commercial port area, a ship shall not sound siren or signals unless it is necessary to comply with rules of preventing collision, or warn of an urgent situation or emergency event.
中文原文 商港法第29條
船舶在商港區域內除為遵守航行避碰規定、警告危險或其他告急時所必需者外,不得任意鳴放音響或信號。

English translation for reference only; the Chinese text prevails. Not legal advice.