|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
|
private |
Updates the phase increment based on a new frequency.
| frequency | New frequency in Hz |
This method calculates the phase increment needed to produce the specified frequency at the current sample rate.
Definition at line 51 of file Sine.cpp.
References frequency, m_phase_inc, and MayaFlux::Nodes::Node::m_sample_rate.
Referenced by process_sample(), reset(), set_frequency(), Sine(), Sine(), Sine(), and Sine().
Here is the caller graph for this function: