An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation. In this instance it includes the alarm device itself or devices that activate such alarm devices.
An alarm whistle creates an audible whistle type alarm.