mediaLib Library Functions mlibSignalMelCepstralInitS16(3MLIB)
NAME
mlibSignalMelCepstralInitS16,
mlibSignalMelCepstralInitF32 - initialization for cepstral
analysis in mel frequency scale
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibSignalMelCepstralInitS16(void *state, mlibs32 nlinear,
mlibs32 nmel, mlibf32 melbgn, mlibf32 melend, mlibf32 meldiv,
mlibs32 order);
mlibstatus mlibSignalMelCepstralInitF32(void *state, mlibs32 nlinear,
mlibs32 nmel, mlibf32 melbgn, mlibf32 melend, mlibf32 meldiv,
mlibs32 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 mlibSignalMelCepstralInitS16(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 MLIBSUCES if successful.
Otherwise it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibSignalMelCepstralS16(3MLIB),
mlibSignalMelCepstralF32(3MLIB),
mlibSignalMelCepstralS16Adp(3MLIB),
mlibSignalMelCepstralFreeS16(3MLIB),
mlibSignalMelCepstralFreeF32(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|