class_docstr: Parameterize impulse response as a simple exponential decay.
class_docstr_tok: ["Parameterize","impulse","response","as","a","simple","exponential","decay","."]
docstr: Simple exponential decay of white noise.
docstr_tok: ["Simple","exponential","decay","of","white","noise","."]
code: def _get_ir(self, gain, decay):
      """Simple exponential decay of white noise."""
      gain = self._scale_fn(gain)
      decay_exponent = 2.0 + tf.exp(decay)
      time = tf.linspace(0.0, 1.0, self._reverb_length)[tf.newaxis, :]
      noise = tf.random.uniform(
          [1, self._reverb_length], minval=-1.0, maxval=1.0
      )
      ir = gain * tf.exp(-decay_exponent * time) * noise
      return ir
  
imports: from ddsp import core
  from ddsp import processors
  from ddsp import synths
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the ExpDecayReverb obj's underlying member method code with example usage: obj._get_ir(gain, decay) and returns: ir