|
MayaFlux 0.1.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 54 of file Sine.cpp.
References MayaFlux::Config::get_sample_rate(), MayaFlux::is_engine_initialized(), and m_phase_inc.
Referenced by process_sample(), reset(), set_frequency(), Sine(), Sine(), Sine(), and Sine().
Here is the call graph for this function:
Here is the caller graph for this function: