csl::Impulse Class Reference

#include <Oscillator.h>

Inheritance diagram for csl::Impulse:

csl::Oscillator csl::UnitGenerator csl::Phased csl::Scalable csl::Model csl::Controllable csl::Controllable

List of all members.

Public Member Functions

 Impulse ()
 Impulse (float delay)
 Impulse (float frequency, float ampl)
 Impulse (float frequency, float ampl, float offset)
 Impulse (float frequency, float ampl, float offset, float phase)
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)

Protected Attributes

int mCounter


Detailed Description

Impulse -- oscillator class (this create a single impulse delayed by 'delay' samples)

Constructor & Destructor Documentation

Impulse::Impulse (  ) 

References mCounter.

Impulse::Impulse ( float  delay  ) 

References mCounter.

Impulse::Impulse ( float  frequency,
float  ampl 
)

References mCounter.

Impulse::Impulse ( float  frequency,
float  ampl,
float  offset 
)

References mCounter.

Impulse::Impulse ( float  frequency,
float  ampl,
float  offset,
float  phase 
)

References mCounter.


Member Function Documentation

void Impulse::nextBuffer ( Buffer outputBuffer,
unsigned  outBufNum 
) throw (CException) [virtual]

really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times

Reimplemented from csl::UnitGenerator.

References DECLARE_PHASED_CONTROLS, DECLARE_SCALABLE_CONTROLS, testkiss::j, LOAD_PHASED_CONTROLS, LOAD_SCALABLE_CONTROLS, and csl::logMsg().


Member Data Documentation

int csl::Impulse::mCounter [protected]

Referenced by Impulse().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8