Loris::PartialUtils::AmplitudeScaler Class Reference

#include <PartialUtils.h>

Inheritance diagram for Loris::PartialUtils::AmplitudeScaler:
Loris::PartialUtils::PartialMutator

List of all members.

Public Member Functions

 AmplitudeScaler (double x)
 Construct a new AmplitudeScaler from a constant scale factor.
 AmplitudeScaler (const Envelope &e)
void operator() (Partial &p) const

Detailed Description

Scale the amplitude of the specified Partial according to an envelope representing a time-varying amplitude scale value.


Constructor & Destructor Documentation

Loris::PartialUtils::AmplitudeScaler::AmplitudeScaler ( const Envelope e  )  [inline]

Construct a new AmplitudeScaler from an Envelope representing a time-varying scale factor.


Member Function Documentation

void Loris::PartialUtils::AmplitudeScaler::operator() ( Partial p  )  const [virtual]

Function call operator: apply a scale factor to the specified Partial.

Implements Loris::PartialUtils::PartialMutator.


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

Generated by  doxygen 1.6.2