.TH "aflibAudioPitch" 3 "16 Jan 2007" "Open Source Audio Library Project" \" -*- nroff -*- .ad l .nh .SH NAME aflibAudioPitch \- Controls the pitch of an audio source. .PP .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBaflibAudioSampleRateCvt\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBaflibAudioPitch\fP (\fBaflibAudio\fP &audio, double factor, bool linear_interpolation=FALSE, bool high_quality=FALSE, bool filter_interpolation=FALSE)" .br .RI "\fIConstructor. \fP" .ti -1c .RI "\fB~aflibAudioPitch\fP ()" .br .RI "\fIDestructor. \fP" .ti -1c .RI "void \fBsetInputConfig\fP (const \fBaflibConfig\fP &cfg)" .br .RI "\fISets the input and output sample rates of this class. \fP" .ti -1c .RI "const char * \fBgetName\fP () const " .br .RI "\fIReturns the name of the derived class. \fP" .in -1c .SH "Detailed Description" .PP Controls the pitch of an audio source. This class is derived from the \fBaflibAudioSampleRateCvt\fP class. It only overrides the setInputConfig and getName functions. This is so that it can keep the output and input sample rates the same even thought they are changing. This gives the illusion of pitch changing. .PP .SH "Constructor & Destructor Documentation" .PP .SS "aflibAudioPitch::aflibAudioPitch (\fBaflibAudio\fP & audio, double factor, bool linear_interpolation = \fCFALSE\fP, bool high_quality = \fCFALSE\fP, bool filter_interpolation = \fCFALSE\fP)" .PP Constructor. .PP This constructor overides the \fBaflibAudioSampleRateCvt\fP base class constructor. It provides the ability to set the quality of the sample rate conversion and the sample rate conversion factor. For more information on these see the documentation for the \fBaflibAudioSampleRateCvt\fP constructor. .SH "Member Function Documentation" .PP .SS "void aflibAudioPitch::setInputConfig (const \fBaflibConfig\fP & cfg)\fC [virtual]\fP" .PP Sets the input and output sample rates of this class. .PP This function overrides the \fBaflibAudioSampleRateCvt\fP base class function. It will NOT change the output sample rate in the output audio configuration. By keeping the input and output sample rates the same even thought they are changing this gives the illusion of pitch changing. .PP Reimplemented from \fBaflibAudioSampleRateCvt\fP. .SH "Author" .PP Generated automatically by Doxygen for Open Source Audio Library Project from the source code.