libsent/include/sent/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
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 
00078 #define INPUT_DELAY_SEC  8
00079 
00097 #define OUTPROB_CACHE_PERIOD 100
00098 
00100 #define period2freq(A)  (10000000.0 / (float)(A))
00102 #define freq2period(A)  (10000000.0 / (float)(A))
00103 
00104 /* for anlz/wrsamp.c */
00105 int wrsamp(int fd, SP16 *buf, int len);
00106 
00107 /* for anlz/wrwav.c */
00108 FILE *wrwav_open(char *filename, int sfreq);
00109 boolean wrwav_data(FILE *fp, SP16 *buf, int len);
00110 boolean wrwav_close(FILE *fp);
00111 
00112 /* for an;z/strip.c */
00113 int strip_zero(SP16 a[], int len);
00114 
00115 #endif /* __SENT_SPEECH__ */

Generated on Tue Dec 26 12:53:22 2006 for Julian by  doxygen 1.5.0