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

◆ set_frequency()

virtual void MayaFlux::Nodes::Generator::Generator::set_frequency ( float  frequency)
inlinevirtual

Sets the generator's frequency.

Parameters
frequencyNew frequency value in Hz

This method updates the generator's frequency setting, which controls the rate of oscillation or pattern repetition.

Reimplemented in MayaFlux::Nodes::Generator::Impulse, MayaFlux::Nodes::Generator::Phasor, and MayaFlux::Nodes::Generator::Sine.

Definition at line 188 of file Generator.hpp.

188{ m_frequency = frequency; }
float m_frequency
Base frequency of the generator.