class_docstr: Static time stretching by a fixed rate
  
  This transformation affects the following attributes:
  
  - Annotations
      - all: time, duration
      - tempo: values
  - metadata
      - duration
  - Audio
  
  
  Attributes
  ----------
  rate : float or list of floats, strictly positive
      The rate at which to speedup the audio.
      - rate > 1 speeds up,
      - rate < 1 slows down.
  
  Examples
  --------
  >>> D = muda.deformers.TimeStretch(rate=2.0)
  >>> out_jams = list(D.transform(jam_in))
  
  See Also
  --------
  LogspaceTimeStretch
  RandomTimeStretch
code: def states(self, jam):
      for rate in self.rate:
          yield dict(rate=rate)
  
imports: import pyrubberband
  import numpy
  from ..base import BaseTransformer, _get_rng
label_desc: Use image node_id 2 for calling the TimeStretch obj's underlying member method code with example usage: obj.states(jam) without return types