A device is provided. The device includes processing circuitry configured to detect an audio signal associated with an alarm event, generate a spectrogram using a plurality of input samples of the audio signal where the spectrogram includes a plurality of spectral bins, select one of the plurality of spectral bins associated with a predefined frequency range, perform edge detection on the selected one of the plurality of spectral bins, perform pattern detection based on the edge detection, determine the audio signal corresponds to an audio alarm signal based on the pattern detection, and trigger an action in response to determining that the audio signal corresponds to an audio alarm signal.