code: def get_tuning(self):
          
          if self.instrument and self.instrument.tuning:
              return self.instrument.tuning
          return self.tuning
docs: Return a StringTuning object.
  
          If an instrument is set and has a tuning it will be returned.
          Otherwise the track's one will be used.