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

◆ Counter() [1/2]

MayaFlux::Nodes::Generator::Counter::Counter ( uint32_t  modulo = 16,
int32_t  step = 1 
)

Construct with modulo and step.

Parameters
moduloWrap boundary (0 = unbounded)
stepIncrement per tick (negative for countdown)

Definition at line 5 of file Counter.cpp.

6 : m_modulo(modulo)
7 , m_step(step)
8{
9 m_amplitude = 1.0;
10 m_frequency = 0.F;
11}
float m_frequency
Base frequency of the generator.
double m_amplitude
Base amplitude of the generator.

References MayaFlux::Nodes::Generator::Generator::m_amplitude, and MayaFlux::Nodes::Generator::Generator::m_frequency.