StereoFFTScope Class Reference
#include <plugin.h>
Inheritance diagram for StereoFFTScope:

Public Member Functions | |
| StereoFFTScope (int timeout=250, int pid=0) | |
| virtual void | scopeEvent (float *left, float *right, int len) |
| void | scopeData (std::vector< float > *&left, std::vector< float > *&right) |
| virtual void | timeout () |
| virtual int | bands () const |
| virtual void | setBands (float f) |
Detailed Description
An easy to use FFT scope, stereo version. You certainly want to reimplement scopeEvent()
Definition at line 208 of file plugin.h.
Member Function Documentation
|
|
the "width" of each scopeEvent Implements FFTScope. |
|
||||||||||||
|
get the current data pass two vector<float>*, this will do the rest. do not allocate it beforehand. you must then delete the vectors
|
|
||||||||||||||||
|
called according to the timeout the two floats contain the data, with |
|
|
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. |
|
|
cause a rescoping to take effect immediately Implements Visualization. |
The documentation for this class was generated from the following file:
