Is it possible to change the control rate of LFO?
Hi,
I'm playing with Selectable Multi LFO:
and I'd like to change the Control Rate (i.e. I believe CR input?) with a Knob on GUI.
It seems I can't connect CR input? Should I convert the cable type? Or what's the correct way?
Thanks
Comments
-
What is the goal of controlling the CR input? Do you want to control the sample rate of the lfo? Dividing the master clock?
0 -
Well, basically its to actually change the control rate of LFO :) Making it more or less steppy...
Is there another quick way?
0 -
Ok so yah you want to divide the master clock in the Lfo.
Do this and link your control to the N "division" input.
Don't forget to add the ">CR" distribution bus on the bundle.
0 -
If this is intended as an effect, you probably want to adjust for base sample rate too.
By default in core, CR is at the same clock rate as SR. So if you are dividing down to get a controllable audible stepping effect, you need to divide by quite a lot, and also scale the divisor by something like SR/44100, that way if the sample rate is higher you divide by more resulting in the same overall steppyness...
scaling up an 0..1 knob to a range of 1...10000 works pretty well
0 -
Thanks. What is the module with upward arrow and that sort of "*"?
0 -
That's a 'mod macro'. It's a multiply module, but it only produces an output when there is an event at the top input. That way, the initialisation events from the constants 1000 (and 1 for the add module) don't cause output events. I didn't use one for the divide, because the event it causes is blocked by the mod multiply that comes after it.
Mod macros are optimised by the compiler, so they don't cost more than standard arithmetic. You should read up the manual though, because you have to use them carefully at times ;)
0 -
Not really sure how to patch this, sorry :)
My knob (for quick test) goes from 1 to 10000 (CR input), without care about sample rate for now:
But if I vary the CR knob, nothing change. And it also stop playing. What's wrong?
0 -
Your CR knob goes into a multiply module with nothing connected at the bottom,meaning it is multiplied by 0 so the result is always 0.
0 -
In the pic, you are multiplying the CR input by zero (an unconnected input port is implicitly a zero value).
That is then used as the divisor in the clock divider...
Dividing by zero is problematic. In this case, the divider that generates the clock events will just work fine and not divide, just keep the original clock rate, however the CR.R rate value will be set to 'inf', so any downstream code that taps that will fail.
0 -
Still can't get it working, it does nothing:
Tried to link to a numeric readout on parent module, it always display 0 :O
0 -
That module with the N input is a divider, so whatever number is input into the 'N' port, the CR clock is divided by that number. If you want a front panel knob that shows the actual CR rate, you need a little arithmetic to convert to a divisor for the clock divider module... like N=CR/myCR. Note that the N input is an integer, so you will get very low precision at high CR settings because of rounding.
0 -
If your CR knob connected to N goes from 1 to 10000 this should work.
Can you link your ensemble so we can check what is going on? Must be a simple answer.
0 -
Here you go, as attachment. Only if I "unlink" CR/N I can see it displayed, otherwise not.
0 -
Your CR knob wasn't even connected outside the corecell,also reduce your amp to around 1 if you want to see properly on the scope.
0 -
Oh my.... can't believe I was so distracted :( Thanks, now it works.
Just a more question: is it possible to make the Freq knob "log" instead of "linear"? Is there out-of-the box some linToLog module or I just need to implement with math modules? Or maybe a settings in the Knob element?
Is there any fancy module I can just copy and paste? :P
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 378 Battery 4
- 845 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators