Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_signalgaussnoiseinit_s16(3mlib) [opensolaris man page]

mlib_SignalGaussNoiseInit_S16(3MLIB)			    mediaLib Library Functions			      mlib_SignalGaussNoiseInit_S16(3MLIB)

NAME
mlib_SignalGaussNoiseInit_S16 - Gaussian noise generation SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalGaussNoiseInit_S16(void **state, mlib_s16 mag, mlib_f32 mean, mlib_f32 stddev, mlib_s16 seed); DESCRIPTION
The mlib_SignalGaussNoiseInit_S16() function allocates memory for an internal state structure and converts the parameters into an internal representation. PARAMETERS
The function takes the following arguments: state Internal state structure. mag Magnitude of the Gaussian noise to be generated, in Q15 format. mean Mean of the Gaussian noise. stddev Standard deviation of the Gaussian noise. seed Seed value for the pseudorandom number generator. RETURN VALUES
The function 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 ALSO
mlib_SignalGaussNoise_S16(3MLIB), mlib_SignalGaussNoiseFree_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalGaussNoiseInit_S16(3MLIB)

Check Out this Related Man Page

mlib_SignalGaussNoise_S16(3MLIB)			    mediaLib Library Functions				  mlib_SignalGaussNoise_S16(3MLIB)

NAME
mlib_SignalGaussNoise_S16 - Gaussian noise generation SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalGaussNoise_S16(mlib_s16 *gnoise, void *state, mlib_s32 n); DESCRIPTION
The mlib_SignalGaussNoise_S16() function generates one packet of Gaussian noise and updates the internal state. PARAMETERS
The function takes the following arguments: gnoise Generated Gaussian noise array. state Internal state structure. n Length of the generated Gaussian wave array in number of samples. RETURN VALUES
The function 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 ALSO
mlib_SignalGaussNoiseFree_S16(3MLIB), mlib_SignalGaussNoiseInit_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalGaussNoise_S16(3MLIB)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to get the value of a numerical expression

Hi, All, I want to calculate a specific value of a Gaussian distribution, say the mean is a=3, variance is b=5, the indepentent variable is x=2, how could I get the y which is the Gaussian distribution value of x. Thanks, Jenny (1 Reply)
Discussion started by: Jenny.palmy
1 Replies

2. Shell Programming and Scripting

How to insert gaussian noise to a data with an order with awk?

Hello everybody, My problem is inserting gaussian noise to a file containing data, that is, add every single noise to the number after every 6 character. here is my data 0910 1 2048 32.38 40 20.88 28 35.53 9.62 0.00 MSDMP0 1.790MSDMS1 2.840KCTXP2 4.400KRCMP0 4.600BOZMP0 5.640BOZMS2... (26 Replies)
Discussion started by: miriammiriam
26 Replies

3. OS X (Apple)

A small OSX centric app' to help a newborn sleep...

shush.sh This is a noise generator for newborn babies to listen to sooth them to sleep. See more about it here:- White noise machine - Wikipedia It is invoked as:- Usage:- shush.sh <time in seconds from 18 to 2700> ]<CR> 'Sensitivity' defaults to edium if omitted. It has been... (0 Replies)
Discussion started by: wisecracker
0 Replies

4. UNIX for Beginners Questions & Answers

Inserting a blank line at the end of a .txt file?

Hi there, I am having this problem: a) I am uploading a txt file from windows (notepad) with some Gaussian 09 command lines; b) Gaussian needs in certain command files, that those files have a blank line at the end of the file! c) I open the command file with vi and no blank line at the of... (2 Replies)
Discussion started by: luismga
2 Replies