setEndBeat method

void setEndBeat(
  1. double beat
)

Sets the beat at which the sequence will end. Events after the end beat won't be scheduled.

Implementation

void setEndBeat(double beat) {
  endBeat = beat;
}