docs: def SetType(self, vtype):
          '''
          Sets the type, i.e duration of the note. Types are given as keys inside options
          :param vtype: str - see keys in options for full list
          :return: None, side effects modifying the class
          '''
          self.val_type = vtype
          options = {
              "128th": 128,
              "64th": 64,
              "32nd": 32,
              "16th": 16,
              "eighth": 8,
              "quarter": 4,
              "half": 2,
              "whole": 1,
              "h": 8,
              "long": "\\longa",
              "breve": "\\breve"}
          if vtype in options:
              self.duration = options[self.val_type]