p5.EQ

p5.EQ is an audio effect that performs the function of a multiband audio equalizer. Equalization is used to adjust the balance of frequency compoenents of an audio signal. This process is commonly used in sound production and recording to change the waveform before it reaches a sound output device. EQ can also be used as an audio effect to create interesting distortions by filtering out parts of the spectrum. p5.EQ is built using a chain of Web Audio Biquad Filter Nodes and can be instantiated with 3 or 8 bands. Bands can be added or removed from the EQ by directly modifying p5.EQ.bands (the array that stores filters).

This class extends p5.Effect. Methods amp(), chain(), drywet(), connect(), and disconnect() are available.

Ejemplos

Sintaxis

p5.EQ([_eqsize])

Parámetros

_eqsize
Number:

Constructor will accept 3 or 8, defaults to 3

Campos

bands

The p5.EQ is built with abstracted p5.Filter objects. To modify any bands, use methods of the p5.Filter API, especially gain and freq. Bands are stored in an array, with indices 0 - 3, or 0 - 7

Métodos

process

Process an input by connecting it to the EQ

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Referencias Relacionadas