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

FFTScope Class Reference

#include <plugin.h>

Inheritance diagram for FFTScope:

Visualization MonoFFTScope StereoFFTScope List of all members.

Public Member Functions

 FFTScope (int interval, int pid=0)
virtual int bands () const=0
virtual void setBands (float n)=0

Static Public Member Functions

float magic (int bands)

Constructor & Destructor Documentation

FFTScope::FFTScope int    interval,
int    pid = 0
 


Member Function Documentation

virtual int FFTScope::bands   const [pure virtual]
 

the "width" of each scopeEvent

Implemented in StereoFFTScope, and MonoFFTScope.

float FFTScope::magic int    bands [static]
 

returns the magic number that you can give to "setBands". For example:

setBands(magic(50)); bands()==50

This is a potentially slower function, but never more than a few milliseconds

virtual void FFTScope::setBands float    n [pure 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

Implemented in StereoFFTScope, and MonoFFTScope.


The documentation for this class was generated from the following file:
Generated on Sat May 24 15:10:28 2003 for Noatun by doxygen1.3-rc3