Every vessel of Class 2, 3, or 4 shall be provided with an efficient whistle or other sound-producing mechanical appliance.