'Initializes with a list of event values and sets attributes.'

def _from_event_list(self, events, start_step=0, steps_per_bar=DEFAULT_STEPS_PER_BAR, steps_per_quarter=DEFAULT_STEPS_PER_QUARTER):

    self._events = list(events)
    self._start_step = start_step
    self._end_step = (start_step + len(self))
    self._steps_per_bar = steps_per_bar
    self._steps_per_quarter = steps_per_quarter
