XCORE SDK
XCORE Software Development Kit
Classes | Macros
NS API structure definitions

Classes

struct  ns_state_t
 NS state structure. More...
 

Macros

#define NS_FRAME_ADVANCE   (240)
 Length of the frame of data on which the NS will operate.
 
#define NS_PROC_FRAME_LENGTH   (512)
 
#define NS_PROC_FRAME_BINS   ((NS_PROC_FRAME_LENGTH / 2) + 1)
 
#define NS_INT_EXP   (-31)
 
#define NS_WINDOW_LENGTH   (480)
 

Detailed Description

Macro Definition Documentation

◆ NS_INT_EXP

#define NS_INT_EXP   (-31)

The exponent used internally to keep q1.31 format.

◆ NS_PROC_FRAME_BINS

#define NS_PROC_FRAME_BINS   ((NS_PROC_FRAME_LENGTH / 2) + 1)

Number of bins of spectrum data computed when doing a DFT of a NS_PROC_FRAME_LENGTH length time domain vector. The NS_PROC_FRAME_BINS spectrum values represent the bins from DC to Nyquist.

◆ NS_PROC_FRAME_LENGTH

#define NS_PROC_FRAME_LENGTH   (512)

Time domain samples block length used internally.

◆ NS_WINDOW_LENGTH

#define NS_WINDOW_LENGTH   (480)

The length of the window applyed in time domain