13 #ifndef __NOTEEVENT_H__ 14 #define __NOTEEVENT_H__ 33 NoteEvent() : _pitch(0), _ontime(0), _len(NOTE_LENGTH) {}
34 NoteEvent(
int a,
int b,
int c) : _pitch(a), _ontime(b), _len(c) {}
NoteEvent(int a, int b, int c)
Definition: noteevent.h:34
void write(XmlWriter &) const
Definition: noteevent.cpp:41
bool operator==(const NoteEvent &) const
Definition: noteevent.cpp:63
Definition: noteevent.h:25
int _ontime
Definition: noteevent.h:27
int ontime() const
Definition: noteevent.h:40
void setPitch(int v)
Definition: noteevent.h:43
Definition: noteevent.h:53
void read(XmlReader &)
Definition: noteevent.cpp:22
void setOntime(int v)
Definition: noteevent.h:44
NoteEvent()
Definition: noteevent.h:33
Definition: aeolus.cpp:26
int _pitch
Definition: noteevent.h:26
static constexpr int NOTE_LENGTH
Definition: noteevent.h:31
Definition: xmlwriter.h:26
Definition: xmlreader.h:28
int _len
Definition: noteevent.h:28
int pitch() const
Definition: noteevent.h:39
int offtime()
Definition: noteevent.h:57
int len() const
Definition: noteevent.h:42
int offtime() const
Definition: noteevent.h:41
void setLen(int v)
Definition: noteevent.h:45