code: def verifyComponents(self, samplerate):
          
          # flatten list of components
          components = [comp for track in self._segments for comp in track]
          for comp in components:
              msg = comp.verify(samplerate=samplerate)
              if msg:
                  return msg
          return 0
docs: Checks the current components for invalidating conditions
  
          :param samplerate: generation samplerate (Hz), passed on to component verification
          :type samplerate: int
          :returns: str -- error message, if any, 0 otherwise