Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

pp::Filters::EnvelopeFilter Class Template Reference

Scale the amplitude (volume) of the wave. More...

#include <Filters.h>

Inheritance diagram for pp::Filters::EnvelopeFilter

Inheritance graph
[legend]
Collaboration diagram for pp::Filters::EnvelopeFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

 EnvelopeFilter ()
unsigned long GetEnvelopePosition () const
void SetEnvelopePosition (unsigned long pos)
virtual const char* GetName () const
float FindClosestPoint ()
void Generate (Generators::SimpleGenerator<T>& g, unsigned long length)
operator() (const T& x)

Detailed Description

template<typename T = short> template class pp::Filters::EnvelopeFilter

Scale the amplitude (volume) of the wave.

This filter could be useful for modifying a samples attack/decay/sustain/release shape.

There are two options for an Envelope filter either scale the values to the envelope or clip the values to the value of the envelope. This filter operates by scaling the values.


The documentation for this class was generated from the following file:
Generated at Mon Nov 27 01:46:49 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000