daisysp::SampleHold¶
#include <samplehold.h>
Public Types¶
Name | |
---|---|
enum | Mode |
Public Functions¶
Name | |
---|---|
SampleHold() | |
~SampleHold() | |
float | Process(bool trigger, float input, Mode mode =MODE_SAMPLE_HOLD) |
Detailed Description¶
Author: Paul Batchelor
Date: 2015
Dual track and hold / Sample and hold module.
Ported from soundpipe by Ben Sergentanis, June 2020.
Public Types Documentation¶
enum Mode¶
Enumerator | Value | Description |
---|---|---|
MODE_SAMPLE_HOLD | ||
MODE_TRACK_HOLD | ||
MODE_LAST |
Public Functions Documentation¶
function SampleHold¶
function ~SampleHold¶
function Process¶
Parameters:
- trigger Trigger the sample/track and hold
- input Signal to be sampled/tracked and held
- mode Whether to output the tracked or sampled values.
Process the next sample. Both sample and track and hold are run in parallel
---¶
Updated on 2024-01-03 at 19:38:46 +0000