|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Creates a context object for callbacks.
| value | The current generated sample |
This method creates a specialized context object containing the current sample value and all oscillator parameters, providing callbacks with rich information about the oscillator's state.
Implements MayaFlux::Nodes::Node.
Reimplemented in MayaFlux::Nodes::Generator::Logic, MayaFlux::Nodes::Generator::Polynomial, and MayaFlux::Nodes::Generator::Stochastics::Random.
Definition at line 19 of file Generator.cpp.
References MayaFlux::Nodes::Node::get_gpu_data_buffer(), m_amplitude, m_frequency, MayaFlux::Nodes::Node::m_gpu_compatible, and m_phase.
Referenced by MayaFlux::Nodes::Generator::Impulse::notify_tick(), MayaFlux::Nodes::Generator::Phasor::notify_tick(), MayaFlux::Nodes::Generator::Sine::notify_tick(), and MayaFlux::Nodes::Generator::Sine::Sine().
Here is the call graph for this function:
Here is the caller graph for this function: