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

◆ reset()

void MayaFlux::Nodes::Generator::Polynomial::reset ( )

Resets the generator to its initial state.

Clears the internal buffers and resets to initial conditions.

Definition at line 120 of file Polynomial.cpp.

121{
122 std::ranges::fill(m_ring_data, 0.0);
123 m_ring_head = 0;
125 m_last_output = 0.0;
126}
size_t m_buffer_size
Maximum size of the buffers.
double m_last_output
The most recent sample value generated by this oscillator.
Definition Node.hpp:374

References m_buffer_size, MayaFlux::Nodes::Node::m_last_output, m_ring_count, m_ring_data, and m_ring_head.

Referenced by process_batch().

+ Here is the caller graph for this function: