Amuse
|
#include <SoundMacroState.hpp>
Public Member Functions | |
void | initialize (const unsigned char *ptr, int step) |
void | initialize (const unsigned char *ptr, int step, double ticksPerSec, uint8_t midiKey, uint8_t midiVel, uint8_t midiMod) |
bool | advance (Voice &vox, double dt) |
void | keyoffNotify (Voice &vox) |
void | sampleEndNotify (Voice &vox) |
Friends | |
class | Voice |
Real-time state of SoundMacro execution
Definition at line 14 of file SoundMacroState.hpp.
bool amuse::SoundMacroState::advance | ( | Voice & | vox, |
double | dt | ||
) |
advances dt
seconds worth of commands in the SoundMacro
true
if END reached void amuse::SoundMacroState::initialize | ( | const unsigned char * | ptr, |
int | step | ||
) |
initialize state for SoundMacro data at ptr
void amuse::SoundMacroState::keyoffNotify | ( | Voice & | vox | ) |
keyoff event
void amuse::SoundMacroState::sampleEndNotify | ( | Voice & | vox | ) |
sample end event