RealDocs

UAudioComponent::PitchModulationMin

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

Description

The lower bound to use when this component randomly determines a pitch multiplier for playback.

Caveats & Gotchas

  • Only has an effect if PitchModulationMax differs from this value or from the base PitchMultiplier — if both bounds are equal, the randomization has no audible range.
  • This bound is combined with, not a replacement for, PitchMultiplier; the final pitch is the multiplier value randomized within [PitchModulationMin, PitchModulationMax] on top of PitchMultiplier depending on the sound's own settings.

Signature

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Randomization|Pitch", meta = (DisplayName = "Pitch (Min)"))
float PitchModulationMin;

Example

Randomize pitch per footstep C++
AudioComponent->PitchModulationMin = 0.9f;
AudioComponent->PitchModulationMax = 1.1f;
AudioComponent->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.