Welcome to the new and improved Native Instruments online community. Join our active forum of 40,000+ members for discussions and much more.
Deprecated Command for ADSR Control, alternative?

Myntian
Member Posts: 1 Noise
Hello, it's my first post here so be easy on me 😅
With the introduction of Kontakt 7, the find_mod()
command has been deprecated, replacing it with get_mod_idx().
I'm sure I am doing this correctly (according to Kontakt 6 standards), but maybe I have something wrong.
on ui_control( $ADSRView_attack ) set_engine_par( $ENGINE_PAR_ATTACK, $ADSRView_attack, 0, find_mod( 0, "ENV 0" ), -1 ) set_engine_par( $ENGINE_PAR_ATTACK, $ADSRView_attack, 1, find_mod( 1, "ENV 1" ), -1 ) end on
If the code looks correct and I need to find a workaround until I upgrade to Kontakt 7, do you know of any alternative solutions I can do for now?
EDIT:
For now, I am doing this and it seems to be working fine, but it bothers me I'm unable to do it the old way:
set_engine_par($ENGINE_PAR_ATTACK, $ADSRView_attack, 0, 0, -1)
Additional Screenshots:
Thanks!
Tagged:
0
Back To Top
Categories
- 10.5K All Categories
- 20 Welcome
- 439 Hangout
- 58 NI News
- 203 Tech Talks
- 1K Native Access
- 4.8K Komplete
- 608 Komplete General
- 1.1K Komplete Kontrol
- 1.8K Kontakt
- 471 Reaktor
- 149 Battery 4
- 267 Guitar Rig & FX
- 198 Massive X & Synths
- 206 Other Software & Hardware
- 2.2K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.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