53 #include <sphinxbase/sphinxbase_export.h> 110 int yin_read(
yin_t *pe, uint16 *out_period, uint16 *out_bestdiff);
SPHINXBASE_EXPORT void yin_end(yin_t *pe)
Mark the end of an utterance.
Basic type definitions used in Sphinx.
SPHINXBASE_EXPORT int yin_read(yin_t *pe, uint16 *out_period, uint16 *out_bestdiff)
Read a raw estimated pitch value from the pitch estimator.
SPHINXBASE_EXPORT void yin_free(yin_t *pe)
Free a moving-window pitch estimator.
SPHINXBASE_EXPORT void yin_start(yin_t *pe)
Start processing an utterance.
uint16 search_range
Range around best local estimate to search, in Q15.
SPHINXBASE_EXPORT yin_t * yin_init(int frame_size, float search_threshold, float search_range, int smooth_window)
Initialize moving-window pitch estimation.
SPHINXBASE_EXPORT void yin_write(yin_t *pe, int16 const *frame)
Feed a frame of data to the pitch estimator.
uint16 search_threshold
Size of analysis frame.