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