Open topic with navigation

# AddTask

Sends an audio processing task to 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 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:15000/action=AddTask&Type=WavToText&File=Speech.wav&Lang=ENUS&Out=Text1

This action performs the `WavToText` task on the `Speech.wav` file using the `ENUS` language pack, and writes 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 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 IDOL Speech Server Administration Guide.

Parameter | Description | Required
--- | --- | ---
OutputEncoding | The encoding to use for the action output. |
Overlap | The number of seconds of overlap between chunks. |
SplitSize | The size of the chunks, in seconds, to divide the audio into. These chunks are distributed between task managers. |
TaskData | The binary data block to process. |
TaskManagers | The number of task managers to split the task across. |
Type | The name of the configuration section that defines the task. | Yes

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
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 | Writes output to a file.
ResponseFormat | The format of the action output.
Template | The template to use for the action output.
TemplateParamCSVs | A list of variables to use for the specified template.

© 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