|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Nodes::Generator::Impulse::Impulse | ( | float | frequency, |
| const std::shared_ptr< Node > & | amplitude_modulator, | ||
| double | amplitude = 1, |
||
| float | offset = 0 |
||
| ) |
Constructor with amplitude modulation.
| frequency | Impulse repetition rate in Hz |
| amplitude_modulator | Node that modulates the amplitude |
| amplitude | Base amplitude (default: 1.0) |
| offset | DC offset added to the output (default: 0.0) |
Creates an impulse generator with amplitude modulation, where the actual amplitude is the base amplitude multiplied by the output of the modulator node.
Definition at line 27 of file Impulse.cpp.
References frequency, MayaFlux::Nodes::Generator::Generator::m_amplitude, MayaFlux::Nodes::Generator::Generator::m_frequency, and update_phase_increment().
Here is the call graph for this function: