Lines Matching refs:segment
212 for segment in self.jet_file.GetSegments():
213 info = MidiSegInfo(segment)
214 index = self.segList.InsertStringItem(sys.maxint, StrNoneChk(segment.segname))
228 """ Sets current segment name based on what's clicked """
234 """ Sets command to cancel the currently playing segment and queues another """
252 """ Sets a command to cancel the currently playing segment """
258 """ Queues a segment via the button """
263 segment = self.jet_file.GetSegment(self.currentSegmentName)
264 self.QueueOneSegment(segment, segNum)
267 """ Queues a segment """
270 segment = self.jet_file.GetSegment(getColumnText(self.segList, segNum, 0))
271 self.QueueOneSegment(segment, segNum)
273 def QueueOneSegment(self, segment, segNum):
274 """ Queues one segment """
277 if FileExists(segment.dlsfile):
278 dls_num = FindDlsNum(self.jet_file.libraries, segment.dlsfile)
281 self.queueSegs.append(QueueSeg(segment.segname, userID, segNum, dls_num, segment.repeat, segment.transpose, segment.mute_flags, STATUS_PENDING))
315 """ Sets the status of a segment """
320 """ Gets the status of a segment """
333 """ Gets the next segment in the queueu """
410 segment = self.jet_file.GetSegment(self.currentSegmentName)
411 wx.PostEvent(self, JetStatusEvent(CMD_QUEUE_AND_CANCEL, (segment, segNum)))
420 wx.PostEvent(self, JetStatusEvent(CMD_ORIGINALMUTES, segment.mute_flags))
450 segment = self.jet_file.GetSegment(self.currentSegmentName)
451 info = self.graph.LoadSegment(segment)
456 self.trackList.CheckTracks(segment.mute_flags)