HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_PitchShift Class Reference

#include <CL_PitchShift.h>

+ Inheritance diagram for CL_PitchShift:

Public Member Functions

 CL_PitchShift (int chunk, int oversample)
 
 ~CL_PitchShift () override
 
void setPitchShift (fpreal shift)
 
void setOversample (int oversample)
 
void setChunkSize (int chunk)
 
void reset (fpreal val=0.0) override
 
- Public Member Functions inherited from CL_SlidingWindow
 CL_SlidingWindow (int size, int overlap)
 
 CL_SlidingWindow (UT_IStream &is)
 
virtual ~CL_SlidingWindow ()
 
void filterSamples (int n, const fpreal *source, fpreal *dest)
 
void shiftSamples (int nsource, const fpreal *source, int ndest, fpreal *dest, int shift)
 
void setOverlap (int overlap)
 
void resize (int size, int preserve=0)
 
virtual int maxFilterSamples ()
 
virtual void save (UT_OStream &os)
 
virtual bool load (UT_IStream &is, int version)
 

Additional Inherited Members

- Protected Attributes inherited from CL_SlidingWindow
int myWindowSize
 
int myOverlap
 
int myLastFilteredSample
 
fprealmyPreviousData
 
fprealmyMirrorData
 

Detailed Description

Definition at line 20 of file CL_PitchShift.h.

Constructor & Destructor Documentation

CL_PitchShift::CL_PitchShift ( int  chunk,
int  oversample 
)
CL_PitchShift::~CL_PitchShift ( )
override

Member Function Documentation

void CL_PitchShift::reset ( fpreal  val = 0.0)
overridevirtual

Reimplemented from CL_SlidingWindow.

void CL_PitchShift::setChunkSize ( int  chunk)
void CL_PitchShift::setOversample ( int  oversample)
void CL_PitchShift::setPitchShift ( fpreal  shift)

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