docs: def duration(self):
          """
          Return the duration in seconds.
          """
          with self.container.open_if_needed(mode='r') as cnt:
              samples, sr = cnt.get(self.key)
  
              return samples.shape[0] / sr