Help with Kontakt script bug

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Post Reply New Topic
RELATED
PRODUCTS

Post

Hello everybody,
I have a 4 layers instrument.
I have a bug in the script, the volume, pan and pitch of Layer 2 ar not saved properly within the instrument.
When I reopen it the position of the knobs in the GUI are the same when i saved but if I check the "real" value in the edit window it's different.... how is possible?

There is a specific string of code I have to add in order to make sure Kontakt save and reopen the instrument exactly as i have saved it?

Thanks in advance for any help

Post

Did you make_persistent() all those knobs on init?

Post

yes I did like this for every slider I have ;

declare ui_slider $mix_level2(0,1000000)
make_persistent($mix_level2)
read_persistent_var($mix_level2)

Post

Any other idea?
I'm getting crazy, all other knobs works perfectly with the same code of Layer 2!

Post

If you have any get_engine_par() commands in init callback (there is no need for them if you use make_persistent(), by the way), check the group indices in them.

Post

thanks!

Post Reply

Return to “Samplers, Sampling & Sample Libraries”