Solved Flanger Problems
-
Hello!
I have made a flanger in scriptnode using @Lindon's post: https://forum.hise.audio/topic/3125/scriptnode-first-attempts?_=1681206983968
In this post, I took the last HISE Snippet (Which is Script FX1) and rebuilt it with minor modifications (Script FX2). I also made another simple flanger (Script FX3) to try and see what was going on. Basically, the flanger has some random artifacts in it when playing through a sine wave and I was confused on why it was happening. I have included the snippet for you all to take a look and help!
HiseSnippet 3083.3oc6c0DaaibEl5mQdsi81j1Dr6oBgE6AuE6ZHRY6MAEnRww1ItMNQvxIaBvB3RSNRhvTjrjT9mcaAJP6gdKaO1do8VA5gEsG6ghDzK8R2KaO0SM8Pu0B3dn851YFRJNiHkHkh9g1gxWLmYH4279aduGeCYMScInkktIWl42+LCHWlEA0OSyt0cZIpnwsyln1AMTE0ZBM413LCQKKnLWlL4tKt6Lymmi767JaHhFjDzuINtGqqHAuuRaEa+VqU86onptsnLbek1Tid0p6HoqcGcU8NHnjCThyPT5HwlvGHhGVV.WlBaIqXqaV2VzFZwkI+F5xmUuk9IZNi+wJVJGpBwGvyUGcgbZdacUYLhwsxcmVJpx07lxVbbY.07I.4bH.WGrqhrR218IDWkzQQ+yfldjIKK7xw.OdZ3UhBdAgDGEhx6fHzMVWtipnMKZvr.2NTz0XPyNZ1PMKE6ynYQScHdMPMEaoVgiwrgfQDCYRfQWF6RfsZz.JY6Cv7fsexjgKlIWPZzBf5RlJF1n6I9lun6gE29I7LDFml4x74fhEKtkVSEM3JRlPDh1zx3AP6SzMOZ42YaGkx24891EazQSBSdKZXBMDMg6qWSU7rksDaanB2CcduewCU0kNptxm.euE9zElegezBzmDAnafGwxRsD0zfpVAGFV6Ty1TWcYsNsODZ99EOVTsi+0KfB5.nc7Cl0smdGaEsl6JZapbJRG8AcZWGYWPBdGWzgZKSVN7oRNtD9XrzScnlL4fuB8ysSd7wYb6j2qSN7jApYiZ2khhYZYb+ezbwwxmKQl61pp5mbG81FJtBxHYERa0zUOynktlhDtImQ3Aya2VuC5N3h06IZsunhJlA+X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pskiCoYbbVgH9y8+AfJJkyL
Thanks!
-
-
@Gudru Let's talk about example 3, as the problems will be the same in the other ones.
One thing that is very different from most other DSP programming environments is that scriptnode requires you to define the processing context and the control rate (= modulation update rate) by using different containers.
If you're making a flanger, you need to modulate at audio rate, therefore you need to put your entire processing chain into a frame2_block container.
The second issue is that you're using the wrong delay type. There is an interpolating delay line (
jdelay
) and a standard delay node which crossfades between fade times. For a flanger you need the first one as the delay time will be fractional and you actually want the resulting doppler effect.This is the 3rd version with the corrections:
HiseSnippet 3236.3oc6c0DabiUG2yGuYZRSJsPq18DZzJNjEsaTrmjrsBIxz7UaXaZGkIMaqzJEbreyLtwisw1S9XWABI3.25dE3.bAgDRrB3FGPa0dAjfdY2SHPhhPhSbnb.j3vpk26Y6wu2LdF6Y57gSpmdo98g8u2+ud+++2+eNkM0kfVV5lbolZ2SMfbolAT4TM65qUWTQiaq0QsCppJpUCZxs5oFhVVPYtToxbKb2olJKG42yWYUQzfjf9MwwsmthD7NJMTr8asbo2VQUcSQY3tJMnF8hk1RRWaMcU8lHnjAr.mgnzgh0f2UDOrz.tT41PVwV2rhsnMzhKU1U0kOsRc8i0bF+dJVJGnBwWvyUAcibZdScUYLhwsxsVcEU4xdKYKNtTfx9DfLNDfqB1VQVoU69DhKS5nf+LnoGoRyBuLLvimFdKPAuNgDGEhx5fHzCVWtopnMKZvr.2NTz0XPyVZ1PMKE6SoYQicHdEPYEao5AiwzAfQDCYTfQWF6rfMpVEJY6CvrfMevngKlJSmznoAUjLULrQOS7CeF2KKr4C3YHLNMyk5CAEJTXCsZJZv4kLgHDstkwcg1Gqad3bu1lNJku1q+0JTsolDl7VvvDZHZB2Uurp3oyYI1vPEtCZduQgCT0kNrhx6Ae8oe+omZ5u8zzSh.zUwiXNo5hZZPUqNGFV6Ty1TWcNslMN.Z9FENRTso+8qCEzdP636MqaG8l1JZ01Vz1T4DjN5ca1nBxtfDbMWzgZKUZN7TIWu.9ZrzSEnlL4hOG8ysSd70ob6j2qS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EapZ60Jq5z15Z5d4qwmQuCz1ToVMH6tCAsftosMN9yVsb0R6.Ug38qohx5NHSYhlDu2FLZAezoE8he8p.G3V.aCnvDguEUQqq.JqXKUO5XDG88H.itJjyB1.sGojsO.yB17ASZsOjIv3MW7U.HSwBEHrxBSFd43H8wiimQCQIS88kbx5NVo+BjVPqaMQxF5fswWWfm6H+ZPXANr+S6KIgkWeSztOAOGgAXNEGf4r3.LmkFf4r7.Lm2Z.ly064bv6T6lTLrLOpgxa33LcJGmUHh+b+ezkBY8D
Be aware that you definitely need to export DSP networks like this as C++ - frame processing is super slow when using the interpreted graph, but will get a 10x performance boost when compiled to native C++.
-
@Gudru Let's talk about example 3, as the problems will be the same in the other ones.
One thing that is very different from most other DSP programming environments is that scriptnode requires you to define the processing context and the control rate (= modulation update rate) by using different containers.
If you're making a flanger, you need to modulate at audio rate, therefore you need to put your entire processing chain into a frame2_block container.
The second issue is that you're using the wrong delay type. There is an interpolating delay line (
jdelay
) and a standard delay node which crossfades between fade times. For a flanger you need the first one as the delay time will be fractional and you actually want the resulting doppler effect.This is the 3rd version with the corrections:
HiseSnippet 3236.3oc6c0DabiUG2yGuYZRSJsPq18DZzJNjEsaTrmjrsBIxz7UaXaZGkIMaqzJEbreyLtwisw1S9XWABI3.25dE3.bAgDRrB3FGPa0dAjfdY2SHPhhPhSbnb.j3vpk26Y6wu2LdF6Y57gSpmdo98g8u2+ud+++2+eNkM0kfVV5lbolZ2SMfbolAT4TM65qUWTQiaq0QsCppJpUCZxs5oFhVVPYtToxbKb2olJKG42yWYUQzfjf9MwwsmthD7NJMTr8asbo2VQUcSQY3tJMnF8hk1RRWaMcU8lHnjAr.mgnzgh0f2UDOrz.tT41PVwV2rhsnMzhKU1U0kOsRc8i0bF+dJVJGnBwWvyUAcibZdScUYLhwsxsVcEU4xdKYKNtTfx9DfLNDfqB1VQVoU69DhKS5nf+LnoGoRyBuLLvimFdKPAuNgDGEhx5fHzCVWtopnMKZvr.2NTz0XPyVZ1PMK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n0uy68gdoSTHcDKK76u6udkUEUEIQH5KotmN5g214e1nzai1CsUA7RUbXaIgCl2+6dz8jrQPXWSQMKCcKHO8cts9Dn6acncSM1g6zDynvKuMQKOdZ8NuFEnarrnFyMCcMycZab1.7O+WanIdfJrBDsZjumuCCz2vlpVv2QQ1tNO8D8aVft4aKZJi3KRzOxTYXSpQ1nkTiM0Ukc9vDwGzen5yQIVjwQr3p.7WPpVsuVq.6uLoiB9yf432mNx4bYgdmykNSD0kAtllXQCVZz2lECZ1BqVXofU674ACMHRzp8v3TdXrhB1h2FZGAUQZiDL9EQpeUEapZ60Jq5z15Z5d4qwmQuCz1ToVMH6tCAsftosMN9yVsb0R6.Ug38qohx5NHSYhlDu2FLZAezoE8he8p.G3V.aCnvDguEUQqq.JqXKUO5XDG88H.itJjyB1.sGojsO.yB17ASZsOjIv3MW7U.HSwBEHrxBSFd43H8wiimQCQIS88kbx5NVo+BjVPqaMQxF5fswWWfm6H+ZPXANr+S6KIgkWeSztOAOGgAXNEGf4r3.LmkFf4r7.Lm2Z.ly064bv6T6lTLrLOpgxa33LcJGmUHh+b+ezkBY8D
Be aware that you definitely need to export DSP networks like this as C++ - frame processing is super slow when using the interpreted graph, but will get a 10x performance boost when compiled to native C++.
-
@Christoph-Hart
Thanks for your reply! I do have a question though, when I play low notes, the gain seems to sound quiet, but when I play really high notes, the gain seems to be turned up. Its not actually, but it sounds like it is. In this case, how would I make it so that the gain sounds level on every single note for the oscillator? And the LFO seems to change speed to low for low notes and high for high notes -
@Gudru Because you are testing it with the wrong material. A sine is by definition the worst signal, because the harmonic content is, well, there's no harmonics except H1... So you can't hear the recombination causing phase modulation in the harmonics because there is none, and all you get in the end is a tremolo like effect...
So just stick a saw or a square instead, or a real world sample and it'll work nicely -
-
-
-
All i would need to do to compile this effect would be to follow david's video on compiling scriptnode, right?
-
@Gudru
Should work fine!
At least it did for me. :) -
@VorosMusic Thanks!
-