vsay.h

来自「MPEG4实现的软件代码」· C头文件 代码 · 共 72 行

H
72
字号
//
//	VSay.H
//
//		Created	by	Myeong-Wuk
//				at	1995. 10. 6.
//		
//		Modified by Hang-Seop Lee
//				at 1996.6
//
//	This module playes the voice for korean text by voice synthesis.
//
//	Copyright (C) 1995 ETRI.
//	All right reserved.
//
//	Including Functions :
//		- VSayInit
//		- VSayStr
//		- VSayUninit
//		- SpeechSynthInit
//		- SpeechSynthString


/* ========== Functions Declaration ========== */

/* ---------- VSayInit ---------- */
//
//	VSayInit()
//
//	The VSayInit function initializes some environment variables
//		and calles some initialization functions.
//

int MPEG4_Init();

/* ---------- VSayStr ---------- */
//
//	VSayStr(in char* string)
//		- string : a input korean text string
//
//	The VSayStr function sayes the given string
//

void VSayStr(char*);
void VSayFile(char*);


/* ---------- VSayUninit ---------- */
//
//	VSayUninit()
//
//	The VSayUninit function uninitializes some variables
//		and calles some uninitialization functions.
//

void VSayUninit();

//------- PSOLA2 Synthersizer Function -------//

extern void SpeechSynthInit();
extern void SpeechSynthString( char str[] );

//------- Sound I/O 包访 function --------//
extern BOOL SoundOutPause();
extern BOOL SoundOutRestart();
extern BOOL SoundOutStop();
extern int SoundPlay(unsigned char *buf, int n_buf);
extern BOOL SoundOutInit();
extern BOOL SoundOutUninit();

void MPEG4_TTS_Play();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?