Add Clips to a Database

You must add all clips to recognize to an AFP database.

To add an audio clip to an AFP database

For example:

http://localhost:13000/action=AddTask&Type=AfpAddTrackWav&File=C:\Data\Jingle.wav&Tag=MyCompanyJingle&PackDir=C:\resources&Pack=Adverts

This action uses port 13000 to instruct HPE IDOL Speech Server, which is located on the local machine, to index the audio clip Jingle.wav into the Adverts database. If the Adverts database does not already exist, HPE IDOL Speech Server creates it. If the clip is subsequently identified in an audio file, HPE IDOL Speech Server identifies it with the tag MyCompanyJingle.

This action returns a token. You can use the token to check the task status. See Check the Status of a Task.

recommends that you optimize the database after you add new clips (see Optimize a Database). The optimizing procedure improves the database lookup functions.

To add a streamed audio track to the database, use the AfpAddTrackStream task. For more details, see the HPE IDOL Speech Server Reference.


_HP_HTML5_bannerTitle.htm