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

◆ set_constant()

void MayaFlux::Nodes::Constant::set_constant ( double  value)

Update the emitted value.

Parameters
valueNew constant to emit from the next process call onward

Definition at line 39 of file Constant.cpp.

40{
41 m_value = value;
42 m_last_output = value;
43}
double m_last_output
The most recent sample value generated by this oscillator.
Definition Node.hpp:377

References MayaFlux::Nodes::Node::m_last_output, and m_value.