UAudioComponent::SetHighPassFilterFrequency
#include "Components/AudioComponent.h"
Access: public
Specifiers: UFUNCTIONBlueprintCallable
Description
Sets the cutoff frequency, in Hz, used by this component's High Pass Filter contribution to the sound's overall HPF calculation.
Caveats & Gotchas
- • Has no effect unless SetHighPassFilterEnabled(true) has also been called on this component.
- • The engine takes the highest HPF cutoff across all contributing sources, so a low frequency here won't override a more aggressive filter applied elsewhere.
- • Very high values can remove most of a sound's audible content, particularly for bass-heavy or voice sources.
Signature
void SetHighPassFilterFrequency(float InHighPassFilterFrequency) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InHighPassFilterFrequency | float | Cutoff frequency, in Hz, for this component's High Pass Filter contribution. | — |
Return Type
void Example
Thin out a sound's low end C++
AudioComponent->SetHighPassFilterEnabled(true);
AudioComponent->SetHighPassFilterFrequency(300.0f); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?