OpenWareLaboratory
Resampler Class Reference

Implements 4x oversampling. More...

Public Member Functions

void downsample (FloatArray input, FloatArray output)
 
void init ()
 
 Resampler ()
 
 Resampler (int stages)
 
 Resampler (int aUpsampleStages, int aDownsampleStages)
 
void upsample (FloatArray input, FloatArray output)
 
 ~Resampler ()
 

Detailed Description

Implements 4x oversampling.

Definition at line 9 of file Resample.h.

Constructor & Destructor Documentation

Resampler::Resampler ( )
inline

Definition at line 17 of file Resample.h.

References init().

Resampler::Resampler ( int  stages)
inline

Definition at line 21 of file Resample.h.

References init().

Resampler::Resampler ( int  aUpsampleStages,
int  aDownsampleStages 
)
inline

Definition at line 26 of file Resample.h.

References init().

Resampler::~Resampler ( )
inline

Definition at line 31 of file Resample.h.

References BiquadFilter::destroy().

Member Function Documentation

void Resampler::downsample ( FloatArray  input,
FloatArray  output 
)
inline

Definition at line 51 of file Resample.h.

References ASSERT, FloatArray::getSize(), and BiquadFilter::process().

void Resampler::init ( )
inline

Definition at line 35 of file Resample.h.

References BiquadFilter::create(), and BiquadFilter::setCoefficients().

Referenced by Resampler().

void Resampler::upsample ( FloatArray  input,
FloatArray  output 
)
inline

Definition at line 60 of file Resample.h.

References ASSERT, FloatArray::getSize(), and BiquadFilter::process().


The documentation for this class was generated from the following file: