|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Nodes::Generator::Impulse::Impulse | ( | 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 | Impulse amplitude (default: 1.0) |
| offset | DC offset added to the output (default: 0.0) |
Creates an impulse generator with frequency modulation, where the actual frequency is the base frequency plus the output of the modulator node.
Definition at line 17 of file Impulse.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: