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

#include <beatanalyser.h>

List of all members.

Public Member Functions

 BeatAnalyser (uint16_t m_bandCount, uint32_t m_sampleRate, uint16_t m_recordSize)
BandgetBand (uint16_t pos)
uint16_t getBands ()
bool getBeat (uint16_t pos)
bool getBeatFrequency (uint32_t frequency)
bool getDrumBeat ()
double getMagSpectrum (uint32_t low, uint32_t high)
double getMaxBandValue ()
bool getSnareBeat ()
void processData ()
void setFFT (FFT *value)
 ~BeatAnalyser ()

Private Attributes

uint16_t m_bandCount
std::vector< bool > * m_beats
FFTm_FFT
double m_maxBandValue
uint16_t m_recordSize
uint32_t m_sampleRate
std::vector< Band * > * m_SubBands

Detailed Description

Definition at line 65 of file beatanalyser.h.


Constructor & Destructor Documentation

mybeat::BeatAnalyser::BeatAnalyser ( uint16_t  m_bandCount,
uint32_t  m_sampleRate,
uint16_t  m_recordSize 
)

Definition at line 59 of file beatanalyser.cpp.

Definition at line 75 of file beatanalyser.cpp.


Member Function Documentation

Band * mybeat::BeatAnalyser::getBand ( uint16_t  pos)

Definition at line 167 of file beatanalyser.cpp.

uint16_t mybeat::BeatAnalyser::getBands ( ) [inline]

Definition at line 77 of file beatanalyser.h.

bool mybeat::BeatAnalyser::getBeat ( uint16_t  pos)

Definition at line 130 of file beatanalyser.cpp.

bool mybeat::BeatAnalyser::getBeatFrequency ( uint32_t  frequency)

Definition at line 137 of file beatanalyser.cpp.

Definition at line 142 of file beatanalyser.cpp.

double mybeat::BeatAnalyser::getMagSpectrum ( uint32_t  low,
uint32_t  high 
)

Definition at line 104 of file beatanalyser.cpp.

Definition at line 89 of file beatanalyser.h.

Definition at line 156 of file beatanalyser.cpp.

Definition at line 80 of file beatanalyser.cpp.

void mybeat::BeatAnalyser::setFFT ( FFT value) [inline]

Definition at line 71 of file beatanalyser.h.


Member Data Documentation

Definition at line 92 of file beatanalyser.h.

std::vector<bool>* mybeat::BeatAnalyser::m_beats [private]

Definition at line 97 of file beatanalyser.h.

Definition at line 95 of file beatanalyser.h.

Definition at line 98 of file beatanalyser.h.

Definition at line 94 of file beatanalyser.h.

Definition at line 93 of file beatanalyser.h.

std::vector<Band*>* mybeat::BeatAnalyser::m_SubBands [private]

Definition at line 96 of file beatanalyser.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