FSineOsc::SetFrequency

Sets the frequency of the oscillator in Hz (based on sample rate).

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/SinOsc.h

Include

#include "DSP/SinOsc.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/SinOsc.cpp

Syntax

void SetFrequency
(
    const float InFrequencyHz
)

Remarks

Sets the frequency of the oscillator in Hz (based on sample rate). Performs initial condition calculation to avoid pops.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss