Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

Loris::PartialUtils::PitchShifter Class Reference

Shift the pitch of the specified Partial according to the given pitch envelope. More...

#include <PartialUtils.h>

Inheritance diagram for Loris::PartialUtils::PitchShifter:

Loris::PartialUtils::PartialMutator List of all members.

Public Member Functions

 PitchShifter (double x)
 Construct a new PitchShifter from a constant scale factor.

 PitchShifter (const Envelope &e)
 a time-varying scale factor.

void operator() (Partial &p) const
 Function call operator: apply a scale factor to the specified Partial.


Detailed Description

Shift the pitch of the specified Partial according to the given pitch envelope.

The pitch envelope is assumed to have units of cents (1/100 of a halfstep).


Generated on Thu Apr 14 22:01:57 2005 for Loris by doxygen 1.3.4