Media Server 25.3
Media Server Help

# GetAudioMatchAudio

Returns the audio associated with an audio match clip.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database that contains the audio clip. | Yes
`format` | The format of the returned audio. The default is `wav`. `aac` `mp3` `wav` If you do not specify a format, but specify a file name with the `FileName` parameter, Media Server returns the audio in a format that matches the file extension. | No
`identifier` | The identifier of the audio clip. | Yes

You can also set the parameters Output and FileName to write the output of this action to a file.

## Example

The following example downloads the audio from a clip with the identifier "clip1", in the database "music", and writes it to the file "audio.wav".

    curl http://localhost:14000/action=GetAudioMatchAudio -F database=music -F identifier=clip1 -o audio.wav

## Response

The response contains the audio data. Media Server sets the `Content-Type` header to the appropriate MIME type, for example `audio/wav`. The `Content-Length` header is set to the length of the audio data in bytes.

If an error occurs, Media Server returns a standard XML error response.

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.3

Topic Title: GetAudioMatchAudio