1mlib_SignalMelCepstralInit_mSe1d6i(a3LMiLbIBL)ibrarymlFiubn_cStiigonnaslMelCepstralInit_S16(3MLIB)
2
3
4
6 mlib_SignalMelCepstralInit_S16, mlib_SignalMelCepstralInit_F32 - ini‐
7 tialization for cepstral analysis in mel frequency scale
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMelCepstralInit_S16(void *state, mlib_s32 nlinear,
14 mlib_s32 nmel, mlib_f32 melbgn, mlib_f32 melend, mlib_f32 meldiv,
15 mlib_s32 order);
16
17
18 mlib_status mlib_SignalMelCepstralInit_F32(void *state, mlib_s32 nlinear,
19 mlib_s32 nmel, mlib_f32 melbgn, mlib_f32 melend, mlib_f32 meldiv,
20 mlib_s32 order);
21
22
24 Each of these functions initializes the internal state structure for
25 cepstral analysis in mel frequency scale.
26
27
28 The init function performs internal state structure allocation and
29 global initialization. Per function call initialization is done in each
30 function, so the same internal state structure can be reused for multi‐
31 plefunction calls.
32
34 Each of the functions takes the following arguments:
35
36 state Pointer to the internal state structure.
37
38
39 nlinear The number of band pass filters in linear frequency scale.
40
41
42 nmel The number of band pass filters in mel frequency scale.
43
44
45 melbgn The begin radian frequency of the mel scale filter bank
46 defined in linear frequency scale, where 0 ≤ melbgn < melend
47 ≤ PI, melbgn is ignored if nlinear = 0.
48
49
50 melend The end radian frequency of the mel scale filter bank
51 defined in linear frequency scale, where 0 ≤ melbgn < melend
52 ≤ PI.
53
54
55 meldiv The dividing factor in linear to mel scale conversion, lin‐
56 ear scale is measured in radians, with PI corresponding to
57 half the sampling rate.
58
59
60 order The order of the input signal vector and the cepstral coef‐
61 ficients, where length = 2**order.
62
63
65 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
66 returns MLIB_FAILURE.
67
69 See attributes(5) for descriptions of the following attributes:
70
71
72
73
74 ┌─────────────────────────────┬─────────────────────────────┐
75 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │Interface Stability │Committed │
78 ├─────────────────────────────┼─────────────────────────────┤
79 │MT-Level │MT-Safe │
80 └─────────────────────────────┴─────────────────────────────┘
81
83 mlib_SignalMelCepstral_S16(3MLIB), mlib_SignalMelCepstral_F32(3MLIB),
84 mlib_SignalMelCepstral_S16_Adp(3MLIB), mlib_SignalMelCepstral‐
85 Free_S16(3MLIB), mlib_SignalMelCepstralFree_F32(3MLIB), attributes(5)
86
87
88
89SunOS 5.11 2 Mar 20m0l7ib_SignalMelCepstralInit_S16(3MLIB)