Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MonoFFTScope Class Reference

#include <plugin.h>

Inheritance diagram for MonoFFTScope::

FFTScope Visualization List of all members.

Public Methods

 MonoFFTScope (int timeout=250, int pid=0)
virtual ~MonoFFTScope ()
virtual void scopeEvent (float *data, int len)
void scopeData (std::vector< float > *&data)
virtual void timeout ()
virtual int bands () const
virtual void setBands (float f)

Constructor & Destructor Documentation

MonoFFTScope::MonoFFTScope int timeout = 250,
int pid = 0
 

virtual MonoFFTScope::~MonoFFTScope [virtual]
 


Member Function Documentation

virtual int MonoFFTScope::bands const [virtual]
 

the "width" of each scopeEvent

Reimplemented from FFTScope.

void MonoFFTScope::scopeData std::vector< float > *& data
 

get the current data pass a vector<float>*, this will do the rest. do not allocate it beforehand. you must then delete the vectors

Returns:
the amount of elements for both left and right

virtual void MonoFFTScope::scopeEvent float * data,
int len
[inline, virtual]
 

called according to the timeout the float contains the data, with len items you override this yourself

virtual void MonoFFTScope::setBands float f [virtual]
 

set the width combiner value. in theory, a value of 1.0 should give you exactly 1024 samples, greater values will decrease the amount quite rapidly. by default, 1.1 is used, which gives 50. You'll have to tweak this manually.

This will only return valid responses for values between 10 and 1024

Reimplemented from FFTScope.

virtual void MonoFFTScope::timeout [virtual]
 

reimplemented from class Visualization, you should never need to reimplement this yourself

Reimplemented from Visualization.


The documentation for this class was generated from the following file:
Generated at Mon Apr 1 11:45:02 2002 for noatun by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001