how to have reson~ go past 22khz


    Oct 31 2018 | 5:56 pm
    Not sure how to explain this problem in the title alone. When the reson~ frequency goes past 22khz it "swings" back and forth as the frequency goes up and the gain gets amplified each time it does this. The reason why this is an issue for me is because I want to put an LFO on the bandpass with a varying frequency center and depth which usually has it go outside of 22khz and cause this problem.
    Is there a way to have this rubber band not happen? I've tried if then checks to check the current frequency range and shut the reson~ off when outside the range but this causes audio pops. I've been going insane for two weeks now trying to figure out how to solve this. Thanks in advance for any input.
    Here is an example of the problem I tried to describe.
    Max Patcher
    In Max, select New From Clipboard.

    • Oct 31 2018 | 7:31 pm
      you could upsample you patch, but it should also be okay to just cut the value off, or dou you hear the current barrier?
    • Oct 31 2018 | 7:58 pm
      I don't know how to upsample a patch, I'll look into that. Cutting the value off, or even smoothing it out to zero as it approaches the 22khz limit doesn't stop the popping that occurs when using a saw wave as an LFO.
    • Oct 31 2018 | 10:25 pm
      [poly~ mypatch 1 up 4] will give you 176 khz when the outside world has 44. inside poly you must use its special inlets (see helpfile)
    • Nov 03 2018 | 3:40 am
      Thanks for the replies guys. So clip~ seems to fix the bounds issue much better than the if check I was using before. But I still have inconsistencies occurring with a saw LFO here. The audio will clip and pop randomly when moving from 1 back to 0. How do you fix this?
      Max Patcher
      In Max, select New From Clipboard.