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

def verifyComponents(self, samplerate):
        """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
        """
        # 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