RealDocs

UAudioComponent::EnvelopeFollowerAttackTime

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

Description

The attack time, in milliseconds, for the envelope follower used to compute amplitude values delegates like OnAudioSingleEnvelopeValue can read.

Caveats & Gotchas

  • Only affects the audio-mixer envelope follower — this has no effect when the legacy (non-audio-mixer) audio engine is in use.
  • A shorter attack time makes the reported envelope react faster to sudden volume increases, but can introduce more jitter in a value used to drive visuals like a VU meter.

Signature

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Analysis, meta = (ClampMin = "0", UIMin = "0"))
int32 EnvelopeFollowerAttackTime;

Example

Configure envelope follower timing for a VU-meter effect C++
AudioComponent->EnvelopeFollowerAttackTime = 10;
AudioComponent->EnvelopeFollowerReleaseTime = 100;

Version History

Introduced in: 4.25

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.