Reference+
Name
process()
Class
HighPass
Description
Starts applying this filter to an input signal.
Examples
import processing.sound.*; WhiteNoise noise; HighPass highPass; void setup() { size(640,360); background(255); // Create a noise generator and a bandpass filter noise = new WhiteNoise(this); highPass = new HighPass(this); // start the noise generator and the filter noise.play(0.5); highPass.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.