Lines Matching refs:segments
93 """ Class to hold segments """
302 # count segments
303 segments = []
360 segments.append(JetSegment(segname, filename, start, end, length, output, quantize, jetevents, dlsfile, dump_file, int(transpose), int(repeat), int(mute_flags)))
363 self.segments = segments
364 if not len(segments):
365 #TODO: Check for segments when writing
366 #raise JetFileException('No segments defined in configuration file')
392 segments),
426 # copy the MIDI segments
428 for segment in self.segments:
481 # copy the DLS segments
508 for segment in self.segments:
519 for segment in self.segments:
526 for segment in self.segments:
535 for segment in self.segments:
541 for segment in self.segments:
548 for segment in self.segments:
561 """ Deletes all segments matching name """
567 for segment in self.segments:
569 self.segments.remove(segment)
574 for segment in self.segments:
582 for segment in self.segments:
596 for segment in self.segments:
605 """ Gets all segments """
606 return self.segments
610 for segment in self.segments:
621 self.segments.append(JetSegment(segname, filename, start, end, length, output, quantize, jetevents, dlsfile, dump_file, transpose, repeat, mute_flags))
629 for segment in self.segments:
645 for segment in self.segments:
653 for segment in self.segments:
655 self.segments.remove(segment)
673 for segment in self.segments:
734 self.segments = []