Marsyas  0.5.0-beta1
Public Member Functions
SpectralTransformations Class Reference

Various spectral transformations. Input and output are complex spectrums. Mainly used to demonstrate how spectral analyis works. More...

#include <SpectralTransformations.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void compress_magnitude (realvec &in, realvec &out)
void myProcess (realvec &in, realvec &out)
 Processes data.
void phaseRandomize (realvec &in, realvec &out)
void singlebin (realvec &in, realvec &out)
 SpectralTransformations (std::string name)
 SpectralTransformations (const SpectralTransformations &a)
void three_peaks (realvec &in, realvec &out)
 ~SpectralTransformations ()

Detailed Description

Various spectral transformations. Input and output are complex spectrums. Mainly used to demonstrate how spectral analyis works.

Controls:

Definition at line 38 of file SpectralTransformations.h.


Constructor & Destructor Documentation

SpectralTransformations ( std::string  name)

Definition at line 25 of file SpectralTransformations.cpp.

Definition at line 30 of file SpectralTransformations.cpp.

Definition at line 37 of file SpectralTransformations.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 42 of file SpectralTransformations.cpp.

void compress_magnitude ( realvec in,
realvec out 
)

Definition at line 109 of file SpectralTransformations.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 309 of file SpectralTransformations.cpp.

void phaseRandomize ( realvec in,
realvec out 
)

Definition at line 69 of file SpectralTransformations.cpp.

void singlebin ( realvec in,
realvec out 
)

Definition at line 258 of file SpectralTransformations.cpp.

void three_peaks ( realvec in,
realvec out 
)

Definition at line 151 of file SpectralTransformations.cpp.


The documentation for this class was generated from the following files: