Media Server 12.13

# 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/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 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.13

Topic Title: AddUnknownSpeakerAudio