KONTAKT 4 - Questions about modulator

VST, AU, AAX, etc. plug-in Virtual Instruments discussion
hellishvictor
KVRist
125 posts since 29 Apr, 2008

Post Sat Apr 06, 2019 10:31 am

Hi,

is easy identify $LFO_TYPE_TRIANGLE, $LFO_TYPE_RECTANGLE, $LFO_TYPE_SAWTOOTH, $LFO_TYPE_RANDOM and $LFO_TYPE_MULTI as they return values from 1 to 5 using get_engine_par($ENGINE_PAR_INTMOD_SUBTYPE, 0, $source, -1)

but the value for $LFO_TYPE_SINE is 0, the same than when there's not modulator, which should be -1.

So there's a way to know that there's not an internal modulation?
When find_mod() doesn't find a modulator with designated name, it actually returns a value of 0 instead of -1!
This is already solved on the latest versions?

And some examples with the following would be appreciated too:
$INTMOD_TYPE_NONE
$INTMOD_TYPE_LFO

Cheers
Last edited by hellishvictor on Sat Apr 06, 2019 10:33 am, edited 1 time in total.

User avatar
EvilDragon
KVRAF
17849 posts since 7 Jan, 2009 from Croatia

Re: KONTAKT 4 - Questions about modulator

Post Sat Apr 06, 2019 10:33 am

There is no way to know if there's no internal modulators. The find_mod() bug wasn't fixed (and it won't be fixed because it could potentially break lots of libraries).

hellishvictor
KVRist
125 posts since 29 Apr, 2008

Re: KONTAKT 4 - Questions about modulator

Post Sat Apr 06, 2019 10:35 am

Can't believe that is not possible neither on the latest. Too bad.
Thanks for the quick reply, EvilDragon.

hellishvictor
KVRist
125 posts since 29 Apr, 2008

Re: KONTAKT 4 - Questions about modulator

Post Mon Apr 15, 2019 6:34 am

EvilDragon wrote:
Sat Apr 06, 2019 10:33 am
There is no way to know if there's no internal modulators. The find_mod() bug wasn't fixed
Your wrong, its possible. Read at the end here:
viewtopic.php?f=1&t=523629&p=7372806#p7372806
EvilDragon wrote:
Sat Apr 06, 2019 10:33 am
(and it won't be fixed because it could potentially break lots of libraries).
That's silly. If needs to be fixed, it should. New ones better and updated will come as Kontakt evolve.

Return to “Instruments”