Packages

object IFFT extends ProductReader[IFFT] with Serializable

A UGen performing an inverse FFT, transforming a buffer containing a spectral domain signal back into the time domain.

Examples
// perfect reconstruction
play {
  // with a hop of 0.5 and forward Hann window,
  // we get a perfect reconstruction delayed
  // by the fftSize minus one control-block.
  // (alternatively, you can use a hop of 1.0,
  //  and winType of 1 for both FFT and IFFT)
  val n     = 1024
  val hop   = 0.5
  val buf   = LocalBuf(n)
  val in    = PinkNoise.ar(0.5)
  val fft   = FFT(buf, in, hop = hop, winType = 1)
  val out   = IFFT.ar(fft, winType = -1)
  val dur   = (2 * n * hop) / SampleRate.ir - ControlDur.ir
  val dly   = DelayN.ar(in, dur, dur)
  out - dly
}
See also

FFT

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IFFT
  2. Serializable
  3. ProductReader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def ar(chain: GE, winType: GE = 0, winSize: GE = 0): IFFT

    chain

    reference to the spectral signal, returned as a buffer-identifier from FFT or the PV_... UGens.

    winType

    The window function applied after each IFFT is taken. The default of 0 is a sine window, -1 is a rectangle window, and 1 is a Hann window. (init-time only)

    winSize

    With the default value of zero, the window size equals the fft size. If you wish to perform zero padding, an explicit window size can be specified. (init-time only)

  2. def kr(chain: GE, winType: GE = 0, winSize: GE = 0): IFFT

    chain

    reference to the spectral signal, returned as a buffer-identifier from FFT or the PV_... UGens.

    winType

    The window function applied after each IFFT is taken. The default of 0 is a sine window, -1 is a rectangle window, and 1 is a Hann window. (init-time only)

    winSize

    With the default value of zero, the window size equals the fft size. If you wish to perform zero padding, an explicit window size can be specified. (init-time only)

  3. def read(in: RefMapIn, key: String, arity: Int): IFFT
    Definition Classes
    IFFTProductReader