Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Gate< T, Ts > Class Template Reference

Binary gate controlled by threshold comparison. More...

#include <Envelope.h>

Inherits Ts.

List of all members.

Public Member Functions

 Gate (double closingDelay=0, double threshold=0.001)
bool done () const
 Check whether gate is closed.
operator() (const T &v)
 Filter value.
Gatedelay (double v)
 Set closing delay.

Detailed Description

template<class T = real, class Ts = Synced>
class gam::Gate< T, Ts >

Binary gate controlled by threshold comparison.


Constructor & Destructor Documentation

Gate ( double  closingDelay = 0,
double  threshold = 0.001 
)
Parameters:
[in]closingDelayunits to wait before closing while under threshold
[in]thresholdthreshold below which gate closes

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