Sonic Flow Blocks Reference Guide
The purpose of SF_Sine_Generator is to generate a sine signal of desired frequency and amplitude.
SF_Sine_Generator (const char* name = 0);
This is the constructor of a SF_Sine_Generator block. Following attributes of the class are specified in the constructor:
virtual ~SF_Sine_Generator ();
This is the destructor.
virtual void finish ();
virtual void initialize ();
virtual void execute ();
The initialize
- execute
- finish
chain of function calls is used to carry out the simulation of a block. See
SF_Block.
The initialize
does nothing specific.
The execute
carries out the actual simulation process.
Sine signal of given frequency (F
signal) is generated and
it is amplified pointwise with the A
signal.
The finish
does nothing.
enum Input_Indices {F, A};
enum Output_Indices {Y};
Last modified: Wed Dec 2 13:28:47 1998
jarno.seppanen@cs.tut.fi
Audio Research Group