Pitch Modulation with Mod Wheel
-
Hello, @Christoph-Hart!
Here are screenshot images of my current synth.As you can see, Global Time Variant Modulator value keeps 2.00 st even while Mod Wheel is not working.
-
I'll take a look. It might be possible that the intensity modulation doesn't make it through the global mod system as the original modulators intensity is discarded and replaced with the intensity of the receiver modulator IIRC but then I'll fix this as this is a common use case scenario. However I remembered it worked for me when I was trying to implement mod wheel vibrato.
-
LFO Modulator of Global Modulator Container gets the modulate values in the range of 0 to 1.
Currently when the Mod Wheel value is x(0<x<1), LFO Modulator generates values between 1-x to 1.
And so pitch transpose value becomes between (-2(st) + 4(st) * (1-x)) to 2(st).
I just want to modulating values between -2(st) * x to 2(st) * x. -
Ah I see. If you put the LFO directly in the Pitch Modulation Chain, it works as you desired.
The problem is that behind the scenes, modulators in the pitch chain behave slightly different (because they don't operate on a
0...1
range, but on the-1 ... 1
range to allow bipolarity, but the global modulator can't know that it's going to be used as pitch mod.Solving this is not trivially, but I'll try to think of something. In the meantime you can either
a) not use the global mod system for this or
b) control the intensity of the receiving modulator using a script:HiseSnippet 1296.3oc4X0sSabDEdValzXm5zRKWTUEotBoJYRScsIzeiPwfAiPAGrhozlqRFu6r3QY8Lt6NKozHtu20WId.xEUpu.8QnuAsmY+w6X7hASABMckk0Nmel46blyYNmYa6Irn99BOjws14fATjw6h6b.W1qQOBii1bMjwswsH9RpmYDoUOX.w2mZiLLxughfQgYPgO+0CWk3R3VzTRHztBlEcKVelLk5yq+HlqaShMcGVeMoWp9lVBdCgqH.vSdbUz.h0KH6QeLQIVNLZeF8k9Hip36uXEuWTq6urRki8XQ6A+u2nzQVAddTtbWPcjA13ugGC751LovqijHovbNypB6C5zS7RdzRuKym00kpFTC0AvTD4lBWakwqdG0nGy0tchKzGgLtQ6TGZ9HG5b3VLa1P5oN12OjgYpF5tVibSBd0zgW0LgWsLfGRCcyDgN.DB6.WhbTjo1YiYvDitouIWR49L4A567uQg6r31LoUurwatLvKrQcYi23M+R30cbnVxTvNCt4Od0tSeyHn7w3M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zI10fjiqh92uJVi9DKOwyrhpvnxhtYHEvt4geW3B3Vpwl0Rpsn7M8glMelkkJ13yAuS1Zr3Tqw8mZMVZp03KmZM9poViudp03alfFpN6WIPJ5GEuiP+CngWIP
This is not as elegant, but at least you don't need to duplicate the LFO for multiple sound generators.
-
Actually I have to use Mod Wheel to control LFO Modulator intensity...
And would you let me know where and how I can refer HiseSnippet .... ? -
Copy everything into the clipboard and then File -> Replace with clipboard content.
The script uses the mod wheel for the intensity.
-
After I change the following line in script, it works fine.
GlobalTimeVariantModulator.setIntensity(2.0 * Message.getControllerValue() / 127);
Snippet is really awesome. Can I get such snippet in current HISE standalone?
-
File -> Export as pastable web snippet
-
Thank you very much!