mediaLib Library Functions mlib_SignalMelCepstralInit_S16(3MLIB)
NAME
mlib_SignalMelCepstralInit_S16,
mlib_SignalMelCepstralInit_F32 - initialization for cepstral
analysis in mel frequency scaleSYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
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 alloca-
tion and global initialization. Per function call initiali-
zation 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 fre-
quency 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.SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlib_SignalMelCepstralInit_S16(3MLIB)
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 cep-
stral 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 attri-
butes:____________________________________________________________
| 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)
SunOS 5.11 Last change: 2 Mar 2007 2