UAudioComponent::HighPassFilterFrequency
#include "Components/AudioComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Cutoff frequency in Hz for an additional high-pass filter applied to this voice, active only while bEnableHighPassFilter is set. A value of 0.0 matches the device sample rate and effectively bypasses the filter.
Caveats & Gotchas
- • Only takes effect when bEnableHighPassFilter is true, mirroring LowPassFilterFrequency's EditCondition behaviour — setting it with the flag off has no audible effect.
- • The engine takes the highest cutoff frequency among all HPF contributors on the sound, so this override can only tighten the filter further, never loosen one applied elsewhere (e.g. via attenuation).
- • Like LowPassFilterFrequency, writing this property while a sound is already playing does not update the live voice — use SetHighPassFilterFrequency() for runtime changes.
Signature
float HighPassFilterFrequency Example
Enable and set a high-pass cutoff C++
AudioComponent->bEnableHighPassFilter = true;
AudioComponent->HighPassFilterFrequency = 200.0f;
AudioComponent->Play(); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?