Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter resonance option #46

Closed
stuible opened this issue Oct 25, 2019 · 1 comment
Closed

Add filter resonance option #46

stuible opened this issue Oct 25, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@stuible
Copy link

stuible commented Oct 25, 2019

Adding the ability to modify the resonance of the lowpass, highness and bandpass filters would be a great addition to the library. Is there any plan to do so? I've noticed this functionality is already available with p5: https://p5js.org/reference/#/p5.Filter

@kevinstadler
Copy link
Collaborator

I think what the p5 sound library refers to as "resonance" can already be controlled through the bw (bandwidth) parameter? https://processing.org/reference/libraries/sound/BandPass_bw_.html

That parameter is only available for the BandPassFilter obviously, but with the underlying JSyn sound synthesis library it would also be possible to allow Processing users to control the resonance of any filter by providing direct control to the different filters' Q. I'm not sure if "resonance" would be the correct method name for this, or if it should just be "Q"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants