Hydrogen - Linux Drum Machine |
#include <Song.h>
Inheritance diagram for 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) |
Instrument * | getInstrument () |
Note * | copy () |
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). | |
Instrument * | instrument |
uint | humanizeDelay |
Used in "humanize" function. |