Hydrogen - Linux Drum Machine
Main Page | Class Hierarchy | Compound List | File List | Compound Members

Note Class Reference

#include <Song.h>

Inheritance diagram for Note:

Object List of all members.

Detailed Description

A note...


Public Member Functions

virtual string getClassName ()
 Return the class name.

 Note (unsigned int position, float velocity, float pan_L, float pan_R)
 Constructor.

 ~Note ()
 Destructor.

unsigned int getPosition ()
void setPosition (unsigned int pos)
float getPan_L ()
void setPan_L (float val)
float getPan_R ()
void setPan_R (float val)
void setInstrument (Instrument *instrument)
InstrumentgetInstrument ()
Notecopy ()
float getVelocity ()
void setVelocity (float val)
uint getHumanizeDelay ()
void setHumanizeDelay (uint val)

Public Attributes

unsigned int samplePosition

Private Attributes

unsigned int position
 Note position inside the song.

float velocity
 Velocity (intensity) of the note.

float pan_L
 Pan of the note (left volume).

float pan_R
 Pan of the note (right volume).

Instrumentinstrument
uint humanizeDelay
 Used in "humanize" function.


The documentation for this class was generated from the following files:
 
 
Hydrogen (c) 2002..2003 Comix