USynthComponentToneGenerator

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Synthesis

Header

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

Include

#include "SynthComponents/SynthComponentToneGenerator.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=Synth, Meta=(BlueprintSpawnableComponent))
class USynthComponentToneGenerator : public USynthComponent

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

float

 

Frequency

The frequency (in hz) of the tone generator.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

float

 

Volume

The linear volume of the tone generator.

Constructors

No constructors are accessible with public or protected access.

Destructors

No destructors are accessible with public or protected access.

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

SetFrequency

(
    float InFrequency
)

Sets the frequency of the tone generator.

Public function UFunction BlueprintCallable, Category

void

 

SetVolume

(
    float InVolume
)

Sets the volume of the tone generator.

Overridden from USynthComponent

Name Description

Public function Virtual

ISoundGenera...

 

CreateSoundGenerator

(
    int32 InSampleRate,
    int32 InNumChannels
)

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

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