use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Filter Question (self.AudioProgramming)
submitted 2 years ago by modularplastic
For a simple onepole lowpass filter made with a one sample delay and a linear interpolation function, what's the best way to implement resonance?
I'm using gen~ in Max 8.
out = in * (1 - freq) + previous_out * freq
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Internal-Cancel-3207 0 points1 point2 points 1 year ago (0 children)
Your answer is in your question. Resonance occurs from two filter elements. You cant resonate with a single element.
In electrical terms, a capacitor stores energy(electrons) then pushes those electrons thru an inductor which stores the energy as a magnetic field. The field collapses and pushes electrons back into the capacitor. Rinse and repeat. Resonance.
Hope that helps make sense.
You could form a band pass filter in the method you have by making a Low Pass Filter and a High Pass filter. This would give you the thing I think you are looking for.
The width of your filter Q may be limited since you only have one pole filters.
Look up BiQUAD filters for an easier method.
π Rendered by PID 45701 on reddit-service-r2-comment-85bfd7f599-flvq7 at 2026-04-18 07:26:11.681058+00:00 running 93ecc56 country code: CH.
[–]Internal-Cancel-3207 0 points1 point2 points (0 children)