BufferSpectralT /

#includecinder/audio/Buffer.h

A buffer that contains frequency domain audio data.

The channels relate to the results of an FFT transform, channel = 0 is real and channel = 1 is imaginary. The reasoning for subclassing BufferT is in part for clarity and also so that a BufferSpectralT can be handled by generic processing Node 's as well, which can operate on both time and frequency domain signals.


Public Member Functions

  • T &
    operator[] (size_t n)
  • const T &
    operator[] (size_t n) const

Protected Attributes

  • std::vector< T >
    mData
  • size_t
    mNumChannels
  • size_t
    mNumFrames