Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

GapePowerSpectrum Class Reference

Can give a log based amplitude rather than a linear one. More...

#include <gapepowerspectrum.h>

Inheritance diagram for GapePowerSpectrum::

GapeUnit List of all members.

Public Slots

virtual void receiveTick (const GapeFloat *values, int numValues)
 Pure virtual function that all subclasses of GapeUnit must define. More...

void takeLog (bool b)

Public Methods

 GapePowerSpectrum (int fftLength)
 The consturctor. More...

virtual ~GapePowerSpectrum ()

Detailed Description

Can give a log based amplitude rather than a linear one.

Uses for graphing on a log scale

Author:
Randal Leistikow, Dave Chisholm
Since:
Beta 1.0
Version:
Last Modified Beta 1.0

Definition at line 16 of file gapepowerspectrum.h.


Constructor & Destructor Documentation

GapePowerSpectrum::GapePowerSpectrum ( int fftLength )
 

The consturctor.

Parameters:
fftLength   The fftLength to use - the GAPE_NFFT_LENGTH (2048) works well.

Definition at line 7 of file gapepowerspectrum.cpp.


Member Function Documentation

void GapePowerSpectrum::receiveTick ( const GapeFloat * values,
int numValues ) [virtual, slot]
 

Pure virtual function that all subclasses of GapeUnit must define.

This function is the primary function in the GapeUnit environment. See class documentation for more info.

Parameters:
values   pointer to samples data being sent to the function
numValues   number of floating point values pointed to by "values" (ie number of channels of audio)

Reimplemented from GapeUnit.

Definition at line 27 of file gapepowerspectrum.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Jun 21 13:28:52 2001 for GAPE by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001