#include <sent/stddefs.h>
#include <sent/mfcc.h>
Include dependency graph for ss.c:

Go to the source code of this file.
Functions | |
| static boolean | myread (void *buf, size_t unitbyte, int unitnum, FILE *fp) |
| float * | new_SS_load_from_file (char *filename, int *slen) |
| float * | new_SS_calculate (SP16 *wave, int wavelen, Value para, int *slen) |
Definition in file ss.c.
| static boolean myread | ( | void * | buf, | |
| size_t | unitbyte, | |||
| int | unitnum, | |||
| FILE * | fp | |||
| ) | [static] |
| float* new_SS_load_from_file | ( | char * | filename, | |
| int * | slen | |||
| ) |
Load a noise spectrum from file.
| filename | [in] path name of noise spectrum file | |
| slen | [out] length of the returned buffer |
Definition at line 65 of file ss.c.
Referenced by new_wav2mfcc(), and RealTimeInit().
Compute average spectrum of audio input. This is used to estimate a noise spectrum from input samples.
| wave | [in] input audio data sequence | |
| wavelen | [in] length of above | |
| para | [in] parameter | |
| slen | [out] length of returned buffer |
Definition at line 109 of file ss.c.
Referenced by new_wav2mfcc().
1.5.0