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

Resampler. More...

List of all members.

Static Public Member Functions

static UnitType ar (UnitType const &input, RateUnitType const &rate=Math< RateUnitType >::get1(), BlockSize const &preferredBlockSize=BlockSize::getDefault(), SampleRate const &preferredSampleRate=SampleRate::getDefault()) throw ()

Detailed Description

template<class SampleType, Interp::TypeCode InterpTypeCode>
class ResampleUnit< SampleType, InterpTypeCode >

Resampler.

Resample a unit to a different sample rate and/or block size.

Factory functions:
  • ar (input, rate=1, preferredBlockSize=default, preferredSampleRate=default)
  • kr (input, rate=1)
Inputs:
  • input: (unit, multi) the unit to resample
  • rate: (unit) a modulatable rate multiplier (e.g., for varispeed playback)
  • preferredBlockSize: the preferred output block size
  • preferredSampleRate: the preferred output sample rate

Member Function Documentation

template<class SampleType , Interp::TypeCode InterpTypeCode>
static UnitType ResampleUnit< SampleType, InterpTypeCode >::ar ( UnitType const &  input,
RateUnitType const &  rate = Math<RateUnitType>::get1(),
BlockSize const &  preferredBlockSize = BlockSize::getDefault(),
SampleRate const &  preferredSampleRate = SampleRate::getDefault() 
) throw () [inline, static]

Create an audio rate sample rate converter.


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