/Engine/Source/Runtime/SignalProcessing/Public/DSP/SinOsc.h
FOscDirect-form sinusoid oscillator. Created with a biquad filter (using only feedback coefficients) with poles directly on unit circle in z-plane. Setting frequency uses current filter state to compute initial conditions to avoid pops when changing frequency. Extremely cheap to run but expensive to set new frequencies. Good for test tones.
class FSineOsc
float
Add
float
B1
float
B2
float
FrequencyHz
int32
SampleRate
float
Scale
float
Yn_1
float
Yn_2