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

Used to store note information. More...

#include <Note.hxx>

List of all members.

Public Member Functions

 DYNAMIC_TYPE_USING_INTERFACE (Note, 7, ProcessingData)
 DYN_ATTRIBUTE (0, public, PitchNote, PitchNote)
 DYN_ATTRIBUTE (1, public, TData, FundFreq)
 DYN_ATTRIBUTE (2, public, TData, Energy)
 DYN_ATTRIBUTE (3, public, MediaTime, Time)
 DYN_ATTRIBUTE (4, public, MediaTime, Attack)
 DYN_ATTRIBUTE (5, public, MediaTime, Sustain)
 DYN_ATTRIBUTE (6, public, MediaTime, Release)
int GetNoteNumber ()
 Helper accessor for getting the corresponding MIDI note number.
int GetVelocity ()
- 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 ()

Detailed Description

Used to store note information.

Pitch and intranote time information are not instantiated by default

Definition at line 42 of file Note.hxx.


Member Function Documentation

CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
PitchNote  ,
PitchNote   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
TData  ,
FundFreq   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Energy   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
MediaTime  ,
Time   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
MediaTime  ,
Attack   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
MediaTime  ,
Sustain   
)
CLAM::Note::DYN_ATTRIBUTE ( ,
public  ,
MediaTime  ,
Release   
)
CLAM::Note::DYNAMIC_TYPE_USING_INTERFACE ( Note  ,
,
ProcessingData   
)
int CLAM::Note::GetNoteNumber ( )
inline

Helper accessor for getting the corresponding MIDI note number.

Definition at line 60 of file Note.hxx.

References Round().

int CLAM::Note::GetVelocity ( )
inline

Definition at line 64 of file Note.hxx.


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