#include <Event.hpp>
Events can be multiplied (matrix dot product) with the local coordinate system of a Node or transform to translate, scale, or rotate them in any or all dimensions of music space.
Events usually are value objects, not references.
Silence Events translate to Csound score statements ("i" statements), but they are always real-time score statements at time 0, suitable for use with Csound's -L or line event option.
csound::Event::Event | ( | ) |
csound::Event::Event | ( | const Event & | a | ) |
csound::Event::Event | ( | std::string | text | ) |
csound::Event::Event | ( | const ublas::vector< double, ublas::unbounded_array< double > > & | a | ) |
csound::Event::Event | ( | double | time, | |
double | duration, | |||
double | status, | |||
double | instrument, | |||
double | key, | |||
double | velocity, | |||
double | phase, | |||
double | pan, | |||
double | depth, | |||
double | height, | |||
double | pitches | |||
) |
csound::Event::Event | ( | const std::vector< double > & | v | ) |
virtual csound::Event::~Event | ( | ) | [virtual] |
virtual void csound::Event::clearProperties | ( | ) | [virtual] |
virtual void csound::Event::conformToPitchClassSet | ( | ) | [virtual] |
virtual void csound::Event::createNoteOffEvent | ( | Event & | event | ) | const [virtual] |
virtual void csound::Event::dump | ( | std::ostream & | stream | ) | [virtual] |
virtual double csound::Event::getAmplitude | ( | ) | const [virtual] |
virtual int csound::Event::getChannel | ( | ) | const [virtual] |
virtual double csound::Event::getDepth | ( | ) | const [virtual] |
virtual double csound::Event::getDuration | ( | ) | const [virtual] |
virtual double csound::Event::getFrequency | ( | ) | const [virtual] |
virtual double csound::Event::getGain | ( | ) | const [virtual] |
virtual double csound::Event::getHeight | ( | ) | const [virtual] |
virtual double csound::Event::getInstrument | ( | ) | const [virtual] |
virtual double csound::Event::getKey | ( | double | tonesPerOctave | ) | const [virtual] |
virtual double csound::Event::getKey | ( | ) | const [virtual] |
virtual int csound::Event::getKeyNumber | ( | ) | const [virtual] |
virtual double csound::Event::getLeftGain | ( | ) | const [virtual] |
virtual int csound::Event::getMidiStatus | ( | ) | const [virtual] |
virtual double csound::Event::getOffTime | ( | ) | const [virtual] |
virtual double csound::Event::getPan | ( | ) | const [virtual] |
virtual double csound::Event::getPhase | ( | ) | const [virtual] |
virtual double csound::Event::getPitches | ( | ) | const [virtual] |
virtual std::string csound::Event::getProperty | ( | std::string | name | ) | [virtual] |
virtual double csound::Event::getRightGain | ( | ) | const [virtual] |
virtual double csound::Event::getStatus | ( | ) | const [virtual] |
virtual int csound::Event::getStatusNumber | ( | ) | const [virtual] |
virtual double csound::Event::getTime | ( | ) | const [virtual] |
virtual double csound::Event::getVelocity | ( | ) | const [virtual] |
virtual int csound::Event::getVelocityNumber | ( | ) | const [virtual] |
virtual void csound::Event::initialize | ( | ) | [virtual] |
virtual bool csound::Event::isMatchingEvent | ( | const Event & | event | ) | const [virtual] |
virtual bool csound::Event::isMatchingNoteOff | ( | const Event & | event | ) | const [virtual] |
virtual bool csound::Event::isMidiEvent | ( | ) | const [virtual] |
virtual bool csound::Event::isNote | ( | ) | const [virtual] |
virtual bool csound::Event::isNoteOff | ( | ) | const [virtual] |
virtual bool csound::Event::isNoteOn | ( | ) | const [virtual] |
virtual Event& csound::Event::operator= | ( | const ublas::vector< double > & | a | ) | [virtual] |
virtual void csound::Event::removeProperty | ( | std::string | nameO | ) | [virtual] |
virtual void csound::Event::set | ( | double | time, | |
double | duration, | |||
double | status, | |||
double | instrument, | |||
double | key, | |||
double | velocity, | |||
double | phase = 0 , |
|||
double | pan = 0 , |
|||
double | depth = 0 , |
|||
double | height = 0 , |
|||
double | pitches = 4095 | |||
) | [virtual] |
virtual void csound::Event::setAmplitude | ( | double | amplitude | ) | [virtual] |
virtual void csound::Event::setDepth | ( | double | depth | ) | [virtual] |
virtual void csound::Event::setDuration | ( | double | duration | ) | [virtual] |
virtual void csound::Event::setFrequency | ( | double | frequency | ) | [virtual] |
virtual void csound::Event::setHeight | ( | double | height | ) | [virtual] |
virtual void csound::Event::setInstrument | ( | double | instrument | ) | [virtual] |
virtual void csound::Event::setKey | ( | double | key | ) | [virtual] |
virtual void csound::Event::setMidi | ( | double | time, | |
char | status, | |||
char | key, | |||
char | velocity | |||
) | [virtual] |
virtual void csound::Event::setPan | ( | double | pan | ) | [virtual] |
virtual void csound::Event::setPhase | ( | double | phase | ) | [virtual] |
virtual void csound::Event::setPitches | ( | double | pitches | ) | [virtual] |
virtual void csound::Event::setProperty | ( | std::string | name, | |
std::string | value | |||
) | [virtual] |
virtual void csound::Event::setStatus | ( | double | status | ) | [virtual] |
virtual void csound::Event::setTime | ( | double | time | ) | [virtual] |
virtual void csound::Event::setVelocity | ( | double | velocity | ) | [virtual] |
virtual void csound::Event::temper | ( | double | divisionsPerOctave | ) | [virtual] |
virtual std::string csound::Event::toCsoundIStatement | ( | double | tempering = 12.0 |
) | const [virtual] |
virtual std::string csound::Event::toCsoundIStatementHeld | ( | int | tag, | |
double | tempering = 12.0 | |||
) | const [virtual] |
virtual std::string csound::Event::toCsoundIStatementRelease | ( | int | tag, | |
double | tempering = 12.0 | |||
) | const [virtual] |
virtual std::string csound::Event::toString | ( | ) | const [virtual] |
const char* csound::Event::labels[] [static] |
std::map<std::string,std::string> csound::Event::properties |
int csound::Event::SORT_ORDER[] [static] |