Class daisysp::SampleHold¶
ClassList > daisysp > SampleHold
#include <samplehold.h>
Public Types¶
| Type | Name |
|---|---|
| enum | Mode |
Public Functions¶
| Type | Name |
|---|---|
| float | Process (bool trigger, float input, Mode mode=MODE_SAMPLE_HOLD) |
| SampleHold () |
|
| ~SampleHold () |
Detailed Description¶
Dual track and hold / Sample and hold module. Ported from soundpipe by Ben Sergentanis, June 2020.
Author:
Paul Batchelor
Date:
2015
Public Types Documentation¶
enum Mode¶
Public Functions Documentation¶
function Process¶
Process the next sample. Both sample and track and hold are run in parallel
Parameters:
triggerTrigger the sample/track and holdinputSignal to be sampled/tracked and heldmodeWhether to output the tracked or sampled values.
function SampleHold¶
function ~SampleHold¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Utility/samplehold.h