Binary gate controlled by threshold comparison. More...
#include <Envelope.h>
Inherits Ts.
Public Member Functions | |
| Gate (double closingDelay=0, double threshold=0.001) | |
| bool | done () const |
| Check whether gate is closed. | |
| T | operator() (const T &v) |
| Filter value. | |
| Gate & | delay (double v) |
| Set closing delay. | |
Binary gate controlled by threshold comparison.
| Gate | ( | double | closingDelay = 0, |
| double | threshold = 0.001 |
||
| ) |
| [in] | closingDelay | units to wait before closing while under threshold |
| [in] | threshold | threshold below which gate closes |