1mlib_SignalGaussNoise_S16(3mMeLdIiBa)Lib Library Funcmtliiobn_sSignalGaussNoise_S16(3MLIB)
2
3
4
6 mlib_SignalGaussNoise_S16 - Gaussian noise generation
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalGaussNoise_S16(mlib_s16 *gnoise, void *state,
13 mlib_s32 n);
14
15
17 The mlib_SignalGaussNoise_S16() function generates one packet of Gauss‐
18 ian noise and updates the internal state.
19
21 The function takes the following arguments:
22
23 gnoise Generated Gaussian noise array.
24
25
26 state Internal state structure.
27
28
29 n Length of the generated Gaussian wave array in number of sam‐
30 ples.
31
32
34 The function returns MLIB_SUCCESS if successful. Otherwise it returns
35 MLIB_FAILURE.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Interface Stability │Committed │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │MT-Level │MT-Safe │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 mlib_SignalGaussNoiseFree_S16(3MLIB), mlib_SignalGaussNoi‐
53 seInit_S16(3MLIB), attributes(5)
54
55
56
57SunOS 5.11 2 Mar 2007 mlib_SignalGaussNoise_S16(3MLIB)