code: def stop_Note(self, note):
          
          velocity = 64
          channel = 1
          if hasattr(note, 'dynamics'):
              if 'velocity' in note.dynamics:
                  velocity = note.dynamics['velocity']
              if 'channel' in note.dynamics:
                  channel = note.dynamics['channel']
          if hasattr(note, 'channel'):
              channel = note.channel
          if hasattr(note, 'velocity'):
              velocity = note.velocity
          self.track_data += self.note_off(channel, int(note) + 12, velocity)
docs: Add a note_off event for note to event_track.