SF_Impulse_Generator

Sonic Flow Blocks Reference Guide

SF_Impulse_Generator (const char* name = 0);

This is the constructor of a SF_Impulse_Generator block. Following attributes of the class are specified in the constructor:

virtual ~SF_Impulse_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. Only the very first output sample of the simulation gets value one, all the outhers get value zero.

The finish does nothing.

enum Output_Indices {Y};


Last modified: Wed Dec 2 13:28:47 1998
jarno.seppanen@cs.tut.fi
Audio Research Group