Intensity bar to a Hardcoded FX?
-
Is it possible to add one?
I can't use a parameter in this situation. I need to control the FX's intensity with .setIntensity().
-
@CyberGen said in Intensity bar to a Hardcoded FX?:
Is it possible to add one?
I can't use a parameter in this situation. I need to control the FX's intensity with .setIntensity().
What is intensity in this case? Do you mean wet/dry mix? You need to include this in your scriptnode code...
-
@Lindon Let me show you with a snippet. It's a simple paner that I want to modulate with a global LFO. But I need to control the intensity of the modulation with a .setIntensity( ) command rather than a setAttribute() command as it is part of a large modulation array where all the other modulators use setIntensity(). At the same time, when I turn of the global modulator I need the output signal to be centred. This is something I haven't been able to achieve with the stock HISE simple gain pan modulation. That's why I've been trying to put it together in scriptnode. I think I may be convoluting myself into a knot unnecessarily just because I can't figure out a better way to modulate pan with a global lfo and control its intensity with setIntensity(). So I've been trying to use hardcoded fx with mod tabs. I actually get much smoother results with my DSP than with simpleGain. But....
Any suggestions?
HiseSnippet 1196.3ocuW0saaaCElxNLY1qsXEXO.9xTfLC67evtXMwItyXyIFQYA8tBFI5XVSQJHQkTugc+dr1izdC1NGQYKoD67iWac.BLOmCO7iemuCI8fHsGONVGQbpcwjPNw4ET2IJynNiXBEo2wDmWQ6yhM7nFVSGMIjEGy8INNUeGZvo1JjzO+yOcDSxTd7bSDxkZgG+WEABSt0Au8WDRYWlO+BQPgn29s87zpNZoNAvSUZKRHyaL6Z9oLLrJThypm3KL5HWCyviINqbj1eh6H8sJa7WJhEWI43f1DWHQVyc0ReDwnURmQBo+fo66XBjkA4rPUKK78z9BewL64rw2k5nQ9LJxGNUJCupkfW6hvqUA3MGH4T.RqXgzqotdQhPStGDOeKsmBJNCY.sWDJ1XIN+MsiFBPYZFvFy6FAClMg02sUqMZ.+6M+3vDkmQnUMzpS0F9Yp0eS8+nds5+Y8F200vgy0GtLQZojGMW2XkN5gl35pjfq3Qaz3FlLgOKPX6WlSoKlSKVx8r65BApU8TByYgb0hDBjLpB91u06XlggEhLaPbg7Hi.gfyw7a.UssrTidLOdrQGB556Uy.0h1OQxLkkPXeSlCfCJU2vhiJVXlTru5ylt5oBwWSGHLdilOFqLGLBL0WBLl0M9R5ICGx8L4.bEZ22+0q0qdVqGrl3h+hrgM5991yso6un4B7vHdHKhegdfjMY8XVPnjeNfwMZbkT6M1U76762UDZgvQXDq6MhoTbY7xz7r5SlUZ+vEky0IFg559LSj3SPW3oIAtvwzd7NYnCr4TA6griagiQcgKW4mN3egOYNaiicxb1dpyBsemxM2piFmVNx9NwYM64cfnb.lkHxk7nXTa5rFsUS3OxgRo91N5fPQlpMcekZcfVNIbjVI7vBkMloX+v.cBrrYafelEeASHQgtaRLbbg+YJWH3zK1Pg1oZe3aq1k4AL6jALyHrgAOvATm7nldyToEAatNIUAB0fArH3dM3r3XKNw7N8xOK2AvL.Ijzq9ph9QFopE.TbEpQuRDpkrHxbfCHLZN0c4k+wVp7F+KXQWyMwYmDp3dVdMkD5AYiRCCXjYaEqoC88IjBaOHiyFAMU8EpKQcJFJV15y9zrwsgw3FaMp0zgIFc.Hdmd68yOOtdL4ClGZ47rSo7rIjG2w7aszK9vfVM2cqVGr4A6s69s1ems26f8xVn2wB.pnDBHEt1fPJT2rzVoZ1KmUyPWeopW0neLzJHuSMCjoetpYYNPpZmVa1dysOX1mEU.Wk9CsWPVqS6mHMhP4j6xsO2LYEl2SIrfRTNSUpL8J5G8iCaN02ypNUoD+VYI1.XU5oKkKmkcQorgGhW4TLqqROOQxIklWYVYwvNq.o86oBSLjGSkTTYzd+VaUPaTRv9P52omnUR+NU5QtK3ruO19ZkmH5rC9eBG6oNknwzWVfif2MUw9NhdwWhdgXmt3vUPGo0iCXo29sbuC8qwc0ALuH8GxNwB2beSpEPRpR+wZ0fe0HLtQaxM1MV9KECfe.0G77Jmp6MwMW1It0xNwsW1ItyxNwcW1It2xNw8e7Ih+91riXPsNgzevIohPGmSTL30hoO0k7ePeHngL
-
@CyberGen I will have a look next time I am at my machine...Monday.
-
@Lindon thank you.
-
@CyberGen said in Intensity bar to a Hardcoded FX?:
@Lind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8p4YEmN0GMcjuGxlrintvwOi8w2GNuYaBb4pTo4I4M3Ld56Xkw.1iBImc5Py+ZECaAslPPz2Z8dqtG0kRzYyexpaCrPRPi3qcMVXQkK8SrNz30GhUtaIYlYo2MdI8+eWjqscQdSLGdDq.9KRdTHIW9FwRf0MK9ed4z3Fx1kpfNR+ZwdPEwWXYIg6OEvmgOl4Giw73wXLKLFiYwwXLKMFiY4wXLO4bGibynjWmQlJBBZto59AF8ubhQAz+BDkRHoI
-
@Lindon I kept working on it over the weekend and this is exactly what I ended up with. It has a few drawbacks. It doesn't solve the setIntensity() problem, and it can't be compiled to DLL, but it's much smoother than using a simpleGain (not sure why). It just made my code a bit longer as I had to add if statements for a bunch of situations. Anyhow, I think it's the best solution. Thank you sooo much.
-
@CyberGen said in Intensity bar to a Hardcoded FX?:
@Lindon I kept working on it over the weekend and this is exactly what I ended up with. It has a few drawbacks. It doesn't solve the setIntensity() problem, and it can't be compiled to DLL, but it's much smoother than using a simpleGain (not sure why). It just made my code a bit longer as I had to add if statements for a bunch of situations. Anyhow, I think it's the best solution. Thank you sooo much.
it can definitely be compiled to a DLL...whats happening for you to stop that?
-
@Lindon I thought compiling to DLL was not allowed when the network contained a global modulation node. I get an error message every time I try it. Is it really possible?
-