Skip to content

Struct ns_mfcc_cfg_t

ClassList > ns_mfcc_cfg_t

Config and state for MFCC calculator.

  • #include <ns_audio_mfcc.h>

Public Attributes

Type Name
const ns_core_api_t * api
API prefix.
uint8_t * arena
Pointer to arena (must be allocated by caller)
ns_fbanks_cfg_t fbc
Filterbank config (set internally)
uint32_t frame_len
Frame length.
uint32_t frame_len_ms
Not used.
uint32_t frame_len_pow2
Frame length to nearest power of 2.
uint32_t frame_shift_ms
Not used.
uint32_t high_freq
High frequency cutoff.
uint32_t low_freq
Low frequency cutoff.
float * mfccBuffer
pointer to MFCC buffer (set internally)
float * mfccDCTMatrix
pointer to MFCC DCT matrix (set internally)
float * mfccEnergies
pointer to MFCC energies (set internally)
float * mfccFrame
pointer to MFCC frame (set internally)
float * mfccWindowFunction
pointer to MFCC window function (set internally)
uint32_t num_coeffs
Number of MFCC coefficients.
uint32_t num_dec_bits
Number of decimation bits.
uint32_t num_fbank_bins
Number of filterbank bins.
uint32_t num_frames
Number of frames.
uint32_t sample_frequency
Sample frequency of audio data.

Public Attributes Documentation

variable api

const ns_core_api_t* ns_mfcc_cfg_t::api;

variable arena

uint8_t* ns_mfcc_cfg_t::arena;

variable fbc

ns_fbanks_cfg_t ns_mfcc_cfg_t::fbc;

variable frame_len

uint32_t ns_mfcc_cfg_t::frame_len;

variable frame_len_ms

uint32_t ns_mfcc_cfg_t::frame_len_ms;

variable frame_len_pow2

uint32_t ns_mfcc_cfg_t::frame_len_pow2;

variable frame_shift_ms

uint32_t ns_mfcc_cfg_t::frame_shift_ms;

variable high_freq

uint32_t ns_mfcc_cfg_t::high_freq;

variable low_freq

uint32_t ns_mfcc_cfg_t::low_freq;

variable mfccBuffer

float* ns_mfcc_cfg_t::mfccBuffer;

variable mfccDCTMatrix

float* ns_mfcc_cfg_t::mfccDCTMatrix;

variable mfccEnergies

float* ns_mfcc_cfg_t::mfccEnergies;

variable mfccFrame

float* ns_mfcc_cfg_t::mfccFrame;

variable mfccWindowFunction

float* ns_mfcc_cfg_t::mfccWindowFunction;

variable num_coeffs

uint32_t ns_mfcc_cfg_t::num_coeffs;

variable num_dec_bits

uint32_t ns_mfcc_cfg_t::num_dec_bits;

variable num_fbank_bins

uint32_t ns_mfcc_cfg_t::num_fbank_bins;

variable num_frames

uint32_t ns_mfcc_cfg_t::num_frames;

variable sample_frequency

uint32_t ns_mfcc_cfg_t::sample_frequency;

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-audio/includes-api/ns_audio_mfcc.h