mlib_SignalMelCepstralInitmediaLibILibrarmlib_SignalMelCepstralInit_S16(3MLIB)NAME
mlib_SignalMelCepstralInit_S16, mlib_SignalMelCepstralInit_F32 - ini‐
tialization 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 multi‐
plefunction 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, lin‐
ear scale is measured in radians, with PI corresponding to
half the sampling rate.
order The order of the input signal vector and the cepstral coef‐
ficients, 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 ALSOmlib_SignalMelCepstral_S16(3MLIB), mlib_SignalMelCepstral_F32(3MLIB),
mlib_SignalMelCepstral_S16_Adp(3MLIB), mlib_SignalMelCepstral‐
Free_S16(3MLIB), mlib_SignalMelCepstralFree_F32(3MLIB), attributes(5)SunOS 5.11 2 Mar 2mlib_SignalMelCepstralInit_S16(3MLIB)