|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Impulse::reset | ( | float | frequency = 1, |
| float | amplitude = 1.0F, |
||
| float | offset = 0 |
||
| ) |
Resets the generator's phase and parameters.
| frequency | New frequency in Hz (default: 1Hz) |
| amplitude | New amplitude (default: 1.0) |
| offset | New DC offset (default: 0) |
This method resets the generator's internal state and parameters, effectively restarting it from the beginning of its cycle.
Definition at line 161 of file Impulse.cpp.
References MayaFlux::Nodes::Generator::Generator::m_amplitude, MayaFlux::Nodes::Node::m_last_output, m_offset, MayaFlux::Nodes::Generator::Generator::m_phase, and set_frequency().
Here is the call graph for this function: