USynthComponentToneGenerator::CreateSoundGenerator

Implemented by the synth component to create a generator object instead of generating audio directly on the synth component.

Windows
MacOS
Linux

Override Hierarchy

USynthComponent::CreateSoundGenerator()

USynthComponentToneGenerator::CreateSoundGenerator()

References

Module

Synthesis

Header

/Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/SynthComponentToneGenerator.h

Include

#include "SynthComponents/SynthComponentToneGenerator.h"

Source

/Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Private/SynthComponentToneGenerator.cpp

Syntax

virtual ISoundGeneratorPtr CreateSoundGenerator
(
    int32 InSampleRate,
    int32 InNumChannels
)

Remarks

Implemented by the synth component to create a generator object instead of generating audio directly on the synth component. This method prevents UObjects from having to exist in the audio render thread.

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