GNU Radio 3.6.2git-128-gdbc7a4c0 C++ API
defines.h File Reference

Go to the source code of this file.

Classes

struct  MODEL
struct  lsp_codebook

Defines

#define N   80 /* number of samples per frame */
#define MAX_AMP   80 /* maximum number of harmonics */
#define PI   3.141592654 /* mathematical constant */
#define TWO_PI   6.283185307 /* mathematical constant */
#define FS   8000 /* sample rate in Hz */
#define MAX_STR   256 /* maximum string size */
#define NW   279 /* analysis window size */
#define FFT_ENC   512 /* size of FFT used for encoder */
#define FFT_DEC   512 /* size of FFT used in decoder */
#define TW   40 /* Trapezoidal synthesis window overlap */
#define V_THRESH   6.0 /* voicing threshold in dB */
#define LPC_MAX   20 /* maximum LPC order */
#define LPC_ORD   10 /* phase modelling LPC order */
#define M   320 /* pitch analysis frame size */
#define P_MIN   20 /* minimum pitch */
#define P_MAX   160 /* maximum pitch */

Variables

struct lsp_codebook lsp_cb []
struct lsp_codebook lsp_cbd []
struct lsp_codebook lsp_cbdvq []

Define Documentation

#define FFT_DEC   512 /* size of FFT used in decoder */
#define FFT_ENC   512 /* size of FFT used for encoder */
#define FS   8000 /* sample rate in Hz */
#define LPC_MAX   20 /* maximum LPC order */
#define LPC_ORD   10 /* phase modelling LPC order */
#define M   320 /* pitch analysis frame size */
#define MAX_AMP   80 /* maximum number of harmonics */
#define MAX_STR   256 /* maximum string size */
#define N   80 /* number of samples per frame */
#define NW   279 /* analysis window size */
#define P_MAX   160 /* maximum pitch */
#define P_MIN   20 /* minimum pitch */
#define PI   3.141592654 /* mathematical constant */
#define TW   40 /* Trapezoidal synthesis window overlap */
#define TWO_PI   6.283185307 /* mathematical constant */
#define V_THRESH   6.0 /* voicing threshold in dB */

Variable Documentation

struct lsp_codebook lsp_cb[]