docs: def play_Note(self, note):
          """Convert a Note object to a midi event and adds it to the
          track_data.
  
          To set the channel on which to play this note, set Note.channel, the
          same goes for Note.velocity.
          """
          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
          if self.change_instrument:
              self.set_instrument(channel, self.instrument)
              self.change_instrument = False
          self.track_data += self.note_on(channel, int(note) + 12, velocity)