RealDocs

UAudioComponent::PitchMultiplier

property Engine Blueprint Since 4.0
#include "Components/AudioComponent.h"
Access: public Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite

Description

A pitch multiplier applied to sounds generated by this component, where 1.0 is unmodified pitch.

Caveats & Gotchas

  • Extreme values (well below 0.5 or above 2.0) can introduce audible pitch-shifting artifacts depending on the sound's compression and platform.
  • Combines multiplicatively with PitchModulationMin/Max randomization and any modulation routed through ModulationRouting — the audible pitch is the product of all of them, not just this value.

Signature

float PitchMultiplier

Example

Randomize pitch before playing C++
UAudioComponent* Audio = UGameplayStatics::SpawnSoundAttached(CueToPlay, RootComponent);
Audio->PitchMultiplier = FMath::FRandRange(0.9f, 1.1f);
Audio->Play();

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.