|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Nodes::Generator::Phasor::Phasor | ( | float | frequency, |
| const std::shared_ptr< Node > & | amplitude_modulator, | ||
| double | amplitude = 1, |
||
| float | offset = 0 |
||
| ) |
Constructor with amplitude modulation.
| frequency | Phasor cycle 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 a phasor generator with amplitude modulation, where the actual amplitude is the base amplitude multiplied by the output of the modulator node.
Definition at line 30 of file Phasor.cpp.
References MayaFlux::Nodes::Generator::Generator::m_amplitude, and update_phase_increment().
Here is the call graph for this function: