code: def play_Track(self, track):
          
          if hasattr(track, 'name'):
              self.set_track_name(track.name)
          self.delay = 0
          instr = track.instrument
          if hasattr(instr, 'instrument_nr'):
              self.change_instrument = True
              self.instrument = instr.instrument_nr
          for bar in track:
              self.play_Bar(bar)
docs: Convert a Track object to MIDI events and write them to the
          track_data.