91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

關于科大訊飛4.0,5.0語音庫調用的VB,VC例子。

資源截圖

代碼片段和文件信息

/****************************************************************************
main.cpp?-?Main?code?for?msmouth.

Copyright?(c)?1995-1998?by?Microsoft?Corporation

?*
?*??THIS?CODE?AND?INFORMATION?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF
?*??ANY?KIND?EITHER?EXPRESSED?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED
?*??TO?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND/OR?FITNESS?FOR
?*??A?PARTICULAR?PURPOSE.
?*
*/

#include?
#include?
#include?
#include?
#include?
#include?
#include?se.h>
#include?
#include?
#include?

#include?“speech.h“
#include?“resource.h“
#include?“paint.h“

#define??WM_UPDATESLIDERS??(WM_USER+89)

/************************************************************************
Notification?objects?*/
class?CTTSNotify?:?public?ITTSNotifySink?{
???public:
??????CTTSNotify?(void);
??????~CTTSNotify?(void);

??????//?IUnkown?members?that?delegate?to?m_punkOuter
??????//?Non-delegating?object?IUnknown
??????STDMETHODIMP?????????QueryInterface?(REFIID?LPVOID?FAR?*);
??????STDMETHODIMP_(ULONG)?AddRef(void);
??????STDMETHODIMP_(ULONG)?Release(void);

??????//?ITTSNotifySink
STDMETHOD?(AttribChanged)??(DWORD);
STDMETHOD?(AudioStart)?????(QWORD);
STDMETHOD?(AudioStop)??????(QWORD);
STDMETHOD?(Visual)?????????(QWORD?CHAR?CHAR?DWORD?PTTSMOUTH);
???};
typedef?CTTSNotify?*?PCTTSNotify;

/*?voice?text?notification?sink?*/
class?CVTxtNotify?:?public?IVTxtNotifySink?{
???public:
??????CVTxtNotify?(void);
??????~CVTxtNotify?(void);

??????//?IUnkown?members?that?delegate?to?m_punkOuter
??????//?Non-delegating?object?IUnknown
??????STDMETHODIMP?????????QueryInterface?(REFIID?LPVOID?FAR?*);
??????STDMETHODIMP_(ULONG)?AddRef(void);
??????STDMETHODIMP_(ULONG)?Release(void);

??????//?IVTxtNotifySink
STDMETHOD?(AttribChanged)??(DWORD);
STDMETHOD?(Speak)??????????(PTSTR?PTSTR?DWORD);
STDMETHOD?(SpeakingDone)???(void);
STDMETHOD?(SpeakingStarted)(void);
STDMETHOD?(Visual)?????????(WCHAR?TCHAR?DWORD?PTTSMOUTH);
???};
typedef?CVTxtNotify?*?PCVTxtNotify;

typedef?struct?{
???RECT?????rPosn;??????//?position
???BOOL?????fUseTagged;?//?TRUE?then?used?tagged
???GUID?????gMode;??????//?TTS?mode
}?MOUTHREG?*PMOUTHREG;

HINSTANCE???ghInstance?=?NULL;
HWND????????ghWndMouth?=?NULL;
MOUTHREG????gMouthReg;
RECT????????gRectClient;
TTSMOUTH????gTTSMouth?=?{0x00?0x00?0x80?0x00?0x00?0x00?0x00?0x00};

PITTSATTRIBUTES???gpITTSAttributes?=?NULL;
PITTSCENTRAL??????gpITTSCentral?=?NULL;
PIVOICETEXT???????gpIVoiceText?=?NULL;
LPUNKNOWN?????????gpIAudioUnk?=?NULL;
CTTSNotify????????gTTSNotify;
CVTxtNotify???????gVTxtNotify;
LPDIRECTSOUND?????gpDirectSound?=?NULL;
GUID??gNULL;

/********************************************************************
PaintToDC?-?Paints?the?mouth?to?a?DC

inputs
???HDC?dc
*/
void?PaintToDC?(HDC?hdc)
{
???//?Cache?&?draw?ont

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????1064960??2005-05-19?15:44??TTS?SDK\Sapi4.0\Bin\AUCodec.dll

?????文件?????204800??2003-06-21?01:34??TTS?SDK\Sapi4.0\Bin\iFlySAPI.dll

?????文件????1736802??2005-05-18?10:30??TTS?SDK\Sapi4.0\Bin\iFlyTTS.dll

?????文件????????612??2009-02-15?11:32??TTS?SDK\Sapi4.0\ce30perf.log

?????文件??????12381??2000-03-26?08:00??TTS?SDK\Sapi4.0\Include\spchtel.h

?????文件??????91326??2000-03-26?08:00??TTS?SDK\Sapi4.0\Include\spchwrap.h

?????文件?????225139??2000-03-26?08:00??TTS?SDK\Sapi4.0\Include\speech.h

?????文件???????2580??2002-09-29?10:27??TTS?SDK\Sapi4.0\readme.txt

?????文件??????24576??2000-03-26?08:00??TTS?SDK\Sapi4.0\regsapi.exe

?????文件??????19480??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vb\basictts.exe

?????文件???????4597??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vb\basictts.frm

?????文件?????????36??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vb\basictts.frx

?????文件????????140??2008-01-13?19:02??TTS?SDK\Sapi4.0\Samples\Vb\basictts.log

?????文件????????725??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vb\basictts.vbp

?????文件?????????44??2008-01-13?19:02??TTS?SDK\Sapi4.0\Samples\Vb\basictts.vbw

?????文件????????766??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\icon1.ico

?????文件??????29248??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\Main.cpp

?????文件???????7767??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\Msmouth.dsp

?????文件???????6561??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\msmouth.rc

?????文件??????19554??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\paint.cpp

?????文件????????111??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\paint.h

?????文件???????1654??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\Mouth\resource.h

?????文件????????750??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\SAPIDemos.dsw

?????文件??????58368??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\SAPIDemos.ncb

?????文件??????58880??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\SAPIDemos.opt

?????文件????????766??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\TTSSample\icon1.ico

?????文件????????766??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\TTSSample\res\Icon1.ico

?????文件???????1078??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\TTSSample\res\TTSSample.ico

?????文件????????401??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\TTSSample\res\TTSSample.rc2

?????文件????????776??2000-03-26?08:00??TTS?SDK\Sapi4.0\Samples\Vc\TTSSample\Resource.h

............此處省略148個文件信息

評論

共有 條評論