Open topic with navigation

# AfpMatchWav

DEPRECATED:

The `AfpMatchWav` task is deprecated in IDOL Speech Server version 11.5 and later. Use the AfpMatch task instead.

This task is still available for existing implementations, but it might be incompatible with new functionality. The task might be deleted in future.

The `AfpMatchWav` task searches an audio file for any sections that match audio indexed in an AFP database. The `AfpMatchWav` task is based on acoustic landmark matching.

## Parameters

Parameter | Description | Required
--- | --- | ---
Type | The task name. Set to `AfpMatchWav`. | Yes
AfpDb | The audio fingerprint database (if it is defined in the configuration file). | See Comments
Delay | The delay in updating results. |
File | The audio file to search. | Yes
MinDuration | The minimum duration of a section that must match before that match is considered. |
MinHits | The minimum number of hits that a section of audio must generate before IDOL Speech Server returns it as a match for a clip in an audio fingerprinting database. |
MinRate | The minimum hit rate threshold for audio fingerprint identification. |
NBest | The maximum number of matching AFP clips to include in the results for a section. |
Out | The file to write the results to. | Yes
Pack | The audio fingerprint database (if it is not defined in the configuration file). | See Comments
PackDir | The path to the directory containing the database. | See Comments
Rnd | A window size within which a random offset shift is calculated. |
Sfreq | The sample frequency of the audio file to process. |
SpecSize | The analysis resolution. |
SugdInputChannels | The channel layout of the input media file. |
SugdInputFrequency | The sampling rate of the input media file. |
TimeQ | The degree of quantization to perform. |

## Comments

If the database is defined in the IDOL Speech Server configuration file, you must set the AfpDb parameter. If the database is not defined, set both the Pack and PackDir parameters instead.

## Example

    http://localhost:15000/action=AddTask&Type=AfpMatchWav&File=C:\Data\July18.wav&Pack=Adverts&PackDir=C:\resources&Out=July18Results.ctm

This action searches the `July18.wav` file for sections that match audio indexed in the `Adverts` database and writes the search results to the `July18Results.ctm` file.

© 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