Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

speech.h

Go to the documentation of this file.
00001 
00028 /*
00029  * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University
00030  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00031  * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology, Nagoya Institute of Technology
00032  * All rights reserved
00033  */
00034 
00035 /* speech input limitation */
00036 #ifndef __SENT_SPEECH__
00037 #define __SENT_SPEECH__
00038 
00039 #include <sent/adin.h>
00040 
00049 #define MAXSEQNUM     150
00050 
00064 #define MAXSPEECHLEN  320000
00065 
00083 #define OUTPROB_CACHE_PERIOD 100
00084 
00086 #define period2freq(A)  (10000000.0 / (float)(A))
00087 
00088 #define freq2period(A)  (10000000.0 / (float)(A))
00089 
00090 /* for anlz/wrsamp.c */
00091 int wrsamp(int fd, SP16 *buf, int len);
00092 
00093 /* for anlz/wrwav.c */
00094 FILE *wrwav_open(char *filename, int sfreq);
00095 boolean wrwav_data(FILE *fp, SP16 *buf, int len);
00096 boolean wrwav_close(FILE *fp);
00097 
00098 /* for an;z/strip.c */
00099 int strip_zero(SP16 a[], int len);
00100 
00101 #endif /* __SENT_SPEECH__ */

Generated on Tue Mar 28 16:17:42 2006 for Julius by  doxygen 1.4.2