TracktionEngine
Loading...
Searching...
No Matches
graph::test_utilities::SineOscillator Struct Reference

#include <tracktion_TestUtilities.h>

Public Member Functions

void reset (float frequency, double sampleRate)
float getNext ()

Public Attributes

float phase = 0
float phaseIncrement = 0

Member Function Documentation

◆ reset()

void graph::test_utilities::SineOscillator::reset ( float frequency,
double sampleRate )

References phase, and phaseIncrement.

◆ getNext()

float graph::test_utilities::SineOscillator::getNext ( )

References phase, and phaseIncrement.

Member Data Documentation

◆ phase

float graph::test_utilities::SineOscillator::phase = 0

Referenced by getNext(), and reset().

◆ phaseIncrement

float graph::test_utilities::SineOscillator::phaseIncrement = 0

Referenced by getNext(), and reset().


The documentation for this struct was generated from the following file: