Skip to content

Audio Distortion Filter

Updated

Overdrives the sound, from a warm edge to a hard crunch, at a steady level.

Type
comp-audio-distortion-filter
Script class
AudioDistortionFilterComponent
Per entity
One
Version
1.1.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
amount 0 ≤ x ≤ 1
wet 0 ≤ x ≤ 1

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(AudioDistortionFilterComponent);
if (component) log(component.props);
}