Hydrogen - Linux Drum Machine |
#include <Hydrogen.h>
Inheritance diagram for Hydrogen:
Public Member Functions | |
virtual string | getClassName () |
Return the class name. | |
~Hydrogen () | |
Destructor. | |
int | start () |
Start the internal sequencer. | |
void | stop () |
Stop the internal sequencer. | |
void | setSong (Song *newSong) |
Set current song. | |
Song * | getSong () |
Return the current song. | |
void | removeSong () |
void | noteOn (Note *note) |
void | noteOff (Note *note) |
float | getMasterPeak_L () |
void | setMasterPeak_L (float value) |
float | getMasterPeak_R () |
void | setMasterPeak_R (float value) |
float | getDelayBufferPeak_L () |
void | setDelayBufferPeak_L (float value) |
float | getDelayBufferPeak_R () |
void | setDelayBufferPeak_R (float value) |
unsigned long | getTickPosition () |
void | setNextPattern (int pos) |
Set the next pattern (Live mode only). | |
Pattern * | getCurrentPattern () |
void | setCurrentPattern (Pattern *newPattern) |
uint | getPatternPos () |
void | setPatternPos (uint pos) |
Set the position in the song. | |
uint | getPlayingNotes () |
void | restartDrivers () |
uint | exportSong (string filename) |
Export a song to a wav file, returns the elapsed time in mSec. | |
uint | getSongNotesQueue () |
GenericDriver * | getAudioDriver () |
Used for display audio driver info. | |
AlsaMidiDriver * | getMidiDriver () |
Used for display midi driver info. | |
int | getState () |
void | addEngineListener (EngineListener *newListener) |
void | lockEngine () |
Lock the audio engine. | |
void | unlockEngine () |
Unlock the audio engine. | |
float | getProcessTime () |
float | getMaxProcessTime () |
int | loadDrumkit (DrumkitInfo *drumkitInfo) |
void | raiseError (string msg) |
void | raiseMidiActivityEvent () |
Used by AlsaMidiDriver. | |
unsigned long | getTotalFrames () |
Static Public Member Functions | |
Hydrogen * | getInstance (EngineListener *listener=NULL) |
Return the Hydrogen instance. | |
Private Member Functions | |
Hydrogen (EngineListener *mainListener) | |
Constructor. | |
Static Private Attributes | |
Hydrogen * | instance = NULL |
static reference of Hydrogen class |