Reference+
Name
process()
Class
BandPass
Description
Start applying this bandpass filter to an input signal.
Examples
import processing.sound.*; WhiteNoise noise; BandPass bandPass; void setup() { size(640,360); background(255); // Create a noise generator and a bandpass filter noise = new WhiteNoise(this); bandPass = new BandPass(this); // start the noise generator and the filter noise.play(0.5); bandPass.process(noise); } void draw() { }
Syntax
bandpass.process(input, freq, bw)
Parameters
input
(SoundObject)
the sound source to filterfreq
(float)
the center frequency in Hertzbw
(float)
the filter bandwidth in Hertz
Return
void

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