man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_SignalMelCepstralInit_S16(3MLIB)

Name

mlib_SignalMelCepstralInit_S16, mlib_SignalMelCepstralInit_F32 - initialization for cepstral analysis in mel frequency scale

Synopsis

cc [ flag... ] file... –lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_SignalMelCepstralInit_S16(void *state, mlib_s32 nlinear,
     mlib_s32 nmel, mlib_f32 melbgn, mlib_f32 melend, mlib_f32 meldiv,
     mlib_s32 order);
mlib_status mlib_SignalMelCepstralInit_F32(void *state, mlib_s32 nlinear,
     mlib_s32 nmel, mlib_f32 melbgn, mlib_f32 melend, mlib_f32 meldiv,
     mlib_s32 order);

Description

Each of these functions initializes the internal state structure for cepstral analysis in mel frequency scale.

The init function performs internal state structure allocation and global initialization. Per function call initialization is done in each function, so the same internal state structure can be reused for multiplefunction calls.

Parameters

Each of the functions takes the following arguments:

state

Pointer to the internal state structure.

nlinear

The number of band pass filters in linear frequency scale.

nmel

The number of band pass filters in mel frequency scale.

melbgn

The begin radian frequency of the mel scale filter bank defined in linear frequency scale, where 0 ≤ melbgn < melend ≤ PI, melbgn is ignored if nlinear = 0.

melend

The end radian frequency of the mel scale filter bank defined in linear frequency scale, where 0 ≤ melbgn < melend ≤ PI.

meldiv

The dividing factor in linear to mel scale conversion, linear scale is measured in radians, with PI corresponding to half the sampling rate.

order

The order of the input signal vector and the cepstral coefficients, where length = 2**order.

Return Values

Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe

See also

mlib_SignalMelCepstral_S16(3MLIB), mlib_SignalMelCepstral_F32(3MLIB), mlib_SignalMelCepstral_S16_Adp(3MLIB), mlib_SignalMelCepstralFree_S16(3MLIB), mlib_SignalMelCepstralFree_F32(3MLIB), attributes(5)