How can I create a knob that controls both a Low-Pass and a High-Pass filter?
-
Hi there,
I'm trying to create a knob that controls the frequencies of a Low-Pass and a High-Pass filter. The idea is that when the knob is in the center position, both filters are "off" (i.e., the Low-Pass is set to 20,000 Hz and the High-Pass to 20 Hz). Turning the knob left would move the High-Pass filter from 20 Hz to 20,000 Hz, and turning it right would move the Low-Pass filter from 20,000 Hz to 20 Hz.Does anyone have a starting point for this or could help me?
-
@treynterrio I'm using Scriptnode Module with a Frequency Knob and a Knob for the Mode to switch between HP and LP
-
@treynterrio Here's an example without Scriptnode, shouldn't be difficult to transpose it though
HiseSnippet 1328.3ocuWssTabDDcVfkjcchcbU4CXJ8jffgUZ4hbHFjQfBpLWjsHjjWhqQ6NKZJsZFwtiPn3hp36HeItp7CjOi7TdIuj+.md1KncwDtnJIhBnltmtmSe5o6dTy.gCMLTDfzLOZTeJR6yzaMhK6TqCgwQM1Fo8X88IgRZ.NVzVi5SBCotHMso+Vk.MiYPQe9qM2h3S3NzwhPniELG5drdL4XoMq9JluechK8HVuL6d4pMbD7ZBew..OSqag5Sb5RNgd.QssozQ6RB6fzlW2l5VtRExJKaa6T44UbVygTg5Tp8ZVkIdt1UntscWdkkIHsY2wkIEAsjDIMDoMyVB2Qs5HFxiOfiYgr19T0hRnVvIGKttv2UEhJonZcX9tMSIpPD3kliosoiosuTeelK6J4iouuHRAdrEYIPsoxCuoyAuR+Sv6FfjVFHMSLjdpdKm.Ve4XMJ77H8FbHa5Qf7TVnDuWzTzYzqIfcvkK1izkVO.VbkEEW0xZAL7m4V2zzDRVgR7Yj.bSR.jhjArS240kvu.GcEZwSnxc77nNxhEFuALriBQlax39LNE6Mf6HYBNVveEWztj53CD9EcD85K3.PV.NC+Az4Lemoguvg3i8BnmttogowRKgobBPQK4xBU+GK6.+NTfaS3tg3gcnbbWvqXhD6PUwgoQNztXHU9RIrn8.IsXdU6D4Z2jyGuAtzhpH+A6.7WkmgVbK.bG54AVl56uI02lFLObwrBwPP1l5KFhewF38ZV2z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