NotePairScoreElement


class NotePairScoreElement {
public:
  MidiMsg msg;
  NotePairScoreTime dur;

  void play(NotePairScoreScale, ScheduleTime, Rogus_McBogus*) const;
  NotePairScoreElement& operator=(const NotePairScoreElement& npse);
  Bool operator==(const NotePairScoreElement& npse) const;
};
MidiMsg msg
This is the MidiMsg which this element will play. For a note pair, this is the note-on message.
NotePairScoreTime dur
This is the length of the note, in units of demimilliseconds at the default score speed. If the element is not a note pair, this is -1.
void play(NotePairScoreScale scale, ScheduleTime now, Rogus_McBogus*) const
This causes the NotePairScoreElement's MidiMsg to be played out, and, if it is a note-pair, the corresponding note-off to be scheduled. scale should be the current scale of the score, and now should be the current time.
NotePairScoreElement& operator=(const NotePairScoreElement& npse)
This assigns this NotePairScoreElement to have the same contents as npse.
Bool operator==(const NotePairScoreElement& npse) const
This returns True if npse has the same contents as this NotePairScoreElement.