MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_amplitude_modulator()

void MayaFlux::Nodes::Generator::Sine::set_amplitude_modulator ( const std::shared_ptr< Node > &  modulator)

Sets a node to modulate the oscillator's amplitude.

Parameters
modulatorNode that will modulate the amplitude

The modulator's output is multiplied with the base amplitude, enabling AM synthesis techniques.

Definition at line 68 of file Sine.cpp.

69{
70 m_amplitude_modulator = modulator;
71}
std::shared_ptr< Node > m_amplitude_modulator
Node that modulates the amplitude.
Definition Sine.hpp:227

References m_amplitude_modulator.