code: def set_granularity(self, level):
          
          if level in self.MFCC_GRANULARITY_MAP.keys():
              margin_key, mask_key, length_key, shift_key = self.MFCC_GRANULARITY_MAP[level]
              self[self.DTW_MARGIN] = self[margin_key]
              self[self.MFCC_MASK_NONSPEECH] = self[mask_key]
              self[self.MFCC_WINDOW_LENGTH] = self[length_key]
              self[self.MFCC_WINDOW_SHIFT] = self[shift_key]
docs: Set the values for
          :data:`~aeneas.runtimeconfiguration.RuntimeConfiguration.MFCC_WINDOW_LENGTH`
          and
          :data:`~aeneas.runtimeconfiguration.RuntimeConfiguration.MFCC_WINDOW_SHIFT`
          matching the given granularity level.
  
          Currently supported levels:
  
          * ``1`` (paragraph)
          * ``2`` (sentence)
          * ``3`` (word)
  
          :param int level: the desired granularity level