The AfptAddTrackWav
task is deprecated in IDOL Speech Server version 11.5 and later. Use the AfpAddTrack 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 AfptAddTrackWav
task allows you to add a new audio track to an audio fingerprint database, reading the data from an audio file and converting it into AFP features before indexing. If the database does not already exist, it is created by adding the track.
The AfptAddTrackWav
task uses templates as opposed to landmarks, which improves robustness to audio mismatches at the cost of scaleability.
Parameter | Description | Required |
---|---|---|
Type | The task name. Set to AfptAddTrackWav . |
Yes |
AfpDb | The audio fingerprint database (if it is defined in the configuration file). | See Comments |
File | The name of the audio file to index. | 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. If this directory does not already exist, manually create it before sending the action. If the database does not yet exist, IDOL Speech Server creates the database in this directory. |
See Comments |
Rnd | A window size within which a random offset shift is calculated. | |
Sfreq | The sample frequency of the audio file to process. | |
Tag | The tag associated with the track being added. | Yes |
The database type for this template-based audio fingerprinting task is fptdb
(as opposed to fpdb
for landmark-based audio fingerprinting).
http://localhost:15000/action=AddTask&Type=AfptAddTrackWav&File=C:\Data\Jingle.wav&Tag=MyCompanyJingle&PackDir=C:\resources&Pack=Adverts
This action uses template-based matching to index the audio file Jingle.wav
into the Adverts
database. If the Adverts
database does not already exist, IDOL Speech Server creates it. If the clip is subsequently identified in an audio file, IDOL Speech Server identifies it using the tag MyCompanyJingle
.