CLAM::Melody Class Reference

class Melody, used to store the melodic description of an AudioSegment @see SegmentDescriptors @see FFHDescriptors @see DistributionDescriptors @see Key More...

#include <Melody.hxx>

List of all members.

Public Member Functions

 Melody ()
 Melody (const Melody &prototype, const bool shareData=false, const bool deep=true)
 __COMMON_DYNAMIC_TYPE (Melody, 4)
 __COMMON_DYN_ATTRIBUTE (0, public, List< Note >, NoteArray) protected
 Array of notes belonging to the melody.
bool LoadNoteArray (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (1, public, TSize, NumberOfNotes) protected
 Higher-level descriptors computed from the noteArray information.
bool LoadNumberOfNotes (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (2, public, TData, Tessitura) protected
 Tessitura in Hz: difference between the minimum and maximum pitch.
bool LoadTessitura (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (3, public, List< TData >, Contour) protected
 MelodicContour: Parsons Code or different interval quantization.
bool LoadContour (CLAM::Storage &s)

Protected Member Functions

void DefaultInit ()
 The concrete dynamic type constructor calls DefaultInit().

Detailed Description

class Melody, used to store the melodic description of an AudioSegment @see SegmentDescriptors @see FFHDescriptors @see DistributionDescriptors @see Key

Definition at line 47 of file Melody.hxx.


Constructor & Destructor Documentation

CLAM::Melody::Melody (  )  [inline]

Definition at line 50 of file Melody.hxx.

CLAM::Melody::Melody ( const Melody prototype,
const bool  shareData = false,
const bool  deep = true 
) [inline]

Definition at line 50 of file Melody.hxx.


Member Function Documentation

CLAM::Melody::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
List< TData ,
Contour   
) [inline]

MelodicContour: Parsons Code or different interval quantization.

Definition at line 58 of file Melody.hxx.

CLAM::Melody::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Tessitura   
) [inline]

Tessitura in Hz: difference between the minimum and maximum pitch.

Definition at line 56 of file Melody.hxx.

CLAM::Melody::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TSize  ,
NumberOfNotes   
) [inline]

Higher-level descriptors computed from the noteArray information.

Definition at line 54 of file Melody.hxx.

CLAM::Melody::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
List< Note ,
NoteArray   
) [inline]

Array of notes belonging to the melody.

Definition at line 52 of file Melody.hxx.

CLAM::Melody::__COMMON_DYNAMIC_TYPE ( Melody  ,
 
)
void CLAM::Melody::DefaultInit ( void   )  [protected]

The concrete dynamic type constructor calls DefaultInit().

This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().

See also:
CopyInit()

Reimplemented from CLAM::DynamicType.

Definition at line 25 of file Melody.cxx.

References CLAM::DynamicType::UpdateData().

bool CLAM::Melody::LoadContour ( CLAM::Storage s  )  [inline]

Definition at line 58 of file Melody.hxx.

bool CLAM::Melody::LoadNoteArray ( CLAM::Storage s  )  [inline]

Definition at line 52 of file Melody.hxx.

bool CLAM::Melody::LoadNumberOfNotes ( CLAM::Storage s  )  [inline]

Definition at line 54 of file Melody.hxx.

bool CLAM::Melody::LoadTessitura ( CLAM::Storage s  )  [inline]

Definition at line 56 of file Melody.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3