Skip to content

Audio Low Pass Filter

Updated

Cuts the highs above the cutoff, muffling the sound.

Type
comp-audio-low-pass-filter
Script class
AudioLowPassFilterComponent
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 5000 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(AudioLowPassFilterComponent);
if (component) log(component.props);
}