Open topic with navigation

# AddTask

Sends an audio processing task to HPE IDOL Speech Server, along with the location of the audio file to process. Specify the task using the Type parameter. The task type determines which other action parameters are required.

The task must be already configured in the HPE IDOL Speech Server configuration file. Several Standard Tasks are available out of the box. For more information about configuring tasks, see Task Configuration Parameters.

The `AddTask` action is asynchronous by default.

## Example

    http://localhost:13000/action=AddTask&Type=WavToText&File=Speech.wav&Lang=ENUS&Out=Text1

This action uses port `13000` to instruct HPE IDOL Speech Server, which is located on the local machine, to perform the `WavToText` task on the `Speech.wav` file, using the `ENUS` language pack and writing the text transcription to a file named `Text1.ctm`.

## Parameters

The `AddTask` action parameters depend on the task specified in the Type parameter. You can configure which action parameters are available for the task in the HPE IDOL Speech Server configuration file. For more information, see Module Configuration Parameters.

You can run a task across multiple cores by setting the TaskManagers, SplitSize, and Overlap action parameters. For more information about multicore processing, see the HPE IDOL Speech Server Administration Guide.

Parameter | Description | Required
--- | --- | ---
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Write output to a file. |
OutputEncoding | The encoding to use for the action output. |
Overlap | The number of seconds of overlap between chunks. |
ResponseFormat | The format of the action output. |
SplitSize | The size of the chunks, in seconds, to divide the audio into. These chunks are distributed between task managers. |
TaskManagers | The number of task managers to split the task across. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
Type | The name of the configuration section that defines the task. | Yes

© 2014 - 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm