Pitch Modulation with Mod Wheel
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...1range, but on the
-1 ... 1range 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:
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!