|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
overridevirtual |
Processes a single input sample and generates a sine wave sample.
| input | Input sample (used for modulation when modulators are connected) |
This method advances the oscillator's phase and computes the next sample of the sine wave, applying any modulation from connected nodes.
Implements MayaFlux::Nodes::Node.
Definition at line 80 of file Sine.cpp.
References MayaFlux::Utils::ACTIVE, MayaFlux::Nodes::atomic_add_flag(), MayaFlux::Nodes::atomic_dec_modulator_count(), MayaFlux::Nodes::atomic_inc_modulator_count(), MayaFlux::Nodes::atomic_remove_flag(), MayaFlux::Nodes::Generator::Generator::m_amplitude, m_amplitude_modulator, MayaFlux::Nodes::Node::m_fire_events_during_snapshot, MayaFlux::Nodes::Generator::Generator::m_frequency, m_frequency_modulator, MayaFlux::Nodes::Node::m_last_output, m_offset, MayaFlux::Nodes::Generator::Generator::m_phase, m_phase_inc, m_state_saved, notify_tick(), MayaFlux::Utils::PROCESSED, MayaFlux::Nodes::try_reset_processed_state(), and update_phase_increment().
Referenced by process_batch().
Here is the call graph for this function:
Here is the caller graph for this function: