libsent/include/sent/speech.h

Go to the documentation of this file.
00001 
00029 /*
00030  * Copyright (c) 1991-2007 Kawahara Lab., Kyoto University
00031  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00032  * Copyright (c) 2005-2007 Julius project team, Nagoya Institute of Technology
00033  * All rights reserved
00034  */
00035 
00036 /* speech input limitation */
00037 #ifndef __SENT_SPEECH__
00038 #define __SENT_SPEECH__
00039 
00040 #include <sent/adin.h>
00041 
00050 #define MAXSEQNUM     150
00051 
00065 #define MAXSPEECHLEN  320000
00066 
00079 #define INPUT_DELAY_SEC  8
00080 
00098 #define OUTPROB_CACHE_PERIOD 100
00099 
00101 #define period2freq(A)  (10000000.0 / (float)(A))
00103 #define freq2period(A)  (10000000.0 / (float)(A))
00104 
00105 /* for anlz/wrsamp.c */
00106 int wrsamp(int fd, SP16 *buf, int len);
00107 
00108 /* for anlz/wrwav.c */
00109 FILE *wrwav_open(char *filename, int sfreq);
00110 boolean wrwav_data(FILE *fp, SP16 *buf, int len);
00111 boolean wrwav_close(FILE *fp);
00112 
00113 /* for an;z/strip.c */
00114 int strip_zero(SP16 a[], int len);
00115 
00116 #endif /* __SENT_SPEECH__ */

Generated on Tue Dec 18 15:59:54 2007 for Julius by  doxygen 1.5.4