Open topic with navigation

# AudioSecurity

The `AudioSecurity` task detects and labels audio segments containing security-related sounds including alarms, breaking glass, screams, and gunshots. The task can also identify the type of alarm if it matches a template in its database. If it does not match one of the templates, the task returns the label `<UNKNOWN-ALARM>`.

NOTE:

The `AudioSecurity` task requires the `EVENTS` resource. Ensure that the Model parameter in the `[audiosec]` section of the configuration file is set to `EVENTS`.

## Parameters

Parameter | Description | Required
--- | --- | ---
Type | The task name. Set to `AudioSecurity`. | Yes
AudioUpsampling | Whether to allow audio upsampling if the input audio has a sample rate too low for the task. |
EndTime | The end of an audio section to process. |
File | The audio file to process. | Yes, if InputType is `File`.
InputType | The type of audio to process (file, binary data, or stream). |
Out | The .ctm file to write the results to. | Yes
StartTime | The beginning of an audio section to process. |
SugdInputChannels | The channel layout of the input media file. This parameter does not apply when InputType is `Stream`. |
SugdInputFrequency | The sampling rate of the input media file. This parameter does not apply when InputType is `Stream`. |
TemplateList | The list containing the file names of the alarm templates. |
TemplatePath | The path to the directory containing the alarm templates specified in the template list. |

## Example

    http://localhost:15000/action=AddTask&Type=AudioSecurity&File=C:\data\Sample.wav&Out=SampleSec.ctm

This action searches the `Sample.wav` file for security-related sounds and writes the results to the `SampleSec.ctm` file.

© 2015-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm