code: def set_tts(self, level):
          
          if level in self.TTS_GRANULARITY_MAP.keys():
              tts_key, tts_path_key = self.TTS_GRANULARITY_MAP[level]
              self[self.TTS] = self[tts_key]
              self[self.TTS_PATH] = self[tts_path_key]
docs: Set the values for
          :data:`~aeneas.runtimeconfiguration.RuntimeConfiguration.TTS`
          and
          :data:`~aeneas.runtimeconfiguration.RuntimeConfiguration.TTS_PATH`
          matching the given granularity level.
  
          Currently supported levels:
  
          * ``1`` (paragraph)
          * ``2`` (sentence)
          * ``3`` (word)
  
          :param int level: the desired granularity level