IP_Talk_Speak_Fleely

所属分类:Windows编程
开发工具:C/C++
文件大小:733KB
下载次数:86
上传日期:2008-05-07 11:51:34
上 传 者suifeng169
说明:  一款优秀的IP网络语音通讯软件--Speak Fleely,为开源软件,全部用C语言实现
(A good IP network voice communications software Speak Fleely, for open-source software, all using C language)

文件列表:
3525346465\BLOWFISH\ASM (0, 1999-04-05)
3525346465\BLOWFISH\BFTEST (0, 1999-04-05)
3525346465\HELP\BMP32 (0, 1999-04-05)
3525346465\GSM\COPYRITE (694, 1998-10-14)
3525346465\ADPCM\COPYRITE (1112, 1998-10-14)
3525346465\BLOWFISH\COPYRITE (2384, 1999-03-02)
3525346465\LIBDES\COPYRITE (2693, 1998-10-14)
3525346465\ADPCM\DEBUG (0, 1999-04-05)
3525346465\ADPCM (0, 1999-04-05)
3525346465\BLOWFISH\BFTEST\DEBUG (0, 1999-04-05)
3525346465\BLOWFISH\DEBUG (0, 1999-04-05)
3525346465\BLOWFISH (0, 1999-04-05)
3525346465\DES\DEBUG (0, 1999-04-05)
3525346465\DESTEST\DEBUG (0, 1999-04-05)
3525346465\GSM\DEBUG (0, 1999-04-05)
3525346465\IDEA\DEBUG (0, 1999-04-05)
3525346465\LIBDES\DEBUG (0, 1999-04-05)
3525346465\LPC\DEBUG (0, 1999-04-05)
3525346465\LPC10\DEBUG (0, 1999-04-05)
3525346465\MD5\DEBUG (0, 1999-04-05)
3525346465\DES (0, 1999-04-05)
3525346465\DESTEST (0, 1999-04-05)
3525346465\LIBDES\DOIP (877, 1998-10-14)
3525346465\LIBDES\DOPC1 (2216, 1998-10-14)
3525346465\LIBDES\DOPC2 (1672, 1998-10-14)
3525346465\LIBDES\FILES (3844, 1998-10-14)
3525346465\LIBDES\GNUMAKEF (953, 1998-10-14)
3525346465\GSM\INC (0, 1999-04-05)
3525346465\GSM (0, 1999-04-05)
3525346465\IDEA (0, 1999-04-05)
3525346465\LIBDES\IMAKEFIL (1072, 1998-10-14)
3525346465\BLOWFISH\INSTALL (500, 1999-03-02)
3525346465\LIBDES\INSTALL (2433, 1998-10-14)
3525346465\LIBDES\KERBEROS (1550, 1998-10-14)
3525346465\LIBDES (0, 1999-04-05)
3525346465\LPC (0, 1999-04-05)
3525346465\LPC10 (0, 1999-04-05)
3525346465\ADPCM\MAKEFILE (242, 1998-10-14)
3525346465\BLOWFISH\MAKEFILE (4758, 1999-03-02)
3525346465\LIBDES\MAKEFILE (4979, 1998-10-14)
... ...

Included in this distribution is the lpc.c module, a header file for the routines in it called lpc.h, and a small test program which illustrates a typical set of calls to it called lpctest.c. To compile lpctest.c, you need to link it with lpc.o and the math library. It will take sound samples from stdin, compress & decompress them with LPC, and output the resulting samples to stdout. The subroutines in lpc.c are as follows: The lpc_init routine specifies the length of a single frame to be processed by the other LPC subroutines. This number is expressed in samples, and lpc_init should be called before anything else. It also resets all other state kept between frames, and can be called again when there's a break in what it being encoded or decoded (such as between talk spurts): int lpc_init(int framelen); The lpc_analyze routine is used to convert a group of samples into an LPC frame. State is kept between calls to smooth out transitions between frames, so this routine should be called with frames in order: void lpc_analyze(unsigned char *buf, lpcparams_t *params); The lpc_synthesize routine is used to convert an LPC frame back into a group of samples. Also, a speed parameter may be specified to speed up or slow down the speech (without altering the pitch). The length of the buffer returned depends on the speed. If speed==1.0, it will be the same as the length passed to the lpc_init call. If speed==2.0, it will be half that. The call to lpc_synthesize returns this length. Note that the speed parameter is a float -- passing an integer will cause unpredictable results: int lpc_synthesize(lpcparams_t *params, float speed, unsigned char *buf);

近期下载者

相关文件


收藏者