Blender  V2.59
Public Member Functions
AUD_EnvelopeFactory Class Reference

#include <AUD_EnvelopeFactory.h>

Inheritance diagram for AUD_EnvelopeFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_EnvelopeFactory (AUD_IFactory *factory, float attack, float release, float threshold, float arthreshold)
virtual AUD_IReadercreateReader () const

Detailed Description

This factory creates an envelope follower reader.

Definition at line 40 of file AUD_EnvelopeFactory.h.


Constructor & Destructor Documentation

AUD_EnvelopeFactory::AUD_EnvelopeFactory ( AUD_IFactory factory,
float  attack,
float  release,
float  threshold,
float  arthreshold 
)

Creates a new envelope factory.

Parameters:
factoryThe input factory.
attackThe attack value in seconds.
releaseThe release value in seconds.
thresholdThe threshold value.
arthresholdThe attack/release threshold value.

Definition at line 59 of file AUD_EnvelopeFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_EnvelopeFactory::createReader ( ) const [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 70 of file AUD_EnvelopeFactory.cpp.

References EnvelopeParameters::arthreshold, EnvelopeParameters::attack, endEnvelopeFilter(), envelopeFilter(), AUD_EffectFactory::getReader(), AUD_IReader::getSpecs(), pow(), AUD_Specs::rate, EnvelopeParameters::release, and EnvelopeParameters::threshold.


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