Skip to content

Audio High Pass Filter

Updated

Cuts the lows below the cutoff, thinning the sound.

Type
comp-audio-high-pass-filter
Script class
AudioHighPassFilterComponent
Per entity
One
Version
1.2.0

Read about it in Audio filters: what it does, how to use it from a script, and examples.

The props the runtime declares for this component, with their defaults and accepted ranges.

Prop Default Range
frequency 200 10 ≤ x ≤ 22000
q 0.7071067811865476 0.1 ≤ x ≤ 20
rolloff 24

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(AudioHighPassFilterComponent);
if (component) log(component.props);
}