| CONTACT | DEVELOPER CENTER | PARTNERS | SITEMAP
GO
Useful Links
  • Search Helpweb
    
    

Dialogic Support Helpweb

Dialogic® Diva® SDK

How to do voice activity detection (VAD)

Voice Activity Detection is done in the SDK by using the tone detection mechanism. To do this, your program should enable tones, using DivaReportTones() setting bEnable = true.

From then on, you will receive the event DivaEventToneDetected whenever the Diva Server card detects a tone on the line. Each tone detected event comes with a parameter that tells you which kind of tone was detected on the line.

For the purposes of VAD, the Diva Server card sends a special tone indication called DivaHumanSpeech. When you receive this tone indication, you know that there is speech activity on this channel, and so you can use this to set or reset timers, or record "active talker" information, or whatever your application requires.

By using this event to reset a "silence timer" in your application you can also implement silence detection, i.e. if the silence timer ever expires then you know that no "human speech" has been detected on the line for 'n' seconds.


Note that the above description assumes a Diva Server board with DSPs is being used. For information on performing silence detection without DSPs, please see the article Silence detection on a CTI board.


Feedback

Please rate the usefulness of this page:  

0 - not useful at all
1 - potentially useful
2 - quite useful
3 - very useful
4 - exactly the information I needed     

Please enter a comment about this page: