Problems using virtual analog Faust filters in Hise
-
Hi! I'm creating scriptnode filter using the Faust node. I exported from Faust IDE the virtual analog oberheim example (the HPF one).
Now, I'd like to use the filter polyphonically, so each note I play can be filter-modulated (am I wrong?).Here the snippet:
HiseSnippet 2495.3oc6arsbaiakz1P1R4R2KIa5akim9fyLdUIok0kcmNaRrsh8znXkH2j8sLHjPVbLIAKIjic6z+s9IzOg9Iz+f1C.Hk.okbjjkS1tMxyXKfC.N2uQBStfQBcItuKIzKJhvzzzWsaL0gjjPi0zKexkQDM86h5cYHavdCvdgZGsul98QcvILRrgbpmcYDNIg3poqu5y4SnWdMMwm+8O8LrONzgLdJMs2P8bHuvKviMd1tO4O4462F6RNwKPY00dxQNzv8n9zg.8rJxTKB6bF9TxKw7ksBRSuzAtdLZbOFlQRf07Lp6k8FP+Pnb8uwKw689D9.KsdvAImVauAd9ti30DfyQJb9pRN+AnNdtdilerD3qD.LFuCUYf9JWGIYMGjjtBIsljj9ZTOmXuH1XHb54NniBAEReLHpUIE4Z0z+Gn8nvBBYUCvmQZGCCFsgspaZtsA7qG+i8GF5v7ngFzvWRYjiC25wU9aUJW4uWwnHn98mHLNZho99j3IBlqciutMtU3vf2Sh213br+PxnEBredYZoYSl5H4ZkERCOJzicbDIcbapuKWVw+9U0.ZohM3a+4i1GyvbkR5bv5hHwLON4nuO4bvpVphJi1mjbFiFA10WQ+AVNT2g9XVdyIteSJ.PdjSGxUTgIdrKU8qlCaLyq0FaVIwuF00i4LXxz3JSfFAI0sAMl5YdOzA86SbXiIv0Ps+4E0Mb1Q+Ckn+Nn2hOmHBKJP9CEi6SiCLdNIjDykcVWSfw+4rFXLZlCLdrCCHgShwgIQzDhk5IW.lsJr8Irgg4WtbpbqhydsA1SYca7jrIsUmrKNL2gAiycRc7tX7v+0OcPHFTB8H.23dbhCvrbYmpod2g9Ij254xFXotwwSaqN8g3XWPu3jyPb07VBqMaAOx6Spr9IDotzmgjGKGG6OiwdxkeqbFM1yKHxmbP34DeH.qfF+F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jslq.eFg4RRDTN+Vts49j.HpLKFKuza8MXCHFGmtOiC8Ncv22EhPXHalR4TvCYCnwFadPrmiwI3XNrJdAQzX1ValvbE7ZUeu2u4iA.ux3OZLHw2ykDu0luZyss11r5taaYB+wzBVPHMNf2yj5x3OUqMEqyTrdn0nG+CIdUSftDfiLRFbA1w4jpJb5VYm01uBNXMs+KzazbVG
If you try to switch the type with the custom knob in the Scriptnode, you switch between the faust filter and the HISE one. You can hear that the Faust one complains. Is not fluid and the note start with a click.
What I'm doing wrong?
Thanks.
-
Friendly bump :-)
-
@arcy remove si.smoo
You don't need smoothing for an envelope in a polyphonic scenario. But if you want it, use the scriptnode smoothers. The one without the cable has an option to set the default value.
-
@arcy I'm not really a Faust expert, but its possibly a leaky integrator filter (so it fills with energy when you swap between the two filters, not really an expert on that subject either).
You could try removing the smoothing from the faust code (si.smoo) to make the pop less audible, or maybe a better solution is to try just crossfading between the two with gain nodes with a delay time in order to avoid the pop?
HiseSnippet 2810.3oc6ak7barTFejja6H4j2VRHbghobAU4TkeBMx1ZgTTwIdI1EQ1JVljGmLimok0Td1XlQN1PweCb9ciybhSTE2xeBuB3NbjiOJNSAec2yR2RZjGIKmEHJUEqd86W+s2KBeQ.1VGqerusgqKNPRJWg1dNZXeeGOobEO5RWrTtai5bocPuM6oZXKs2VP8nsuP0x0DK8zKcU88w5R4xU3YjlyUbNI5mu8wOU0T0VCmTkjzKcLzvO2vxHHo11a7SMLM2QUGejgEWuWai8zbr2zwzoO.kBnJRtpZmodJdeUR2xijxM+15FANdcBTCv9R4l6oN5W1omyqsY8+kF9Fm.fDJnH0AlHV063XpSPLoVoM6YXpGuj8AF.hiATfw.tGpkgtQb8ILhOi1fbxH34G4xKBuBBvSgGdU3f2HfTNNHMGCReNpilmgaPRKD7rHZO6.rWWUMQQCquR4dCZSGnC1AksTOCuiGTHd.KWqRkUjg+6gOpaeas.CGaYG68cBvGXu7CK8qKUrzuoj7fM0s6HaiPFOGSSr2HalHo8F2.W1tu0I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