KONTAKT 4 - Questions about modulator

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Locked New Topic
RELATED
PRODUCTS
Kontakt$299.00Buy

Post

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 6:33 pm, edited 1 time in total.

Post

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).

Post

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

Post

EvilDragon wrote: Sat Apr 06, 2019 6:33 pm 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 6:33 pm (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.

Locked

Return to “Instruments”