Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/Components > API/Runtime/AudioMixer/Components/USynthComponent
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/Components/SynthComponent.h |
| Include | #include "Components/SynthComponent.h" |
| Source | /Engine/Source/Runtime/AudioMixer/Private/Components/SynthComponent.cpp |
void AdjustVolume
&40;
float AdjustVolumeDuration,
float AdjustVolumeLevel,
const EAudioFaderCurve FadeCurve
&41; const
Remarks
This function allows designers to trigger an adjustment to the sound instance’s playback Volume with options for smoothly applying a curve over time.
Parameters
| Name | Description |
|---|---|
| AdjustVolumeDuration | The length of time in which to interpolate between the initial volume and the new volume. |
| AdjustVolumeLevel | The new volume to set the Audio Component to. |
| FadeCurve | The curve used when interpolating between the old and new volume. |