# AddUnknownSpeakerAudio

Adds one or more audio samples that represent unknown speakers.

You only need to provide audio samples that represent unknown speakers if you expect the audio you process to contain unknown speakers. An unknown speaker can be any speaker except someone you have trained in the same database (the audio samples you provide can be from different unknown speakers to the unknown speakers in the audio you process).

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`audiodata` | The audio data to add. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, refer to the Media Server Administration Guide. | Set this or `audiopath`
`audiolabels` | A comma-separated list of labels to identify the audio samples that you are adding (maximum 254 bytes for each label). Every audio sample representing an unknown speaker must have a unique label, so the number of labels must match the number of samples provided using either `audiodata` or `audiopath`. If you do not set this parameter, Media Server generates labels automatically. | No
`audiopath` | A comma-separated list of paths to the audio files to add. The paths must be absolute, or relative to the Media Server executable file. | Set this or `audiodata`
`database` | The name of the database to add the audio samples to. | Yes

## Example

The following example adds audio samples for unknown speakers to the `news` database:

    /action=AddUnknownSpeakerAudio&database=news
                                  &audiopath=sample1.wav,sample2.wav
                                  &audiolabels=sample1,sample2

The following example sends the audio data instead of the file paths:

    curl http://localhost:14000 -F action=AddUnknownSpeakerAudio
                                -F database=news
                                -F audiodata=@sample1.wav,sample2.wav
                                -F audiolabels=sample1,sample2

## Response

    <autnresponse>
      <action>ADDUNKNOWNSPEAKERAUDIO</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm