Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::HystereticTriggerDetectT< SampleType > Class Template Reference

Hysteretic continuous-CV edge detector. More...

#include <trigger.hpp>

Public Member Functions

void set_thresholds (double high, double low)
void reset ()
bool process (SampleType input)
void process (SampleType input, bool &rising, bool &falling)
bool high () const

Detailed Description

template<typename SampleType = float>
class pulp::signal::HystereticTriggerDetectT< SampleType >

Hysteretic continuous-CV edge detector.

CV thresholding owns a Schmitt latch and never debounces; decoded events own a refractory counter in TriggerDetectT. Separate types keep overload selection from changing the edge policy or selecting a different history.

Member Function Documentation

◆ high()

template<typename SampleType = float>
bool pulp::signal::HystereticTriggerDetectT< SampleType >::high ( ) const
inline

◆ process() [1/2]

template<typename SampleType = float>
bool pulp::signal::HystereticTriggerDetectT< SampleType >::process ( SampleType input)
inline

◆ process() [2/2]

template<typename SampleType = float>
void pulp::signal::HystereticTriggerDetectT< SampleType >::process ( SampleType input,
bool & rising,
bool & falling )
inline

◆ reset()

template<typename SampleType = float>
void pulp::signal::HystereticTriggerDetectT< SampleType >::reset ( )
inline

◆ set_thresholds()

template<typename SampleType = float>
void pulp::signal::HystereticTriggerDetectT< SampleType >::set_thresholds ( double high,
double low )
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/signal/include/pulp/signal/trigger.hpp