MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ edge_divider_state()

MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::edge_divider_state ( size_t  n,
size_t  offset = 0,
double  threshold = 0.5 
)

Builds the array edge_divider reads and writes.

Parameters
nPass every n-th rise
offsetWhich of each n rises passes, counted from zero
thresholdLevel the input must rise through

Layout: [threshold, latched, edges, n, offset, pass].

Definition at line 104 of file Boolean.cpp.

105{
106 return { threshold, 0.0, 0.0, static_cast<double>(n), static_cast<double>(offset), 0.0 };
107}
uint64_t offset
Definition Composite.cpp:10
float threshold

References offset, and threshold.