FSineOsc::Init

Initialize the oscillator with a sample rate and new frequency.

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 Init
(
    const int32 InSampleRate,
    const float InFrequencyHz,
    const float Scale,
    const float Add
)

Remarks

Initialize the oscillator with a sample rate and new frequency. Must be called before playing oscillator.

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