pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Public Types | Public Member Functions
FFTChannelInternal< SampleType > Class Template Reference

FFT channel. More...

Inherits ChannelInternal< SampleType, ChannelInternalCore::Data >.

List of all members.

Public Types

typedef ChannelInternalCore::Data Data
 To store channel state data.

Public Member Functions

void initChannel (const int channel) throw ()
 Called to initialise the channel's initial value.
void process (ProcessInfo &info, const int channel) throw ()
 The DSP function.

Detailed Description

template<class SampleType>
class FFTChannelInternal< SampleType >

FFT channel.

FFT Unit. Takes a time domain real signal as its input and outputs frequency domain data in real/imaginary format.

Each input channel generates two output channels. The even number channel is the real data and the odd numbered channel contains the imaginary data. (The IFFTUnit expects the data in this format.)

Factory functions:
  • ar (input)
Inputs:
  • input: (unit, multi) the input unit FFTs a signal. FFT channel.

Member Typedef Documentation

template<class SampleType >
typedef ChannelInternalCore::Data FFTChannelInternal< SampleType >::Data

To store channel state data.

Sublasses should inherit from this, add their own members, and store an instance. Where applicable the structure should match the equivalents in the Plink library.

Reimplemented from ChannelInternalCore.


Member Function Documentation

template<class SampleType >
void FFTChannelInternal< SampleType >::initChannel ( const int  channel) throw () [inline, virtual]

Called to initialise the channel's initial value.

The ChannelInternal subclass should initialise itself using this channel of its inputs, calling initValue().

Implements ChannelInternalCore.

template<class SampleType >
void FFTChannelInternal< SampleType >::process ( ProcessInfo info,
const int  channel 
) throw () [inline, virtual]

The DSP function.

This function will do all the processing for derived class.

Implements ChannelInternalCore.


The documentation for this class was generated from the following file:
 All Classes Functions Typedefs Enumerations Enumerator Properties