AfpMatchStream

DEPRECATED:

The AfpMatchStream 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 AfpMatchStream task receives audio data as a binary stream, and searches it for sections that match audio indexed in an AFP database. The AfpMatchStream task is based on acoustic landmark matching.

Parameters

Parameter Description Required
Type The task name. Set to AfpMatchStream. Yes
AfpDb The audio fingerprint database (if it is defined in the configuration file). *
Delay The delay in updating results.  
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 search results to. Yes
Pack The audio fingerprint database (if it is not defined in the configuration file). *
PackDir

The path to the directory containing the database.

*
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.  
TimeQ The degree of quantization to perform.  
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:13000/action=AddTask&Type=AfpMatchStream&Pack=Adverts&PackDir=C:\resources&Out=Results.ctm

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to search the audio stream for sections that match audio indexed in the Adverts database and to write the search results to the Results.ctm file.


_HP_HTML5_bannerTitle.htm