Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_signalsinewaveinit_f32(3mlib) [sunos man page]

mlib_SignalSineWaveInit_F32(3MLIB)			    mediaLib Library Functions				mlib_SignalSineWaveInit_F32(3MLIB)

NAME
mlib_SignalSineWaveInit_F32 - sine wave generation SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalSineWaveInit_F32(void **state, mlib_f32 mag, mlib_f32 freq, mlib_f32 phase); DESCRIPTION
The mlib_SignalSineWaveInit_F32() function allocates memory for an internal state structure and converts the parameters of the wave to an internal representation. PARAMETERS
The function takes the following arguments: state Internal state structure. mag Magnitude of sine wave to be generated, in Q15 format. freq Angular frequency of the sine wave to be generated, measured in radians per sample. phase Start phase of the sine wave to be generated, measured in radians. 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalSineWaveInit_F32(3MLIB)

Check Out this Related Man Page

mlib_SignalSineWave_F32(3MLIB)				    mediaLib Library Functions				    mlib_SignalSineWave_F32(3MLIB)

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

4 More Discussions You Might Find Interesting

1. Programming

about wave file integrating.

Now I have two wave file(*.wav) at Tru64 Unix machine. I want to make a new wave file including the two wave file. how I should finish this programmer. If you know, can you give me the format of the wave file(*.wav) and Sun au file(*.au). Thank you. (1 Reply)
Discussion started by: livic
1 Replies

2. What is on Your Mind?

another whats on my mind!!! - winter waves

for anyone who surfs the northeast: why can't we have more frequent wave forming winds (bigger low pressure systems) in the summer?! i'm tired of putting on 100lbs of wet suit and surfing awesome waves. i'd rather put on no wet suit and surf awesome waves. :) damn the bermuda high!! anyone... (1 Reply)
Discussion started by: pupp
1 Replies

3. Programming

Error running FORTRAN code

Hi, I am new to this forum and do not know whether this is the appropriate place to post this question. Anyway am trying my luck. I have a fortran program swanhcat.ftn, which is part of a wave modelling system. There is also a file hcat.nml which is required to run this program. The program's... (9 Replies)
Discussion started by: sandhyakg
9 Replies

4. Shell Programming and Scripting

Reoccuring peak values in large data file and print the line..

Hi i have some large data files that contain several fields and rows the data in a field have a numeric value that is in a sine wave pattern what i would like todo is locate each peak and pick the highest value and print that complete line. the data looks something like this it is field nr4 which... (4 Replies)
Discussion started by: ninjaunx
4 Replies