Reference+
Name
process()
Class
LowPass
Description
Starts applying this filter to an input signal.
Examples
import processing.sound.*; WhiteNoise noise; LowPass lowPass; void setup() { size(640,360); background(255); // Create a noise generator and a bandpass filter noise = new WhiteNoise(this); lowPass = new LowPass(this); // start the noise generator and the filter noise.play(0.5); lowPass.process(noise); } void draw() { }
Syntax
filter.process(input, freq)filter.process(input, freq, q)
Parameters
input(SoundObject)the sound source to filterfreq(float)the cutoff frequency in Hertzq(float)the resonance (or 'Q factor'), a value between 0.1 and 10
Return
void

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.