All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
mybeat::FFT Class Reference

#include <fft.h>

List of all members.

Public Member Functions

 FFT (uint16_t m_size)
double get_element_i (uint16_t pos)
double get_element_r (uint16_t pos)
double get_magnitude (uint16_t pos)
double get_magnitude_max ()
void process_data ()
void setSoundBuffer (SoundBuffer *value)
 ~FFT ()

Private Attributes

double * m_inputSignal
double * m_magnitude
double m_maxMagnitude
fftw_complex * m_outputSignal
uint16_t m_size
SoundBufferm_SoundBuffer
fftw_plan plan_forward

Detailed Description

Definition at line 87 of file fft.h.


Constructor & Destructor Documentation

mybeat::FFT::FFT ( uint16_t  m_size = 0)

Definition at line 61 of file fft.cpp.

Definition at line 75 of file fft.cpp.


Member Function Documentation

double mybeat::FFT::get_element_i ( uint16_t  pos)

Definition at line 135 of file fft.cpp.

double mybeat::FFT::get_element_r ( uint16_t  pos)

Definition at line 142 of file fft.cpp.

double mybeat::FFT::get_magnitude ( uint16_t  pos)

Definition at line 149 of file fft.cpp.

Definition at line 156 of file fft.cpp.

Definition at line 82 of file fft.cpp.

void mybeat::FFT::setSoundBuffer ( SoundBuffer value) [inline]

Definition at line 94 of file fft.h.


Member Data Documentation

double* mybeat::FFT::m_inputSignal [private]

Definition at line 112 of file fft.h.

double* mybeat::FFT::m_magnitude [private]

Definition at line 114 of file fft.h.

double mybeat::FFT::m_maxMagnitude [private]

Definition at line 116 of file fft.h.

fftw_complex* mybeat::FFT::m_outputSignal [private]

Definition at line 118 of file fft.h.

uint16_t mybeat::FFT::m_size [private]

Definition at line 110 of file fft.h.

Definition at line 108 of file fft.h.

fftw_plan mybeat::FFT::plan_forward [private]

Definition at line 120 of file fft.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 13:39:37