StereoFFTScope Class Reference
#include <plugin.h>
Inheritance diagram for StereoFFTScope:
[legend]List of all members.
Constructor & Destructor Documentation
| StereoFFTScope::StereoFFTScope |
( |
int |
timeout = 250, |
|
|
int |
pid = 0 |
|
) |
|
|
Member Function Documentation
| virtual int StereoFFTScope::bands |
( |
|
) |
const [virtual] |
|
|
|
the "width" of each scopeEvent
Implements FFTScope. |
| void StereoFFTScope::scopeData |
( |
std::vector< float > *& |
left, |
|
|
std::vector< float > *& |
right |
|
) |
|
|
|
|
get the current data pass two 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 StereoFFTScope::scopeEvent |
( |
float * |
left, |
|
|
float * |
right, |
|
|
int |
len |
|
) |
[inline, virtual] |
|
|
|
called according to the timeout the two floats contain the data, with len items you override this yourself
Definition at line 204 of file plugin.h. |
| virtual void StereoFFTScope::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
This function is a terrible hack, and we apologize for it. The values of these magic numbers do occasionally change, so you must use magic
Implements FFTScope. |
| virtual void StereoFFTScope::timeout |
( |
|
) |
[virtual] |
|
|
|
cause a rescoping to take effect immediately
Implements Visualization. |
The documentation for this class was generated from the following file:
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 22 00:20:37 2004 by
doxygen 1.3.8-20040913 written by
Dimitri van Heesch, © 1997-2003