Making a Filter Envelope Amount Knob?
-
Hey!
I’m trying to make an amount knob for one of my filters I’m going to implement. This amount knob will be a knob that controls basically the wet/dry amount of the filter and how much of it is present in the final sound. The thing is that in the ahdsr envelope fx, I couldn’t find a control like this. How would I do this without making it in scriptnode, or is it not possible. Also, I remember that filter modulation with ahdsr only is possible on the individual sampler and not instrument wide, but is it possible using scriptnode? Thanks again!
-
-
@Casmat
I'm sorry, my bad I didn't get, what you wanted to achieve.So here's how to connect a knob to filter the frequency from 500 to basically nothing.
const var Filter1 = Synth.getEffect("Filter1"); inline function onKnob1Control(component, value) { Filter1.setAttribute(1, value); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control);
Be sure, the knob is set to the correct values (500-20k).
-
@Casmat
If I understood correctly,
On every effect you have an intensity that can be controlled by a knob.Example:
const var Envelope = Synth.getModulator("Envelope"); inline function onKnob1Control(component, value) { Envelope.setIntensity(value); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control);
-
@VorosMusic
Nope, it says that function not found -
I wouldn't recommend making a dry / wet mixer - a filter usually introduces some kind of phase alteration which changes the sound if you mix it with the unprocessed signal.
-
@Christoph-Hart
Then how would I control an amount parameter for my filters? -
@Christoph-Hart
Here's my HISE snippet just in case:HiseSnippet 4210.3oc6c07baabEGTRqjkrrrchaZ5zoyf5ocFZ6XZBP8431wTRVJQMQ1LhJNISlLNPfKIQDH.C.nrUyjF2N8PtkK8R5obqGamIm5M+mPuz64Tmo2x+AsucW.hcg.IAn9VAzGh1ueue6ae6681Eap3XqiccscjxM4162FKkaZT08s7ZtZSMCKoMdnTtWGscSr7601wnQSO4UzbckqXnYYKsx9sgD3ZR4xM5aRpctIGSh96GdvJZlZV53vrjjdhsgN9cLZY3Elakxusgo45Z0vaazhq1yVdCcaqUsMs6.T1nnhRs0z2UqA9QZjpMBRJ23qUyvy1opmlG1UJ2XqXWa+pMselEq9Owv0XGSLIghTUniXYutsYMBESxUZ0lFl0pDf.tRR4PUBwiQY3wMPaZTyna9g3x0nEH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AxkUY9GoGVNuCrUfI+3+VfhK9zzti+k4w+YTSjloOgX7euWqoaKtOWpv99+s0H7NK2O4iqfXLoLcO9TKbLVxDN5ukyIUVdl.ZkMib1lXmFQEKNOfqWE4Kvdt.XmA4uV5rBzNQvGy2S.MX5jQmcCCBRJ2kIT5K09sey27ee.XPouIbg5N1fcJWQ04P9dZEUfjJedTN98KazD4W1Q9Dxo8W24jANoE9EBxdEE7uPs9u7u80GsvS2o6Gb9WV9c4qg3T+MK+tczLCQ5WTB+2WdEi11lZNGVuiGvVMikPQkWK7HqjOlLHQI4SRwXPx0PmIMEg9rMLTlhT9qO5LEYrjg5CvotLyRxLKIyrjSch85TuBOTZgOQo2eFxeqLY5ES3bCcOC5cOOQrrP2HCiti2Yd8XzvJISBO8oEodR79UD7PcPrdw+uoAKJ2nX+OKqb4FwLpYAtcpWmPRzKLZpO8.kebb5A+vCxN8fTd5AJYmdvIpVtyaQuUIK5sYQuMyMoL2jtHF8V0rn2lE81fn2pbrF8V5uezE81hGkQuUIK5sYlhjYJRloHYQrMKhsYQrMKhsWjiXqZ188NKhswFwV0CDw1wOlhX6E3qvsZhuB2p86JbqxcEtUytB2YWg6KlGBfZ1g.j44clm2YddeQ7P.JkcH.WT+eJOIKv+pYA9+rcf+UyB7el4GYlejY9QVf+yB7eVf+OcdtVNbA6e3IuyGA3+jfJOIFiVZ5N1O0+0XkfGWhlCfDVZsXOdpjzxJR6w+NV0xnlwS00Cd79huMpCQaJMDsY1gnMyMDsY9gnMKLDsYw91FRL18e57HZ4fLprFS3M2ZcEdGU5+CaZLU+.
-
@Casmat Like I told you in your other thread, you need to reference the Modulator with .getModulator to set the intensity, not the actual Filter Fx with .getEffect
HiseSnippet 4218.3oc6b07abjbcuGRVjhin3pcsxFGDXfNBN.iVsZzz8vuDTB3PRQtK8tTZVNbk2EFKz1rmZloW1S281cOThwvYELrA7s.jjK6sEHG7EeHH9hMfAh9Sv9tOnbI.A4xdw9Zxqpp6oqp47Q2C+PCo5QGD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7HzlEFg1r3HzlkFg1r7HzlUFXaHwXO3wbiXkCxn5lLk2ba1U4cRo+evI3D9L
-
@Casmat
The code I sent should technically work without a console error.
Like @Soundavid said be sure it is a Modulator reference.But for me the main question is, what result you would want to get.
Should the knob have more or less gain difference on the sound, or should it shorten and lengthen the attack and release time?
-
@VorosMusic On a typical synth this would set how much of the envelope to send into the freq cutoff. I am assuming that is what the OP wants ?
-
@lalalandsynth
Exactly! Its how much of my 500 hz filter is active on the sound. When it is turned to zero, it should be fully filtered and only play low frequencies, but if it is turned all the way up, it should let all the the normal non filtered sound play. The current one that you guys mentioned was the affects the adsr controls, but I want it to affect the whole filterupdated snippet:
HiseSnippet 4781.3oc6c07bbajcGCIaRQJJJZakMapMoJDUIUMxxZD.luKks3vOsXrnzXNzx10Vt3BhomgvDCvr.XnH2s10pRkC91dIWbxkbKWSU4zdS+IjpxkbzmRU4l9OHo+.XP2fXFBLjC+XLjOXh9y26W+du908q6dpaaoAcbrrExL+dm1EJjYQPiSMcOb8CU0ME1dCgL+bvdGBE+ht15sOzUbMUGGw55plVBqcZWzGvlBYxL8mhKcl4mQf7u2uxZpFplZvfjDDdsktF7E5czcCRsdsOS2vXK0lv8z6vT5B01VyxbcKCqdHJaZfjPWUsiTaCeoJtXSADxL6lM0csra3p5BcDxLyZVMOswgVuwjV9Wq6nefAD+grPCTCQSdKKilXJFmpv5GpazrtOB3HHjATO.OllhGO.ridS89oGfKKSxPLnFr3Qlo3Iuo4HOYVxShg7hfjxvPRyPIoO.zPyVuqaPNX54tfsMcg1sTQvNKoPKqvTcWDrtEpDlt45ndDbKazG8qQ1RRRehXdIoG8rEV3oOcKcCTFhqtQicEwUx1xvAk9GiFTbbE8x8WJ9q9lm8wOcAZhGqZ6kgDJGhLTt1P2Ma0Bp4l8gdY8PT6Gt7xCt7xQUdkAWdkfxu5yQD+llGCMr5Boz5BKzxxVLqN5KomIpK92IlG8+d7iezB+tElmq7451y4vr86jcrZ1yPEMbl8gbE6ghOVT+Qn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U9QcZdNElhUkKNJ2abkz6Md58FOx6MtxYtLrSzm.jq3KEtRruT3JC6RgqvbovURuT3oWJ7IySfjR5IPJMreog8KMreShm.o7om.ozSfj+IPRI8DHcy9DHojdBjRcEI0UjTWQROARom.oI8SfT9zSfT5IPJ8DHkdBjROARSZm.oqBp7pnO5npYasu2uYTX73NjTPHgIIFryC1A+snrvwru19czapuull+OwHQWGkQnN4Gg5TXDpSwQnNkFg5TdDpSkgVGbP479A9.agEkP8MoBuY5Gw6LSK7+OgMo4A
-
@Casmat
I'm sorry, my bad I didn't get, what you wanted to achieve.So here's how to connect a knob to filter the frequency from 500 to basically nothing.
const var Filter1 = Synth.getEffect("Filter1"); inline function onKnob1Control(component, value) { Filter1.setAttribute(1, value); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control);
Be sure, the knob is set to the correct values (500-20k).
-
@VorosMusic
Thanks for your help! And no worries, I should’ve explained better earlier, thanks again! -