docs: def get_note_names(self):
          """Return a list of unique note names in the Bar."""
          res = []
          for cont in self.bar:
              for x in cont[2].get_note_names():
                  if x not in res:
                      res.append(x)
          return res