Main Page   Class Hierarchy   Compound List   File List   Compound Members  

visage|SDK VisageLink

VisageLink demonstrates the following capabilities of visage|SDK:

To use the application:

In general, the code works as follows. A base animation track (headmotion_short.fba) is loaded and played in a loop by an FAPlayer. This track contains simple head motion. A Visagesapi5tts object is attached as an FbaAction to the FAPlayer. Therefore, when Visagesapi5tts::speak() method is called, the FAPlayer will play the animation generated by Visagesapi5tts. Visagesapi5tts also calls the Visagesapi5ttsObserver callback functions Notify() and BookMark(). These functions are implemented in CVisageLinkDoc class, which is an implementation of Visagesapi5ttsObserver. In the BookMark() callback function we receive the notification of bookmarks inserted into the text. The BookMark() function is called when the bookmark is encountered, and this mechanism allows us to insert animation actions at the desired time in the speech, e.g. just before a particular word is pronounced. This mechanism is used to trigger basic expressions inserted into the text as bookmarks.

All callbacks are implemented in the CVisageLinkDoc class, which implements the Visagesapi5ttsObserver abstract class.

This example has initially been generated using the MS Visual C++ 6.0 AppWizard and most of it has been generated automatically. Please refer to the ReadMe file generated by the AppWizard for the general structure of the program. The code also contains plenty of comments generated by the AppWizard.

*****************IMPORTANT***********************************

This project requires the installation of the Microsoft Speech SDK 5.1, and setting the include and library paths accordingly. To download Microsoft Speech SDK 5.1 go to http://www.microsoft.com/downloads and search for Speech SDK, version 5.1; download SpeechSDK51.exe.

*************************************************************

The specific classes and methods that demonstrate visage|SDK are:


Generated on Wed Nov 8 16:13:38 2006 for VisageLink by doxygen 1.3.1