Lines Matching refs:seq
335 def ReadFromStream (stream, seq, ticks, msg_type):
337 return SysExEvent.ReadFromStream(stream, seq, ticks, msg_type)
339 return SysExContEvent.ReadFromStream(stream, seq, ticks, msg_type)
341 return MetaEvent.ReadFromStream(stream, seq, ticks, msg_type)
345 return NoteOffEvent.ReadFromStream(stream, seq, ticks, msg_type)
347 return NoteOnEvent.ReadFromStream(stream, seq, ticks, msg_type)
349 return PolyKeyPressureEvent.ReadFromStream(stream, seq, ticks, msg_type)
351 return ControlChangeEvent.ReadFromStream(stream, seq, ticks, msg_type)
353 return ProgramChangeEvent.ReadFromStream(stream, seq, ticks, msg_type)
355 return ChannelPressureEvent.ReadFromStream(stream, seq, ticks, msg_type)
357 return PitchBendEvent.ReadFromStream(stream, seq, ticks, msg_type)
395 def __init__ (self, ticks, seq, channel, note, velocity):
398 self.seq = seq
404 def ReadFromStream (stream, seq, ticks, msg_type):
412 return NoteOffEvent(ticks, seq, channel, note, velocity)
428 def __init__ (self, ticks, seq, channel, note, velocity, note_length, note_off_velocity):
432 self.seq = seq
439 def ReadFromStream (stream, seq, ticks, msg_type):
447 return NoteOffEvent(ticks, seq, channel, note, velocity)
448 return NoteOnEvent(ticks, seq, channel, note, velocity, None, None)
461 def __init__ (self, ticks, seq, channel, note, value):
465 self.seq = seq
470 def ReadFromStream (stream, seq, ticks, msg_type):
477 return PolyKeyPressureEvent(ticks, seq, channel, note, value)
487 def __init__ (self, ticks, seq, channel, controller, value):
491 self.seq = seq
496 def ReadFromStream (stream, seq, ticks, msg_type):
504 return ChannelModeEvent(ticks, seq, channel, controller, value)
505 return ControlChangeEvent(ticks, seq, channel, controller, value)
515 def __init__ (self, ticks, seq, channel, controller, value):
519 self.seq = seq
524 def ReadFromStream (stream, seq, ticks, msg_type):
532 return ControlChangeEvent(ticks, seq, channel, controller, value)
533 seq, channel, value)
543 def __init__ (self, ticks, seq, channel, program):
547 self.seq = seq
551 def ReadFromStream (stream, seq, ticks, msg_type):
557 return ProgramChangeEvent(ticks, seq, channel, program)
567 def __init__ (self, ticks, seq, channel, value):
571 self.seq = seq
575 def ReadFromStream (stream, seq, ticks, msg_type):
581 return ChannelPressureEvent(ticks, seq, channel, value)
591 def __init__ (self, ticks, seq, channel, value):
595 self.seq = seq
599 def ReadFromStream (stream, seq, ticks, msg_type):
605 return PitchBendEvent(ticks, seq, channel, value)
620 def __init__ (self, ticks, seq, msg):
624 self.seq = seq
628 def ReadFromStream (stream, seq, ticks, msg_type):
635 return SysExEvent(ticks, seq, msg)
652 def __init__ (self, ticks, seq, msg):
656 self.seq = seq
660 def ReadFromStream (stream, seq, ticks, msg_type):
667 return SysExContEvent(ticks, seq, msg)
684 def __init__ (self, ticks, seq, meta_type, msg):
688 self.seq = seq
693 def ReadFromStream (stream, seq, ticks, msg_type):
701 obj = MetaEvent(ticks, seq, meta_type, msg)
894 def InsertEvents (self, events, seq):
895 self[seq:seq] = events
939 seq = 0
941 event.seq = seq
942 seq += 1
951 return cmp(x.seq, y.seq)
981 seq = 0
1039 event = MIDIEvent.ReadFromStream(stream, seq, ticks, msg_type)
1090 seq += 1
1192 controllers = self.events.ChaseControllers(self.events[start_event].seq)