code: def add_segment(self, segment):
          
          self.tracks.add(segment.track)
          self.segments.append(segment)
docs: Add a segment to the composition
  
          :param segment: Segment to add to composition
          :type segment: :py:class:`radiotool.composer.Segment`