These are International COLREG signals. Rule 34(a) concerns power-driven vessels underway in sight of one another; 34(e) also covers an obscured bend. Rule 35 applies in or near restricted visibility, day or night. Listed intervals are maxima. Check the alternatives for vessels under 20 m and under 12 m.
COLREG 32 · U.S. Coast Guard — International Navigation Rules (2024): (a) The word whistle means any sound signaling appliance capable of producing the prescribed blasts and which complies with the specifications in Annex III to these Regulations.
(b) The term short blast means a blast of about one second’s duration.
(c) The term prolonged blast means a blast of from four to six seconds’ duration. COLREG 34(a) · U.S. Coast Guard — International Navigation Rules (2024): (a) When vessels are in sight of one another, a power-driven vessel underway, when maneuvering as authorized or required by these Rules, shall indicate that maneuver by the following signals on her whistle: − one short blast to mean “I am altering my course to starboard”; − two short blasts to mean “I am altering my course to port”; − three short blasts to mean “I am operating astern propulsion”.
COLREG 35(d) · Official source excerpt · U.S. Coast Guard — International Navigation Rules (2024): (d) A vessel engaged in fishing, when at anchor, and a vessel restricted in her ability to maneuver when carrying out her work at anchor, shall instead of the signals prescribed in paragraph (g) of this Rule sound the signal prescribed in paragraph (c) of this Rule.
COLREG 35(c,e,g,i,j) · U.S. Coast Guard — International Navigation Rules (2024): (c) A vessel not under command, a vessel restricted in her ability to maneuver, a vessel constrained by her draft, a sailing vessel, a vessel engaged in fishing and a vessel engaged in towing or pushing another vessel shall, instead of the signals prescribed in paragraphs (a) or (b) of this Rule, sound at intervals of not more than 2 minutes three blasts in succession, namely one prolonged followed by two short blasts. (e) A vessel towed or if more than one vessel is towed the last vessel of the tow, if manned, shall at intervals of not more than 2 minutes sound four blasts in succession, namely one prolonged followed by three short blasts. When practicable, this signal shall be made immediately after the signal made by the towing vessel. (g) A vessel at anchor shall at intervals of not more than one minute ring the bell rapidly for about 5 seconds. In a vessel of 100 meters or more in length the bell shall be sounded in the forepart of the vessel and immediately after the ringing of the bell the gong shall be sounded rapidly for about 5 seconds in the after part of the vessel. A vessel at anchor may in addition sound three blasts in succession, namely one short, one prolonged and one short blast, to give warning of her position and of the possibility of collision to an approaching vessel. (i) A vessel of 12 meters or more but less than 20 meters in length shall not be obliged to give the bell signals prescribed in paragraphs (g) and (h) of this Rule. However, if she does not, she shall make some other efficient sound signal at intervals of not more than 2 minutes. (j) A vessel of less than 12 meters in length shall not be obliged to give the above-mentioned signals but, if she does not, shall make some other efficient sound signal at intervals of not more than 2 minutes.