CLAM-Development  1.4.0
Public Member Functions
CLAM::FrameDescriptors Class Reference

#include <FrameDescriptors.hxx>

List of all members.

Public Member Functions

 DYNAMIC_TYPE_USING_INTERFACE (FrameDescriptors, 10, Descriptor)
 DYN_ATTRIBUTE (0, public, SpectralDescriptors, SpectrumD)
 Spectrum analyzed from the Audio input.
 DYN_ATTRIBUTE (1, public, SpectralPeakDescriptors, SpectralPeakD)
 Vector of peaks in spectral analysis.
 DYN_ATTRIBUTE (2, public, SpectralDescriptors, ResidualSpecD)
 Residual spectrum of the Audio.
 DYN_ATTRIBUTE (3, public, SpectralDescriptors, SinusoidalSpecD)
 Sinusoidal spectrum of the Audio.
 DYN_ATTRIBUTE (4, public, AudioDescriptors, AudioFrameD)
 Audio chunk we want to analyze.
 DYN_ATTRIBUTE (5, public, AudioDescriptors, SinusoidalAudioFrameD)
 Sinusoidal synthesized Audio.
 DYN_ATTRIBUTE (6, public, AudioDescriptors, ResidualAudioFrameD)
 Residual synthesized Audio.
 DYN_ATTRIBUTE (7, public, AudioDescriptors, SynthAudioFrameD)
 Global synthesized Audio.
 DYN_ATTRIBUTE (8, public, MorphologicalFrameDescriptors, MorphologicalFrameD)
 Morphological descriptors.
 DYN_ATTRIBUTE (9, public, TTime, CenterTime)
 Frame Center Time is some times interesting to also have it in descriptors.
 FrameDescriptors (Frame *pFrame)
 FrameDescriptors (TData initVal)
const FrameGetpFrame () const
void SetpFrame (const Frame *pFrame)
void Compute ()
void ConcreteCompute ()
TData GetFundamental ()
- Public Member Functions inherited from CLAM::DescriptorTmpl< abs >
 DescriptorTmpl (int n)
 DescriptorTmpl (const DescriptorTmpl< abs > &prototype, bool shareData=false, bool deep=true)
virtual ~DescriptorTmpl ()
void SetPrototype (const DescriptorTmpl< abs > &proto)
- Public Member Functions inherited from CLAM::ProcessingData
 ProcessingData (const int n)
 Constructor of an object that will contain the number of attributes passed by parameter.
 ProcessingData (const ProcessingData &prototype, bool shareData=false, bool deep=true)
 Copy constructor of a ProcessingData object.
virtual ~ProcessingData ()
- Public Member Functions inherited from CLAM::DynamicType
 DynamicType (const int nAttr)
 Constructs a DynamicType object that can hold.
 DynamicType (const DynamicType &prototype, const bool shareData, const bool deepCopy)
 Copy constructor of a dynamic Type.
 DynamicType (const DynamicType &prototype)
virtual ~DynamicType ()
virtual const char * GetClassName () const =0
 Return the class name.
void CopyInit (const DynamicType &dt)
 This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted.
bool UpdateData ()
 Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done.
unsigned GetNDynamicAttributes () const
const char * GetDynamicAttributeName (unsigned i)
virtual const std::type_info & GetTypeId (unsigned i) const =0
bool AttributeIsComponent (unsigned i) const
bool AttributeIsDynamictype (unsigned i) const
bool IsAttributeInstantiated (unsigned i) const
const void * GetAttributeAsVoidPtr (unsigned i) const
const ComponentGetAttributeAsComponent (unsigned i) const
ComponentGetAttributeAsComponent (unsigned i)
void FullfilsInvariant () const
virtual ComponentDeepCopy () const
void Debug () const
virtual void StoreOn (CLAM::Storage &storage) const
 Stores component's subitems on the given Storage.
virtual void LoadFrom (CLAM::Storage &storage)
 Loads component's subitems from the given Storage.
- Public Member Functions inherited from CLAM::Component
virtual ~Component ()

Additional Inherited Members

- Protected Member Functions inherited from CLAM::DescriptorTmpl< abs >
void InitStats (DataArray *pData)
- Protected Attributes inherited from CLAM::DescriptorTmpl< abs >
StatsTmpl< abs > * mpStats

Detailed Description

Definition at line 43 of file FrameDescriptors.hxx.


Constructor & Destructor Documentation

CLAM::FrameDescriptors::FrameDescriptors ( Frame pFrame)

Definition at line 32 of file FrameDescriptors.cxx.

CLAM::FrameDescriptors::FrameDescriptors ( TData  initVal)

Definition at line 38 of file FrameDescriptors.cxx.

References CLAM::DynamicType::UpdateData().


Member Function Documentation

void CLAM::FrameDescriptors::Compute ( )
virtual

Reimplemented from CLAM::DescriptorTmpl< abs >.

Definition at line 105 of file FrameDescriptors.cxx.

References ConcreteCompute().

void CLAM::FrameDescriptors::ConcreteCompute ( )
virtual

Implements CLAM::DescriptorTmpl< abs >.

Definition at line 113 of file FrameDescriptors.cxx.

Referenced by Compute().

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
SpectralDescriptors  ,
SpectrumD   
)

Spectrum analyzed from the Audio input.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
SpectralPeakDescriptors  ,
SpectralPeakD   
)

Vector of peaks in spectral analysis.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
SpectralDescriptors  ,
ResidualSpecD   
)

Residual spectrum of the Audio.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
SpectralDescriptors  ,
SinusoidalSpecD   
)

Sinusoidal spectrum of the Audio.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
AudioDescriptors  ,
AudioFrameD   
)

Audio chunk we want to analyze.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
AudioDescriptors  ,
SinusoidalAudioFrameD   
)

Sinusoidal synthesized Audio.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
AudioDescriptors  ,
ResidualAudioFrameD   
)

Residual synthesized Audio.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
AudioDescriptors  ,
SynthAudioFrameD   
)

Global synthesized Audio.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
MorphologicalFrameDescriptors  ,
MorphologicalFrameD   
)

Morphological descriptors.

CLAM::FrameDescriptors::DYN_ATTRIBUTE ( ,
public  ,
TTime  ,
CenterTime   
)

Frame Center Time is some times interesting to also have it in descriptors.

CLAM::FrameDescriptors::DYNAMIC_TYPE_USING_INTERFACE ( FrameDescriptors  ,
10  ,
Descriptor   
)
TData CLAM::FrameDescriptors::GetFundamental ( )
inline

Definition at line 83 of file FrameDescriptors.hxx.

const Frame * CLAM::FrameDescriptors::GetpFrame ( ) const

Definition at line 61 of file FrameDescriptors.cxx.

void CLAM::FrameDescriptors::SetpFrame ( const Frame pFrame)

Definition at line 65 of file FrameDescriptors.cxx.

References CLAM::DynamicType::UpdateData().


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