Jamoma API  0.6.0.a19
TTTrapezoidWindow.cpp File Reference

Trapezoid Window Function Unit for Jamoma DSP. More...

+ Include dependency graph for TTTrapezoidWindow.cpp:

Go to the source code of this file.

Detailed Description

Trapezoid Window Function Unit for Jamoma DSP.

This implements a Trapezoid window using the following algorthim:

Where 0. <= x <= 1. and 0. <= mAlpha <= 1.:
y = x * twoOverAlpha : for the attack
= 1 : for the sustain
= (1 - x) * twoOverAlpha : for the release

Authors
Trond Lossius, Nathan Wolek, Tim Place, Nils Peters,

Definition in file TTTrapezoidWindow.cpp.