Deprecated Command for ADSR Control, alternative?
Myntian
Member Posts: 1 Member
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
This discussion has been closed.
Back To Top
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